/* =====================================================================
   emocionalmente · Javier Garcés — Sistema de diseño
   Paleta "Calma cálida" · Fraunces (display) + Inter (texto)
   ===================================================================== */

:root {
  /* Color — primitivos */
  --cream:        #FAF4EC;
  --cream-2:      #F3E8D9;
  --white-warm:   #FFFDF9;
  --sand:         #E4D7C4;
  --sand-line:    #D8C9B5;
  --terracotta:   #C8765A;
  --terracotta-d: #B0593F;
  --sage:         #7A9476;
  --sage-d:       #5E7A5B;
  --gold:         #E0A95C;
  --gold-d:       #C68A35;
  --ink:          #3A322C;
  --ink-soft:     #6E645A;
  --ink-faint:    #9A8E80;

  /* Semánticos */
  --bg:           var(--cream);
  --bg-alt:       var(--white-warm);
  --bg-deep:      var(--cream-2);
  --text:         var(--ink);
  --text-muted:   var(--ink-soft);
  --brand:        var(--terracotta);
  --brand-ink:    #9F4730;   /* terracota texto — sobre crema = 5.6:1 (WCAG AA/AAA-large) */
  --brand-cta:    #A8503A;   /* terracota profunda — blanco encima = 5.1:1 (WCAG AA) */
  --brand-cta-d:  #8F4230;   /* hover, más profundo aún */
  --line:         var(--sand-line);

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala de tamaño (fluida) */
  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.9vw, 2.9rem);
  --step-4:  clamp(2.3rem, 1.7rem + 3vw, 4rem);
  --step-5:  clamp(2.7rem, 1.9rem + 4vw, 4.8rem);

  /* Espacio / radios / sombras (sombras tintadas en cálido) */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(120, 80, 50, 0.07);
  --shadow:    0 14px 40px rgba(120, 75, 45, 0.12);
  --shadow-lg: 0 30px 70px rgba(110, 65, 40, 0.18);
  --ring:      0 0 0 3px rgba(200, 118, 90, 0.35);

  --container: 1140px;
  --gutter: clamp(1.1rem, 5vw, 2.5rem);
}

/* ------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--ink);
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

/* Marcador cálido sobre palabras clave */
.mark { color: var(--brand-ink); font-style: italic; }
.hl {
  background: linear-gradient(120deg, transparent 0 6%, rgba(224,169,92,.45) 6% 94%, transparent 94%);
  padding: 0 .08em;
}

/* ----------------------------- Layout --------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-alt  { background: var(--bg-alt); }
.bg-deep { background: var(--bg-deep); }
.center  { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: .9rem;
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lede { font-size: var(--step-1); color: var(--text-muted); line-height: 1.55; }
.measure { max-width: 56ch; }
.measure-narrow { max-width: 44ch; }

/* Skip link */
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 8px; }

/* ----------------------------- Botones -------------------------------- */
.btn {
  --bg-btn: var(--brand-cta); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  background: var(--bg-btn); color: var(--fg-btn);
  border: none; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--step-0); line-height: 1;
  cursor: pointer; text-align: center;
  box-shadow: 0 10px 24px rgba(176, 89, 63, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(176, 89, 63, .34); background: var(--brand-cta-d); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  --bg-btn: transparent; --fg-btn: var(--ink);
  border: 1.5px solid var(--sand-line); box-shadow: none;
}
.btn--ghost:hover { background: var(--white-warm); border-color: var(--ink); transform: translateY(-2px); }
.btn--light { --bg-btn: var(--white-warm); --fg-btn: var(--brand-ink); box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; }
.btn--sm { padding: .6rem 1.1rem; font-size: var(--step--1); }

.cta-note { font-size: var(--step--1); color: var(--text-muted); margin-top: .8rem; }

