/* ==========================================================================
   EAG Project — Gwenn Vallégant
   Hoja de estilos única · Breakpoints: 640px · 768px · 1024px · 1280px
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --magenta: #e0158a;
  --magenta-600: #c10c75;
  --magenta-300: #f25aa8; /* magenta aclarado: acento sobre fondos oscuros */
  --magenta-50: #fdf0f7;
  --navy: #1b3a5c;
  --charcoal: #34383f;
  --violet: #8b3fd9;

  /* Superficies */
  --paper: #faf7f2;
  --paper-2: #f3eee6;
  --white: #ffffff;
  --ink: #0e1c2c;
  --ink-2: #13263b;

  /* Texto */
  --text: #13263b;
  --text-muted: rgb(19 38 59 / 0.68);
  --text-soft: rgb(19 38 59 / 0.5);
  --line: rgb(27 58 92 / 0.12);
  --line-strong: rgb(27 58 92 / 0.2);

  /* Tipografía */
  --font-sans: "Geist", "Geist Fallback", system-ui, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  /* Layout */
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 9vw, 8.5rem);
  --header-h: 4.5rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --fade: clamp(4rem, 8vw, 8rem); /* altura del degradado entre secciones */

  /* Movimiento */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);

  /* Sombras */
  --shadow-sm: 0 1px 2px rgb(14 28 44 / 0.06), 0 1px 3px rgb(14 28 44 / 0.06);
  --shadow-md: 0 4px 12px -2px rgb(14 28 44 / 0.08), 0 2px 4px -2px rgb(14 28 44 / 0.06);
  --shadow-lg: 0 24px 48px -16px rgb(14 28 44 / 0.18), 0 8px 16px -8px rgb(14 28 44 / 0.08);
  --shadow-magenta: 0 12px 28px -10px rgb(224 21 138 / 0.55);

  /* Único degradado de marca (barra de progreso y línea del proceso) */
  --brand-gradient: linear-gradient(90deg, var(--magenta), var(--violet));
}

/* ---------- Reset ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; background: none; letter-spacing: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
.site-main { flex: 1; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section,
.site-footer {
  position: relative;
  /* Cada sección arranca con el color de la anterior y funde al suyo */
  /* curva suave (ease-in-out) con un leve tinte de marca en el centro
     para que el paso claro ↔ oscuro no se vea gris */
  --f: var(--from, var(--bg));
  --tint: var(--tint-color, var(--bg));
  background: linear-gradient(
    to bottom,
    var(--f) 0,
    color-mix(in oklab, color-mix(in oklab, var(--f) 95%, var(--bg)) 97%, var(--tint)) calc(var(--fade) * 0.12),
    color-mix(in oklab, color-mix(in oklab, var(--f) 82%, var(--bg)) 91%, var(--tint)) calc(var(--fade) * 0.26),
    color-mix(in oklab, color-mix(in oklab, var(--f) 62%, var(--bg)) 86%, var(--tint)) calc(var(--fade) * 0.4),
    color-mix(in oklab, color-mix(in oklab, var(--f) 38%, var(--bg)) 86%, var(--tint)) calc(var(--fade) * 0.56),
    color-mix(in oklab, color-mix(in oklab, var(--f) 18%, var(--bg)) 91%, var(--tint)) calc(var(--fade) * 0.72),
    color-mix(in oklab, color-mix(in oklab, var(--f) 5%, var(--bg)) 97%, var(--tint)) calc(var(--fade) * 0.87),
    var(--bg) var(--fade)
  );
}
.section { padding-block: var(--section-y); }
/* Cambios claro ↔ oscuro: degradado más largo y el contenido empieza al final */
.dark, .levels, .bio {
  --fade: clamp(7rem, 13vw, 13rem);
  --tint-color: #7a2a6e; /* magenta apagado hacia el azul marino */
  padding-top: max(var(--section-y), calc(var(--fade) * 0.85));
}

