/* ==========================================================
   Susana Fazioli · estilos (CSS puro)
   Índice:
   1. Variables   2. Reset y base   3. Tipografía compartida
   4. Header      5. Hero           6. Secciones y tarjetas
   7. Perfil      8. FAQ            9. WhatsApp
   10. Footer     11. Animaciones   12. Accesibilidad
   ========================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --surface: #f8f9ff;
  --surface-low: #eff4ff;
  --surface-container: #e5eeff;
  --surface-high: #dce9ff;
  --surface-variant: #d3e4fe;
  --white: #ffffff;

  --on-surface: #0b1c30;
  --on-surface-variant: #45464d;

  --secondary: #0051d5;
  --secondary-container: #316bf3;
  --secondary-fixed: #dbe1ff;

  --tertiary-fixed: #ffdcc3;
  --on-tertiary-fixed: #2f1500;

  --error: #ba1a1a;
  --error-container: #ffdad6;

  --black: #000000;
  --inverse-on-surface: #eaf1ff;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
::-webkit-scrollbar { display: none; }

/* Contenedor central: en pantallas grandes el contenido no se estira */
.wrap { width: 100%; max-width: 44rem; margin-inline: auto; }

@media (min-width: 40rem) {
  .main .wrap { width: 90vw; max-width: none; }
}

/* Iconos (Material Symbols) */
.material-symbols-outlined { flex-shrink: 0; user-select: none; }
.icon-filled { font-variation-settings: "FILL" 1; }

/* Foco visible para teclado */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------- 3. Tipografía compartida ---------- */
/* label pequeño: 11px, mayúsculas, bold */
.eyebrow,
.metric__kicker,
.bridge__kicker,
.hero__image-kicker,
.profile__role,
.sectors__label,
.pill,
.chip {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .06em;
  font-weight: 700;
}

.eyebrow,
.metric__kicker,
.bridge__kicker,
.hero__image-kicker,
.profile__role,
.sectors__label,
.badge span:last-child {
  text-transform: uppercase;
  letter-spacing: .05em;
}

.eyebrow, .metric__kicker { color: var(--secondary); }

.section__title {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -.01em;
  font-weight: 700;
}
.section__text, .card-text { font-size: 14px; line-height: 20px; color: var(--on-surface-variant); }
.card-title { font-size: 16px; line-height: 24px; font-weight: 700; }

/* ---------- 4. Header ---------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(248, 249, 255, .8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 2px 16px rgba(11, 28, 48, .10); }

.header__bar {
  position: relative;
  height: 4rem;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.brand { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.brand__logo { width: 2.5rem; height: 2.5rem; object-fit: cover; border-radius: .5rem; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-size: 18px; line-height: 24px; font-weight: 700;
  letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--on-surface);
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] { background: var(--surface-container); }
.menu-toggle .material-symbols-outlined { font-size: 24px; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.primary-nav__link {
  display: block;
  padding: .6rem .75rem;
  border-radius: .625rem;
  color: var(--on-surface-variant);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.primary-nav__link:hover,
.primary-nav__link.is-active { background: var(--surface-low); color: var(--secondary); }

@media (min-width: 40rem) {
  .menu-toggle { display: none; }
  .primary-nav { display: flex; }
}

@media (max-width: 39.999rem) {
  .menu-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: calc(100% + .5rem);
    right: 1rem;
    z-index: 1;
    width: min(14rem, calc(100vw - 2rem));
    display: none;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: .5rem;
    border: 1px solid rgba(11, 28, 48, .08);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(11, 28, 48, .16);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__link { padding: .75rem; font-size: 14px; }
}

/* Barra de progreso de lectura */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 100%; height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ---------- 5. Hero ---------- */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 2rem;
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.25rem 2rem;
  background: linear-gradient(to bottom, rgba(239, 244, 255, .7), var(--surface) 50%, var(--surface));
}

.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--a { top: -3rem; right: -3rem; width: 16rem; height: 16rem; background: rgba(0, 81, 213, .10); filter: blur(64px); }
.hero__glow--b { top: 12rem; left: -5rem; width: 14rem; height: 14rem; background: rgba(219, 225, 255, .30); filter: blur(40px); }

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .375rem .75rem;
  border-radius: 9999px;
  background: rgba(49, 107, 243, .15);
  color: var(--secondary);
}
.badge .material-symbols-outlined { font-size: 16px; }

