/* ============================================================
   ISMAEL CALERO · ismaelcalero.com — main.css
   Design system: navy #000080 · esmeralda #51C878 · tinta #111
   menta #F1FEF7 · lima #E5F83A (acento ≤15%, nunca texto en claro)
   Tipos: Montserrat (display) · Google Sans (cuerpo) · Caveat (acento)
   ============================================================ */

/* ---- Fonts (self-hosted, subset latin+es, WOFF2) ------------ */
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-VariableFont_wght.woff2?v=880edbcc') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Google Sans'; src: url('../fonts/GoogleSans-VariableFont_GRAD_opsz_wght.woff2?v=f33a895c') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('../fonts/Caveat-VariableFont_wght.woff2?v=9d618a3e') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap; }
/* fallback con métricas ajustadas: evita el salto de layout si Caveat tarda */
@font-face { font-family: 'Caveat Fallback'; src: local('Arial'); size-adjust: 76%;
  ascent-override: 105%; descent-override: 40%; }

/* ---- Tokens -------------------------------------------------- */
:root {
  --navy: #000080; --navy-900: #00004d; --navy-500: #1a1aa6; --navy-300: #6f6fce;
  --navy-100: #d9d9f2; --navy-050: #eeeefb;
  --emerald: #51C878; --emerald-700: #2f9e5c; --emerald-300: #8fdcaa;
  --emerald-100: #d3f1de; --emerald-050: #eafaf0;
  --lime: #E5F83A; --lime-text: #697408; /* lima legible sobre claro (4.9:1 AA) */
  --emerald-text: #218050; /* esmeralda para texto pequeño sobre claro (4.7:1 AA) */
  --ink: #111111; --mint: #F1FEF7; --white: #ffffff;

  --bg: var(--mint); --surface: #ffffff; --surface-sunk: #f2f2f5;
  --fg1: #111111; --fg2: #54545c; --fg3: #6e6e78;
  --border: #e3e3e8; --border-strong: #b9b9c0;
  --accent: var(--navy); --focus-ring: var(--navy-500);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Google Sans', system-ui, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;

  --shadow-xs: 0 1px 2px rgba(17,17,17,.06);
  --shadow-sm: 0 2px 8px rgba(17,17,17,.06);
  --shadow-md: 0 8px 24px rgba(17,17,17,.08);
  --shadow-lg: 0 20px 48px rgba(17,17,17,.12);
  --shadow-navy: 0 16px 40px rgba(0,0,128,.18);

  --r-blob: 42% 58% 63% 37% / 41% 44% 56% 59%;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html.dark {
  --bg: #0b1020; --surface: #141a2e; --surface-sunk: #1b2238;
  --fg1: #f1fef7; --fg2: #c2c7da; --fg3: #8b90a8;
  --border: rgba(255,255,255,.10); --border-strong: rgba(255,255,255,.22);
  --navy-050: #1a2142; --navy-100: #cdd2f0; --emerald-050: #122a1e;
  --emerald-700: #5cd08c; --lime-text: #d8eb20; /* sobre oscuro la lima sí funciona */
  --emerald-text: #8fdcaa;
  --accent: var(--emerald-300); --focus-ring: var(--emerald-300);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.4); --shadow-sm: 0 2px 8px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.5); --shadow-lg: 0 20px 48px rgba(0,0,0,.6);
}

/* ---- Base ---------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--fg1); background: var(--bg); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; transition: background-color .4s ease, color .4s ease; }
img { max-width: 100%; display: block; }
/* saltos de ancla nativos: respetar la altura del header fijo */
[id] { scroll-margin-top: 84px; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
section { position: relative; }

/* film grain (sutilísimo, marca de la casa) */
/* sin mix-blend-mode: un blend fijo a viewport completo fuerza composición
   cara en cada frame; a .04 de opacidad el resultado es indistinguible */
body::after { content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.dark body::after { opacity: .05; }
@media print { body::after { display: none; } }

/* ---- Accesibilidad ------------------------------------------ */
.skip-link { position: fixed; top: -64px; left: 16px; z-index: 300; background: var(--navy);
  color: #fff; font-weight: 700; font-size: 15px; padding: 12px 20px;
  border-radius: 0 0 12px 12px; text-decoration: none; transition: top .2s ease; }
.skip-link:focus-visible { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
/* sobre fondos navy/tinta el anillo navy es invisible: lima (13.6:1) */
.val-card, .footer-cta, .reframe, .metodo, .ba-card--goal, .site-footer { --focus-ring: var(--lime); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Tipografía ---------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--fg1); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 800; font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--emerald-text); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .55;
  transform-origin: left; transition: transform .6s var(--ease) .1s; }
[data-reveal]:not(.in) .eyebrow::before { transform: scaleX(0); }
.eyebrow--center::before { display: none; }
.h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(30px,3.8vw,50px);
  line-height: 1.02; letter-spacing: -.015em; }