/* ----------------------------- Header --------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  border-color: var(--sand-line);
  box-shadow: 0 4px 20px rgba(120, 80, 50, 0.09);
}
.header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }

/* Brand — jerarquía nombre/método más afinada */
.brand { display: flex; flex-direction: column; line-height: 1.02; margin-right: auto; gap: .1rem; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  letter-spacing: -.01em; color: var(--ink);
  transition: color .2s ease;
}
.brand:hover .brand__name { color: var(--brand-ink); }
.brand__method {
  font-size: .7rem; letter-spacing: .14em; text-transform: lowercase;
  color: var(--brand-ink); font-weight: 500; opacity: .85;
}

/* Nav links con subrayado animado elegante */
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s ease;
  position: relative; white-space: nowrap;
  padding-bottom: 2px; /* espacio para el subrayado */
}
/* Subrayado animado: crece de 0→100% desde el centro */
.nav a::after {
  content: "";
  position: absolute; bottom: -1px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: left .25s ease, right .25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .nav a::after { transition: none; }
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { left: 0; right: 0; }
.nav a:focus-visible { color: var(--ink); }
.nav a:focus-visible::after { left: 0; right: 0; }

/* Estado activo: página actual */
.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav a[aria-current="page"]::after,
.nav a.is-active::after {
  left: 0; right: 0;
  opacity: 1;
}

/* El CTA del menú: sin subrayado, con mejor presencia táctil */
.nav a.btn,
.nav a.btn:hover,
.nav a.btn[aria-current="page"],
.nav a.btn.is-active {
  color: var(--fg-btn);
  padding-bottom: .6rem; /* anula el padding-bottom del nav a */
}
.nav a.btn::after { display: none; } /* sin subrayado en el botón CTA */
/* Mejora táctil del CTA del menú: min-height 44px táctil, micro-elevación */
.nav .btn--sm {
  min-height: 44px;
  padding: .6rem 1.25rem;
  box-shadow: 0 6px 18px rgba(168, 80, 58, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav .btn--sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 80, 58, .32);
}

.nav__actions { display: flex; align-items: center; gap: .8rem; }
/* El CTA vive en el menú (.nav); el de .nav__actions sería un duplicado en desktop.
   En móvil el header usa el hamburguesa + la barra CTA flotante. */
.nav__actions .btn { display: none; }

/* Hamburguesa: área táctil generosa, animación suave */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .55rem; border-radius: 10px;
  color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle:hover { color: var(--ink); background: var(--cream-2); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ------------------------------- Hero --------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 580; }
.hero .lede { margin-top: 1.4rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: .55rem; font-size: var(--step--1); color: var(--text-muted); }
.trust-item svg { width: 20px; height: 20px; color: var(--sage-d); flex: none; }
.stars { color: var(--gold-d); letter-spacing: 2px; }

.hero__media { position: relative; justify-self: center; }
.blob {
  position: relative; width: min(360px, 76vw); aspect-ratio: 1/1;
  background: radial-gradient(120% 120% at 30% 20%, #F6E3C8, var(--sage) 140%);
  border-radius: 52% 48% 46% 54% / 56% 44% 56% 44%;
  display: grid; place-items: end center;
  box-shadow: var(--shadow-lg);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 52% 48% 46% 54% / 56% 44% 56% 44%; }
  50%     { border-radius: 44% 56% 54% 46% / 48% 56% 44% 56%; }
}
.blob img { width: 96%; filter: drop-shadow(0 18px 24px rgba(80,50,30,.22)); border-radius: 0 0 40% 40%; }
.hero__badge {
  position: absolute; background: var(--white-warm); border-radius: 16px; box-shadow: var(--shadow);
  padding: .75rem 1rem; display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 500;
}
.hero__badge svg { width: 30px; height: 30px; color: var(--brand); }
.hero__badge--1 { left: -12px; top: 22%; }
.hero__badge--2 { right: -6px; bottom: 16%; }
.hero__badge strong { display: block; font-size: 1rem; }
.hero__badge small { color: var(--text-muted); }

/* --------------------------- "¿Te suena?" ----------------------------- */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); margin-top: 2.6rem; }
.pain-card {
  background: var(--white-warm); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; }
