:root {
  color-scheme: light;
  --surface: #EFE9DC;
  --raised: #F8F4EC;
  --sunk: #E4DCCB;
  --line: #D9D0BE;
  --line-strong: #857A66;
  --ink: #161714;
  --muted: #5B5A4F;
  --primary: #24402F;
  --primary-hover: #1B3324;
  --on-primary: #EFE9DC;
  --primary-soft: #DCE3D3;
  --accent: #C8902E;
  --accent-hover: #B57F22;
  --accent-soft: #F1DDB4;
  --on-accent: #161714;
  --bezel: #1E201C;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
  --measure: 680px;
  --shadow: 0 1px 2px rgba(22,23,20,.06), 0 12px 32px -12px rgba(22,23,20,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: var(--measure); }
section { padding-block: 56px; }
section.alt { background: var(--raised); border-block: 1px solid var(--line); }
section.dark { background: var(--primary); color: var(--on-primary); }

h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 8.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(27px, 5.6vw, 38px); line-height: 1.14; font-weight: 700; letter-spacing: -.015em; margin-bottom: 24px; }
h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; line-height: 1.5; }
mark { background: linear-gradient(transparent 58%, var(--accent-soft) 58%); color: inherit; padding-inline: 2px; }
section.dark mark, .closing mark { background: linear-gradient(transparent 58%, rgba(200,144,46,.45) 58%); }