.lead { font-size: 19px; line-height: 1.62; color: var(--fg2); }
.script { font-family: var(--font-script); font-weight: 700; color: var(--emerald-700);
  text-transform: none; }

/* ---- Botones ------------------------------------------------- */
.btn { font-family: var(--font-body); font-weight: 600; font-size: 16px; border: none;
  border-radius: 999px; padding: 15px 30px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .14s ease, box-shadow .25s ease, background .2s ease, color .2s ease, filter .2s ease;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  white-space: nowrap; line-height: 1; min-height: 48px; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 6px 18px rgba(196,214,23,.28); }
.btn-primary:hover { background: #d8eb20; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(196,214,23,.34); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(0,0,128,.16); }
.btn-navy:hover { filter: brightness(1.12); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(0,0,128,.26); }
.btn-ghost { background: transparent; color: var(--fg1); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn-ghost:hover { background: var(--surface-sunk); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
/* sheen artesanal en hover */
.btn-primary::after, .btn-navy::after { content: ""; position: absolute; top: 0; left: -160%;
  width: 55%; height: 100%; transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); }
html:not(.reduce) .btn-primary:hover::after,
html:not(.reduce) .btn-navy:hover::after { animation: sheen .75s ease; }
@keyframes sheen { to { left: 160%; } }

/* ---- Preloader ----------------------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 400; background: var(--navy);
  display: flex; align-items: center; justify-content: center; }
.preloader-mark { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,6vw,64px);
  color: var(--mint); letter-spacing: -.02em; overflow: hidden; display: flex; }
.preloader-mark .dot { color: var(--emerald); }
.preloader-mark span { display: inline-block; transform: translateY(110%); }
.preloader.done { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
html.no-preloader .preloader { display: none; }
/* red de seguridad: aunque el JS falle, el preloader se retira solo */
.preloader { animation: preHide .4s ease 2.6s forwards; }
@keyframes preHide { to { opacity: 0; visibility: hidden; } }

/* ---- Nav ----------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  /* no transicionar backdrop-filter: interpolar el blur es caro; el fundido
     del fondo semitransparente ya da la sensación de aparición */
  transition: background .3s ease, border-color .3s ease; }
.site-header.glass { background: rgba(241,254,247,.88);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border); }
html.dark .site-header.glass { background: rgba(11,16,32,.88);
  background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav-bar { display: flex; align-items: center; gap: 24px; height: 74px; }
.wordmark { display: flex; align-items: baseline; gap: 2px; text-decoration: none;
  font-family: var(--font-display); font-weight: 900; font-size: 23px;
  letter-spacing: -.02em; color: var(--fg1); text-transform: uppercase; }
.wordmark i { font-style: normal; color: var(--emerald); }
.nav-links { display: flex; gap: 26px; margin-left: 20px; }
.nav-links a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--fg2);
  text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px;
  width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface);
  cursor: pointer; color: var(--fg1); }
.nav-mobile { display: none; overflow: hidden; max-height: 0; opacity: 0;
  /* fuera del flujo: no re-layouta la página al abrir (el header sticky es su ancla) */
  position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
  /* visibility oculta los enlaces del tab-order y del lector de pantalla al cerrar */
  visibility: hidden;
  transition: max-height .4s var(--ease), opacity .3s ease, visibility 0s .4s;
  border-top: 1px solid transparent; box-shadow: var(--shadow-md); }
