/* =========================
   VARIABLES Y BASE
========================= */
:root {
  --azul-petroleo: #1e3a4a;
  --cian: #34d7c4;
  --cian-claro: #e0fffa;
  --blanco: #ffffff;
  --texto: #1f2933;
  --gris-claro: #6b7280;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.15);
  --radius-card: 1.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f3f6fb;
  color: var(--texto);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
   HERO
========================= */

main {
  padding-top: 50px; /* compensar el header fijo */
}

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at top left, #34d7c4 0, transparent 55%),
              radial-gradient(circle at bottom right, #8ef9e5 0, transparent 55%),
              linear-gradient(135deg, #0b2534, #12384b);
  color: var(--blanco);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
  z-index: 0;
}

.hero-blob-1 {
  width: 260px;
  height: 260px;
  background: #34d7c4;
  top: -60px;
  right: 5%;
}

.hero-blob-2 {
  width: 220px;
  height: 220px;
  background: #8ef9e5;
  bottom: -80px;
  left: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* texto hero */
.hero-text {
  max-width: 580px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-pill i {
  color: var(--cian);
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  margin: 0 0 0.75rem;
}

.hero h1 span {
  color: var(--cian);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  max-width: 480px;
  opacity: 0.93;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

/* Botones genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--cian);
  color: var(--azul-petroleo);
  border-color: transparent;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(52, 215, 196, 0.5);
}

.btn.ghost {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* meta hero */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
}

.hero-meta-item i {
  color: var(--cian);
}

.meta-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: radial-gradient(circle at top, #0f1922, #071018);
  border-radius: 1.6rem;
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-pet {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-pet img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--cian);
}

.hero-pet h3 {
  margin: 0;
  font-size: 0.95rem;
}

.hero-pet span {
  font-size: 0.75rem;
  color: #9ca3af;
}

.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(52, 215, 196, 0.12);
  color: #a5f3fc;
}

.badge-online .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

/* corpo card */
.hero-card-body {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.1rem;
  padding: 0.9rem 0.9rem 0.8rem;
  margin-bottom: 0.9rem;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding-block: 0.25rem;
}

.hero-row .label {
  color: #9ca3af;
}

.hero-row .value {
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* footer card */
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.75rem;
  color: #e5e7eb;
}

.chip.ghost {
  background: transparent;
}

/* floating small card */
.hero-floating-card {
  position: absolute;
  bottom: -0.7rem;
  right: -0.3rem;
  transform: translateY(10%);
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  max-width: 230px;
  border: 1px solid rgba(52, 215, 196, 0.5);
}

.hero-floating-card i {
  margin-top: 0.1rem;
  color: var(--cian);
}

/* =========================
   SECCIÓN GENÉRICA
========================= */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cian-claro);
  color: var(--azul-petroleo);
}

.section-tag.small {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  margin: 0.7rem 0 0.4rem;
  color: var(--azul-petroleo);
}

.section-header p {
  margin: 0;
  color: var(--gris-claro);
  font-size: 0.95rem;
}

/* =========================
   FLOW (3 pasos)
========================= */
.flow {
  background: #f6fbff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.flow-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.flow-step {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.4);
}

.flow-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.1rem;
  color: var(--azul-petroleo);
}

.flow-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--gris-claro);
}

.flow-card ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
}

.flow-card li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.flow-card li i {
  color: #22c55e;
}

/* =========================
   SERVICIOS
========================= */
.featured-services {
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  border-color: var(--cian);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--cian-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-petroleo);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
}

.service-card p {
  margin: 0 0 0.8rem;
  color: var(--gris-claro);
  font-size: 0.9rem;
}

.service-link {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--cian);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* =========================
   DIGITAL SPLIT – ASISTENTE PROTAGONISTA
========================= */
.digital-split {
  background: radial-gradient(circle at top left, #0b2534 0, #020617 55%);
  color: var(--blanco);
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 1.8rem;
  align-items: stretch;
}

/* Card principal del asistente */
.assistant-main-card {
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617);
  border-radius: var(--radius-card);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  position: relative;
  overflow: hidden;
}

.assistant-main-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(52, 215, 196, 0.25), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.assistant-main-card > * {
  position: relative;
  z-index: 1;
}

.assistant-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.assistant-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.assistant-logo {
  width: 56px;
  height: 56px;
  border-radius: 1.2rem;
  object-fit: contain;
  background: #020617;
  padding: 0.25rem;
  box-shadow: 0 10px 25px rgba(52, 215, 196, 0.7);
}