.hero__title {
  font-size: 36px; line-height: 44px; letter-spacing: -.02em; font-weight: 800;
}
.hero__accent {
  color: var(--secondary);
  text-decoration: underline wavy rgba(0, 81, 213, .3);
}

.hero__lead { color: var(--on-surface-variant); }
.hero__lead strong { color: var(--on-surface); font-weight: 600; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  width: 100%;
  padding-block: .25rem;
}
.metric {
  display: flex; flex-direction: column;
  padding: .625rem;
  border-radius: .75rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.metric__value { font-size: 20px; line-height: 28px; font-weight: 700; }
.metric__note { margin-top: .125rem; font-size: 10px; line-height: 1.25; color: var(--on-surface-variant); }

.hero__cta { display: flex; flex-direction: column; gap: .625rem; width: 100%; padding-top: .5rem; }

/* Botones */
.btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  transition: transform .15s ease, background-color .2s ease;
}
.btn:active { transform: scale(.95); }
.btn:disabled { opacity: .9; cursor: progress; }

.btn--primary {
  height: 3.25rem;
  padding-inline: 1.25rem;
  gap: .5rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .01em;
  box-shadow: var(--shadow-md), 0 4px 6px rgba(0, 81, 213, .25);
}
.btn--primary .material-symbols-outlined { font-size: 20px; }

.btn--soft {
  height: 2.75rem;
  padding-inline: 1rem;
  gap: .375rem;
  background: var(--surface-high);
  color: var(--on-surface);
  font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .02em;
}
.btn--soft:active { background: var(--surface-variant); }
.btn--soft .material-symbols-outlined { font-size: 18px; }

.hero__image {
  position: relative;
  width: 100%;
  height: 11rem;
  margin-top: .5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__image-bg {
  width: 100%; height: 100%;
  background: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDs1_rit5v0UMAAPwlq4CUW5IPPn7cyD4LCrAKVPf3f2DYiaYUdpTnYojQvcVCdaMFY3kQ7hWPRgqtJxwj7fhHMDxCsLHJLXjnkmUo2wHWdw2T0hOy8Qm1uuNzxv_HLrnx0_tSztZKglqqnpO0C6IGwH3YsfHvScKopWvHLRN2tkQx5eBN7-GOELRRhesaaz7U56JncmTg011eVN3-SBSVTNoePYBZJ5TZ1zmWBLQ") center / cover no-repeat;
}
.hero__image-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .3), transparent);
}
.hero__image-kicker { color: var(--tertiary-fixed); font-weight: 600; }
.hero__image-text { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--white); }