/* ---------- Tipografía común ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--magenta-300); }

.h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 1.25rem + 2vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2:first-child { margin-top: 0; }
.h2 em, .hero__title em { font-style: italic; font-weight: 500; color: var(--magenta); }
.dark .h2 { color: #fff; }
.dark .h2 em { color: var(--magenta-300); }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
.section-head__lead {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-ui), color 0.25s var(--ease-ui), box-shadow 0.3s var(--ease-ui), translate 0.3s var(--ease), border-color 0.25s var(--ease-ui);
}
.btn .icon { width: 1.125rem; height: 1.125rem; transition: translate 0.3s var(--ease); }
.btn--sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.625rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--magenta); color: #fff; box-shadow: var(--shadow-magenta); }
.btn:active { translate: 0 1px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease-ui), color 0.25s var(--ease-ui);
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: translate 0.3s var(--ease); }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  translate: 0 -200%;
  transition: translate 0.2s var(--ease-ui);
}
.skip-link:focus { translate: 0 0; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.progress__bar {
  display: block;
  height: 100%;
  background: var(--brand-gradient);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(250 247 242 / 0);
  transition: background-color 0.3s var(--ease-ui), border-color 0.3s var(--ease-ui), box-shadow 0.3s var(--ease-ui);
}
.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgb(250 247 242 / 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgb(14 28 44 / 0.35); }
body.menu-open .site-header { background: var(--paper); box-shadow: none; }

.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand__logo { width: 2.5rem; height: 2.5rem; transition: rotate 0.5s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); }
.brand__sub { display: none; font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--text-soft); }

.header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3125rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
}
.header__link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-ui), background-color 0.2s var(--ease-ui);
}
.header__link.is-active { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.locale {
  display: flex;
  padding: 0.1875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.locale__link {
  min-width: 2.375rem;
  padding: 0.4375rem 0.5rem;
  border-radius: 999px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-ui), background-color 0.2s var(--ease-ui);
}
.locale__link.is-current { background: var(--ink); color: #fff; }
.header__cta { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: background-color 0.2s var(--ease-ui);
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; grid-area: 1 / 1; transition: opacity 0.2s, rotate 0.3s var(--ease); }
.menu-toggle__close { opacity: 0; rotate: -90deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; rotate: 90deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; rotate: 0deg; }

/* Panel móvil a pantalla completa */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding-top: var(--header-h);
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s var(--ease), opacity 0.3s var(--ease-ui), visibility 0s 0.5s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.5s var(--ease), opacity 0.3s var(--ease-ui), visibility 0s;
}
.mobile-menu__nav { display: flex; flex-direction: column; padding-block: 1.5rem 2.5rem; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.15;
  color: var(--ink);
}
.mobile-menu__num { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--magenta); }
.mobile-menu__cta { margin-top: 2rem; }
.mobile-menu__contact { margin-top: 2rem; display: grid; gap: 0.75rem; font-size: 0.9375rem; color: var(--text-muted); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 0.625rem; }
.mobile-menu__contact .icon { width: 1.125rem; height: 1.125rem; color: var(--magenta); }
.mobile-menu.is-open .mobile-menu__nav > * { animation: rise 0.6s var(--ease) calc(0.08s + var(--i, 0) * 0.05s) backwards; }

@media (min-width: 640px) {
  .brand__sub { display: block; }
}
@media (min-width: 1024px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}
.hero__backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.hero__blob--magenta {
  width: 34rem; height: 34rem; right: -6rem; top: 18%;
  background: radial-gradient(circle, rgb(224 21 138 / 0.22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__blob--navy {
  width: 28rem; height: 28rem; left: -12rem; top: 30%;
  background: radial-gradient(circle, rgb(27 58 92 / 0.14), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4.5rem, 8vw, 7rem);
}
.hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

.hero__visual { position: relative; width: 100%; max-width: 26rem; margin-inline: auto; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(14 28 44 / 0.28), transparent 40%);
}
.hero__frame picture, .bio__frame picture { display: contents; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(100%) contrast(1.05); }
.hero__badge {
  position: absolute;
  left: -1rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.125rem 0.75rem 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.hero__badge-logo { width: 2.25rem; height: 2.25rem; }
.hero__badge strong { display: block; font-size: 0.9375rem; color: var(--ink); }
.hero__badge span span { font-size: 0.75rem; color: var(--text-muted); }
.hero__chip {
  position: absolute;
  right: -0.5rem;
  top: 18%;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out -2s infinite;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  display: none;
  width: 1.5rem;
  height: 2.5rem;
  margin-left: -0.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  animation: fade-in 0.6s ease-out 1.2s both;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 3px;
  height: 0.5rem;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--magenta);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero__badge { left: -2rem; }
  .hero__chip { right: -1.5rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100svh, 60rem); display: flex; flex-direction: column; justify-content: center; }
  .hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 4rem; }
  .hero__visual { max-width: none; }
  .hero__scroll { display: block; }
}

