/* Hipocratech — landing (hipocra.tech)
   Estilos extraídos de design/hipocratech/LandingOpcionB.dc.html («Aurora»).
   Tokens y keyframes tal como en el mockup; estructura convertida a clases
   reutilizables + media queries responsive (el mockup está fijado a 1440px). */

:root {
  --navy: #0f3462;
  --navy-2: #143f7c;
  --navy-3: #081f3f;
  --teal: #1aa9a5;
  --teal-2: #2fd0c8;
  --teal-3: #0e7f7b;
  --bg: #f4f7fa;
  --surface: #ffffff;
  --border: #e3e9f0;
  --border-2: #d5dde6;
  --text: #172033;
  --muted: #5f6b7a;
  --muted-2: #7a8696;
  --muted-light: #b7c6dc;
  /* Variante accesible de --teal para texto/iconos sobre fondos claros: el
     #1aa9a5 del mockup da 2.89:1 sobre blanco/#f4f7fa (insuficiente, WCAG AA
     exige 4.5:1 en texto normal). #0b6864 conserva el mismo matiz teal con
     ~6:1 de contraste (Lighthouse Accesibilidad, R14/R22). */
  --teal-a11y: #0b6864;
  --radius-sm: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0;
}

p {
  margin: 0;
}

svg {
  flex-shrink: 0;
}

a {
  color: var(--teal-a11y);
}

a:hover {
  color: #148f8b;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal-2);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--teal-a11y);
}

