/* ============================================================
   mariapsiconutri — Design System
   Paleta cálida y natural para un enfoque cuerpo-mente
   ============================================================ */

:root {
  /* ===== PALETA "ELEGANTE" (por defecto) =====
     Verde petróleo profundo + oro viejo + marfil cálido.
     Sensación premium / consulta privada. */

  /* Marca — verde petróleo (botones, base oscura) */
  --brand:    #14403f;
  --brand-dk: #0d2e2d;

  /* Escala de petróleo (títulos, secciones oscuras) */
  --sage-900: #10312f;
  --sage-700: #143f3e;
  --sage-500: #517a77;
  --sage-300: #a6c3bd;
  --sage-100: #e6ece8;

  /* Fondos marfil cálido */
  --cream:    #f7f2e8;
  --cream-2:  #efe7d6;

  /* Acento metálico — oro viejo (detalles, "joyería") */
  --terra:    #b0862f;
  --terra-dk: #916c20;

  /* Toque cálido puntual */
  --coral:    #d97a56;

  --ink:      #26302e;
  --ink-soft: #5b6764;
  --white:    #ffffff;
  --line:     #e4dccb;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala */
  --container: 1120px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-arch: 240px;
  --shadow-sm: 0 1px 3px rgba(16, 49, 47, .05);
  --shadow-md: 0 24px 60px rgba(16, 49, 47, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- PALETA ORIGINAL (turquesa + petróleo) ----------
   Reproduce los colores de la web actual, para comparar. */
body.theme-original {
  --brand:    #02778b;   /* botones (petróleo)            */
  --brand-dk: #045e6e;
  --sage-900: #044e5c;   /* petróleo profundo (títulos)   */
  --sage-700: #036277;   /* banda oscura de sección       */
  --sage-500: #2a97a0;
  --sage-300: #60cfc3;   /* turquesa (destacados)         */
  --sage-100: #d4efeb;
  --cream:    #f5fafb;
  --cream-2:  #e6f4f2;
  --terra:    #1f97a4;   /* acento turquesa               */
  --terra-dk: #157b86;
  --coral:    #f0795a;
  --ink:      #21393d;
  --ink-soft: #52706f;
  --line:     #d0e6e3;
  --shadow-sm: 0 2px 10px rgba(4, 78, 92, .07);
  --shadow-md: 0 12px 40px rgba(4, 78, 92, .14);
}

/* ---------- PALETA VERDE SALVIA (la primera versión) ---------- */
body.theme-sage {
  --brand:    #c17a5b;   /* botones terracota             */
  --brand-dk: #a5603f;
  --sage-900: #2f3a2c;
  --sage-700: #4d6146;
  --sage-500: #6b7d5e;
  --sage-300: #a9b89b;
  --sage-100: #e7ede0;
  --cream:    #faf7f2;
  --cream-2:  #f2ece1;
  --terra:    #c17a5b;
  --terra-dk: #a5603f;
  --coral:    #c17a5b;
  --ink:      #2d2b26;
  --ink-soft: #5a564d;
  --line:     #e3ddd1;
}

/* ---------- Reset base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 4rem, var(--container)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--terra);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--terra); flex-shrink: 0; }
.section-head.center .eyebrow { justify-content: center; }
.section { padding: clamp(3.25rem, 6vw, 5rem) 0; }
.section--tint { background: var(--cream-2); }
.section--sage { background: var(--sage-700); color: var(--cream); }
.lead { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--ink-soft); max-width: 56ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dk); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: var(--sage-300); color: var(--sage-900); }
.btn--ghost:hover { background: var(--sage-100); }
.btn--light { background: var(--cream); color: var(--sage-900); }
.btn--light:hover { background: var(--white); }
.btn--gold { background: var(--terra); color: #241a06; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--terra-dk); color: #fff; box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: rgba(247, 242, 232, .55); color: var(--cream); }
.btn--outline:hover { background: rgba(247, 242, 232, .1); border-color: var(--cream); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand);          /* petróleo: se funde con el hero */
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(247, 242, 232, .9);
  backdrop-filter: saturate(140%) blur(12px);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
/* Arriba (sobre el hero oscuro): texto claro y legible */
.header:not(.is-scrolled) .brand { color: var(--cream); }
.header:not(.is-scrolled) .brand span { color: var(--terra); }
.header:not(.is-scrolled) .nav-links a { color: rgba(247, 242, 232, .82); }
.header:not(.is-scrolled) .nav-links a:hover { color: #fff; }
.header:not(.is-scrolled) .nav-toggle span { background: var(--cream); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--sage-900); letter-spacing: -.02em; }
.brand span { color: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--terra); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sage-900); margin: 5px 0; transition: .3s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: var(--brand);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem);
}
/* Halo dorado sutil de fondo */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background:
    radial-gradient(55% 50% at 82% 10%, rgba(176,134,47,.22), transparent 60%),
    radial-gradient(50% 55% at -5% 105%, rgba(0,0,0,.35), transparent 70%);
}