.nav-mobile.open { opacity: 1; visibility: visible; transition-delay: 0s;
  border-top-color: var(--border);
  /* el contenido (7 enlaces + CTA + fila de tema) pasa de 550px: con un
     max-height fijo se cortaban el botón y el interruptor. Se limita al alto
     real del viewport menos la cabecera y, si aun así no cabe, se desplaza. */
  max-height: calc(100vh - 74px);
  max-height: calc(100dvh - 74px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.nav-mobile-inner { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 2px; }
/* la barra fija de "Reservar" (~84px) tapa el final del menú: se deja hueco */
@media (max-width: 900px) {
  .nav-mobile-inner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.mvlink { display: flex; align-items: center; gap: 8px; padding: 9px 0; text-decoration: none;
  color: var(--fg1); font-family: var(--font-display); font-weight: 800; font-size: 24px;
  text-transform: uppercase; letter-spacing: -.01em; }
.mvlink .arr { display: inline-flex; color: var(--emerald-700); transform: translateX(-130%);
  opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.mvlink .txt { transform: translateX(-34px); transition: transform .3s ease, color .3s ease; }
.mvlink:hover .arr, .mvlink:active .arr { transform: none; opacity: 1; }
.mvlink:hover .txt, .mvlink:active .txt { transform: none; color: var(--emerald-700); }

/* theme switch (sol/luna compacto) */
.theme-switch { --ts: 11px; display: inline-block; cursor: pointer; }
.theme-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ts-track { position: relative; display: block; width: calc(var(--ts) * 5.2); height: calc(var(--ts) * 2.6);
  border-radius: 999px; background: #3D7EAE; overflow: hidden; transition: background .5s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.ts-thumb { position: absolute; top: calc(var(--ts) * .3); left: calc(var(--ts) * .3);
  width: calc(var(--ts) * 2); height: calc(var(--ts) * 2); border-radius: 50%;
  background: #ECCA2F; transition: transform .5s var(--ease), background .5s ease; }
.theme-switch input:checked + .ts-track { background: #1D1F2C; }
.theme-switch input:checked + .ts-track .ts-thumb { transform: translateX(calc(var(--ts) * 2.6)); background: #C4C9D1; }
.theme-switch input:focus-visible + .ts-track { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---- Hero ---------------------------------------------------- */
.hero { padding: 44px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(38px,4.6vw,62px);
  line-height: .99; letter-spacing: -.022em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent { color: var(--navy); }
html.dark .hero h1 .accent { color: var(--emerald-300); }
/* palabra rotatoria vertical */
.rotator { display: inline-grid; overflow: hidden; vertical-align: bottom; text-align: left; }
.rotator span { grid-area: 1/1; display: inline-block; white-space: nowrap; color: var(--navy);
  transform: translateY(120%); opacity: 0; transition: transform .55s var(--ease), opacity .55s ease; }
html.dark .rotator span { color: var(--emerald-300); }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.off { transform: translateY(-120%); opacity: 0; }
.hero-sub { max-width: 500px; margin: 24px 0 30px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--fg3); }
.hero-note svg { width: 16px; height: 16px; color: var(--emerald-700); flex: none; }
.hero-media { position: relative; }
.hero-photo { position: relative; z-index: 1; height: 500px; border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  overflow: hidden; background:
    radial-gradient(120% 120% at 30% 20%, rgba(81,200,120,.28), transparent 60%),
    radial-gradient(120% 120% at 80% 90%, rgba(0,0,128,.10), transparent 55%), var(--navy-050);
  display: flex; align-items: center; justify-content: center; color: var(--navy-500);
  font-size: 13px; font-weight: 600; text-align: center; flex-direction: column; gap: 8px; }
html.dark .hero-photo, html.dark .sobre-photo { color: var(--navy-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob { position: absolute; width: 130px; height: 130px; background: var(--lime);
  border-radius: var(--r-blob); right: -14px; top: -22px; z-index: 0; opacity: .92; }
.hero-card { position: absolute; z-index: 2; background: var(--surface); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; }
.hero-card--bl { bottom: 30px; left: -26px; }
.hero-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--emerald-050);
  display: flex; align-items: center; justify-content: center; color: var(--emerald-700); flex: none; }
.hero-card .ic svg { width: 22px; height: 22px; }
.hero-card b { display: block; font-size: 14px; color: var(--fg1); }
.hero-card small { font-size: 12.5px; color: var(--fg3); }
.hero-creds { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  padding: 9px 15px; border-radius: 999px; background: var(--surface); color: var(--fg1);
  box-shadow: var(--shadow-xs); border: 1px solid var(--border); }
.chip svg { width: 15px; height: 15px; color: var(--emerald-700); flex: none; }

/* ---- Marquee ------------------------------------------------- */
.marquee { overflow: hidden; background: var(--ink); padding: 20px 0; position: relative; z-index: 1; }
html.dark .marquee { border-block: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap;
  will-change: transform; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; padding: 0 30px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: 18px; color: #F1FEF7; }
.marquee-item::after { content: "•"; color: var(--lime); margin-left: 60px; }

/* ---- Secciones claras: glows de marca ------------------------ */
.glow::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 38% at 6% -8%, rgba(81,200,120,.07), transparent 70%),
    radial-gradient(42% 38% at 104% 108%, rgba(0,0,128,.055), transparent 72%); }
html.dark .glow::before {
  background: radial-gradient(50% 40% at 6% -8%, rgba(92,208,140,.10), transparent 70%),
    radial-gradient(44% 40% at 104% 108%, rgba(120,128,255,.10), transparent 72%); }

/* ---- El problema (Roma) -------------------------------------- */
.problema { padding: 96px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.p-card { background: var(--surface); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
html:not(.reduce) .p-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,128,.10); }
.p-card .halo { position: absolute; inset: 0; z-index: 0; border-radius: inherit; opacity: 0;
  transition: opacity .4s ease; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx,50%) var(--my,50%), rgba(81,200,120,.20), transparent 62%); }
.p-card:hover .halo { opacity: 1; }
.p-card > * { position: relative; z-index: 1; }
.p-quote { font-size: 18px; line-height: 1.5; color: var(--fg1); font-weight: 600; margin: 0 0 10px; }
.p-body { font-size: 15px; line-height: 1.58; color: var(--fg2); margin: 0; }
.p-soma { margin-top: 40px; text-align: center; font-size: 17px; color: var(--fg2); }
.p-soma b { color: var(--fg1); }

/* ---- Reframe navy -------------------------------------------- */
.reframe { background: var(--navy); color: #fff; padding: 100px 0; overflow: hidden; }
/* Base para TODOS los blobs decorativos: sin esto, dentro de un contenedor
   grid/flex se convierten en una celda vacía (pasó en .news-card). */
.blob { position: absolute; border-radius: var(--r-blob); pointer-events: none; }
.reframe .blob { position: absolute; border-radius: var(--r-blob); pointer-events: none; }
.reframe-quote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(25px,3.4vw,42px); line-height: 1.12; letter-spacing: -.01em; color: #fff; }
.reframe .script { font-size: clamp(34px,4.6vw,56px); color: var(--lime); line-height: 1.05; }
.reframe p.body { color: #cdd2f0; font-size: 17px; line-height: 1.65; max-width: 600px; margin: 26px auto 0; }

/* ---- Método (scroll-storytelling) ---------------------------- */
.metodo { background: var(--navy); color: #fff; overflow: hidden; overflow: clip; }
.metodo-head { padding: 96px 0 24px; }
.metodo-head .eyebrow { color: var(--lime); }
.metodo-head h2 { color: #fff; }
.metodo-head .lead { color: #cdd2f0; }
.metodo-stage { position: relative; }
.fase { position: relative; min-height: 86vh; display: flex; align-items: center; padding: 48px 0; }
.fase-num { position: absolute; right: 2vw; top: 50%; transform: translateY(-50%); z-index: 0;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(160px,26vw,380px);
  line-height: 1; color: rgba(241,254,247,.055);
  -webkit-user-select: none; user-select: none; pointer-events: none; }
.fase-inner { position: relative; z-index: 1; max-width: 640px; }
.fase-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--emerald-300); margin-bottom: 12px; }
.fase h3 { color: #fff; font-size: clamp(30px,3.6vw,46px); font-weight: 900;
  text-transform: uppercase; letter-spacing: -.015em; line-height: 1.02; }
.fase h3 .script { display: block; color: var(--lime); font-size: clamp(26px,2.9vw,38px); margin-top: 6px; }
.fase-que { color: #e6e9ff; font-size: 16.5px; line-height: 1.65; margin: 18px 0 0; }
.fase-por { margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--emerald);
  background: rgba(81,200,120,.10); border-radius: 0 12px 12px 0; color: #cdeedd;
  font-size: 15px; line-height: 1.6; }
.fase-por b { color: #fff; }
.metodo-antihumo { padding: 8px 0 96px; }
.antihumo { max-width: 720px; margin: 0 auto; text-align: center; color: #aab3e8;
  font-size: 15px; line-height: 1.65; }
.antihumo b { color: var(--lime); font-weight: 700; }

/* ---- Objetivo (hoy → después) -------------------------------- */
.objetivo { padding: 96px 0; }
.ba-grid { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.ba-card { border-radius: 24px; padding: 34px 32px; }
.ba-card--hoy { background: var(--surface-sunk); border: 1px solid var(--border); }
.ba-card--goal { background: var(--navy); color: #fff; box-shadow: var(--shadow-navy); }
.ba-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.ba-card--hoy .ba-label { color: var(--fg3); }
.ba-card--goal .ba-label { color: var(--lime); }
.ba-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ba-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.ba-card--hoy li { color: var(--fg2); }
.ba-card--goal li { color: #eef0ff; }
.ba-card li .mk { flex: none; margin-top: 2px; width: 20px; height: 20px; color: var(--border-strong); }
.ba-card--goal li .mk { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald);
  display: flex; align-items: center; justify-content: center; color: var(--navy); }
.ba-card--goal li .mk svg { width: 13px; height: 13px; }
.ba-arrow { display: flex; align-items: center; justify-content: center; }
.ba-arrow span { width: 52px; height: 52px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); color: var(--ink); }

/* ---- Sobre mí ------------------------------------------------ */
.sobre { background: var(--emerald-050); padding: 96px 0; overflow: hidden; }
.sobre-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.sobre-photo { position: relative; z-index: 1; height: 480px;
  border-radius: 54% 46% 52% 48% / 46% 52% 48% 54%; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, rgba(81,200,120,.28), transparent 60%), var(--navy-050);
  display: flex; align-items: center; justify-content: center; color: var(--navy-500);
  font-size: 13px; font-weight: 600; text-align: center; flex-direction: column; gap: 8px; }
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-blob { position: absolute; width: 150px; height: 150px; background: var(--lime);
  border-radius: var(--r-blob); left: -22px; bottom: -26px; z-index: 0; opacity: .85; }
.sobre p { font-size: 17px; line-height: 1.66; color: var(--fg2); margin: 0 0 16px; }
.sobre p.strong { color: var(--fg1); }
.creds { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.creds li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--fg1); font-weight: 600; }
.creds li svg { flex: none; width: 20px; height: 20px; color: var(--emerald-700); margin-top: 2px; }

/* ---- Sesiones / precios -------------------------------------- */
.precios { padding: 96px 0; }
.val-card { background: var(--navy); color: #fff; border-radius: 26px; padding: 36px 40px;
  box-shadow: var(--shadow-navy); display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px;
  align-items: center; margin: 0 auto 26px; max-width: 980px; position: relative; overflow: hidden; }
.val-card .blob { position: absolute; width: 220px; height: 220px; right: -70px; top: -70px;
  background: rgba(81,200,120,.16); border-radius: var(--r-blob); }
.val-tag { display: inline-flex; align-items: center; gap: 7px; background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.val-card h3 { color: #fff; font-size: 27px; margin: 16px 0 6px; }
.val-card .desc { color: #cdd2f0; font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; max-width: 420px; }
.val-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.val-list li { display: flex; gap: 11px; align-items: center; font-size: 15px; color: #eef0ff; }
.val-list li .mk { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald);
  display: flex; align-items: center; justify-content: center; flex: none; color: var(--navy); }
.val-list li .mk svg { width: 13px; height: 13px; }
.val-box { position: relative; text-align: center; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px 24px; }
.val-price { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.val-price b { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; color: #fff; }
.val-price span { font-size: 22px; color: #cdd2f0; margin-bottom: 12px; }
.val-box .per { color: #cdd2f0; font-size: 13.5px; margin: 4px 0 18px; }
.val-honest { display: flex; align-items: flex-start; gap: 9px; text-align: left;
  background: rgba(229,248,58,.12); border: 1px solid rgba(229,248,58,.3); border-radius: 12px;
  padding: 11px 13px; margin: 16px 0 0; font-size: 12.5px; color: #fff; line-height: 1.45; }
.val-honest svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 1px; }

.bonos-note { text-align: center; color: var(--fg3); font-size: 14.5px; font-weight: 600;
  letter-spacing: .02em; margin: 0 0 22px; }
.bonos { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.bono { position: relative; background: var(--surface); border-radius: 22px; padding: 26px 22px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
html:not(.reduce) .bono:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--emerald-300); }
.bono--hot { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
html.dark .bono--hot { border-color: var(--emerald-300); }
.bono-badge { position: absolute; top: -13px; left: 22px; background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.bono h4 { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin: 0 0 2px; color: var(--fg1); }
.bono .ses { font-size: 13px; color: var(--fg3); margin: 0 0 14px; }
.bono-price { display: flex; align-items: flex-end; gap: 5px; }
.bono-price b { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--fg1); }
.bono-price span { font-size: 14px; color: var(--fg3); margin-bottom: 5px; }
.bono .por-ses { font-size: 13.5px; font-weight: 700; color: var(--emerald-text); margin: 6px 0 16px; }
.bono .btn { margin-top: auto; width: 100%; justify-content: center; font-size: 14.5px; padding: 12px 16px; }
.grupal { max-width: 1080px; margin: 26px auto 0; background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: 22px; padding: 26px 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.grupal .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-050);
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex: none; }
html.dark .grupal .ic { color: var(--emerald-300); }
.grupal .ic svg { width: 26px; height: 26px; }
.grupal h4 { margin: 0 0 4px; font-size: 18px; color: var(--fg1); }
.grupal p { margin: 0; font-size: 14.5px; color: var(--fg2); max-width: 560px; }
.grupal .todo { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--fg3);
  background: var(--surface-sunk); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.pago-note { text-align: center; color: var(--fg2); font-size: 15px; margin: 30px auto 0; }

/* ---- Recursos gratuitos -------------------------------------- */
.recursos { padding: 96px 0; border-top: 1px solid var(--border); }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.rec-card { position: relative; border-radius: 22px; padding: 30px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
html:not(.reduce) .rec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rec-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--emerald-050);
  color: var(--emerald-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rec-card .ic svg { width: 24px; height: 24px; }
.rec-card h3 { font-size: 20px; margin: 0 0 8px; }
.rec-card p { font-size: 15px; color: var(--fg2); line-height: 1.6; margin: 0 0 18px; }
.rec-card .soon { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg3); background: var(--surface-sunk);
  border-radius: 999px; padding: 7px 14px; }

/* ---- FAQ ----------------------------------------------------- */
.faq { padding: 96px 0; border-top: 1px solid var(--border); }
.faq-box { background: var(--surface); border-radius: 24px; padding: 8px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg1); }
.faq-q .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-050);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: transform .45s var(--ease), background .45s ease, color .45s ease; }
html.dark .faq-q .ico { background: rgba(255,255,255,.07); color: var(--emerald-300); }
.faq-item.open .faq-q .ico { transform: rotate(135deg); background: var(--navy); color: #fff; }
html.dark .faq-item.open .faq-q .ico { background: var(--emerald); color: var(--navy-900); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .5s var(--ease), opacity .4s ease, visibility 0s .5s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.faq-a-inner { overflow: hidden; min-height: 0; padding: 0 4px; font-size: 16px; line-height: 1.62;
  color: var(--fg2); max-width: 680px; transition: padding .5s var(--ease); }
.faq-item.open .faq-a-inner { padding: 0 4px 26px; }

/* ---- Reserva (Calendly lazy + consent) ----------------------- */
.reserva { background: var(--emerald-050); padding: 96px 0; scroll-margin-top: 80px; }
.reserva-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: start; }
.reserva-side { position: sticky; top: 100px; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; display: flex;
  align-items: center; justify-content: center; margin-top: 1px; }
html.dark .step-n { background: var(--emerald); color: var(--navy-900); }
.steps b { display: block; font-size: 15.5px; color: var(--fg1); }
.steps span { display: block; font-size: 14px; color: var(--fg2); }
.cal-panel { position: relative; min-height: 700px; border-radius: 24px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md); }
.cal-state { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 32px; text-align: center; background: #fff; }
/* CRÍTICO: la regla de autor anula el [hidden] del UA — restaurarlo */
.cal-state[hidden] { display: none; }
/* el panel es blanco a propósito: colores literales para que dark no lo rompa */
.cal-state .ic { width: 60px; height: 60px; border-radius: 50%; background: #eeeefb;
  display: flex; align-items: center; justify-content: center; color: #000080; }
.cal-state .ic svg { width: 30px; height: 30px; }
.cal-state b { font-size: 18px; color: #111; }
.cal-state p { font-size: 15px; color: #54545c; max-width: 340px; margin: 0; }
/* el botón también necesita color literal: con var(--fg1) el tema oscuro lo
   pintaba casi blanco sobre este panel blanco (invisible antes de aceptar cookies) */
.cal-state .btn-ghost { color: #111; box-shadow: inset 0 0 0 1.5px #b9b9c0; }
.cal-state .btn-ghost:hover { background: #f2f2f7; }
.cal-embed { min-width: 320px; height: 700px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--navy-100);
  border-top-color: var(--navy); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Footer CTA + footer ------------------------------------- */
.footer-cta { background: var(--navy); color: #fff; padding: clamp(64px,9vw,120px) 0; overflow: hidden; }
.footer-cta .blob { position: absolute; border-radius: var(--r-blob); pointer-events: none; }
.footer-cta h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(40px,7vw,104px);
  line-height: .94; letter-spacing: -.02em; color: #fff; }
.footer-cta h2 .accent { color: var(--lime); }
.footer-cta .lead { color: #cdd2f0; max-width: 560px; margin: 26px auto 34px; }
.site-footer { background: var(--ink); color: var(--mint); padding: 72px 0 40px; }
.site-footer .f-head { font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: #8a8a93; margin: 0 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer .script { font-size: 32px; color: var(--lime); margin: 8px 0 16px; display: block; }
.site-footer p { color: #b9b9c0; font-size: 15px; max-width: 340px; line-height: 1.62; margin: 0; }
.site-footer a:not(.btn) { color: #e3e3e8; text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav a { display: block; font-size: 15px; margin-bottom: 11px; }
.social-row { display: flex; gap: 12px; margin-bottom: 16px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.07);
  border: 1px solid #2b2b30; display: flex; align-items: center; justify-content: center;
  color: #e3e3e8; transition: background .2s, color .2s, border-color .2s; }
.social-row a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); text-decoration: none; }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid #2b2b30;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8a8a93; font-size: 13px; }
.footer-bottom a { color: #8a8a93; display: inline-block; padding: 10px 4px; margin: -10px -4px; }
/* área táctil ampliada del switch de tema sin cambiar su tamaño visual */
.theme-switch { padding: 8px; margin: -8px; }

/* ---- FAB WhatsApp + CTA móvil + cookies ---------------------- */
.wa-fab { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px;
  border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px rgba(0,0,0,.32); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab .pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  opacity: .35; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .35; } 70%,100% { transform: scale(1.65); opacity: 0; } }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(241,254,247,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(17,17,17,.08);
  transform: translateY(120%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s; }
html.dark .mobile-cta { background: rgba(11,16,32,.94); }
.mobile-cta.show { transform: none; visibility: visible; transition-delay: 0s; }
.mobile-cta .info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mobile-cta .price { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--fg1); line-height: 1.1; }
.mobile-cta .sub { font-size: 12px; color: var(--fg2); }
.mobile-cta .btn { flex: none; min-height: 48px; padding: 12px 22px; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 520px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg1); }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 11px 20px; font-size: 14.5px; }

/* ---- Cursor custom (desactivado por defecto — flag en app.js) - */
.fx-cursor { position: fixed; top: 0; left: 0; z-index: 2147483000; width: 12px; height: 12px;
  border-radius: 999px; background: var(--navy); pointer-events: none; opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s ease, background .25s ease; }
html.has-cursor .fx-cursor { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
.fx-cursor.hov { width: 42px; height: 42px; background: rgba(0,0,128,.14); outline: 1.5px solid var(--navy); }

/* ---- Reveals (content-first) ---------------------------------
   Solo se ocultan cuando animations.js añade html.fx: si el JS de
   motion no carga, TODO el contenido es visible por defecto. */
html.fx [data-reveal] { opacity: 0; transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms); }
html.fx [data-reveal].in { opacity: 1; transform: none; }
/* un CTA magnético ya revelado recupera su transition rápida (el reveal
   de .7s sobre transform mataría la respuesta del imán y del :active) */
html.fx [data-reveal][data-magnetic].in { transition: transform .14s ease, box-shadow .25s ease,
  background .2s ease, opacity .7s var(--ease); }

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .bonos { grid-template-columns: repeat(2,1fr); max-width: 640px; }
}
@media (max-width: 900px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  .nav-links, .nav-theme-desktop { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: block; }
  .hero-grid, .sobre-grid, .reserva-grid { grid-template-columns: 1fr; gap: 40px; }
  .reserva-side { position: static; }
  .grid-3 { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-arrow { padding: 4px 0; }
  .ba-arrow span { transform: rotate(90deg); }
  .val-card { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; gap: 22px; }
  /* centrar la lista COMO BLOQUE: si se centra cada <li>, los ticks quedan
     a distinta altura horizontal segun lo larga que sea cada frase */
  .val-list { align-items: flex-start; width: fit-content; max-width: 100%;
    margin-inline: auto; }
  .val-list li { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .fase { min-height: 0; padding: 40px 0; }
  .fase-num { position: static; transform: none; font-size: 96px; color: rgba(241,254,247,.08); }
  .mobile-cta { display: flex; }
  /* el FAB sube junto con la barra CTA (que existe desde 900px, no 640) */
  .wa-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .hero { padding-top: 28px; }
  .hero-photo { height: 360px; }
  .hero-card--bl { left: 8px; bottom: 14px; }
  .btn { min-height: 50px; padding: 14px 22px; font-size: 15.5px; }
  /* el CTA largo del hero envuelve en 2 líneas en vez de recortarse (<360px) */
  .btn-lg { width: 100%; justify-content: center; padding: 15px 22px; font-size: 16px;
    white-space: normal; text-align: center; line-height: 1.25; }
  .hero-ctas { row-gap: 12px; }
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .bonos { grid-template-columns: 1fr; max-width: 420px; }
  .grupal .todo { margin-left: 0; }
  .wa-fab { width: 54px; height: 54px; }
  .h2 { font-size: clamp(27px, 8vw, 36px); }
  .sobre-photo { height: 380px; }
}
@media (max-width: 430px) { .wrap, .wrap-narrow { padding: 0 16px; } }
@media (hover: none), (max-width: 900px) {
  .fx-cursor { display: none !important; }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: auto; }
}

/* ---- Reduced motion (estado final visible, sin animación) ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .preloader { display: none !important; }
  .rotator span { transition: none; }
}
html.reduce .marquee-track { animation: none; }

/* ---- Ilustración de marca (Sobre mí) — sustituye 2ª foto ------ */
.sobre-art { position: relative; z-index: 1; margin: 0; }
.sobre-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.art-ring { fill: none; stroke: var(--navy); opacity: .10; stroke-width: 1.5; }
html.dark .art-ring { stroke: var(--emerald-300); opacity: .16; }
.art-ring--1 { animation: artSpin 34s linear infinite; transform-origin: 200px 200px; }
.art-ring--2 { animation: artSpin 26s linear infinite reverse; transform-origin: 200px 200px; stroke-dasharray: 6 12; }
.art-ring--3 { animation: artSpin 20s linear infinite; transform-origin: 200px 200px; stroke-dasharray: 2 10; }
@keyframes artSpin { to { transform: rotate(360deg); } }
.art-path { stroke-dasharray: 460; stroke-dashoffset: 460; animation: artDraw 2.4s var(--ease) .3s forwards; }
@keyframes artDraw { to { stroke-dashoffset: 0; } }
.art-path-old { stroke: var(--fg3); opacity: .45; }
.art-dot { fill: var(--lime); stroke: var(--navy); stroke-width: 3; opacity: 0;
  animation: artPop .5s var(--ease) 2.5s forwards; }
html.dark .art-dot { stroke: var(--emerald-300); }
@keyframes artPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.art-dot { transform-origin: 340px 120px; }
.art-dot-start { fill: var(--fg3); opacity: .5; }
.sobre-art-cap { text-align: center; margin-top: 6px; }
.sobre-art-cap .script { display: block; font-size: 30px; line-height: 1; }
.sobre-art-cap b { display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 15px; color: var(--fg1); margin-top: 4px; }
html.reduce .art-ring, html.reduce .art-path, html.reduce .art-dot,
html.reduce .news-ring { animation: none; }
html.reduce .art-path { stroke-dashoffset: 0; }
html.reduce .art-dot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .art-ring, .art-path, .art-dot, .news-ring { animation: none !important; }
  .art-path { stroke-dashoffset: 0; } .art-dot { opacity: 1; }
}

/* ---- Foto real del hero -------------------------------------- */
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* ---- Mecanismo del autosabotaje (3 pasos, sección navy) ------- */
.mech { list-style: none; padding: 0; margin: 46px 0 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mech-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px;
  position: relative; transition: background .3s ease, border-color .3s ease, transform .3s var(--ease); }
html:not(.reduce) .mech-step:hover { background: rgba(255,255,255,.09);
  border-color: rgba(81,200,120,.45); transform: translateY(-4px); }
.mech-n { font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--emerald-300); }
.mech-step b { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; }
.mech-step span:last-child { font-size: 15px; line-height: 1.55; color: #cdd2f0; }
.mech-step--hot { background: var(--lime); border-color: var(--lime); }
.mech-step--hot .mech-n { color: #5b6407; }
.mech-step--hot b { color: var(--ink); }
.mech-step--hot span:last-child { color: #2a2d05; }
html:not(.reduce) .mech-step--hot:hover { background: #d8eb20; border-color: #d8eb20; }
@media (max-width: 900px) { .mech { grid-template-columns: 1fr; } }

/* ---- Los 3 pilares (Mente · Cuerpo · Negocio) ----------------- */
.pilares { padding: 96px 0; }
.pilar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pilar { background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
html:not(.reduce) .pilar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md);
  border-color: var(--emerald-300); }
.pilar--core { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-navy); }
.pilar-tag { font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--emerald-text); margin: 0 0 6px; }
.pilar--core .pilar-tag { color: var(--lime); }
.pilar h3 { font-size: 32px; font-weight: 900; letter-spacing: -.02em; margin: 0; }
.pilar--core h3 { color: #fff; }
.pilar-when { font-size: 13px; color: var(--fg3); margin: 2px 0 16px; }
.pilar--core .pilar-when { color: var(--navy-100); }
.pilar-body { font-size: 15.5px; line-height: 1.6; color: var(--fg2); margin: 0 0 18px; }
.pilar--core .pilar-body { color: #dfe3ff; }
.pilar-fix { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 9px; }
.pilar--core .pilar-fix { border-top-color: rgba(255,255,255,.16); }
.pilar-fix li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--fg1); }
.pilar--core .pilar-fix li { color: #fff; }
.pilar-fix li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--emerald); }
.pilar-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }
.pilar-proof b { display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(26px,3.2vw,38px); color: var(--ink-accent, var(--accent)); line-height: 1; letter-spacing: -.02em; }
.pilar-proof span { display: block; font-size: 13.5px; color: var(--fg2); margin-top: 8px; }
@media (max-width: 1080px) { .pilar-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pilar-proof { grid-template-columns: 1fr; gap: 24px; } }

/* ---- Garantías (dossier) -------------------------------------- */
.garantias { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1080px;
  margin: 30px auto 0; }
.gar { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.gar-tag { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--emerald-text); margin: 0 0 8px; }
.gar b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 19px;
  color: var(--fg1); margin-bottom: 8px; }
.gar span { font-size: 15px; line-height: 1.58; color: var(--fg2); }
@media (max-width: 900px) { .garantias { grid-template-columns: 1fr; } }

/* ---- Newsletter ----------------------------------------------- */
.news { padding: 96px 0; }
.news-card { position: relative; overflow: hidden; background: var(--navy); border-radius: 28px;
  padding: 52px 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-navy); --focus-ring: var(--lime); }
.news-copy { position: relative; z-index: 1; }
.news-art { position: relative; z-index: 1; }
.news-art svg { width: 100%; max-width: 260px; margin-left: auto; display: block; }
.news-ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; stroke-dasharray: 5 11;
  transform-origin: 100px 100px; animation: artSpin 30s linear infinite; }
@media (max-width: 900px) {
  .news-card { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
  .news-copy p { margin-left: auto; margin-right: auto; }
  .news-art { display: none; }
}

/* ---- Táctil: objetivo mínimo de 44px y feedback nativo -------- */
@media (max-width: 900px) {
  /* los enlaces del pie median 24px de alto y van apilados: fácil fallar el dedo */
  .footer-nav a { padding-block: 10px; }
  .site-footer .f-legal a, .site-footer .legal a { padding-block: 3px; }
}
/* el resaltado azul por defecto de iOS/Android desentona; damos feedback propio */
a, button, label.theme-switch, summary { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active { transform: scale(.97); }
  .mvlink:active, .footer-nav a:active { opacity: .6; }
}