@media (min-width: 56rem) {
  .hero__cta {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
  .hero__cta .btn {
    width: auto;
    white-space: nowrap;
  }
  .hero__image { height: clamp(18rem, 35vw, 30rem); }
}

/* ---------- 6. Secciones y tarjetas ---------- */
.section { padding: 2rem 1.25rem; }
.section--pain     { background: rgba(239, 244, 255, .6); }
.section--modes    { background: var(--surface); }
.section--services { background: rgba(239, 244, 255, .4); }
.section--profile  { background: var(--surface); }
.section--faq      { background: rgba(239, 244, 255, .5); }

.stack { display: flex; flex-direction: column; gap: 1rem; }
.section__head { display: flex; flex-direction: column; gap: .25rem; }

.pain-list { display: flex; flex-direction: column; gap: .625rem; }
.pain-layout { display: flex; flex-direction: column; gap: 1rem; }
.pain-illustration { display: none; }
.card-list { display: flex; flex-direction: column; gap: .75rem; }

/* Problemas */
.pain-card {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem;
  border-radius: .75rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pain-card__icon {
  width: 2.25rem; height: 2.25rem; margin-top: .125rem;
  border-radius: .5rem;
  background: rgba(255, 218, 214, .4);
  color: var(--error);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pain-card__icon .material-symbols-outlined { font-size: 20px; }
.pain-card .card-text { margin-top: .125rem; }

@media (min-width: 64rem) {
  .pain-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }
  .pain-illustration {
    display: block;
    grid-area: 1 / 1;
    justify-self: start;
    width: 42%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
  }
  .pain-list {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    width: 68%;
    margin-left: auto;
  }
  .pain-card {
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .pain-card:nth-child(2) {
    width: calc(100% - 1.5rem);
    margin-left: auto;
  }
  .pain-card:nth-child(3) {
    width: calc(100% - 3rem);
    margin-left: auto;
  }
}

/* Banner "La solución" */
.bridge {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.bridge__icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--secondary); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bridge__icon .material-symbols-outlined { font-size: 22px; }
.bridge__kicker { color: var(--secondary-fixed); }
.bridge__text { margin-top: .125rem; font-size: 14px; line-height: 20px; font-weight: 500; }
.bridge__text strong { color: var(--white); font-weight: 700; }

/* Modalidades */
.mode-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.mode-card__top { display: flex; align-items: center; justify-content: space-between; }
.mode-card__icon {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
}
.mode-card__icon .material-symbols-outlined { font-size: 24px; }
.mode-card__icon--blue    { background: rgba(219, 225, 255, .5); color: var(--secondary); }
.mode-card__icon--neutral { background: var(--surface-high); color: var(--on-surface); }
.mode-card__icon--warm    { background: var(--tertiary-fixed); color: var(--on-tertiary-fixed); }
.mode-card__title { margin-top: .25rem; font-size: 20px; line-height: 28px; font-weight: 700; }

.pill { padding: .125rem .625rem; border-radius: 9999px; }
.pill--blue    { background: rgba(49, 107, 243, .10); color: var(--secondary); }
.pill--neutral { background: var(--surface-container); color: var(--on-surface-variant); }
.pill--warm    { background: rgba(255, 220, 195, .6); color: var(--on-tertiary-fixed); }

.schemes {
  display: flex; flex-direction: column; gap: .625rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-low);
}
.schemes__title {
  font-size: 13px; line-height: 18px; font-weight: 700;
  letter-spacing: .025em; text-transform: uppercase;
}
.schemes__list { display: flex; flex-direction: column; gap: .5rem; }
.check-row { display: flex; align-items: center; gap: .5rem; font-size: 14px; line-height: 20px; font-weight: 500; }
.check-row .material-symbols-outlined { font-size: 18px; color: var(--secondary); }

/* Servicios */
.service {
  display: flex; flex-direction: column; gap: .375rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.service__head { display: flex; align-items: center; gap: .625rem; }
.service__icon {
  width: 2rem; height: 2rem; border-radius: .5rem;
  background: var(--surface-container); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service__icon .material-symbols-outlined { font-size: 20px; }
.service__icon--warm { background: var(--tertiary-fixed); color: var(--on-tertiary-fixed); }
.service__text { padding-left: 2.625rem; font-size: 14px; line-height: 20px; color: var(--on-surface-variant); }

/* ---------- 7. Perfil ---------- */
.profile {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: rgba(220, 233, 255, .6);
  box-shadow: var(--shadow-sm);
}
.profile__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
}
.profile__photo--wide {
  aspect-ratio: 3 / 1;
}
.profile__intro { display: flex; flex-direction: column; gap: 1rem; }
.profile__head { display: flex; align-items: center; gap: 1rem; }
.profile__name { font-size: 20px; line-height: 1.25; font-weight: 700; }
.profile__role { margin-top: .125rem; color: var(--secondary); }
.profile__since {
  display: flex; align-items: center; gap: .25rem;
  margin-top: .25rem;
  font-size: 14px; line-height: 20px; color: var(--on-surface-variant);
}
.profile__since .material-symbols-outlined { font-size: 16px; color: var(--secondary); }
.profile__bio { font-size: 14px; line-height: 20px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; padding-top: .25rem; }
.pillar {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .75rem;
  border-radius: .75rem;
  background: var(--white);
}
.pillar .material-symbols-outlined { font-size: 20px; color: var(--secondary); }
.pillar__title { font-size: 13px; line-height: 1.25; font-weight: 700; }
.pillar__text { font-size: 11px; line-height: 1.25; color: var(--on-surface-variant); }

.sectors { display: flex; flex-direction: column; gap: .375rem; padding-top: .25rem; }
.sectors__label { color: var(--on-surface-variant); }
.chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.chip { padding: .25rem .625rem; border-radius: 9999px; background: var(--white); }

/* ---------- 8. FAQ (acordeón) ---------- */
.faq-list { display: flex; flex-direction: column; gap: .625rem; }

.faq-item {
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq-item.is-open { box-shadow: 0 0 0 2px rgba(0, 81, 213, .25), 0 4px 14px rgba(11, 28, 48, .06); }

.faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: 1rem;
  text-align: left;
}
.faq-btn .material-symbols-outlined {
  color: var(--secondary);
  transition: transform .2s ease;
}
.faq-item.is-open .faq-btn .material-symbols-outlined { transform: rotate(180deg); }

/* Altura animada: la fila del grid pasa de 0fr a 1fr */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-item.is-open .faq-content { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; min-height: 0; }
.faq-body {
  padding: 0 1rem 1rem;
  font-size: 14px; line-height: 20px; color: var(--on-surface-variant);
  opacity: 0;
  transition: opacity .25s ease;
}
.faq-item.is-open .faq-body { opacity: 1; transition-delay: .08s; }
.faq-body strong { color: var(--on-surface); font-weight: 600; }

/* ---------- 9. WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float svg { width: 1.75rem; height: 1.75rem; }
.whatsapp-float:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, .45); }
.whatsapp-float:active { transform: scale(.95); }

/* ---------- 10. Footer ---------- */
.site-footer {
  padding: 2.5rem 1.25rem 1rem;
  background: var(--black);
  color: var(--white);
}
.site-footer__inner { display: flex; flex-direction: column; gap: 2rem; }
.site-footer__main { display: flex; flex-direction: column; gap: 2rem; }
.site-footer__brand { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__brand-heading { display: flex; align-items: center; gap: .5rem; }
.site-footer__name { font-size: 20px; line-height: 28px; font-weight: 800; }
.site-footer__brand p { max-width: 22rem; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 20px; }
.site-footer__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.site-footer__group { display: flex; flex-direction: column; align-items: flex-start; gap: .625rem; }
.site-footer__title { margin-bottom: .125rem; font-size: 14px; line-height: 20px; font-weight: 700; }
.site-footer__group a { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .76); font-size: 13px; line-height: 18px; }
.site-footer__group a:hover,
.site-footer__bottom a:hover { color: var(--white); text-decoration: underline; }
.site-footer__group .material-symbols-outlined { font-size: 18px; }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  line-height: 18px;
}
.site-footer__note { color: var(--tertiary-fixed); }
.site-footer__bottom a { color: var(--white); font-weight: 700; }

@media (min-width: 40rem) {
  .site-footer .wrap { width: 90vw; max-width: none; }
  .site-footer__brand p { max-width: none; white-space: nowrap; }
  .site-footer__main { flex-direction: row; justify-content: space-between; gap: 2rem; }
  .site-footer__groups { gap: 2rem; }
  .site-footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .site-footer__note { flex-basis: 100%; }
  .site-footer__credit { margin-right: 4.5rem; }
}

/* ---------- 11. Animaciones ---------- */
/* Entrada del hero (una sola secuencia al cargar) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * {
  animation: rise-in .7s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.hero__content > :nth-child(1) { --i: 0; }
.hero__content > :nth-child(2) { --i: 1; }
.hero__content > :nth-child(3) { --i: 2; }
.hero__content > :nth-child(4) { --i: 3; }
.hero__content > :nth-child(5) { --i: 4; }
.hero__content > :nth-child(6) { --i: 5; }

/* Halos del hero: movimiento muy lento */
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(14px, 18px); }
}
.hero__glow--a { animation: drift 14s ease-in-out infinite; }
.hero__glow--b { animation: drift 18s ease-in-out infinite reverse; }

/* Pulso suave en el botón principal del hero */
@keyframes ring {
  0%   { box-shadow: var(--shadow-md), 0 0 0 0 rgba(0, 81, 213, .35); }
  70%  { box-shadow: var(--shadow-md), 0 0 0 12px rgba(0, 81, 213, 0); }
  100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(0, 81, 213, 0); }
}
.hero__cta .btn--primary { animation: ring 2.6s ease-out 1.5s infinite; }

/* ---------- 12. Accesibilidad: sin movimiento si el usuario lo pide ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