.hstage { position: relative; }
.hero .eyebrow { margin-bottom: 1.1rem; }

/* Titular grande que "invade" la zona de la foto */
.htitle {
  position: relative; z-index: 3; font-family: var(--serif); font-weight: 400; line-height: 1.0;
  font-size: clamp(2.8rem, 7.2vw, 5.6rem); color: var(--cream); max-width: 14ch;
}
.htitle .rd { position: relative; font-style: italic; color: var(--terra); white-space: nowrap; }
/* trazo dibujado a mano bajo "redefine" */
.htitle .rd svg { position: absolute; left: -2%; bottom: -.28em; width: 104%; height: .5em; overflow: visible; }
.htitle .rd svg path {
  fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: draw 1.1s .5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero .lead {
  position: relative; z-index: 3; font-size: 1.12rem; line-height: 1.7;
  color: rgba(247,242,232,.85); max-width: 40ch; margin: 1.6rem 0 2rem;
}
.hero .lead strong { color: var(--cream); font-weight: 600; }
/* palabras clave "cuerpo" y "mente" marcadas */
.hero .lead .cm { color: var(--terra); font-weight: 600; white-space: nowrap; }

.hcta { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hcta .link {
  color: rgba(247,242,232,.85); text-decoration: none; font-weight: 600; font-size: .98rem;
  border-bottom: 1px solid rgba(176,134,47,.6); padding-bottom: 2px; transition: color .2s;
}
.hcta .link:hover { color: var(--cream); }

.htrust {
  position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; margin-top: 2.4rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(247,242,232,.16);
}
.titem { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 500; color: rgba(247,242,232,.8); }
.titem svg { color: var(--terra); flex-shrink: 0; }

/* Foto: círculo rotado, aro no concéntrico (imperfección intencionada) */
.photo { position: absolute; z-index: 2; top: 2%; right: -1%; width: min(42vw, 440px); aspect-ratio: 1 / 1; }
.photo .ring {
  position: absolute; inset: -14px -8px -6px -16px; border: 2px solid rgba(176,134,47,.6);
  border-radius: 50%; transform: rotate(-4deg);
}
.photo .disc {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; transform: rotate(-2deg);
  background: linear-gradient(165deg, var(--cream-2), #d6ccb6);
  box-shadow: 0 30px 70px -22px rgba(0,0,0,.6);
}
.photo .disc img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.photo .cap {
  position: absolute; top: 6%; left: -8%; z-index: 4; transform: rotate(-3deg);
  background: var(--brand-dk); color: rgba(247,242,232,.92); border: 1px solid rgba(176,134,47,.5);
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .55rem 1rem; border-radius: 999px; white-space: nowrap;
}
.photo .cap em { color: var(--terra); font-style: italic; text-transform: none; letter-spacing: 0; }

/* Hilo dibujado que conecta el bloque de texto con la foto */
.thread { position: absolute; z-index: 1; right: 14%; top: 34%; width: min(30vw, 360px); height: auto; opacity: .9; pointer-events: none; }
.thread path {
  fill: none; stroke: var(--terra); stroke-width: 2.2; stroke-linecap: round; opacity: .55;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 1.6s .7s cubic-bezier(.22,1,.36,1) forwards;
}

/* reserva de espacio para que el titular no se pise con la foto en escritorio */
.hpad { height: clamp(60px, 11vw, 150px); }

/* ============================================================
   "¿Es para ti?"  — tarjetas
   ============================================================ */
.section-head { max-width: 42rem; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--sage-900); margin-bottom: .9rem; }
/* Palabra en cursiva dorada dentro de titulares (estilo Clinique La Prairie) */
h2 em, h3 em { font-style: italic; color: var(--terra); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.5vw, 3rem); }
.card {
  background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  padding: 1.9rem 0 0; transition: border-color .35s var(--ease);
}
.card:hover { transform: none; box-shadow: none; border-color: var(--terra); }
.card-ico {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--terra); color: var(--terra); margin-bottom: 1.3rem;
}
.card h3 { font-size: 1.18rem; color: var(--sage-900); margin-bottom: .5rem; }
.card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   Enfoque (split)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--sage-900); margin-bottom: 1rem; }
.approach-visual {
  aspect-ratio: 1; border-radius: var(--radius); position: relative;
  background: radial-gradient(circle at 30% 30%, var(--sage-100), var(--cream-2));
  display: grid; place-items: center; padding: 2rem;
}
.venn { position: relative; width: 100%; max-width: 300px; aspect-ratio: 300/278; margin: 0 auto; }
.venn-circle {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-family: var(--serif);
  font-size: 1rem; font-weight: 500; padding: .8rem; line-height: 1.1;
}
.venn-circle.a { background: rgba(159,189,181,.85); color: var(--sage-900); left: 21%; top: 0; }        /* Psicología */
.venn-circle.b { background: rgba(217,178,94,.82);  color: #3a2c0e;        left: 0; bottom: 0; }         /* Contexto   */
.venn-circle.c { background: rgba(207,143,107,.82); color: #3a1f12;        right: 0; bottom: 0; }        /* Nutrición  */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .fico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-100); color: var(--sage-700); display: grid; place-items: center; margin-top: 2px; }
.feature-list strong { color: var(--sage-900); }

/* ============================================================
   Sobre mí + credenciales
   ============================================================ */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-photo {
  aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--sage-100), var(--cream-2));
  box-shadow: var(--shadow-md); display: grid; place-items: center;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.creds { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0; }
.creds li { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .96rem; }
.creds li:first-child { border-top: 1px solid var(--line); }
.creds .badge { font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--terra); background: transparent; padding: 0; margin-left: auto; white-space: nowrap; }
.creds svg { color: var(--sage-500); flex-shrink: 0; }

