/* =========================================================================
   Kit Maestro de Planeación Estratégica 2027 — Valéria Moura
   estructura low ticket (Ricardo Maxxima) · paleta Violeta nocturno + ámbar → coral → magenta.
   Space Grotesk (títulos) + Inter (texto), self-hosted. Mobile first.
   ========================================================================= */

/* ---------- Fuentes self-hosted ---------- */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/spacegrotesk-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+25BA;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 380 720; font-display: swap;
  src: url("/fonts/inter-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+25BA;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #faf7fc;
  --surface: #ffffff;
  --card: #f4eff9;
  --ink: #1b1733;
  --ink-soft: #4d4766;
  --line: #e6dcf0;

  --violet: #2a2350;
  --violet-dk: #1a1736;
  --violet-night: #0f0d22;
  --violet-soft: #efe8f8;
  --amber: #ffb36b;
  --coral: #ff7a59;
  --magenta: #e0558a;
  --coral-dk: #a8361f;     /* texto acento sobre claro (contraste AA) */
  --amber-soft: #fff1e4;
  --on-dark: #ece6f6;
  --on-dark-soft: #cfc6e2;

  --green: #15803d;
  --green-hi: #16a34a;
  --green-dk: #14532d;

  --grad: linear-gradient(135deg, #0f0d22 0%, #1a1736 40%, #2a2350 72%, #4a2552 100%);
  --grad-warm: linear-gradient(100deg, #ffb36b 0%, #ff7a59 52%, #e0558a 100%);
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(26, 23, 54, .45);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 4.6vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin-top: 0; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.mt { margin-top: 30px; }
.section { padding: clamp(52px, 8vw, 92px) 0; }
main > .section:nth-of-type(n+6) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.head { max-width: 760px; margin: 0 auto 34px; }
.lead { color: var(--ink-soft); font-size: 1.05rem; }
.kicker { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-dk); margin: 0 0 .6em; }
.kicker-hot { background: var(--grad-warm); color: #120f26; padding: 7px 18px; border-radius: 999px; font-size: 1rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 700; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; text-align: center; line-height: 1.25; padding: 12px 20px; }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-green { background-color: var(--green); background-image: linear-gradient(180deg, var(--green-hi) 0%, var(--green) 100%); color: #fff; box-shadow: 0 8px 0 -2px var(--green-dk), 0 18px 32px -10px rgba(21, 128, 61, .55); }
.btn-green:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-green:active { transform: translateY(2px); box-shadow: 0 3px 0 -1px var(--green-dk), 0 10px 20px -10px rgba(21, 128, 61, .55); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-xl { padding: 20px 34px; font-size: clamp(1.08rem, 3.6vw, 1.35rem); letter-spacing: .01em; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(236, 230, 246, .35); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px rgba(236, 230, 246, .7); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: var(--amber); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: .98rem; }
.brand-name small { font-weight: 500; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-dk); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a:not(.btn) { padding: 8px 12px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.nav > a:not(.btn):hover { color: var(--violet); background: var(--violet-soft); }
.header-cta { padding: 10px 18px; font-size: .92rem; box-shadow: 0 5px 0 -2px var(--green-dk); }
.nav .header-cta { display: none; }
.desktop-only { display: inline-flex; margin-left: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; margin-left: auto; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.nav-toggle span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { padding: clamp(34px, 7vw, 70px) 0 clamp(44px, 7vw, 80px); color: var(--on-dark); background: radial-gradient(900px 480px at 85% -10%, rgba(255, 122, 89, .22), transparent 62%), radial-gradient(120% 120% at 70% 0%, #2a2350 0%, #1a1736 50%, #0f0d22 100%); }
.hero-inner { text-align: center; max-width: 920px; }
.eyebrow { display: inline-block; background: rgba(255, 179, 107, .08); color: var(--amber); border: 1px solid rgba(255, 179, 107, .45); font-weight: 600; font-size: .88rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
h1 { margin: 0 0 18px; }
.h1-big { display: block; font-size: clamp(2.2rem, 9vw, 4.6rem); line-height: 1; letter-spacing: -.025em; background: linear-gradient(92deg, #ffd29a 0%, #ff7a59 58%, #e8649a 100%); -webkit-background-clip: text; background-clip: text; color: var(--amber); -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.h1-sub { display: block; font-size: clamp(1.28rem, 4.2vw, 2rem); margin-top: 12px; color: #fff; }
.h1-sub mark { background: linear-gradient(transparent 56%, rgba(255, 122, 89, .55) 56%); color: inherit; padding: 0 .1em; }
.hero-lead { font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--on-dark-soft); max-width: 720px; margin: 0 auto 22px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .4); }
.hero-cta { margin: 30px 0 26px; }
.cta-note { margin: 16px 0 0; color: var(--on-dark-soft); font-size: .95rem; }
.cta-note.light { color: #fff; opacity: .92; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; margin: 0 auto; }
.hero-stats div { background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 12px 6px; border: 1px solid rgba(255, 179, 107, .24); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); line-height: 1.1; }
.hero-stats span { font-size: .8rem; color: var(--on-dark-soft); line-height: 1.25; display: block; }

/* portada real del kit (LCP) */
.hero-visual { max-width: 420px; margin: 0 auto; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 179, 107, .22); }

/* ---------- 3. Usted ya lo sabe ---------- */
.pain-grid { display: grid; gap: 28px; align-items: center; }
.pain-art { display: flex; justify-content: center; }
.pain-board { background: var(--grad-warm); border-radius: 28px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.pb-row { display: flex; gap: 14px; }
.pb-row i { font-style: normal; display: grid; place-items: center; width: 72px; height: 72px; background: rgba(255, 255, 255, .93); border-radius: 20px; font-size: 2.1rem; }
.bubbles { display: grid; gap: 12px; }
.bubble { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 14px 18px; margin: 0; font-weight: 600; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .5); max-width: 540px; }
.bubble.alt { justify-self: end; border-radius: 20px 20px 6px 20px; background: var(--violet-soft); border-color: #d9cdeb; }

/* ---------- 4. Faja en degradado ---------- */
.band { background: var(--grad-warm); color: #120f26; padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.band-inner { max-width: 880px; }
.band-pre { font-size: 1.05rem; font-weight: 500; }
.band h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); margin: .2em 0 .5em; color: #120f26; }
.band h2 span { display: inline; background: var(--violet-dk); color: #fff; padding: .05em .3em; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.5; }
.band-post { margin: 0 auto; max-width: 760px; font-weight: 500; }

/* ---------- 5. Pasos ---------- */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.step { position: relative; background: var(--card); border-radius: var(--radius); padding: 24px 20px 20px; border: 1px solid var(--line); }
.step-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); font-size: 1.7rem; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .4); margin-bottom: 10px; }
.step-n { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dk); }
.step h3 { margin: .2em 0 .4em; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.seal-line { margin: 26px auto 0; max-width: 640px; text-align: center; background: var(--amber-soft); color: var(--coral-dk); font-weight: 600; border-radius: 999px; padding: 12px 20px; }

/* ---------- 6/7. Lo que va a recibir + bonos ---------- */
.receive { background: var(--surface); }
.bonus { background: var(--bg); }
.rc { display: grid; gap: 24px; align-items: center; background: var(--card); border-radius: 28px; padding: 22px; margin-bottom: 22px; border: 1px solid var(--line); }
.rc-text h3 { font-size: clamp(1.25rem, 3.4vw, 1.6rem); }
.rc-text p { color: var(--ink-soft); }
.rc-tag { display: inline-block; background: var(--violet); color: #fff; font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .02em; }
.tag-warm { background: var(--amber); color: #120f26; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 4px 0 4px 30px; position: relative; font-weight: 600; font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.rc-visual { display: grid; place-items: center; align-content: center; gap: 2px; min-height: 200px; border-radius: 22px; background: var(--grad); color: #fff; text-align: center; padding: 24px; box-shadow: var(--shadow); }
.rc-visual.warm { background: var(--grad-warm); color: #120f26; }
.rv-ico { font-size: 2.6rem; line-height: 1; }
.rc-visual b { font-family: var(--font-display); font-size: clamp(3.4rem, 12vw, 5rem); line-height: 1; }
.rc-visual small { font-size: .95rem; font-weight: 600; opacity: .95; }
.rc-trio { display: grid; gap: 18px; }
.rc-mini { background: var(--card); border-radius: 24px; padding: 22px; border: 1px solid var(--line); }
.bonus .rc-mini { background: var(--surface); }
.rc-mini h3 { margin-top: 2px; }
.rc-mini p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.rc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); font-size: 1.6rem; margin-bottom: 10px; }
.for-list { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; }
.for-list summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--violet); }
.for-list ol { list-style: none; margin: 0; padding: 0 0 12px; }
.for-list li { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .88rem; line-height: 1.35; }
.for-list code { flex: none; font-family: var(--font); font-weight: 700; font-size: .72rem; color: var(--coral-dk); background: var(--amber-soft); border-radius: 6px; padding: 2px 6px; }

.for-list li.blk { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); padding-top: 12px; border-top: 0; }
.fb-note { font-size: .78rem; color: #b9b0cf; margin: 0 0 1rem; }

/* ---------- 8. Para quién es ---------- */
.aud-grid { display: grid; gap: 20px; }
.aud { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.aud h2 { font-size: 1.4rem; }
.aud ul { margin: 0; padding-left: 1.1em; }
.aud li { margin: .45em 0; }
.aud-yes { background: #ecfdf3; border-color: #bbf7d0; }
.aud-no { background: #fef2f2; border-color: #fecaca; }

/* ---------- 9. Recapitulando ---------- */
.recap { background: var(--grad); }
.recap-card { background: var(--surface); border-radius: 30px; padding: clamp(22px, 5vw, 44px); max-width: 760px; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); text-align: center; }
.recap-list { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.recap-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 4px; border-bottom: 1px dashed #d9cdeb; font-weight: 600; font-size: .95rem; }
.recap-list li.b { color: var(--coral-dk); }
.recap-list s { flex: none; color: #b91c1c; font-weight: 700; }
.recap-total { font-size: 1.15rem; font-weight: 700; margin: 16px 0 10px; }
.recap-total s { color: #b91c1c; }
.price-box { background: var(--card); border-radius: 24px; padding: 24px 18px; margin-top: 10px; border: 2px solid var(--green); }
.price-de { margin: 0; font-weight: 600; color: var(--ink-soft); }
.price-de s { color: #b91c1c; }
.price-big { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(3.6rem, 14vw, 5.4rem); font-weight: 700; line-height: 1; color: var(--green-dk); }
.price-big small { font-size: .36em; vertical-align: top; margin-right: 4px; position: relative; top: .35em; }
.price-how { margin: 8px 0 4px; font-weight: 700; }
.offer-pay { margin: 0 0 20px; font-size: .9rem; color: var(--ink-soft); }
.pay-line { margin: 16px 0 0; font-size: .85rem; color: var(--ink-soft); }

/* ---------- 10. Dos opciones ---------- */
.opt-grid { display: grid; gap: 20px; }
.opt { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.opt h3 { font-size: 1.2rem; }
.opt ul { padding-left: 1.1em; margin: 0 0 18px; }
.opt li { margin: .45em 0; }
.opt-no { background: #f3f1f6; color: #3b3650; }
.opt-yes { background: #ecfdf3; border: 2px solid var(--green); }

/* ---------- 11. Autora ---------- */
.author { background: var(--surface); }
.author-grid { display: grid; gap: 26px; align-items: center; }
.author-card { background: var(--grad); color: #fff; border-radius: 28px; padding: 30px 24px; text-align: center; }
.author-photo { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amber); }
.a-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.a-role { font-size: .92rem; opacity: .96; margin-top: 6px; }
.author-body p { color: var(--ink-soft); }

/* ---------- 12. Garantía ---------- */
.guarantee-grid { display: grid; gap: 24px; align-items: center; background: var(--card); border-radius: 30px; padding: clamp(22px, 5vw, 40px); border: 1px solid var(--line); }
.seal { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; background: var(--grad); color: #fff; text-align: center; box-shadow: var(--shadow); }
.seal .big { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.seal small { font-size: .8rem; font-weight: 600; }
.guarantee p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-wrap { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; color: var(--coral-dk); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- CTA final ---------- */
.final { background: var(--grad); color: #fff; text-align: center; padding: clamp(52px, 8vw, 90px) 0; }
.final-inner { max-width: 760px; }
.final h2 { font-size: clamp(1.55rem, 5vw, 2.4rem); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--violet-night); color: #d6cfe6; padding: clamp(2.6rem, 5vw, 3.6rem) 0 1.8rem; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(214, 207, 230, .14); }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: .8rem; }
.footer-top p { color: #b9b0cf; }
.site-footer h3 { font-family: var(--font); font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: #ffb36b; margin-bottom: .9rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: #d6cfe6; text-decoration: none; }
.footer-links a:hover { color: #ffb36b; }
.footer-legal { display: flex; flex-direction: column; gap: .5rem; padding-block: 1.6rem; }
.footer-legal details { border-bottom: 1px solid rgba(214, 207, 230, .12); }
.footer-legal summary { cursor: pointer; list-style: none; padding: .7rem 0; font-size: .88rem; font-weight: 600; color: #fff; display: flex; justify-content: space-between; }
.footer-legal summary::-webkit-details-marker { display: none; }
.legal-body { padding-bottom: 1rem; }
.legal-body p, .legal-body h4 { font-size: .84rem; color: #b9b0cf; margin: .7rem 0 0; }
.legal-body h4 { color: #d6cfe6; font-family: var(--font); font-weight: 650; }
.legal-body a { color: #ffb36b; }
.warn { font-size: .82rem; color: #b9b0cf; background: rgba(214, 207, 230, .06); border: 1px solid rgba(214, 207, 230, .14); border-radius: 12px; padding: .8rem 1rem; margin-block: 1.2rem; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; color: #b9b0cf; }

/* ---------- Barra fija en móvil ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .45); transform: translateY(110%); transition: transform .25s ease; }
.mobile-bar.show { transform: none; }
.mb-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mb-price small { color: var(--ink-soft); font-size: .72rem; }
.mb-price b { font-size: .98rem; color: var(--green-dk); }
.mobile-bar .btn { padding: 11px 18px; font-size: .92rem; flex: none; box-shadow: 0 5px 0 -2px var(--green-dk); }

/* ---------- Banner de consentimiento ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 600; max-width: 760px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); padding: 16px 18px; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.consent.show { opacity: 1; transform: none; }
.consent-inner { display: flex; flex-direction: column; gap: 12px; }
.consent-text { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.consent-text a { color: var(--violet); text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.consent-link { background: none; border: 0; color: var(--violet); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 8px 4px; }
.consent-btn { font-size: .9rem; padding: 10px 18px; }
.consent .btn-outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); }
.consent .btn-green { box-shadow: 0 4px 0 -1px var(--green-dk); }
.cprefs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cprefs-list { display: flex; flex-direction: column; }
.cpref { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cpref-info b { display: block; font-size: .92rem; }
.cpref-info small { display: block; color: var(--ink-soft); font-size: .8rem; }
.cpref input { width: 20px; height: 20px; flex: none; accent-color: var(--violet); }
.cprefs-actions { display: flex; justify-content: flex-end; margin-top: 10px; }

/* ---------- Vitrine (sección generada por vitrine_kit.py) dentro de la paleta ---------- */
.vt { background: var(--surface); }
.vt .kicker { color: var(--coral-dk); }

/* ---------- Pantallas mayores ---------- */
@media (min-width: 640px) {
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .rc-trio { grid-template-columns: repeat(2, 1fr); }
  .aud-grid, .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .consent-inner { flex-direction: row; align-items: center; }
  .consent-text { flex: 1 1 auto; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
}
@media (min-width: 900px) {
  .step-list { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: "➜"; position: absolute; right: -17px; top: 42px; font-size: 1.3rem; color: var(--amber); z-index: 1; }
  .rc { grid-template-columns: 1.35fr .65fr; padding: 34px; gap: 36px; }
  .rc.rev { grid-template-columns: .65fr 1.35fr; }
  .rc.rev .rc-text { order: 2; }
  .rc-trio { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .author-grid { grid-template-columns: .8fr 1.2fr; gap: 44px; }
  .guarantee-grid { grid-template-columns: 200px 1fr; }
  .mobile-bar { display: none; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(255, 255, 255, .98); padding: 1rem 1.2rem 1.4rem; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow); margin-left: 0; }
  .nav.open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 12px 10px; }
  .nav .header-cta { display: inline-flex; margin-top: 8px; }
  .desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .brand-name small { display: none; }
  .btn-xl { padding: 18px 22px; }
  .recap-list li { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }


/* color de fondo sólido bajo los degradados (contraste medible por herramientas de accesibilidad) */
.rc-visual, .seal, .author-card, .recap, .final, .brand-badge { background-color: #1a1736; }
.rc-visual.warm, .band, .kicker-hot, .pain-board { background-color: #ff8a5c; }