/* Barra */
.bar { padding-block: 16px; border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bar b { font: 700 19px/1 var(--display); color: var(--primary); }
.bar span { font-size: 14px; color: var(--muted); }

/* Botón */
.cta { margin-top: 28px; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 600 17px/1.25 var(--sans); text-align: center; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(200,144,46,.7); transition: background-color 120ms cubic-bezier(.2,0,0,1), transform 120ms cubic-bezier(.2,0,0,1); }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.under { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
section.dark .under, .closing .under { color: #B4BFAE; }

/* Pastilla */
.pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.3; }
.pill img { width: 15px; height: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: late 1.8s ease-in-out infinite; }
@keyframes late { 50% { transform: scale(1.35); opacity: .6; } }

/* Hero */
.hero { padding-block: 36px 48px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero .lead { margin-top: 20px; }

/* Collage del hero: todo se mide en cqw para escalar igual en celular y computadora */
.collage { position: relative; margin: 0; aspect-ratio: 1 / .92; container-type: inline-size; }
.laptop { position: absolute; left: 0; top: 9%; width: 84%; }
.laptop .screen { background: var(--bezel); border-radius: 2.2cqw 2.2cqw 0 0; padding: 1.6cqw 1.6cqw 2.2cqw; box-shadow: var(--shadow); }
.laptop .screen img { width: 100%; aspect-ratio: 16 / 10.4; object-fit: cover; object-position: top; border-radius: .6cqw; background: #fff; }
.laptop .base { height: 2.2cqw; margin-inline: -4%; background: linear-gradient(#CFC8BA, #A9A193); border-radius: 0 0 2.6cqw 2.6cqw; }
.phone { position: absolute; right: 0; bottom: 0; width: 37%; aspect-ratio: 9 / 18.5; background: var(--bezel); border-radius: 5.4cqw; padding: 1.5cqw; box-shadow: var(--shadow); }
.phone-in { height: 100%; overflow: hidden; border-radius: 4.2cqw; background: #FAF9F5; padding: 4.4cqw 3cqw; font-size: 2.35cqw; line-height: 1.35; }
.phone-in p { margin: 0 0 1.6cqw; }
.phone-top { display: flex; align-items: center; gap: 1.2cqw; font-weight: 700; font-size: 2.6cqw; padding-bottom: 1.6cqw; border-bottom: 1px solid #ECE8DF; }
.phone-top img { width: 3cqw; height: 3cqw; }
.msg-me { width: fit-content; max-width: 88%; margin-left: auto !important; padding: .55em 1em; border-radius: 1em; background: var(--sunk); }
.msg-cl { max-width: 96%; }
.mini-one { margin: 1.2cqw 0 1.6cqw; padding: 1.8cqw 2cqw; border-radius: 1.6cqw; background: var(--primary); color: var(--on-primary); font-weight: 600; line-height: 1.25; }
.mini-one span, .mini-lab { display: block; font-size: 1.75cqw; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.mini-lab { margin: 1.8cqw 0 .6cqw !important; color: var(--muted); }
.mini-li { position: relative; padding-left: 2.2cqw; margin-bottom: .6cqw !important; }
.mini-li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--accent); }

.float { position: absolute; background: var(--raised); border: 1px solid var(--line); border-radius: 2.4cqw; padding: 2.2cqw 2.6cqw; box-shadow: var(--shadow); font-size: 2.4cqw; line-height: 1.3; animation: flota 6s ease-in-out infinite; }
.float .k { display: block; margin-bottom: .8cqw; font-size: 1.85cqw; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-hover); }
.float b { display: block; font-family: var(--display); font-weight: 600; }
.f-quien { left: -2%; top: 0; width: 34%; rotate: -3deg; }
.f-quien i { display: block; height: 1.1cqw; margin-top: 1.3cqw; border-radius: 1cqw; background: var(--primary-soft); }
.f-quien i.short { width: 60%; }
.f-review { right: 2%; top: 1%; width: 33%; rotate: 2.5deg; animation-delay: -2s; }
.dots { display: flex; gap: 1cqw; margin-bottom: 1.2cqw; }
.dots i { width: 3cqw; height: 3cqw; border-radius: .8cqw; background: var(--sunk); }
.dots i.on { background: var(--primary); }
.f-extras { left: 5%; bottom: 0; width: 34%; rotate: -2deg; animation-delay: -4s; background: var(--accent-soft); border-color: #E2C68E; }
.covers { display: flex; margin-bottom: 1.4cqw; }
.covers img { width: 36%; border-radius: .6cqw; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.covers img + img { margin-left: -12%; }
.covers img:nth-child(1) { rotate: -6deg; }
.covers img:nth-child(3) { rotate: 6deg; }
.tag { position: absolute; padding: .9cqw 2cqw; border-radius: 99px; background: var(--accent); color: var(--on-accent); font: 700 2.3cqw/1.2 var(--sans); box-shadow: var(--shadow); }
.t-notion { left: 44%; top: 63%; rotate: -4deg; }
.t-claude { right: 30%; bottom: 7%; rotate: 4deg; }
@keyframes flota { 50% { translate: 0 -1.4cqw; } }

/* Cinta */
.cinta { overflow: hidden; background: var(--primary); color: var(--on-primary); rotate: -1.2deg; margin: 8px -12px; padding-block: 14px; }
.track { display: flex; width: max-content; animation: corre 38s linear infinite; }
.track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 600 18px/1 var(--display); white-space: nowrap; }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes corre { to { transform: translateX(-50%); } }

/* Problema */
.pain-grid { display: grid; gap: 28px; align-items: center; }
.notes { position: relative; min-height: 250px; }
.notes span { position: absolute; width: 46%; padding: 14px; background: #F6E7A9; color: #3B3622; font: 500 16px/1.3 var(--sans); box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.notes .n1 { left: 2%; top: 4%; rotate: -5deg; }
.notes .n2 { right: 4%; top: 0; rotate: 4deg; background: #F2D2BE; }
.notes .n3 { left: 26%; top: 34%; rotate: -2deg; background: var(--primary-soft); }
.notes .n4 { left: 0; bottom: 2%; rotate: 3deg; }
.notes .n5 { right: 2%; bottom: 6%; rotate: -4deg; background: #F2D2BE; }
.claim { margin: 36px 0 0; font: 700 clamp(24px, 5vw, 32px)/1.2 var(--display); letter-spacing: -.01em; text-wrap: balance; }

/* Un segundo tú */
.twin-grid { display: grid; gap: 28px; align-items: center; }
.twin { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.twin-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 19px/1.2 var(--display); }
.twin ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.twin li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--raised); border-radius: 10px; font-size: 16px; line-height: 1.3; }
.twin li b { font-weight: 600; }
.twin li span { flex: none; padding: 4px 10px; border-radius: 99px; background: var(--primary-soft); font-size: 13px; font-weight: 600; }

/* Comparativa */
.vs2 { display: grid; gap: 16px; }
.side { border-radius: 16px; padding: 22px; }
.side-no { background: rgba(239,233,220,.08); border: 1px solid rgba(239,233,220,.18); }
.side-si { background: var(--raised); color: var(--ink); }
.side-h { margin: 0 0 14px; font: 700 20px/1.2 var(--display); }
.convo { padding: 14px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; line-height: 1.45; }
.side-no .convo { background: rgba(0,0,0,.18); }
.side-no .convo .msg-me { background: rgba(239,233,220,.16); }
.side-si .convo { background: var(--surface); }
.convo p { margin: 0 0 10px; }
.convo p:last-child { margin: 0; }
.side-si .convo .msg-cl { padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--raised); border-radius: 4px 10px 10px 4px; }
.fine { margin: 12px 0 0; font-size: 13px; opacity: .75; }

.ok, .xs { list-style: none; margin: 0; padding: 0; }
.ok li, .xs li { position: relative; padding-left: 30px; }
.ok li + li, .xs li + li { margin-top: 10px; }
.ok li::before, .xs li::before { position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 13px/1 var(--sans); }
.ok li::before { content: "✓"; background: var(--primary); color: var(--on-primary); }
.xs li::before { content: "×"; background: var(--sunk); color: var(--muted); font-size: 16px; }
.side-no .xs li { color: #C9D1C3; }
.side-no .xs li::before { background: rgba(239,233,220,.14); color: #C9D1C3; }

/* Ventana de captura sobre tarjeta de color */
.shot { margin: 18px 0 0; padding: 18px 18px 0; border-radius: 16px; overflow: hidden; }
.shot .win { display: flex; gap: 6px; padding: 9px 12px; background: #F3F1EC; border-radius: 10px 10px 0 0; border-bottom: 1px solid #E4E0D7; }
.shot .win i { width: 9px; height: 9px; border-radius: 50%; background: #D3CEC3; }
.shot img { width: 100%; background: #fff; }
.g-bosque { background: linear-gradient(135deg, #2E5A40, #1B3324); }
.g-ocre { background: linear-gradient(135deg, #E9C67E, #C8902E); }
.g-salvia { background: linear-gradient(135deg, #DCE3D3, #A8BC9E); }
.g-lino { background: linear-gradient(135deg, #EDE4D1, #CDBFA3); }

/* Pasos */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.step { position: relative; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 0; overflow: hidden; }
.step h3 { margin: 14px 0 8px; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 19px/1 var(--display); }
.step .shot { margin: 20px -24px 0; border-radius: 0; }
.step .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }

/* Día */
.day { display: grid; gap: 16px; }
.moment { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 0; overflow: hidden; display: flex; flex-direction: column; }
.when { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hover); }
.moment .msg-me { margin: 0 0 12px; margin-left: 0 !important; font-weight: 600; }
.moment .shot { margin: auto -22px 0; padding-top: 18px; border-radius: 0; }
.moment .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.moment > p:not(.when):not(.msg-me) { margin-bottom: 18px; }
.callout { margin-top: 20px; padding: 20px 24px; border-radius: 16px; background: var(--primary); color: var(--on-primary); font-size: 18px; line-height: 1.45; }

/* Zigzag */
.zig { display: grid; gap: 48px; }
.row { display: grid; gap: 4px; align-items: center; }
.k { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hover); }
.row h3 { font-size: clamp(22px, 4.4vw, 27px); margin-bottom: 10px; }
.row .shot { box-shadow: var(--shadow); }
.chain { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chain span { padding: 6px 12px; border-radius: 99px; background: var(--primary-soft); font-size: 14px; font-weight: 600; }
.chain span + span::before { content: "→ "; color: var(--primary); }

/* Riel de lo que recibes */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
.item { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.item h4, .item p { padding-inline: 16px; }
.item h4 { margin-top: 14px; }
.item p { margin: 4px 0 16px; font-size: 15px; color: var(--muted); }
.thumb { aspect-ratio: 4 / 3; padding: 14px 14px 0; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 8px 8px 0 0; background: #fff; }
.thumb.pdf { display: grid; place-items: end center; }
.thumb.pdf img { width: 62%; height: auto; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.doc { height: 100%; background: #fff; border-radius: 8px 8px 0 0; padding: 14px; display: grid; align-content: start; gap: 8px; font-size: 13px; }
.doc b { font: 700 16px/1.2 var(--display); margin-bottom: 4px; }
.doc span { padding: 6px 10px; border-radius: 6px; background: var(--surface); font-weight: 600; }

.subhead { margin: 36px 0 14px; }
.extras { display: grid; gap: 14px; }
.extra { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.extra img { width: 96px; border-radius: 6px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); rotate: -2deg; }
.extra h3 { font-size: 19px; margin-bottom: 6px; }
.extra p { font-size: 15px; }
.tags { display: flex; gap: 6px; margin-bottom: 8px !important; }
.tags span { padding: 3px 10px; border-radius: 99px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.tags .inc { background: var(--primary-soft); color: var(--primary); }

/* Para quién */
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card-si { border: 2px solid var(--primary); }
.two { display: grid; gap: 16px; }
.needs { display: grid; gap: 12px; }
.needs > div { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.needs img, .needs .ico { flex: none; width: 30px; height: 30px; }
.needs .ico { display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); font: 700 13px/1 var(--display); }
.needs p { margin: 0; font-size: 16px; }

/* Bio */
.bio-grid { display: grid; gap: 28px; align-items: center; }
.bio-photo { margin: 0; position: relative; max-width: 440px; }
.bio-photo img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); rotate: 1.5deg; }
.bio-photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 16px; background: var(--accent-soft); z-index: -1; }
.bio-photo { isolation: isolate; }

/* Oferta */
.offer { padding: 28px 24px; background: var(--raised); border: 2px solid var(--primary); border-radius: 20px; box-shadow: var(--shadow); }
.offer h2 { margin-bottom: 18px; }
.offer .ok.cols { display: grid; gap: 8px 16px; }
.offer .ok.cols li + li { margin-top: 0; }
.offer .price { margin: 26px 0 0; font: 700 clamp(56px, 14vw, 76px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer .after { margin: 10px 0 0; }
.offer .save { margin: 4px 0 0; color: var(--muted); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.guarantee { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Preguntas */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { position: relative; padding: 16px 32px 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 22px; color: var(--primary); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 16px; margin: 0; color: var(--muted); }

/* Cierre */
.closing { background: var(--primary); color: var(--on-primary); }
.closing h2 { margin-bottom: 0; }
.flow-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.flow-mini span { padding: 6px 12px; border-radius: 99px; background: rgba(239,233,220,.12); font-size: 14px; font-weight: 600; }
.flow-mini span + span::before { content: "→ "; color: var(--accent); }

footer { padding-block: 32px; font-size: 13px; line-height: 1.55; color: var(--muted); }
footer p { margin-bottom: 8px; }

/* Páginas legales */
.legal { padding-block: 40px 64px; }
.legal h1 { font-size: clamp(32px, 7vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; letter-spacing: -.005em; }
.legal .date { color: var(--muted); font-size: 14px; }

@media (min-width: 760px) {
  section { padding-block: 80px; }
  .hero { padding-block: 56px 72px; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 48px; }
  .btn.inline { display: inline-flex; }
  .pain-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .notes { min-height: 300px; }
  .twin-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .twin { padding: 28px; }
  .vs2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .side { padding: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .day { grid-template-columns: 1fr 1fr; gap: 20px; }
  .row { grid-template-columns: .85fr 1.15fr; gap: 48px; }
  .row:nth-child(even) .txt { order: 2; }
  .row .shot { margin: 0; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .extras, .two { grid-template-columns: 1fr 1fr; }
  .needs { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1.3fr .7fr; gap: 56px; }
  .offer { padding: 44px; max-width: 660px; margin-inline: auto; }
  .offer .ok.cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .dot, .float, .track { animation: none; }
}