/* ============================================================
   Proceso (3 pasos)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.5vw, 3rem); counter-reset: step; }
.step {
  background: transparent; border: 0; border-top: 2px solid var(--terra); border-radius: 0;
  padding: 1.8rem 0 0; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2.3rem; color: var(--terra); font-weight: 500;
  font-style: italic; display: block; margin-bottom: .7rem; line-height: 1;
}
.step h3 { font-size: 1.2rem; color: var(--sage-900); margin-bottom: .5rem; }
.step .dur { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .9rem; }
.step p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* ============================================================
   Valores
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value {
  padding: 1.8rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); transition: background .3s;
}
.value:hover { background: rgba(255,255,255,.12); }
.value .vnum { font-family: var(--serif); font-size: 1rem; color: var(--sage-300); margin-bottom: .5rem; }
.value h3 { font-size: 1.15rem; color: var(--cream); margin-bottom: .4rem; letter-spacing: .02em; }
.value p { font-size: .9rem; color: rgba(250,247,242,.78); margin: 0; }

/* ============================================================
   Problemas que aborda
   ============================================================ */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.topic { background: transparent; border: 0; border-top: 2px solid var(--c, var(--terra)); border-radius: 0; padding: 1.4rem 0 0; }
.topic h3 { font-size: 1.08rem; color: var(--sage-900); margin-bottom: .9rem; display: flex; align-items: center; gap: .55rem; }
.topic h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--coral)); flex-shrink: 0; }
.topic ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.topic li { font-size: .85rem; color: var(--ink-soft); background: var(--cream-2); padding: .35rem .75rem; border-radius: 999px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--serif); font-size: 1.05rem; color: var(--sage-900);
}
.faq-q .chev { flex-shrink: 0; transition: transform .3s var(--ease); color: var(--terra); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 1.5rem; color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-band {
  background: linear-gradient(150deg, var(--brand), var(--brand-dk)); color: var(--cream);
  border-radius: calc(var(--radius) * 1.6); padding: clamp(3rem, 6vw, 4.5rem); text-align: center;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(176,134,47,.35), transparent 45%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .9rem; }
.cta-band p { font-size: 1rem; opacity: .92; max-width: 46ch; margin: 0 auto 1.8rem; }
.cta-band .hero-cta { justify-content: center; margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--sage-900); color: rgba(250,247,242,.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .brand { color: var(--cream); display: inline-block; margin-bottom: 1rem; }
.footer h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-300); margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer a:hover { color: var(--cream); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250,247,242,.2); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.footer-social a:hover { background: rgba(250,247,242,.1); border-color: var(--sage-300); }
.footer-bottom { border-top: 1px solid rgba(250,247,242,.14); padding-top: 1.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Bloque "¿Es para ti?" — narrativa de identificación
   ============================================================ */
.identifica { max-width: 680px; margin: 2.4rem auto 0; }
.identifica p {
  font-size: clamp(1.08rem, 2.3vw, 1.28rem); line-height: 1.85;
  color: var(--ink); margin-bottom: 1.4rem;
}
.identifica strong { color: var(--brand); font-weight: 600; }
.identifica mark {
  background: linear-gradient(transparent 62%, rgba(176, 134, 47, .30) 62%);
  color: inherit; padding: 0 .06em; border-radius: 2px;
}
.identifica-cierre {
  margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line);
  text-align: center; font-size: clamp(1.12rem, 2.5vw, 1.32rem);
}

/* ============================================================
   Animaciones de entrada
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Banner de cookies
   ============================================================ */
.cookie-banner {
  position: fixed; left: clamp(1rem, 3vw, 1.5rem); bottom: clamp(1rem, 3vw, 1.5rem); z-index: 200;
  max-width: 420px; display: none; flex-direction: column; gap: .9rem;
  background: var(--brand-dk); color: rgba(247, 242, 232, .9);
  border: 1px solid rgba(176, 134, 47, .4); border-radius: 14px;
  padding: 1.1rem 1.2rem; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6);
}
.cookie-banner.is-visible { display: flex; }
.cookie-text { font-size: .88rem; line-height: 1.55; margin: 0; }
.cookie-text a { color: var(--terra); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.cookie-btn {
  font-family: var(--sans); font-weight: 600; font-size: .9rem; cursor: pointer;
  border-radius: 999px; padding: .55rem 1.2rem; border: 1px solid transparent; transition: .2s;
}
.cookie-btn--gold { background: var(--terra); color: #241a05; }
.cookie-btn--gold:hover { background: #c69634; }
.cookie-btn--ghost { background: transparent; color: rgba(247, 242, 232, .8); border-color: rgba(247, 242, 232, .3); }
.cookie-btn--ghost:hover { color: #fff; border-color: rgba(247, 242, 232, .6); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .split, .about { grid-template-columns: 1fr; }
  .cards, .steps, .values, .topics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Hero: la foto deja de superponerse y baja centrada bajo el texto */
  .photo { position: relative; top: auto; right: auto; width: min(70vw, 320px); margin: 2.5rem auto 0; }
  .photo .cap { left: 0; }
  .thread { display: none; }
  .hpad { display: none; }
  .htitle { max-width: none; }
  .htitle .rd { white-space: normal; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .header.nav-open .nav-links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .cards, .steps, .values, .topics, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .nav-actions .btn { display: none; }
  .cookie-banner { left: .8rem; right: .8rem; bottom: .8rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MANIFIESTO — capítulo scrollytelling (caos → orden)
   ============================================================ */
.mf { position: relative; background: var(--brand); color: var(--cream); }
.mf em { font-style: italic; color: var(--terra); }

.mf-intro { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; position: relative; }
.mf-intro .eyebrow { justify-content: center; }
.mf-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; color: var(--cream); max-width: 18ch; margin-inline: auto; }
.mf-hint { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,242,232,.6); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.mf-hint span { width: 1px; height: 34px; background: linear-gradient(var(--terra), transparent); animation: mf-pulse 2s ease-in-out infinite; }
@keyframes mf-pulse { 0%,100%{opacity:.3;transform:scaleY(.7)} 50%{opacity:1;transform:scaleY(1)} }

.mf-track { position: relative; height: 1000vh; }
@media (max-width: 640px) { .mf-track { height: 720vh; } }
.mf-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.mf-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mf-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 42%, transparent, rgba(13,46,45,.55)); }

.mf-scenes { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 6vw; text-align: center; pointer-events: none; }
.mf-scene { grid-area: 1/1; max-width: 22ch; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.16; color: var(--cream); opacity: 0; transform: translateY(16px); will-change: opacity, transform; }

.mf-outro { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 2rem; background: linear-gradient(var(--brand), var(--brand-dk)); }

@media (prefers-reduced-motion: reduce) {
  .mf-scene { opacity: 1 !important; transform: none !important; position: static; max-width: 26ch; margin: 12vh auto; }
  .mf-scenes { position: static; display: block; }
  .mf-track { height: auto; }
  .mf-stage { position: static; height: auto; }
}

/* ============================================================
   SELECTOR DE SÍNTOMAS (¿qué te pasa?)
   ============================================================ */
.sx-cats { display: grid; gap: 1.6rem; margin-bottom: 2.2rem; }
.sx-cat-label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .75rem; }
.sx-cat-label .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.sx-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-chip { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.sx-chip:hover { border-color: var(--c); }
.sx-chip.is-on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: var(--shadow-sm); }

.sx-free { display: grid; gap: .8rem; max-width: 560px; margin: 0 auto 2rem; }
.sx-free label { font-weight: 600; color: var(--sage-900); }
.sx-free input { width: 100%; font-family: var(--sans); font-size: .95rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.sx-free input:focus { outline: none; border-color: var(--terra); }

/* Invitación compacta (en el flujo de la página) */
.sx-invite { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; background: var(--brand); color: var(--cream); border-radius: calc(var(--radius) * 3); padding: clamp(2rem, 4vw, 3.2rem); box-shadow: var(--shadow-md); }
.sx-invite::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 70% at 95% 10%, rgba(176,134,47,.28), transparent 60%); }
.sx-invite > * { position: relative; }
.sx-invite-txt { max-width: 46ch; }
.sx-invite .eyebrow { color: var(--terra); }
.sx-invite h2 { color: var(--cream); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: .6rem; max-width: 24ch; }
.sx-invite p { color: rgba(247,242,232,.82); margin: 0; max-width: 44ch; }

/* Fichas de muestra clicables */
.sx-teasers { display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-teaser { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--cream); background: rgba(247,242,232,.08); border: 1px solid rgba(247,242,232,.25); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.sx-teaser:hover { background: rgba(176,134,47,.22); border-color: var(--terra); transform: translateY(-1px); }
.sx-teaser--more { color: var(--terra); background: transparent; border-color: rgba(176,134,47,.5); font-weight: 600; }
.sx-teaser--more:hover { background: rgba(176,134,47,.15); }

/* Modal */
.sx-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.sx-modal.is-open { display: block; }
.sx-modal-overlay { position: absolute; inset: 0; background: rgba(16,49,47,.5); backdrop-filter: blur(4px); animation: sx-fade .25s ease; }
.sx-modal-dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(100% - 2rem, 720px); max-height: 88vh; display: flex; flex-direction: column; background: var(--cream); border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; animation: sx-pop .3s var(--ease); }
.sx-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); }
.sx-modal-head h3 { font-size: 1.3rem; color: var(--sage-900); }
.sx-modal-close { background: none; border: 0; font-size: 1.2rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: .4rem .5rem; border-radius: 50%; transition: color .2s, background .2s; }
.sx-modal-close:hover { color: var(--sage-900); background: var(--cream-2); }
.sx-modal-body { padding: 1.4rem 1.6rem; overflow-y: auto; }
.sx-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.6rem; border-top: 1px solid var(--line); background: var(--cream-2); }
@keyframes sx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sx-pop { from { opacity: 0; transform: translate(-50%,-46%); } to { opacity: 1; transform: translate(-50%,-50%); } }
body.sx-lock { overflow: hidden; }

.sx-feedback { font-size: .9rem; color: var(--ink-soft); flex: 1; min-width: 180px; }
.sx-feedback strong { color: var(--sage-900); }
.sx-feedback .yes { color: #2f7d5e; font-weight: 700; }
.sx-send { display: inline-flex; align-items: center; gap: .5rem; background: #25d366; color: #04361a; font-weight: 700; font-size: .92rem; padding: .8rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, opacity .2s; flex-shrink: 0; }
.sx-send:hover { transform: translateY(-2px); }
.sx-send:disabled { opacity: .45; cursor: not-allowed; transform: none; }

@media (max-width: 640px) {
  .sx-modal-dialog { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; top: 0; left: 0; transform: none; animation: sx-fade .25s ease; }
  .sx-modal-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .sx-send { justify-content: center; }
}