.pain-card--calma::before  { background: var(--sage); }
.pain-card--brujula::before { background: var(--gold); }
.pain-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.pain-card .tag { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.tag--calma { background: rgba(122,148,118,.18); color: #3F5A38; }
.tag--brujula { background: rgba(224,169,92,.22); color: #7A4D0C; }
.pain-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.pain-list li { display: flex; gap: .6rem; color: var(--text-muted); }
.pain-list li::before { content: "“"; font-family: var(--font-display); color: var(--brand); font-size: 1.4rem; line-height: 1; }
.pain-card .btn { margin-top: 1.6rem; }

/* -------------------------- Cómo funciona ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: 2.6rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; color: var(--brand); font-weight: 600;
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white-warm); box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-muted); }
.steps--four { grid-template-columns: repeat(4, 1fr); }

/* -------------------------- Chips (herramientas) ---------------------- */
.chips { list-style: none; padding: 0; margin: 2.4rem auto 0; max-width: 880px;
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chips li {
  background: var(--white-warm); border: 1px solid var(--line); color: var(--ink);
  padding: .6rem 1.1rem; border-radius: var(--radius-pill); font-weight: 500;
  font-size: .95rem; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: .5rem;
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.bg-deep .chips li { background: rgba(255,255,255,.7); }

/* ------------------------------ Packs --------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem; align-items: stretch; }
.price-card {
  background: var(--white-warm); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card--featured {
  background: linear-gradient(180deg, #fff 0%, #FFF7EC 100%);
  border: 2px solid var(--gold); box-shadow: var(--shadow); transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-d); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: var(--step-1); }
.price-card .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--ink); margin: .4rem 0 .1rem; }
.price-card .price small { font-size: .95rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.price-card .per { font-size: var(--step--1); color: var(--brand-ink); font-weight: 600; margin-bottom: 1.2rem; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: .65rem; margin-bottom: 1.6rem; }
.price-card li { display: flex; gap: .6rem; font-size: .95rem; color: var(--text-muted); }
.price-card li svg { width: 19px; height: 19px; color: var(--sage-d); flex: none; margin-top: .15rem; }
.price-card .btn { margin-top: auto; }
.price-trial { text-align: center; margin-top: 1.6rem; font-size: var(--step--1); color: var(--text-muted); }
.price-trial a { color: var(--brand-ink); font-weight: 600; border-bottom: 1px solid currentColor; }
.anchor-note {
  max-width: 60ch; margin: 1.8rem auto 0; text-align: center; font-size: var(--step--1);
  color: var(--text-muted); background: var(--cream-2); padding: 1rem 1.4rem; border-radius: var(--radius);
}
.disclaimer-inline { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 1.4rem; font-size: .8rem; color: var(--ink-faint); }

/* "Empieza aquí" — opción de menor barrera de entrada (destacada antes de los packs) */
.starter {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.6rem; align-items: center;
  background: linear-gradient(120deg, rgba(122,148,118,.16), rgba(224,169,92,.13));
  border: 1.5px dashed var(--sage); border-radius: var(--radius-lg);
  padding: 1.3rem 1.6rem; margin-bottom: 2rem; position: relative;
}
.starter__badge {
  background: var(--sage-d); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .45rem .85rem; border-radius: 999px; white-space: nowrap;
}
.starter__txt h3 { font-size: var(--step-1); margin-bottom: .15rem; }
.starter__txt p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.starter__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 820px) {
  .starter { grid-template-columns: 1fr; }
  .starter__actions { width: 100%; }
  .starter__actions .btn { flex: 1 1 auto; }
}

/* Membresía destacada (banda) */
.member {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, #5E7A5B 0%, #47593F 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); margin-top: 2rem;
  box-shadow: var(--shadow);
}
.member h3 { color: #fff; font-size: var(--step-2); }
.member p { color: rgba(255,255,255,.9); margin-top: .6rem; }
.member__price { text-align: center; }
.member__price .big { font-family: var(--font-display); font-size: clamp(2.6rem,6vw,3.6rem); font-weight: 600; }
.member .btn--light { margin-top: 1rem; }

/* Oferta de lanzamiento (campaña por tiempo limitado) — acento dorado */
.offer { background: linear-gradient(135deg, #FBE9C8 0%, #F4D6A2 100%); color: var(--ink); border: 1px solid #E7C58A; border-radius: var(--radius-lg); padding: clamp(1.9rem, 4vw, 3rem); position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; width: 320px; height: 320px; background: rgba(255,255,255,.18); border-radius: 50%; top: -150px; right: -90px; }
.offer__tag { display: inline-flex; align-items: center; gap: .45rem; background: var(--brand-cta); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .42rem .9rem; border-radius: 999px; position: relative; }
.offer h2 { color: var(--ink); margin: 1rem 0 .6rem; max-width: 22ch; position: relative; }
.offer > p { color: var(--ink); max-width: 54ch; position: relative; }
.offer__examples { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0; position: relative; }
.offer__examples li { background: rgba(255,255,255,.78); border: 1px solid #fff; border-radius: 999px; padding: .42rem .9rem; font-size: .88rem; font-weight: 500; color: var(--ink); }
/* Micro-objetivo: cómo es la sesión (fija expectativas) + nota de alcance */
.offer__how { margin: 1.3rem 0 .2rem; position: relative; }
.offer__how-title { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .6rem; }
.offer__how ol { list-style: none; counter-reset: oh; padding: 0; margin: 0; display: grid; gap: .55rem; }
.offer__how li { position: relative; padding-left: 2.1rem; counter-increment: oh; font-size: .94rem; color: var(--ink-soft); line-height: 1.45; }
.offer__how li::before { content: counter(oh); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(224,169,92,.34); color: var(--gold-d); font-family: var(--font-display); font-weight: 600; font-size: .82rem; display: grid; place-items: center; }
.offer__scope { font-size: .86rem; color: var(--ink-soft); border-left: 2px solid var(--gold); padding-left: .85rem; margin: 1rem 0 0; line-height: 1.5; position: relative; }
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.6rem; position: relative; }
.offer__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--ink); }
.offer__price s { font-family: var(--font-body); font-size: 1.05rem; font-weight: 400; color: #6E5A38; margin-left: .5rem; }
.offer__price small { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .04em; text-transform: uppercase; margin-top: .4rem; }
@media (max-width: 640px) { .offer__foot { flex-direction: column; align-items: flex-start; } .offer__foot .hero__cta { width: 100%; } }

/* "Por qué es diferente" — amigo con método */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.diff-card { background: var(--white-warm); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; transition: transform .2s, box-shadow .2s; }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.diff-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(122,148,118,.16); display: grid; place-items: center; margin-bottom: 1rem; }
.diff-ico svg { width: 26px; height: 26px; color: var(--sage-d); }
.diff-card h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.diff-card p { color: var(--text-muted); }
.diff-paradox { max-width: 60ch; margin: 2.4rem auto 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
@media (max-width: 820px) { .diff-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Optimización MÓVIL (revisión UI/UX doc 17) — 80% del tráfico
   =================================================================== */
/* M4 · disclaimer legal a contraste AA (era ink-faint 2.9:1 → ink-soft 4.6:1) */
.disclaimer-inline { color: var(--ink-soft); }

@media (max-width: 900px) {
  /* §4 · Reorden de la home en móvil: packs+oferta antes; satélites al pie.
     Orden fuente: 1 hero · 2 ticker · 3 ¿te suena · 4 diferente · 5 cómo funciona
     · 6 packs · 7 oferta · 8 membresía · 9 testimonios · 10 sobre · 11 lead magnet
     · 12 instagram · 13 faq · 14 cta final */
  main { display: flex; flex-direction: column; }
  main > *:nth-child(1)  { order: 1; }   /* Hero */
  main > *:nth-child(2)  { order: 2; }   /* Ticker (se oculta abajo) */
  main > *:nth-child(3)  { order: 3; }   /* ¿Te suena? */
  main > *:nth-child(5)  { order: 4; }   /* Cómo funciona */
  main > *:nth-child(6)  { order: 5; }   /* Packs */
  main > *:nth-child(7)  { order: 6; }   /* Oferta micro-objetivo */
  main > *:nth-child(4)  { order: 7; }   /* Por qué es diferente (tras precio) */
  main > *:nth-child(9)  { order: 8; }   /* Testimonios */
  main > *:nth-child(10) { order: 9; }   /* Sobre Javier */
  main > *:nth-child(13) { order: 10; }  /* FAQ */
  main > *:nth-child(14) { order: 11; }  /* CTA final */
  main > *:nth-child(8)  { order: 12; }  /* Membresía → al pie */
  main > *:nth-child(11) { order: 13; }  /* Lead magnet → pie */
  main > *:nth-child(12) { order: 14; }  /* Instagram → pie */

  /* M3 · pack destacado (Transformación) primero al apilar */
  .pricing { display: flex; flex-direction: column; }
  .price-card--featured { order: -1; box-shadow: var(--shadow); }
}

@media (max-width: 640px) {
  /* A1 · apretar ritmo vertical en móvil (recorta ~2.500-3.000px de scroll) */
  .section { padding-block: clamp(2.4rem, 9vw, 3.2rem); }
  .section--tight { padding-block: clamp(1.8rem, 7vw, 2.6rem); }
  .pain-grid, .steps, .pricing, .diff-grid, .quotes { margin-top: 1.6rem; }
  /* M6 · marquesina fuera en móvil · B4 · IG: 2 tiles en vez de 4 */
  .ticker { display: none; }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid .ig-tile:nth-child(n+3) { display: none; }
  /* Testimonios: 2 de 4 en móvil (menos scroll, misma prueba social) */
  .quotes .quote:nth-child(n+3) { display: none; }
  /* Recorte agresivo: satélites fuera en móvil (siguen en escritorio y en sus páginas).
     8 = banda membresía · 11 = lead magnet · 12 = Instagram */
  .hide-mobile { display: none !important; }
}

/* ===================================================================
   Pulido de diseño (revisión doc 19) — móvil + escritorio
   =================================================================== */
/* Tap targets ≥44px (accesibilidad táctil) */
.btn--sm { min-height: 44px; }
.nav-toggle { width: 44px; height: 44px; place-items: center; padding: 0; }

/* Iniciales de testimonios (sustituyen el avatar repetido = delator "demo") */
.quote__ini { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; flex: none; }
.quote__ini.tag--calma { background: rgba(122,148,118,.28); color: var(--sage-d); }
.quote__ini.tag--brujula { background: rgba(224,169,92,.34); color: var(--gold-d); }

/* Largo de línea cómodo en bloques anchos (escritorio) */
.about > div p { max-width: 58ch; }
.member p { max-width: 52ch; }

/* Escritorio: héroe con foto algo mayor (menos aire muerto) */
@media (min-width: 901px) { .blob { width: min(400px, 30vw); } }

/* Escritorio: bloque de oferta a 2 columnas (texto + raíl precio/CTA) — evita la mitad derecha vacía */
@media (min-width: 821px) {
  .offer { display: grid; grid-template-columns: 1.5fr .9fr; gap: 2.4rem; align-items: center; }
  .offer__body { min-width: 0; }
  .offer__foot { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 0; }
}

/* --------------------------- Testimonios ------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.quote {
  background: var(--white-warm); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; position: relative;
}
.quote::before { content: "“"; position: absolute; top: -.2rem; left: 1.2rem; font-family: var(--font-display); font-size: 4rem; color: var(--sand); line-height: 1; }
.quote p { position: relative; font-size: 1.05rem; padding-top: .8rem; }
.quote__by { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; font-size: .9rem; }
.quote__by img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote__by b { display: block; }
.quote__by span { color: var(--text-muted); }
.quote__line { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; margin-left: auto; }

/* --------------------------- Sobre Javier ----------------------------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about__cert {
  position: absolute; bottom: -18px; right: -10px; background: var(--white-warm);
  border-radius: 16px; box-shadow: var(--shadow); padding: .8rem 1rem; display: flex; gap: .6rem; align-items: center; max-width: 230px;
}
.about__cert svg { width: 34px; height: 34px; color: var(--gold-d); flex: none; }
.about__cert b { display: block; font-size: .92rem; } .about__cert small { display: block; color: var(--text-muted); font-size: .76rem; }
.about p + p { margin-top: 1rem; }
.about .signature { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--brand-ink); margin-top: 1.2rem; }

/* ----------------------------- Lead magnet ---------------------------- */
.magnet {
  background: radial-gradient(120% 140% at 80% 0%, #FBE6CF, var(--cream-2));
  border: 1px solid var(--sand); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.magnet__icon { width: 76px; height: 76px; border-radius: 22px; background: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.magnet__icon svg { width: 40px; height: 40px; color: #fff; }
.form-row { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-row input[type=email] {
  flex: 1 1 220px; padding: .9rem 1.1rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--sand-line); background: var(--white-warm);
}
.form-row input::placeholder { color: var(--ink-faint); }
.consent { display: flex; gap: .55rem; align-items: flex-start; margin-top: 1rem; font-size: .82rem; color: var(--text-muted); }
.consent input { margin-top: .25rem; accent-color: var(--brand); }
.consent a { color: var(--brand-ink); border-bottom: 1px solid currentColor; }

/* --------------------------- Instagram -------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 2.2rem; }
.ig-tile {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--sand), var(--cream-2)); display: grid; place-items: center;
  border: 1px solid var(--line); transition: transform .2s;
}
.ig-tile:hover { transform: scale(1.03); }
.ig-tile svg { width: 34px; height: 34px; color: var(--brand); opacity: .55; }
/* Testimonios en vídeo — tarjetas con el fotograma real del reel (on-brand, sin chrome de IG) */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 1.2rem; justify-content: center; margin: 2.2rem 0 0; }
.reel-card {
  position: relative; aspect-ratio: 9/16; border-radius: var(--radius-lg); overflow: hidden;
  display: block; text-decoration: none; box-shadow: var(--shadow); background: var(--sand);
  transition: transform .2s ease, box-shadow .2s ease;
}
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,50,44,.04) 0%, rgba(58,50,44,.12) 55%, rgba(120,75,45,.6) 100%); }
.reel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.reel-card__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--brand-cta); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(80,50,30,.55); }
.reel-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.reel-card__tag { position: absolute; left: 0; right: 0; bottom: .9rem; z-index: 1; text-align: center; color: #fff; font-weight: 600; font-size: .9rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); padding: 0 .6rem; }
@media (max-width: 560px) { .reels { grid-template-columns: 1fr 1fr; gap: .7rem; } }
@media (prefers-reduced-motion: reduce) { .reel-card { transition: none; } .reel-card:hover { transform: none; } }

/* ------------------------------- FAQ ---------------------------------- */
.faq { max-width: 760px; margin: 2.4rem auto 0; }
.faq details {
  background: var(--white-warm); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.4rem; margin-bottom: .8rem; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0; font-weight: 600; font-size: 1.06rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; color: var(--brand); transition: transform .25s; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq__body { padding-bottom: 1.3rem; color: var(--text-muted); }

/* ---------------------------- CTA final ------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
}
.final-cta::after { content: ""; position: absolute; width: 380px; height: 380px; background: rgba(255,255,255,.08); border-radius: 50%; top: -160px; right: -120px; }
.final-cta h2 { color: #fff; font-size: var(--step-4); max-width: 18ch; margin-inline: auto; position: relative; }
.final-cta p { color: rgba(255,255,255,.92); margin: 1rem auto 0; max-width: 46ch; position: relative; }
.final-cta .btn { margin-top: 2rem; }
.final-cta .scarcity { margin-top: 1.4rem; font-size: var(--step--1); color: rgba(255,255,255,.85); position: relative; }

/* ------------------------------ Footer -------------------------------- */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand__name { color: var(--cream); }
.footer p { color: rgba(250,244,236,.7); font-size: .92rem; margin-top: .8rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(250,244,236,.78); font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer__cert { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .5rem .9rem; border: 1px solid rgba(250,244,236,.2); border-radius: 999px; font-size: .82rem; }
.footer__cert svg { width: 18px; height: 18px; color: var(--gold); }
.footer__disclaimer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,244,236,.15); font-size: .82rem; color: rgba(250,244,236,.55); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(250,244,236,.1); display: grid; place-items: center; }
.socials a:hover { background: var(--brand); }
.socials svg { width: 20px; height: 20px; }

/* Barra CTA flotante (móvil) */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; box-shadow: var(--shadow-lg);
  min-height: 50px; align-items: center; justify-content: center;
}

/* ---------------------------- Animación ------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Animación de entrada del menú móvil (declarada fuera del media query por compatibilidad) */
@keyframes nav-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------- Responsive ------------------------------ */
@media (max-width: 1080px) {
  .nav, .nav__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .header__inner { min-height: 64px; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white-warm);
    border-bottom: 1px solid var(--sand-line);
    padding: .75rem var(--gutter) 1.25rem;
    box-shadow: 0 16px 40px rgba(120, 75, 45, .13);
    /* Entrada suave desde arriba */
    animation: nav-slide-in .22s ease both;
  }
  /* Separadores suaves entre enlaces */
  .nav.is-open a {
    padding: .9rem .25rem;
    width: 100%;
    min-height: 44px;
    display: flex; align-items: center;
    font-size: var(--step-0);
    color: var(--ink-soft);
    border-bottom: 1px solid var(--cream-2);
    transition: color .15s ease, background .15s ease;
  }
  .nav.is-open a::after { display: none; } /* sin subrayado decorativo en móvil */
  .nav.is-open a:hover,
  .nav.is-open a:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--cream-2) 60%, transparent); border-radius: 8px; }
  /* CTA destacado dentro del panel móvil */
  .nav.is-open .btn--sm {
    margin-top: .85rem;
    width: 100%; justify-content: center;
    min-height: 48px;
    border-bottom: none;
    background: var(--brand-cta);
    box-shadow: 0 6px 18px rgba(168, 80, 58, .24);
  }
  .nav.is-open .btn--sm:hover { background: var(--brand-cta-d); transform: none; }
  .hero__grid, .about, .member, .magnet { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .blob { width: min(248px, 56vw); }
  .pain-grid, .pricing, .quotes, .steps { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .member__price { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
}

/* ===================================================================
   Atmósfera y textura — trabajado con Claude Design
   (grano sutil global + brillos cálidos en hero + marco de foto seguro)
   =================================================================== */

/* Grano fílmico sutil sobre toda la página (da textura artesanal, no plano) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Brillos cálidos de atmósfera detrás del hero (dorado arriba, salvia abajo) */
.hero {
  background:
    radial-gradient(58% 50% at 88% 6%, rgba(224,169,92,.18), transparent 70%),
    radial-gradient(52% 60% at 4% 96%, rgba(122,148,118,.15), transparent 72%);
}

/* Marco de foto — calidad de imagen: la foto de Javier se muestra a tamaño
   contenido y nítida; el recorte transparente va sobre fondo cálido CSS
   (evita ampliaciones borrosas del original de baja resolución). */
.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #FBEEDD 0%, #E7D6BF 100%);
  box-shadow: var(--shadow);
}
.photo-frame::after {  /* viñeta cálida sutil para integrar el recorte */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -40px 60px -30px rgba(120,75,45,.25);
}
.photo-frame img { display: block; width: 100%; }
.about__photo { max-width: 380px; }
/* Hero: la escena ambiental va enmarcada (rectángulo redondeado), no en blob */
.hero__frame { width: min(460px, 100%); }
@media (min-width: 901px) { .hero__frame { width: min(480px, 40vw); } }

/* Cinta de confianza (marquesina lenta de valores) */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-deep); }
.ticker__track { display: flex; gap: 3rem; padding-block: .9rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--brand-ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.ticker span::after { content: "·"; color: var(--gold-d); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