.assistant-brand h2 {
  margin: 0;
  font-size: 1.35rem;
  font-family: 'Poppins', sans-serif;
  color: var(--blanco);
}

.assistant-brand p {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #d1fae5;
}

.assistant-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.assistant-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.78rem;
  color: #e5e7eb;
}

.assistant-pill i {
  color: var(--cian);
}

/* Cuerpo: texto + preview */
.assistant-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.assistant-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.assistant-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.assistant-features-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.assistant-features-list i {
  margin-top: 0.25rem;
  color: var(--cian);
}

.assistant-features-list strong {
  display: block;
  color: #e5e7eb;
}

.assistant-features-list span {
  display: block;
  color: #9ca3af;
}

.assistant-cta {
  margin-top: 0.3rem;
}

.assistant-note {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Vista previa del chat */
.assistant-live-preview {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.1rem;
  padding: 0.9rem 0.9rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.assistant-live-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.live-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: contain;
  background: #020617;
  padding: 0.2rem;
}

.live-text {
  flex: 1;
}

.live-name {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
  font-weight: 600;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #a5f3fc;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.live-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.4);
  color: #a5f3fc;
  border: 1px solid rgba(34, 197, 235, 0.6);
}

.assistant-live-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.bubble {
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 0.9rem;
}

.bubble.bot {
  align-self: flex-start;
  background: rgba(15, 118, 110, 0.35);
  color: #e0f2fe;
  border-bottom-left-radius: 0.25rem;
}

.bubble.user {
  align-self: flex-end;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-bottom-right-radius: 0.25rem;
}

.bubble.small {
  font-size: 0.75rem;
}

.assistant-live-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  margin-top: 0.4rem;
  padding-top: 0.4rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.footer-meta i {
  color: var(--cian);
}

/* Card lateral: vacunas */
.assistant-side-card {
  background: #f8fafc;
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #0f172a;
}

.assistant-side-card h3 {
  margin: 0.6rem 0 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  color: #0f172a;
}

.assistant-side-card p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.86rem;
}

.side-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.side-list i {
  color: var(--cian);
}

/* =========================
   RESPONSIVE DIGITAL SPLIT
========================= */
@media (max-width: 992px) {
  .assistant-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .assistant-main-card {
    order: 0;
  }

  .assistant-side-card {
    order: 1;
  }

  .assistant-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .assistant-main-card {
    padding: 1.5rem 1.3rem;
  }

  .assistant-live-preview {
    margin-top: 0.3rem;
  }
}


/* =========================
   TESTIMONIOS
========================= */
.testimonials {
  background: #f9fbff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--blanco);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.testimonial-text {
  position: relative;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gris-claro);
}

.testimonial-text::before {
  content: "“";
  position: absolute;
  top: -1.2rem;
  left: -0.1rem;
  font-size: 3rem;
  color: var(--cian);
  opacity: 0.2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 0.96rem;
  color: var(--azul-petroleo);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gris-claro);
}

/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, #0b2534, #134e4a);
  color: var(--blanco);
  text-align: center;
}

.cta-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.cta-content p {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  max-width: 520px;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.cta .btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--blanco);
}

.cta .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #020617;
  color: var(--blanco);
  padding-top: 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 54px;
  margin-bottom: 0.7rem;
}

.logo-column p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5f5;
}

.footer-column h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  margin: 0 0 0.6rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.35rem;
}