/* ==========================================================================
   Intro / manifiesto
   ========================================================================== */
.intro { --bg: var(--white); --from: var(--paper); }
.intro__grid { display: grid; gap: 2.5rem; }
.intro__lead-wrap { position: relative; }
.intro__mark {
  display: block;
  height: 3.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 6rem;
  line-height: 1;
  color: var(--magenta);
}
.intro__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.intro__body { display: grid; gap: 1.25rem; align-content: end; font-size: 1.0625rem; color: var(--text-muted); }
.intro__body > p { text-wrap: pretty; }
.intro__signature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink);
}
.intro__signature::before { content: ""; width: 2.5rem; height: 1px; background: var(--magenta); }
@media (min-width: 1024px) {
  .intro__grid { grid-template-columns: 1.35fr 1fr; gap: 6rem; }
  .intro__body { padding-bottom: 0.5rem; }
}

/* ==========================================================================
   El reto
   ========================================================================== */
.problem { --bg: var(--paper); --from: var(--white); }
.split { display: grid; gap: 3rem; }
.split__head .h2 { max-width: 30rem; }
.symptoms { border-top: 1px solid var(--line-strong); counter-reset: s; }
.symptom {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1.375rem 0.75rem 1.375rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: padding 0.4s var(--ease), background-color 0.3s var(--ease-ui);
}
.symptom::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
}
.symptom__num { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.125rem; color: var(--magenta); }
.symptom__text { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); font-weight: 500; line-height: 1.4; color: var(--ink); }
.callout {
  position: relative;
  margin-top: 2.5rem;
  padding: 2rem 2rem 2rem 2.25rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  line-height: 1.38;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--magenta);
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 6rem; align-items: start; }
  .split__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* ==========================================================================
   La transformación (oscuro)
   ========================================================================== */