.eyebrow--light {
  color: var(--teal-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Keyframes (del mockup) ─────────────────────────────────────────── */
@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(120px, 60px) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-140px, -40px) scale(1.1); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes drift3 { 0% { transform: translate(0, 0); } 50% { transform: translate(60px, -90px); } 100% { transform: translate(0, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-8deg); } 50% { transform: translateY(-14px) rotateX(6deg) rotateY(-8deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 208, 200, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(47, 208, 200, 0); } }
@keyframes slide { 0% { opacity: 0; transform: translateX(48px) scale(0.98); } 6% { opacity: 1; transform: translateX(0) scale(1); } 20% { opacity: 1; transform: translateX(0) scale(1); } 26% { opacity: 0; transform: translateX(-48px) scale(0.98); } 100% { opacity: 0; } }
@keyframes dot { 0%, 6% { background: rgba(255,255,255,0.35); width: 8px; } 7%, 20% { background: var(--teal-2); width: 26px; } 26%, 100% { background: rgba(255,255,255,0.35); width: 8px; } }

/* ── Fondos y superficies compartidas ───────────────────────────────── */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.75; will-change: transform; pointer-events: none; }
.blob.b1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, var(--teal) 0%, rgba(26,169,165,0) 70%); animation: drift1 16s ease-in-out infinite; }
.blob.b2 { width: 720px; height: 720px; right: -220px; top: -120px; background: radial-gradient(circle, #2f6fd0 0%, rgba(47,111,208,0) 70%); animation: drift2 20s ease-in-out infinite; }
.blob.b3 { width: 460px; height: 460px; left: 40%; bottom: -260px; background: radial-gradient(circle, var(--teal-2) 0%, rgba(47,208,200,0) 70%); animation: drift3 18s ease-in-out infinite; }
.blob.b3--planes { left: 10%; bottom: -300px; }
.blob.b2--planes { right: -300px; top: 40%; left: auto; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-light {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(15, 52, 98, 0.10);
}

.rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.d1 { animation-delay: 0.1s; }
.rise.d2 { animation-delay: 0.25s; }
.rise.d3 { animation-delay: 0.4s; }
.rise.d4 { animation-delay: 0.55s; }

.float { animation: floaty 7s ease-in-out infinite; transform-style: preserve-3d; }

.shine {
  background: linear-gradient(90deg, #ffffff 0%, var(--teal-2) 35%, #ffffff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.card { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15, 52, 98, 0.14); border-color: rgba(26, 169, 165, 0.5); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 169, 165, 0.35); }
.btn:focus-visible { outline-offset: 3px; }

.btn--teal { background: linear-gradient(135deg, var(--teal-2) 0%, var(--teal) 100%); color: #052b2a; }
.btn--outline { background: rgba(255,255,255,0.10); color: #ffffff; border: 1px solid rgba(255,255,255,0.22); }
.btn--white { background: #ffffff; color: var(--navy-2); }
.btn--white-border { background: #ffffff; color: var(--navy-2); border: 1px solid var(--border-2); }
.btn--solid-teal { background: var(--teal-a11y); color: #ffffff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--cta-sm { height: 48px; padding: 0 22px; border-radius: 12px; }

.live { animation: pulse 2.4s ease-out infinite; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 22px 20px 0;
}

.navwhite {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(3, 16, 40, 0.28);
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1160px;
  height: 66px;
  padding: 0 14px 0 20px;
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 34px;
  height: 33px;
}

.brand-name {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 21px;
  color: var(--navy);
}

.brand-name span,
.brand-name--sm span {
  /* var(--teal) sobre blanco no alcanza 4.5:1 (ni 3:1 en el wordmark del
     footer, 16px); se usa la variante accesible (R14/R22). */
  color: var(--teal-a11y);
}

.brand-name--sm {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 16px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-grow: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--navy-2);
}

.nav-login {
  color: var(--navy-2);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 10px;
}

.nav-menu {
  /* En escritorio el envoltorio no debe alterar el layout: sus hijos
     (nav-links, login, cta) se comportan como hijos directos del flex de
     .navwhite, igual que en el mockup. Se colapsa a un panel real en móvil
     (ver @media max-width:900px). */
  display: contents;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: #ffffff;
  cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--navy-2) 0%, var(--navy) 45%, var(--navy-3) 100%);
  padding-bottom: 96px;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 84px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 520px;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  height: 32px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  background: rgba(47,208,200,0.14);
  border: 1px solid rgba(47,208,200,0.35);
  color: #b9f3ef;
  font-size: 12.5px;
  font-weight: 700;
}

.badge .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
}

.hero-title {
  font-size: 56px;
  line-height: 1.04;
  color: #ffffff;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.74);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  /* Igual que el mockup: display:flex SIN wrap. Las 3 tarjetas conviven en
     una sola fila en escritorio (520px de columna). El wrap a una rejilla de
     2+1 se reserva para móvil (ver @media max-width:480px), donde el ancho
     de columna ya no alcanza ni para las 3 en su min-width. */
  display: flex;
  gap: 10px;
  padding-top: 6px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  min-width: 150px;
}

.stat-value {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  /* 20px en vez de los 24px del mockup: con el Nunito real (800) y sin
     flex-wrap (fix de la 2.ª vuelta de review), "NCF B01 · B02" a 24px no
     cabe en una línea dentro del ancho de tarjeta disponible cuando las 3
     conviven en una sola fila de 520px; 20px sí, sin partir ningún valor a
     dos líneas. Ver progress/impl_landing-hipocra-tech.md, desviación
     "Segunda vuelta". */
  font-size: 20px;
  color: #ffffff;
}

.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}

.hero-media {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  perspective: 1600px;
  min-width: 0;
}

.slides-frame {
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
  width: 100%;
  max-width: 660px;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 660 / 412;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.18);
}

.slides picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slide 25s ease-in-out infinite;
}

.slides picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slides picture:nth-child(1) { animation-delay: 0s; }
.slides picture:nth-child(2) { animation-delay: 5s; }
.slides picture:nth-child(3) { animation-delay: 10s; }
.slides picture:nth-child(4) { animation-delay: 15s; }
.slides picture:nth-child(5) { animation-delay: 20s; }

.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  width: 100%;
  max-width: 660px;
}

.dots span {
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  animation: dot 25s ease-in-out infinite;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 5s; }
.dots span:nth-child(3) { animation-delay: 10s; }
.dots span:nth-child(4) { animation-delay: 15s; }
.dots span:nth-child(5) { animation-delay: 20s; }

/* ── Funciones ───────────────────────────────────────────────────────── */
.section-features {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(47,208,200,0.18) 0%, rgba(47,208,200,0) 70%),
    radial-gradient(50% 50% at 85% 80%, rgba(20,63,124,0.14) 0%, rgba(20,63,124,0) 70%),
    var(--bg);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 38px;
  line-height: 1.12;
  color: var(--navy);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 20px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(47,208,200,0.25), rgba(20,63,124,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 19px;
  color: var(--navy);
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

/* ── Hecho para RD ───────────────────────────────────────────────────── */
.section-rd {
  display: flex;
  justify-content: center;
  padding: 80px 0;
  background: var(--navy);
}

.rd-inner {
  display: flex;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.rd-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 440px;
  flex-shrink: 0;
}

.rd-head h2 {
  font-size: 36px;
  line-height: 1.15;
  color: #ffffff;
}

.rd-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-light);
}

.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  flex-grow: 1;
  padding: 32px;
  background: #ffffff;
  border-radius: 20px;
  min-width: 280px;
}