.footer-column a {
  text-decoration: none;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.footer-column a:hover {
  color: var(--cian);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.contact-info i {
  margin-top: 0.2rem;
  color: var(--cian);
}

/* social */
.social-icons {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  font-size: 0.85rem;
}

.social-icons a:hover {
  background: var(--cian);
  color: #020617;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.8rem 0 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeUp 0.6s ease-out both;
}

.animate-up-delay {
  animation: fadeUp 0.7s ease-out 0.12s both;
}

.animate-float {
  animation: fadeUp 0.6s ease-out both, floatCard 4s ease-in-out 0.6s infinite;
}

/* =========================
   RESPONSIVE
========================= */

/* tablets */
@media (max-width: 992px) {
  .header .container {
    padding-inline: 1rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.3rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digital-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* móviles */
@media (max-width: 768px) {
  .navigation {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--blanco);
    flex-direction: column;
    padding: 0.7rem 1.3rem 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.18s ease;
  }

  .nav-menu.open,
  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .mobile-menu-btn {
    display: block;
  }

  main {
    padding-top: 80px;
  }

  .hero {
    padding: 3.4rem 0 3rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-grid,
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 3.2rem 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* móviles pequeños */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .digital-card,
  .flow-card,
  .service-card,
  .testimonial-card {
    padding: 1.4rem 1.2rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }
}


/* ===========================
   HERO – Dashboard style
=========================== */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero-pill i {
  font-size: 0.9rem;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 22px;
  max-width: 520px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 12px;
}

.hero-highlight-item i {
  font-size: 1.1rem;
}

.hero-highlight-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-highlight-item small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
}

.hero-small-note {
  margin-top: 16px;
  font-size: 0.85rem;
  opacity: 0.92;
}

/* Dashboard card del lado derecho */
.hero-dashboard-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-dash-pet {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dash-pet img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-dash-pet h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--azul-petroleo);
}

.hero-dash-pet span {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.hero-dash-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-dash-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.hero-dash-kpi {
  background: #f9fafb;
  border-radius: 12px;
  padding: 8px 10px;
}

.hero-dash-kpi .kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-dash-kpi .kpi-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul-petroleo);
}

.hero-dash-kpi .kpi-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-dash-kpi .kpi-meta i {
  margin-right: 4px;
}

.hero-dash-timeline {
  margin-bottom: 10px;
}

.hero-dash-timeline h4 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #6b7280;
}

.hero-dash-timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

.hero-dash-timeline li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  color: #4b5563;
}

.hero-dash-timeline .time {
  font-weight: 600;
}

.hero-dash-timeline .desc {
  text-align: right;
  flex: 1;
}

.hero-dash-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

/* Reutilizamos chips existentes si ya los tienes; si no: */
.chip.small {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
}
.chip.small.ghost {
  background: #f9fafb;
}

/* Responsivo hero */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-dashboard-card {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-layout {
    gap: 26px;
  }
}

/* ===========================
   ASISTENTE – Bloque ampliado
=========================== */

.assistant-extra-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.assistant-subtitle {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--azul-petroleo);
}

.assistant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.assistant-grid-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

.assistant-grid-item h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--azul-petroleo);
}

.assistant-grid-item h4 i {
  margin-right: 6px;
  color: var(--verde-menta);
}

.assistant-grid-item p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 6px;
}

.assistant-grid-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #4b5563;
}

.assistant-grid-item li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.assistant-grid-item li i {
  color: var(--verde-menta);
}

/* Quick topics dentro del preview */
.assistant-quick-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}

.topic-chip {
  font-size: 0.78rem;
  padding: 5px 9px;
  border-radius: 999px;
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topic-chip i {
  font-size: 0.78rem;
}

/* Ajustes responsivos assistant */
@media (max-width: 992px) {
  .assistant-extra-layout {
    grid-template-columns: 1fr;
  }
}


/* =======================
   TESTIMONIOS MEJORADOS
======================= */

.enhanced-testimonials {
    background: #f9fafb;
    padding: 80px 0;
}

.testimonial-subtitle {
    max-width: 640px;
    margin: 10px auto 40px;
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card.enhanced {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    position: relative;
}

.testimonial-card.enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: #F6C503;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--azul-petroleo);
}

.author-info span {
    font-size: 0.85rem;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .testimonial-card.enhanced {
        padding: 22px;
    }
    .testimonial-text {
        font-size: 0.92rem;
    }
}

/* ========================
   ASIDE - CONTROL VACUNAS
======================== */

.assistant-side-card.enhanced-side {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 28px 22px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
}

/* HEADER */
.side-header h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--azul-petroleo);
}

.side-description {
    font-size: .95rem;
    color: #4b5563;
    margin-top: 4px;
}

/* LISTA CON ICONOS */
.side-list.enhanced {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-list.enhanced li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon-box {
    background: var(--verde-menta);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(42,220,177,0.35);
}

.side-list.enhanced li strong {
    font-size: .95rem;
    color: var(--azul-petroleo);
    margin-bottom: 3px;
    display: block;
}

.side-list.enhanced li p {
    margin: 0;
    font-size: .85rem;
    color: #6b7280;
}

/* MINI ESTADÍSTICAS */
.side-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat .value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-petroleo);
}

.stat .label {
    font-size: .75rem;
    color: #6b7280;
}

/* CTA */
.side-cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px;
    font-size: .95rem;
    border-radius: 12px;
}