.dark { --bg: var(--ink); color: rgb(255 255 255 / 0.78); }
.benefits { --from: var(--paper); overflow: hidden; }
.benefits__glow {
  position: absolute;
  inset: var(--fade) 0 0;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 30%, rgb(224 21 138 / 0.16), transparent 70%),
    radial-gradient(40% 45% at 0% 70%, rgb(27 58 92 / 0.55), transparent 70%);
}
.benefits .wrap { position: relative; }
.benefit-grid { display: grid; gap: 1rem; }
.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 9rem;
  padding: 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
  transition: border-color 0.3s var(--ease-ui), background-color 0.3s var(--ease-ui), translate 0.4s var(--ease);
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgb(224 21 138 / 0.16);
  color: var(--magenta-300);
}
.benefit__icon .icon { width: 1.125rem; height: 1.125rem; }
.benefit__num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1rem;
  color: rgb(255 255 255 / 0.3);
}
.benefit__text { margin-top: auto; font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: #fff; text-wrap: balance; }
.benefits__closing {
  margin: clamp(3.5rem, 6vw, 5rem) auto 0;
  max-width: 44rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  line-height: 1.25;
  color: #fff;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .benefit { min-height: 11rem; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Tres niveles
   ========================================================================== */
.levels { --bg: var(--white); --from: var(--ink); }
.levels__stage { position: relative; }
.levels__loop {
  position: absolute;
  inset-inline: 0;
  top: 0;
  display: none;
  height: 13rem;
  pointer-events: none;
}
.feedback-loop { width: 100%; height: 100%; }
.feedback-loop path { animation: dash-big 6s linear infinite; }

.levels__grid { position: relative; display: grid; justify-items: center; text-align: center; }
.level { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.orbit { animation: orbit 7s linear infinite; animation-delay: calc(var(--phase, 0) * -7s / 3); }
.level__circle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 10px #fff, 0 24px 40px -16px var(--glow, rgb(14 28 44 / 0.4));
  transition: scale 0.4s var(--ease), box-shadow 0.4s var(--ease);
  isolation: isolate;
}
.level__circle::before {
  /* brillo interior */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.35), transparent 55%);
}
.level__circle--1 { background: linear-gradient(140deg, #2b5a8c, var(--navy) 70%); --glow: rgb(27 58 92 / 0.55); }
.level__circle--2 { background: linear-gradient(140deg, #f2479f, var(--magenta) 70%); --glow: rgb(224 21 138 / 0.55); }
.level__circle--3 { background: linear-gradient(140deg, #a764ec, var(--violet) 70%); --glow: rgb(139 63 217 / 0.55); }
.level__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: rgb(255 255 255 / 0.7); }
.level__title { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.level__desc { margin-top: 1.75rem; max-width: 18.5rem; font-size: 1rem; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }

.loop-connector { display: flex; flex-direction: column; align-items: center; padding-block: 1.25rem; color: rgb(224 21 138 / 0.7); }
.loop-connector::before,
.loop-connector::after { content: ""; width: 1px; height: 1.25rem; }
.loop-connector::before { background: linear-gradient(transparent, rgb(224 21 138 / 0.4)); }
.loop-connector::after { background: linear-gradient(rgb(224 21 138 / 0.4), transparent); }
.loop-connector svg { width: 2rem; height: 2rem; }
.loop-connector path { animation: dash-mini 3s linear infinite; }

@media (min-width: 768px) {
  .levels__loop { display: block; }
  .levels__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
  .loop-connector { display: none; }
  .level__circle { width: 9.5rem; height: 9.5rem; }
  .level__title { font-size: 1.2rem; }
  .levels__loop { height: 11.5rem; }
}
@media (min-width: 1024px) {
  .levels__grid { gap: 2.5rem; }
  .level__circle { width: 11rem; height: 11rem; }
  .level__title { font-size: 1.5rem; }
  .levels__loop { height: 13rem; }
}

/* ==========================================================================
   Proceso
   ========================================================================== */
.process { --bg: var(--paper); --from: var(--white); }
.steps { position: relative; display: grid; gap: 0; }
.steps__track {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: var(--line-strong);
}
.steps__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--magenta), var(--violet));
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform 1.6s var(--ease) 0.2s;
}
.steps.is-visible .steps__fill { transform: scaleY(1); }
.step {
  position: relative;
  padding: 0 0 2.75rem 4.75rem;
}
.step:last-child { padding-bottom: 0; }
.step__marker {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 6px var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--magenta);
  transition: background-color 0.3s var(--ease-ui), color 0.3s var(--ease-ui), border-color 0.3s var(--ease-ui), scale 0.4s var(--ease);
}
.step__name { padding-top: 0.5rem; font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.step__desc { margin-top: 0.625rem; max-width: 30rem; font-size: 1rem; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .steps__track { left: 1.5rem; right: calc((100% - 8rem) / 5 - 1.5rem); top: 1.5rem; bottom: auto; width: auto; height: 1px; }
  .steps__fill { transform-origin: 0 50%; transform: scaleX(0); }
  .steps.is-visible .steps__fill { transform: scaleX(1); }
  .step { padding: 0; }
  .step__marker { position: relative; margin-bottom: 1.75rem; }
  .step__name { padding-top: 0; }
}

/* ==========================================================================
   Caso de éxito
   ========================================================================== */
.case { --bg: var(--white); --from: var(--paper); }
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--paper), var(--white) 60%);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}
.case-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.case-card__claim {
  max-width: 32rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  line-height: 1.2;
  color: var(--magenta);
  text-wrap: balance;
}
.case-card__stats { display: flex; gap: 2.5rem; }
.case-card__stats div { display: flex; flex-direction: column-reverse; }
.case-card__stats dd { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.75rem, 2.2rem + 1.8vw, 3.75rem); line-height: 1; color: var(--ink); }
.case-card__stats dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }

.case-flow { display: grid; gap: 1.25rem; }
.case-step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case-step--before { background: var(--paper-2); border-color: transparent; }
.case-step--after { background: var(--ink); border-color: transparent; color: rgb(255 255 255 / 0.85); box-shadow: var(--shadow-lg); }
.case-step__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid var(--line);
}
.case-step--during .case-step__tag { background: var(--magenta-50); color: var(--magenta-600); border-color: rgb(224 21 138 / 0.2); }
.case-step--after .case-step__tag { background: var(--magenta); color: #fff; border-color: transparent; }
.case-step__text { margin-top: 1.25rem; font-size: 1rem; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }
.case-step--after .case-step__text { color: rgb(255 255 255 / 0.85); }
.case-step__arrow {
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: -1.125rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--magenta);
  box-shadow: var(--shadow-sm);
  translate: 0 50%;
  rotate: 90deg;
}
.case-step__arrow .icon { width: 1rem; height: 1rem; }
@media (min-width: 900px) {
  .case-flow { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .case-step__arrow { left: auto; right: -1.5rem; top: 50%; bottom: auto; margin: -1.125rem -0.375rem 0 0; translate: 0 0; rotate: 0deg; }
}

/* ==========================================================================
   Experiencia (oscuro)
   ========================================================================== */
.about { --from: var(--white); }
.pillars { display: grid; border-top: 1px solid rgb(255 255 255 / 0.12); }
.pillar {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.pillar__num { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.25rem; color: var(--magenta-300); }
.pillar__label {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.pillar__text { margin-top: 0.75rem; font-size: 1.0625rem; line-height: 1.6; color: rgb(255 255 255 / 0.7); text-wrap: pretty; }
.about__quote {
  position: relative;
  margin: clamp(4rem, 7vw, 6rem) auto 0;
  max-width: 50rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.3;
  color: #fff;
  text-wrap: balance;
}
.about__quote::before,
.about__quote::after { font-style: italic; color: var(--magenta-300); }
.about__quote::before { content: "“"; }
.about__quote::after { content: "”"; }
.about__quote p { display: inline; }
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgb(255 255 255 / 0.12); }
  .pillar { padding: 2.5rem 2rem; border-bottom: 0; }
  .pillar + .pillar { border-left: 1px solid rgb(255 255 255 / 0.12); }
  .pillar:first-child { padding-left: 0; }
  .pillar:last-child { padding-right: 0; }
}

/* ==========================================================================
   Sobre mí
   ========================================================================== */
.bio { --bg: var(--paper); --from: var(--ink); }
.bio__grid { display: grid; gap: 3.5rem; }
.bio__visual { position: relative; max-width: 26rem; width: 100%; margin-inline: auto; }
.bio__frame { position: relative; }
.bio__frame::before {
  /* marco desplazado */
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid var(--magenta);
  border-radius: var(--radius-lg);
  opacity: 0.5;
}
@media (min-width: 640px) {
  .bio__frame::before { inset: 1.25rem -1.25rem -1.25rem 1.25rem; }
}
.bio__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.05);
  box-shadow: var(--shadow-lg);
}
.bio__caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.bio__caption .icon { width: 1rem; height: 1rem; color: var(--magenta); }
.bio__lead {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}
.bio__text { margin-top: 1.25rem; display: grid; gap: 1.125rem; font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted); }
.bio__text p { text-wrap: pretty; }
.credentials {
  margin-top: 2.75rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.credentials__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.credentials__count {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.5rem;
  border-radius: 999px;
  background: var(--magenta-50);
  color: var(--magenta-600);
  font-size: 0.75rem;
  letter-spacing: 0;
}
.chips { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.875rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--text);
  transition: border-color 0.2s var(--ease-ui), background-color 0.2s var(--ease-ui), color 0.2s var(--ease-ui);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--magenta); flex-shrink: 0; }
@media (min-width: 1024px) {
  .bio__grid { grid-template-columns: 0.8fr 1.2fr; gap: 6rem; align-items: start; }
  .bio__visual { position: sticky; top: calc(var(--header-h) + 2.5rem); max-width: none; }
}

/* ==========================================================================
   Contacto (oscuro)
   ========================================================================== */
