:root {
  color-scheme: dark;
  --bg: #151711;
  --surface: #1d2017;
  --raised: #292c20;
  --band: #24291a;
  --ink: #fbf9ed;
  --muted: #cecebe;
  --accent: #d9ec8c;
  --accent-ink: #222818;
  --line: #414537;
  --soft: #6b7254;
  --paper: #eeeee0;
  --paper-ink: #212417;
  --paper-muted: #43493a;
  --paper-line: #c5c8b8;
  --needle: #ffab3d;
  --gutter: clamp(20px, 5vw, 72px);
  --space: clamp(80px, 9vw, 140px);
  --header: 72px;
  --display: Manrope, 'Instrument Sans', system-ui, sans-serif;
  font-family: 'Instrument Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button, input { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--display); }
h1, h2 { text-wrap: balance; line-height: 1.03; font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.03em; line-height: 1.2; }
p { color: var(--muted); line-height: 1.6; text-wrap: pretty; }
small { display: block; font-size: .8em; font-weight: 400; color: var(--muted); }
.shell { width: min(100% - 2 * var(--gutter), 1296px); margin-inline: auto; }
.section { padding-block: var(--space); }
.icon { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.skip { position: fixed; z-index: 10; left: 1rem; top: 1rem; transform: translateY(-200%); background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 6px; }
.skip:focus { transform: none; }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header); }
.wordmark { color: var(--ink); font-weight: 800; line-height: .85; font-size: 2.25rem; letter-spacing: -.085em; padding-right: .085em; }
.header nav { display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: .93rem; color: var(--muted); }
.header a:hover, .footer a:hover { color: var(--accent); }
.entry { font-weight: 700; font-size: .9rem; white-space: nowrap; border: 1px solid var(--soft); border-radius: 100px; padding: 11px 18px; }
.menu-toggle { display: none; background: none; border: 0; min-height: 44px; min-width: 56px; font-weight: 700; font-size: .9rem; }

/* Botones */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button { display: inline-flex; width: fit-content; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 100px; padding: 12px 22px; min-height: 50px; background: transparent; font-weight: 700; transition: background-color .2s, border-color .2s, transform .2s cubic-bezier(.16,1,.3,1); }
.button:active { transform: scale(.97); }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover { background: #eaf8b4; }
.ghost { border-color: var(--soft); }
.ghost:hover { background: var(--raised); border-color: var(--accent); }

/* Portada: marca, forma de onda y texto en dos columnas */
.hero { overflow: clip; border-bottom: 1px solid var(--line); }
.hero-inner { --mark: min(calc((100vw - 2 * var(--gutter)) / 2.92), 442px, 40svh); display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(14px, 2.4svh, 34px); }
.hero-mark { justify-self: center; font-size: var(--mark); line-height: .76; color: var(--accent); padding-block: .04em .02em; user-select: none; }
.hero-wave { display: block; width: 100%; height: clamp(96px, 12vw, 180px); margin-top: clamp(10px, 1.8vw, 26px); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); }
.hero-copy h1 { grid-row: 1 / 3; font-size: clamp(2.5rem, 4.4vw, 4.1rem); }
.hero-copy h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 48ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); }
.hero-copy .actions { grid-column: 2; }