.rd-item {
  display: flex;
  gap: 12px;
}

.rd-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e6f7f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rd-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.rd-item-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Preguntas ───────────────────────────────────────────────────────── */
.section-faq {
  display: flex;
  justify-content: center;
  padding: 80px 0;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
}

.faq-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-head h2 {
  font-size: 34px;
  line-height: 1.15;
  color: var(--navy);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.faq-a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ── Planes ──────────────────────────────────────────────────────────── */
.section-plans {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: radial-gradient(120% 90% at 50% 100%, var(--navy-2) 0%, var(--navy) 50%, var(--navy-3) 100%);
}

.plans-body {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.plans-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  align-items: center;
}

.plans-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  max-width: 640px;
}

.plans-head h2 {
  font-size: 38px;
  line-height: 1.12;
  color: #ffffff;
}

.plans-head p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px;
  border-radius: 24px;
  position: relative;
}

.plan-card--highlight {
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 34px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #052b2a;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.plan-name {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 24px;
}

.plan-card--highlight .plan-name { color: var(--navy); }
.plan-card--dark .plan-name { color: #ffffff; }

.plan-tagline {
  font-size: 14.5px;
}

.plan-card--highlight .plan-tagline { color: var(--muted); }
.plan-card--dark .plan-tagline { color: rgba(255,255,255,0.7); }

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price-value {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 48px;
  color: var(--navy);
}

.plan-price-period {
  font-size: 15px;
  color: var(--muted);
}

.plan-price-custom {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 30px;
  color: #ffffff;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.plan-card--highlight .plan-feature { color: var(--text); }
.plan-card--dark .plan-feature { color: #ffffff; }

.plans-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Cierre ──────────────────────────────────────────────────────────── */
.section-closing {
  display: flex;
  justify-content: center;
  padding: 72px 0;
  background: #ffffff;
}

.closing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: calc(100% - 40px);
  max-width: 1160px;
  padding: 44px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  flex-wrap: wrap;
}

.closing-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}

.closing-copy h2 {
  font-size: 32px;
  line-height: 1.15;
  color: #ffffff;
}

.closing-copy p {
  font-size: 16px;
  color: var(--muted-light);
}

.closing-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: center;
  padding: 32px 0 40px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  font-size: 13.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-inner img {
  width: 24px;
  height: 24px;
}

.footer-spacer {
  flex-grow: 1;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

/* ── Reduced motion (R11) ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .rise {
    opacity: 1;
    transform: none;
  }

  /* El carrusel deja el primer slide visible y estático; los demás quedan
     ocultos (sin animación de avance) pero siguen en el DOM y son
     navegables/legibles por lectores de pantalla vía su texto alternativo. */
  .slides picture {
    opacity: 0;
    animation: none !important;
  }

  .slides picture:first-child {
    opacity: 1;
  }

  .dots span {
    animation: none !important;
    width: 8px;
    background: rgba(255,255,255,0.35);
  }

  .dots span:first-child {
    width: 26px;
    background: var(--teal-2);
  }
}

/* ── Responsive (R12) ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .site-header {
    padding: 18px 16px 0;
  }

  .navwhite {
    height: auto;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 8px 8px 16px;
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand img {
    width: 30px;
    height: 29px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 18px;
    white-space: nowrap;
  }

  .nav-login {
    display: none;
  }

  .nav-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-menu[data-menu].is-open {
    display: flex;
  }

  .nav-menu[data-menu] {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    order: 3;
    padding: 12px 6px 6px;
    border-top: 1px solid var(--border);
  }

  .nav-menu[data-menu] .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu[data-menu] .nav-login {
    display: inline-flex;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-media {
    align-items: center;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .rd-inner {
    flex-direction: column;
  }

  .rd-head {
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .closing-banner {
    justify-content: center;
    text-align: center;
  }

  .closing-copy {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-stats {
    gap: 10px;
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: 130px;
    padding: 12px 14px;
  }

  .slides-frame,
  .dots {
    max-width: 100%;
  }

  .slides {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .section-head h2,
  .plans-head h2 {
    font-size: 28px;
  }

  .rd-head h2 {
    font-size: 28px;
  }

  .faq-head h2 {
    font-size: 26px;
  }

  .rd-grid {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .closing-copy h2 {
    font-size: 24px;
  }

  .closing-actions {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-spacer {
    display: none;
  }
}