.cta { --from: var(--paper); overflow: hidden; }
.cta__glow {
  position: absolute;
  inset: var(--fade) 0 0;
  pointer-events: none;
  background:
    radial-gradient(45% 45% at 20% 40%, rgb(224 21 138 / 0.14), transparent 70%),
    radial-gradient(40% 45% at 100% 70%, rgb(27 58 92 / 0.55), transparent 70%);
}
.cta__grid { position: relative; display: grid; gap: 3rem; align-items: start; }
.contact-list { margin-top: 2.5rem; display: grid; gap: 0.875rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.04);
  transition: border-color 0.3s var(--ease-ui), background-color 0.3s var(--ease-ui);
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgb(224 21 138 / 0.15);
  color: var(--magenta-300);
  flex-shrink: 0;
}
.contact-card__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.contact-card__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.5); }
.contact-card__value { margin-top: 0.25rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.contact-card__go { margin-left: auto; color: rgb(255 255 255 / 0.4); transition: color 0.3s var(--ease-ui), translate 0.3s var(--ease); }

.form-card {
  display: grid;
  gap: 1.125rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
}
.field { display: grid; gap: 0.5rem; }
.field__label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.field__input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease-ui), box-shadow 0.2s var(--ease-ui);
}
.field__input:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px rgb(224 21 138 / 0.12); }
.form-card .btn { margin-top: 0.5rem; }
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
  .cta__copy { padding-top: 1rem; }
}

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer { --bg: #0a1521; --from: var(--ink); --fade: 4rem; color: rgb(255 255 255 / 0.6); padding-top: 4.5rem; font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer__logo { width: 3rem; height: 3rem; filter: invert(1); flex-shrink: 0; transition: rotate 0.5s var(--ease); }
.footer__tagline { font-weight: 600; color: #fff; line-height: 1.4; }
.footer__address { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; }
.footer__address .icon { width: 0.9375rem; height: 0.9375rem; color: var(--magenta-300); }
.footer__nav { display: flex; flex-wrap: wrap; align-content: start; gap: 0.75rem 1.5rem; }
.footer__nav a, .footer__social a { transition: color 0.2s var(--ease-ui); }
.footer__social { display: grid; gap: 0.75rem; align-content: start; }
.footer__social a { display: inline-flex; align-items: center; gap: 0.625rem; }
.footer__social .icon { width: 1.125rem; height: 1.125rem; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.4);
}
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: var(--gutter);
  height: 1px;
  background: rgb(255 255 255 / 0.08);
}
.to-top {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.15);
  color: #fff;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-ui), border-color 0.2s var(--ease-ui);
}
.to-top .icon { width: 1rem; height: 1rem; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { flex-direction: column; flex-wrap: nowrap; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ==========================================================================
   Hovers (solo con ratón)
   ========================================================================== */
@media (hover: hover) {
  .brand:hover .brand__logo, .footer__brand:hover .footer__logo { rotate: 12deg; }
  .header__link:not(.is-active):hover { color: var(--ink); background: rgb(255 255 255 / 0.7); }
  .locale__link:not(.is-current):hover { color: var(--ink); background: rgb(27 58 92 / 0.06); }
  .menu-toggle:hover { background: rgb(27 58 92 / 0.05); }
  .btn--primary:hover { background: var(--magenta-600); box-shadow: 0 16px 32px -10px rgb(224 21 138 / 0.6); }
  .btn:hover .icon { translate: 3px 0; }
  .link-arrow:hover { color: var(--magenta); border-color: var(--magenta); }
  .link-arrow:hover .icon { translate: 0 3px; }

  .symptom:hover { padding-left: 0.75rem; background: rgb(255 255 255 / 0.6); }
  .symptom:hover::before { transform: scaleX(1); }
  .benefit:hover { translate: 0 -4px; border-color: rgb(242 90 168 / 0.45); background-color: rgb(255 255 255 / 0.03); }
  .level__circle:hover { scale: 1.06; box-shadow: 0 0 0 10px #fff, 0 32px 56px -16px var(--glow); }
  .step:hover .step__marker { background: var(--magenta); color: #fff; border-color: var(--magenta); scale: 1.08; }
  .case-step:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
  .chip:hover { border-color: rgb(224 21 138 / 0.4); background: var(--magenta-50); color: var(--magenta-600); }
  .contact-card:hover { border-color: rgb(242 90 168 / 0.45); background: rgb(255 255 255 / 0.07); }
  .contact-card:hover .contact-card__go { color: var(--magenta-300); translate: 2px -2px; }
  .footer__nav a:hover, .footer__social a:hover { color: #fff; }
  .to-top:hover { background: var(--magenta); border-color: var(--magenta); }
}

/* ==========================================================================
   Animaciones
   ========================================================================== */
.hero-in { animation: rise 0.9s var(--ease) calc(0.1s + var(--i, 0) * 0.12s) backwards; }
.hero__visual { animation: hero-visual 1.1s var(--ease) 0.25s backwards; }

/* Aparición al hacer scroll (main.js añade .is-visible) */
html.js .reveal:not(.is-visible),
html.js .stagger:not(.is-visible) > .stagger-item { opacity: 0; }
.reveal.is-visible { animation: rise 0.8s var(--ease) var(--delay, 0s) backwards; }
.stagger-item { --y: 20px; }
.stagger.is-visible > .stagger-item { animation: rise 0.7s var(--ease) calc(0.05s + var(--i, 0) * 0.07s) backwards; }

@keyframes rise { from { opacity: 0; transform: translateY(var(--y, 28px)); } }
@keyframes hero-visual { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes drift {
  from { translate: 0 0; }
  to { translate: -3rem 2rem; }
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(0.875rem); }
}
@keyframes dash-big { to { stroke-dashoffset: -31.2; } }
@keyframes dash-mini { to { stroke-dashoffset: -14.5; } }
/* Pequeño "8" (lemniscata 18×11 px) muestreado en 48 pasos */
@keyframes orbit {
  0% { transform: translate(18px, 0px); }
  2.0833% { transform: translate(17.85px, 2.85px); }
  4.1667% { transform: translate(17.39px, 5.5px); }
  6.25% { transform: translate(16.63px, 7.78px); }
  8.3333% { transform: translate(15.59px, 9.53px); }
  10.4167% { transform: translate(14.28px, 10.63px); }
  12.5% { transform: translate(12.73px, 11px); }
  14.5833% { transform: translate(10.96px, 10.63px); }
  16.6667% { transform: translate(9px, 9.53px); }
  18.75% { transform: translate(6.89px, 7.78px); }
  20.8333% { transform: translate(4.66px, 5.5px); }
  22.9167% { transform: translate(2.35px, 2.85px); }
  25% { transform: translate(0px, 0px); }
  27.0833% { transform: translate(-2.35px, -2.85px); }
  29.1667% { transform: translate(-4.66px, -5.5px); }
  31.25% { transform: translate(-6.89px, -7.78px); }
  33.3333% { transform: translate(-9px, -9.53px); }
  35.4167% { transform: translate(-10.96px, -10.63px); }
  37.5% { transform: translate(-12.73px, -11px); }
  39.5833% { transform: translate(-14.28px, -10.63px); }
  41.6667% { transform: translate(-15.59px, -9.53px); }
  43.75% { transform: translate(-16.63px, -7.78px); }
  45.8333% { transform: translate(-17.39px, -5.5px); }
  47.9167% { transform: translate(-17.85px, -2.85px); }
  50% { transform: translate(-18px, 0px); }
  52.0833% { transform: translate(-17.85px, 2.85px); }
  54.1667% { transform: translate(-17.39px, 5.5px); }
  56.25% { transform: translate(-16.63px, 7.78px); }
  58.3333% { transform: translate(-15.59px, 9.53px); }
  60.4167% { transform: translate(-14.28px, 10.63px); }
  62.5% { transform: translate(-12.73px, 11px); }
  64.5833% { transform: translate(-10.96px, 10.63px); }
  66.6667% { transform: translate(-9px, 9.53px); }
  68.75% { transform: translate(-6.89px, 7.78px); }
  70.8333% { transform: translate(-4.66px, 5.5px); }
  72.9167% { transform: translate(-2.35px, 2.85px); }
  75% { transform: translate(0px, 0px); }
  77.0833% { transform: translate(2.35px, -2.85px); }
  79.1667% { transform: translate(4.66px, -5.5px); }
  81.25% { transform: translate(6.89px, -7.78px); }
  83.3333% { transform: translate(9px, -9.53px); }
  85.4167% { transform: translate(10.96px, -10.63px); }
  87.5% { transform: translate(12.73px, -11px); }
  89.5833% { transform: translate(14.28px, -10.63px); }
  91.6667% { transform: translate(15.59px, -9.53px); }
  93.75% { transform: translate(16.63px, -7.78px); }
  95.8333% { transform: translate(17.39px, -5.5px); }
  97.9167% { transform: translate(17.85px, -2.85px); }
  100% { transform: translate(18px, 0px); }
}

/* Movimiento reducido: sin desplazamientos, solo fundidos */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .hero__visual,
  .reveal.is-visible,
  .stagger.is-visible > .stagger-item,
  .mobile-menu.is-open .mobile-menu__nav > * { animation-name: fade-in; }
  .orbit, .hero__badge, .hero__chip, .hero__blob, .hero__scroll span { animation-play-state: paused; }
  .steps__fill { transition: none; }
  .mobile-menu { transition: opacity 0.2s, visibility 0s 0.2s; clip-path: none; }
  .mobile-menu.is-open { transition: opacity 0.2s, visibility 0s; }
}