/* Ejemplo del panel */
.split-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 80px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.split-head p { font-size: 1.1rem; max-width: 48ch; }
.dashboard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px #0008; }
.dash-top { display: flex; align-items: center; gap: 18px; padding: 22px clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.track { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.track-cover { width: clamp(48px, 7vw, 76px); height: auto; flex: none; border-radius: 8px; }
.example .split-head strong { color: var(--ink); }
.track h3 { font-size: 1.7rem; }
.track p { font-size: .9rem; }
.sample-label { color: var(--accent); font-size: .74rem; font-weight: 700; border: 1px dashed var(--soft); border-radius: 100px; padding: 5px 11px; white-space: nowrap; }
.dash-view { padding: clamp(20px, 3vw, 36px); }
.plays { display: grid; align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.total { font-size: .95rem; }
.total b { font: 800 3.6rem/1 var(--display); letter-spacing: -.045em; color: var(--ink); margin-right: 8px; }
.bars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.bars li { display: grid; grid-template-rows: auto 150px auto; justify-items: center; gap: 8px; }
.bars b { font: 700 1.05rem var(--display); }
.bars i { align-self: end; width: 100%; height: var(--size); background: var(--accent); border-radius: 6px 6px 0 0; }
.bars span { font-size: .75rem; color: var(--muted); white-space: nowrap; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; text-align: left; }
caption { text-align: left; font-weight: 700; padding-bottom: 12px; }
th, td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
thead th { font-size: .75rem; color: var(--muted); padding-block: 6px; }
tbody th { font-weight: 700; }
td:last-child, thead th:last-child { text-align: right; }
.fineprint { font-size: .86rem; max-width: 74ch; margin-top: 18px; }

/* Movimiento al recorrer el contenido */
@media (prefers-reduced-motion: no-preference) {
  .reveal-enter { animation: reveal-in .42s cubic-bezier(.2, .7, .3, 1); }
  .bars-enter i {
    transform-origin: center bottom;
    animation: bar-in .54s cubic-bezier(.2, .7, .3, 1) var(--bar-delay, 0s) backwards;
  }
  .bars-enter li:nth-child(2) { --bar-delay: .045s; }
  .bars-enter li:nth-child(3) { --bar-delay: .09s; }
  .bars-enter li:nth-child(4) { --bar-delay: .135s; }
}
@keyframes reveal-in {
  from { opacity: .76; translate: 0 10px; }
}
@keyframes bar-in {
  from { transform: scaleY(.12); }
}

/* Usos: hoja de papel */
.use-band { background: var(--paper); color: var(--paper-ink); }
.use-band p { color: var(--paper-muted); }
.uses h2 { max-width: 15ch; margin-bottom: clamp(36px, 5vw, 64px); }

.use-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.use-list article {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 5px 18px; align-items: center;
  border: 1px solid var(--paper-line); border-radius: 16px; padding: clamp(16px, 2.5vw, 31px);
  background: #f5f5e8;
}
.use-list h3 { font-size: clamp(1.35rem, 2.7vw, 2.3rem); font-weight: 800; }
.use-list p { grid-column: 2; max-width: 46ch; }
.use-graphic {
  position: relative; display: grid; align-self: start; grid-row: 1 / span 2; place-items: center;
  width: 64px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--band); color: var(--accent);
}
.use-graphic i { display: block; }
.use-graphic--signal i { grid-area: 1 / 1; border: 1px solid; border-radius: 50%; width: 40px; height: 40px; opacity: .55; }
.use-graphic--signal i:nth-child(2) { width: 26px; height: 26px; opacity: .75; }
.use-graphic--signal i:nth-child(3) { width: 7px; height: 7px; background: currentColor; opacity: 1; }
.use-graphic--follow { align-content: center; gap: 4px; justify-items: start; padding: 0 14px; }
.use-graphic--follow i { width: 100%; height: 6px; border-radius: 4px; background: currentColor; }
.use-graphic--follow i:nth-child(2) { width: 72%; opacity: .7; }
.use-graphic--follow i:nth-child(3) { width: 45%; opacity: .5; }
.use-graphic--compare { display: flex; align-items: end; justify-content: center; gap: 5px; padding-bottom: 15px; }
.use-graphic--compare i { width: 7px; height: 14px; background: currentColor; border-radius: 2px 2px 0 0; }
.use-graphic--compare i:nth-child(2) { height: 26px; }
.use-graphic--compare i:nth-child(3) { height: 19px; }
.use-graphic--cities { background-image: linear-gradient(#737b542f 1px, transparent 1px), linear-gradient(90deg, #737b542f 1px, transparent 1px); background-size: 13px 13px; }
.use-graphic--cities i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #d9ec8c40; }
.use-graphic--cities i:nth-child(1) { left: 17px; top: 17px; }
.use-graphic--cities i:nth-child(2) { left: 29px; top: 32px; }
.use-graphic--cities i:nth-child(3) { left: 43px; top: 44px; }

/* Cómo funciona */

.monitor-flow { margin-top: clamp(28px, 5vw, 52px); }
.monitor-wave {
  --position: 16.667%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 3vw, 36px);
  position: relative; padding: 14px clamp(10px, 2vw, 22px); border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat, var(--surface);
  overflow: hidden;
}
.monitor-flow[data-step="1"] .monitor-wave { --position: 50%; }
.monitor-flow[data-step="2"] .monitor-wave { --position: 83.333%; }
.wave-part { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: clamp(2px, .6vw, 8px); height: clamp(62px, 9vw, 106px); }
.wave-part i { display: block; height: var(--height); border-radius: 5px; background: var(--soft); transition: background-color .26s ease; }
.monitor-flow[data-step="0"] .wave-part:nth-of-type(2) i,
.monitor-flow[data-step="1"] .wave-part:nth-of-type(3) i,
.monitor-flow[data-step="2"] .wave-part:nth-of-type(4) i { background: var(--accent); }
.wave-playhead {
  position: absolute; z-index: 1; top: 7px; bottom: 7px; left: var(--position); width: 1px;
  background: var(--needle); transition: left .32s cubic-bezier(.2,.7,.3,1);
}
.wave-playhead::before { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--needle); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: 12px; margin-top: 14px; }
.steps li { padding: clamp(16px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.steps li:has(.step-select[aria-pressed="true"]) { border-color: var(--soft); background: var(--band); }
.step-select {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border: 1px solid var(--soft);
  border-radius: 50%; background: var(--bg); color: var(--ink); font: 800 1.2rem var(--display);
}
.step-select[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.steps p { margin-top: 8px; max-width: 42ch; }

/* Reporte mensual */
.report { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 7vw, 110px); align-items: center; border-top: 1px solid var(--line); }
.section-copy { display: grid; gap: 20px; align-content: start; }
.section-copy > p:not(.price) { font-size: 1.08rem; max-width: 52ch; }

.sheet {
  --muted: var(--paper-muted); background: var(--paper); color: var(--paper-ink);
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 50px -24px #000c;
}
.sheet header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px;
  padding: clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--paper-line); background: #dce4c5;
}
.sheet h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.sheet .sample-label { color: var(--paper-ink); border-color: #7b816b; }
.sheet-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: clamp(16px, 3vw, 28px); }
.sheet-summary p { font-size: .88rem; line-height: 1.3; }
.sheet-summary strong { display: block; color: var(--paper-ink); font: 800 clamp(3rem, 6vw, 4.8rem)/1 var(--display); letter-spacing: -.06em; }
.sheet-trend p { margin-bottom: 4px; font-size: .78rem; font-weight: 700; }
.sheet-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.sheet-bars li { display: grid; grid-template-rows: auto 48px; gap: 4px; justify-items: center; font-size: .79rem; font-weight: 700; }
.sheet-bars i { align-self: end; width: 100%; height: var(--size); border-radius: 4px 4px 0 0; background: #737f46; }
.sheet-bars li:nth-child(3) i { background: #414d26; }
.sheet dl { padding: 0 clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px); }
.sheet dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding-block: 13px; border-top: 1px solid var(--paper-line); font-size: .88rem; line-height: 1.45; }
.sheet dt { color: var(--paper-muted); }
.sheet dd { font-weight: 600; }
.sheet dl > .sheet-note { display: block; padding: 10px 12px; border: 0; border-radius: 8px; background: #dfe3ce; font-size: .8rem; }
.sheet-note dt { margin-bottom: 3px; font-weight: 700; }

/* Planes */
#planes { width: min(100% - 2 * var(--gutter), 1080px); border-top: 1px solid var(--line); }
.plans-head { margin-bottom: clamp(32px, 5vw, 55px); }
.plan-grid { max-width: 920px; margin-inline: auto; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { position: relative; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 24px; }
.plan-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(21px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan h3 { align-self: stretch; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.price { color: var(--ink); font-family: var(--display); font-size: clamp(2.7rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; margin-block: 10px; }
.price small { display: inline; margin-left: 4px; font-family: 'Instrument Sans', sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: inherit; }
.plan .price { margin-block: 4px 0; }
.plan-description { flex: 1; font-size: .95rem; }
.plan ul { align-self: stretch; list-style: none; padding: 0; margin-top: 4px; }
.plan li { display: flex; gap: 12px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line); font-size: .93rem; }
.plan li:last-child { padding-bottom: 0; }
.plan-check { display: grid; width: 20px; height: 20px; flex: none; place-items: center; border: 1px solid var(--soft); border-radius: 50%; color: var(--accent); }
.plan-check::before { content: ''; width: 8px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.plan.featured { border-color: var(--soft); }
.featured .plan-inner { background: var(--band); }
.plan-badge { position: absolute; z-index: 1; top: 0; left: 50%; translate: -50% -50%; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 100px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 800; white-space: nowrap; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .plan::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(230px at var(--spot-x, -460px) var(--spot-y, -460px), color-mix(in srgb, var(--accent) 75%, transparent), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .plan:hover::before { opacity: 1; }
}

.team {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center; gap: clamp(22px, 5vw, 60px); margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(21px, 4vw, 45px); border: 1px solid var(--soft); border-radius: 20px;
  background: linear-gradient(115deg, var(--band) 50%, #323822);
}
.team h3 { font-size: clamp(1.5rem, 3.4vw, 2.65rem); font-weight: 800; }
.team p { max-width: 67ch; margin-top: 12px; }
.team .button { margin-top: 18px; }
.catalogue-art {
  display: grid; place-items: center; position: relative; isolation: isolate; min-height: 166px;
  background: radial-gradient(ellipse, #d9ec8c25, transparent 68%);
}
.catalogue-sleeve {
  --offset: -35%; --angle: -21deg;
  display: grid; place-items: center; grid-area: 1 / 1; width: clamp(76px, 11vw, 124px); aspect-ratio: 1;
  transform: translateX(var(--offset)) rotate(var(--angle)); background: #535d37; border: 1px solid #899360;
  border-radius: 10px; box-shadow: 0 8px 26px #0006;
}
.catalogue-sleeve:nth-child(2) { --offset: 38%; --angle: 18deg; background: #697643; }
.catalogue-sleeve:nth-child(3) { --offset: 0%; --angle: -3deg; background: var(--accent); }
.catalogue-sleeve i {
  width: 67%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #d9ec8c 0 9%, #3e482a 10% 22%, transparent 23%), repeating-radial-gradient(circle, #242a1a 0 3px, #333b23 3px 4px);
}

/* Envío a radios */
.dispatch-band { background: var(--band); }
.dispatch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 7vw, 100px); align-items: center; }
.dispatch .section-copy .button { margin-top: 6px; }

.receipt {
  position: relative; background: var(--bg); border: 1px solid var(--soft); border-radius: 16px;
  padding: clamp(16px, 3vw, 32px); box-shadow: 0 22px 42px -26px #000c;
}
.receipt::before { content: ""; display: block; height: 3px; width: 40px; border-radius: 3px; margin-bottom: 14px; background: var(--accent); }
.receipt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.receipt-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 16px; padding-block: 14px; border-block: 1px dashed var(--soft); }
.receipt-summary div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 8px; background: var(--surface); border-radius: 8px; }
.receipt-summary dt { font-size: .75rem; line-height: 1.25; color: var(--muted); }
.receipt-summary dd { color: var(--accent); font: 800 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.receipt table { margin-top: 15px; }
.receipt-status { display: inline-block; padding: 2px 6px; border-radius: 5px; background: #d9ec8c1b; color: var(--accent); font-size: .76rem; font-weight: 700; }
.receipt-status--bounce { color: #ffc978; background: #ffab3d1a; }
.dispatch .section-copy strong { color: var(--ink); }

/* Historia, preguntas y cierre */

.story, .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px clamp(32px, 6vw, 90px); align-items: start; }
.story {
  grid-template-areas: "photo intro" "photo copy";
  grid-template-rows: auto auto;
  align-content: center;
  align-items: start;
  row-gap: 22px;
  border-bottom: 1px solid var(--line);
}
.story-intro { grid-area: intro; align-self: end; }
.story-copy { grid-area: copy; }
.story-portrait {
  grid-area: photo;
  align-self: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}
.story h2, .faq h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.story-label { color: var(--accent); font-size: .83rem; font-weight: 700; margin-bottom: 12px; }
.story blockquote { margin: 0 0 20px; padding-left: clamp(12px, 2vw, 20px); border-left: 2px solid var(--accent); }
.story blockquote p { font-size: clamp(1.06rem, 1.7vw, 1.32rem); color: var(--ink); max-width: 56ch; }
.founder-name strong { color: var(--accent); }
.founder-name p { margin-top: 4px; font-size: .91rem; }
.faq-mark {
  display: block; width: fit-content; color: var(--accent); line-height: .8;
  margin-top: 18px; font-family: var(--display); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 800;
}
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: background-color .2s, border-color .2s; }
.faq details + details { margin-top: 8px; }
.faq details[open] { border-color: var(--soft); background: #303822; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; font-weight: 700; font-size: 1.08rem; padding: 17px; border-radius: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--accent) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--accent) 0 0) center / 2px 100% no-repeat; transition: rotate .3s cubic-bezier(.16,1,.3,1); }
details[open] summary::after { rotate: 45deg; }
summary:hover, details[open] summary { color: var(--accent); }
details p { padding: 0 17px 18px; max-width: 62ch; }

.closing { display: grid; justify-items: center; gap: 36px; text-align: center; }
.closing h2 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 16ch; }
.closing .actions { justify-content: center; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 30px 40px; border-top: 1px solid var(--line); font-size: .88rem; }

/* Solicitud de demostración */
dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--soft); border-radius: 18px; width: min(calc(100% - 28px), 480px); max-height: calc(100dvh - 28px); padding: 26px; }
dialog::backdrop { background: #000b; }
body:has(dialog:modal) { overflow: hidden; }
dialog[open]:not(:modal) { position: static; margin: 0 auto var(--space); max-height: none; }
dialog:not(:modal) .close { display: none; }
.dialog-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-top h2 { font-size: 1.8rem; }
.close { display: grid; place-items: center; flex: none; border: 0; background: transparent; width: 44px; height: 44px; margin: -8px -10px 0 0; }
.offer { margin-top: 12px; color: var(--accent); font-weight: 700; }
.preview-note { margin-block: 10px 20px; font-size: .88rem; border: 1px dashed var(--soft); border-radius: 8px; padding: 10px 12px; }
form { display: grid; gap: 14px; }
form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
input { width: 100%; min-height: 46px; background: var(--bg); border: 1px solid var(--soft); border-radius: 8px; padding: 8px 12px; font-size: 1rem; caret-color: var(--accent); }
form .button { width: 100%; margin-top: 4px; }
form .button:disabled { opacity: .65; cursor: default; }
#request-done { display: grid; gap: 14px; }

@media (max-width: 960px) {
  .header:not([data-menu-ready]) { position: static; }
  .header:not([data-menu-ready]) .header-inner { min-height: var(--header); height: auto; flex-wrap: wrap; padding-block: 12px; }
  .header:not([data-menu-ready]) nav { width: 100%; order: 1; flex-wrap: wrap; gap: 8px 18px; }
  .header[data-menu-ready] nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--soft); padding: 8px var(--gutter) 16px; font-size: 1.1rem; max-height: calc(100dvh - var(--header)); overflow: auto; }
  .header[data-menu-ready] nav.open { display: flex; }
  .header[data-menu-ready] nav a { padding-block: 13px; }
  .entry { margin-left: auto; }
  .header[data-menu-ready] .menu-toggle { display: block; }
  .split-head, .report, .dispatch, .story, .faq, .plays { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-areas: "intro" "photo" "copy"; grid-template-rows: auto auto auto; }
  .story-portrait { width: min(100%, 400px); aspect-ratio: 1; }
}
@media (max-width: 700px) {
  :root { --header: 64px; }
  .header-inner { gap: 10px; }
  .header .wordmark { font-size: 2rem; }
  .entry { padding: 9px 14px; }
  .hero-inner { --mark: calc((100vw - 2 * var(--gutter)) / 2.88); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding-top: 20px; }
  .hero-wave { height: 96px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); padding-block: 18px 28px; gap: 14px; }
  .hero-copy h1 { grid-row: auto; }
  .hero-copy .actions { grid-column: 1; }
  .hero-copy h1 { font-size: clamp(2.05rem, 9.4vw, 3.4rem); }
  .hero-copy .actions { flex-direction: column; align-items: stretch; }
  .hero-copy .button { width: 100%; }
  .steps, .plan-grid, .use-list, .team { grid-template-columns: minmax(0, 1fr); }
  .use-list article { grid-template-columns: 48px minmax(0, 1fr); gap: 5px 12px; }
  .use-graphic { width: 48px; }
  .use-graphic--cities i:nth-child(1) { left: 12px; top: 12px; }
  .use-graphic--cities i:nth-child(2) { left: 23px; top: 24px; }
  .use-graphic--cities i:nth-child(3) { left: 34px; top: 34px; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .step-select { margin: 0; }
  .steps p { grid-column: 2; margin-top: 4px; }
  .catalogue-art { grid-row: 1; min-height: 112px; }
  .faq-mark { font-size: 3.5rem; margin-top: 12px; }
  .plan .button { width: 100%; }
  .dash-top { flex-wrap: wrap; gap: 12px; }
  .bars { gap: 8px; }
  .bars span { font-size: .7rem; }
  .sheet dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Escritorio de poca altura: la portada completa debe caber */
@media (min-width: 961px) and (max-height: 760px) {
  .hero-inner { --mark: min(calc((100vw - 2 * var(--gutter)) / 2.92), 31svh); padding-top: 12px; }
  .hero-copy { gap: 12px; padding-block: 18px 20px; }
  .hero-copy h1 { font-size: min(4.4vw, 6.4svh); }
  .hero-copy > p { font-size: 1rem; max-width: 54ch; }
  .hero-wave { height: clamp(80px, 13svh, 120px); }
}
