/* Landing de Grappl. Un solo sistema de diseño; recursos propios (nada de CDNs, sin JS).
   Ámbar = el peldaño, azul marino = el muro, el panda asoma por encima. */

@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #efece5;
  --line: #e4dfd4;
  --line-strong: #cfc8b9;
  --ink: #151b2e;
  --ink-dim: #535b6c;
  --accent: #f2b33d;
  --accent-hover: #e5a22a;
  --accent-ink: #8a5800;
  --navy: #19213a;
  --navy-deep: #11172b;
  --joint: #34426e;
  --focus: #3556d6;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;
  --r-sm: 8px;
  --r-md: 12px;
  --shadow: 0 1px 0 rgb(0 0 0 / .03), 0 12px 32px -16px rgb(21 27 46 / .25);
  --pad-y: clamp(var(--s7), 9vw, var(--s9));
  --wall-h: clamp(5.5rem, 12vw, 8.5rem);
  --cop-h: clamp(.7rem, calc(var(--wall-h) * .12), .9rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c111e;
    --surface: #131a2c;
    --surface-2: #19213a;
    --line: #253050;
    --line-strong: #3a4670;
    --ink: #e9ecf4;
    --ink-dim: #a0a9be;
    --accent-hover: #ffc457;
    --accent-ink: #f2b33d;
    --navy-deep: #0a0e1a;
    --focus: #9db2ff;
    --shadow: 0 1px 0 rgb(255 255 255 / .03), 0 16px 36px -18px rgb(0 0 0 / .7);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* sobre ámbar el azul de foco apenas se ve: anillo marino */
.on-accent :focus-visible { outline-color: var(--navy); outline-width: 3px; }
.on-navy :focus-visible { outline-color: #fff; }
::selection { background: var(--accent); color: var(--navy); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 100; padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 650; text-decoration: none; }
.skip:focus { top: .75rem; }

.kicker { font: 500 .8rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: var(--s3); }

/* ── Iconos ───────────────────────────────────────────────────────────── */
.ic { width: 1.25rem; height: 1.25rem; flex: none; display: block; }
.ic-box { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.ic-box .ic { width: 1.35rem; height: 1.35rem; }

/* ── Botones ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: 0 1.25rem;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--accent); color: var(--navy);
  font: 650 1rem/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 3px; }
.btn-lg { min-height: 48px; padding: 0 1.5rem; font-size: 1.05rem; }
.btn .ic { width: 1.1rem; height: 1.1rem; transition: transform .15s; }
.btn:hover .ic { transform: translateX(2px); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: inherit; }
.btn-ghost:hover { background: rgb(128 128 128 / .12); }
.on-accent .btn { background: var(--navy); color: #fff; }
.on-accent .btn:hover { background: #0f1630; }
.on-accent .btn-ghost { background: transparent; border-color: rgb(25 33 58 / .35); color: var(--navy); }
.on-accent .btn-ghost:hover { background: rgb(25 33 58 / .08); }
.on-navy .btn-ghost { border-color: rgb(255 255 255 / .4); color: #fff; }
.on-navy .btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; }

.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-underline-offset: 4px; }
.arrow-link .ic { width: 1.05rem; height: 1.05rem; transition: transform .15s; }
.arrow-link:hover .ic { transform: translateX(2px); }

/* ── Cabecera (ámbar) ─────────────────────────────────────────────────── */
.top { position: relative; z-index: 10; background: var(--accent); color: var(--navy); }
.bar { position: relative; display: flex; align-items: center; gap: .75rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.brand img { width: 2.3rem; height: 2.3rem; display: block; }
.main-nav { display: none; gap: 1.5rem; margin-left: 2rem; font-weight: 550; font-size: .95rem; }
.main-nav a, .login { text-decoration: none; opacity: .88; }
.main-nav a:hover, .login:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.login { display: none; margin-left: auto; padding-right: 1rem; margin-right: .25rem; border-right: 1px solid rgb(25 33 58 / .25); font-weight: 550; font-size: .95rem; line-height: 1.6; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 .6rem; margin-left: auto;
  border: 1px solid rgb(25 33 58 / .4); border-radius: var(--r-sm); font: 600 .85rem/1 var(--mono); letter-spacing: .04em; text-decoration: none; }
.lang:hover { background: rgb(25 33 58 / .08); }
.top-cta { padding: 0 1rem; font-size: .95rem; }

.menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; border: 1px solid rgb(25 33 58 / .4); border-radius: var(--r-sm); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: rgb(25 33 58 / .1); }
.menu-panel { position: absolute; right: 0; top: calc(100% - .25rem); z-index: 30; width: min(17rem, 100%); display: grid; padding: .4rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: var(--r-sm); font-weight: 550; text-decoration: none; }
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel a:last-child { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: .25rem; }

@media (min-width: 860px) {
  .main-nav, .login { display: flex; }
  .lang { margin-left: 0; }
  .menu { display: none; }
}
@media (max-width: 479px) {
  .top-cta { display: none; }
  .bar { gap: .5rem; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--accent); color: var(--navy); overflow: hidden; padding: 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s6); align-items: end; padding-top: clamp(2rem, 6vw, 4.5rem); }
.copy { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.copy h1 { max-width: 13ch; text-wrap: balance; }
.copy h1 em { font-style: normal; font-size: 1.14em; line-height: 1; background: linear-gradient(transparent 62%, #fff 62%, #fff 92%, transparent 92%); padding: 0 .06em; margin-inline: -.06em; }
.copy .lead { margin-top: var(--s5); font-size: 1.2rem; line-height: 1.5; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.cta-note { display: flex; align-items: center; gap: .5rem; margin-top: var(--s4); font-size: .9rem; font-weight: 550; }
.cta-note .ic { width: 1.1rem; height: 1.1rem; }

.stage { position: relative; align-self: end; display: flex; justify-content: center; margin-bottom: calc(var(--wall-h) * -0.28); z-index: 2; }
.panda { width: min(23rem, 100%); height: auto; display: block; }
.hook { position: absolute; right: -6%; bottom: calc(var(--wall-h) * -0.73); height: calc(var(--wall-h) * 1.6); width: auto; }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
.pupils { animation: look 6s ease-in-out infinite; }
@keyframes look { 0%,15% { transform: translateX(0); } 22%,35% { transform: translateX(.7px); } 42%,58% { transform: translateX(0); } 65%,80% { transform: translateX(-.7px); } 88%,100% { transform: translateX(0); } }
@keyframes blink { 0%,91%,100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }

.wall {
  position: relative; z-index: 1; height: var(--wall-h); background-color: var(--navy);
  background-image: linear-gradient(transparent 62%, var(--navy)), url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='96'%3E%3Crect%20width='240'%20height='96'%20fill='%2310172b'/%3E%3Crect%20x='-59'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='1'%20y='1'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='1'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='61'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='121'%20y='1'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='121'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='181'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='241'%20y='1'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='241'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='-29'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='31'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='91'%20y='25'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='91'%20y='25'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='151'%20y='25'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='211'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='271'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='-59'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='-59'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='1'%20y='49'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='1'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='61'%20y='49'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='121'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='181'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='181'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='241'%20y='49'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='241'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='-29'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='31'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='91'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='151'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='151'%20y='73'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='211'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='271'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3C/svg%3E");
  background-size: 100% 100%, 240px 96px; background-position: 0 0, 0 var(--cop-h);
}
/* albardilla: la cresta donde se agarran las patas y el garfio */
.wall::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--cop-h); background: #243058; box-shadow: inset 0 2px 0 #4a5a94, 0 2px 0 #0d1325; }

@media (max-width: 859px) {
  :root { --wall-h: 4.75rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .copy { padding-bottom: var(--s4); }
  .stage { order: 2; margin-bottom: calc(var(--wall-h) * -0.25); }
  .panda { width: min(11.5rem, 58%); }
  .hook { right: 0; height: calc(var(--wall-h) * 1.9); bottom: calc(var(--wall-h) * -0.95); }
}

/* ── Franja de pruebas ────────────────────────────────────────────────── */
.proof { background: var(--navy); color: #fff; padding-block: var(--s4) var(--s7); }
.pillars { list-style: none; display: grid; gap: var(--s4) var(--s6); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.pillars li { display: flex; align-items: flex-start; gap: var(--s3); }
.proof .ic-box { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); color: #fff; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid rgb(255 255 255 / .14); font-size: .92rem; color: #c9d0e4; }
.platforms > .ic { width: 1.2rem; height: 1.2rem; }
.platforms ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: 0; padding: 0; }
.platforms li { padding: .25rem .8rem; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; color: #fff; font-weight: 600; }
.platforms .arrow-link { margin-left: .25rem; color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .4); }
.platforms .arrow-link:hover { text-decoration-color: #fff; }
@media (min-width: 861px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Secciones ────────────────────────────────────────────────────────── */
section { padding-block: var(--pad-y); }
section.hero { padding: 0; }
.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: var(--s7); }
.sec-head h2 { max-width: 22ch; }
.sec-head p:not(.kicker) { margin-top: var(--s3); color: var(--ink-dim); max-width: 34rem; font-size: 1.08rem; }

/* Por qué Grappl */
.why-grid { display: grid; gap: var(--s7); }
.why-intro h2 { max-width: 16ch; }
.lede { margin-top: var(--s4); color: var(--ink-dim); max-width: 34rem; font-size: 1.08rem; }
.feat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); padding-block: var(--s5); border-top: 1px solid var(--line); }
.feat:first-child { border-top: 0; padding-top: 0; }
.feat p { margin-top: var(--s2); color: var(--ink-dim); max-width: 34rem; }
.feat-lead .feat h3 { font-size: 1.3rem; }
.feat-lead .feat .ic-box { width: 3rem; height: 3rem; }
.feat-sub { border-top: 1px solid var(--line-strong); }
.feat-sub .feat { padding-block: var(--s4); }
.feat-sub .feat:first-child { border-top: 0; padding-top: var(--s5); }
.feat-sub .feat h3 { font-size: 1.02rem; }
.feat-sub .feat p { font-size: .95rem; margin-top: var(--s1); }
.feat-sub .ic-box { width: 2.25rem; height: 2.25rem; }
.feat-sub .ic-box .ic { width: 1.2rem; height: 1.2rem; }
.tech { display: inline-block; margin-top: var(--s3); padding: .15rem .55rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 500 .76rem/1.5 var(--mono); letter-spacing: .02em; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
}

/* Diagrama de ruta */
.route { margin: var(--s6) auto 0; max-width: 30rem; }
.route svg { display: block; width: 100%; height: auto; overflow: visible; }
.route figcaption { margin-top: var(--s3); font-size: .88rem; line-height: 1.5; color: var(--ink-dim); max-width: 30rem; }
.route text { font-family: var(--mono); font-size: 16px; fill: var(--ink); }
.route .r-dim { fill: var(--ink-dim); font-size: 13.5px; }
.r-ground { stroke: var(--line); stroke-width: 1.5; fill: none; }
.r-wall { fill: var(--navy); stroke: var(--line-strong); stroke-width: 1; }
.r-joint { stroke: var(--joint); stroke-width: 2; fill: none; }
.r-shared { stroke: var(--ink-dim); stroke-width: 2; stroke-dasharray: 4 5; fill: none; stroke-linecap: round; }
.r-x { stroke: var(--ink-dim); stroke-width: 2; stroke-linecap: round; fill: none; }
.r-out { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.r-premium { stroke: var(--accent); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.r-node { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.r-srv { fill: var(--accent); }
.r-srv-dot { fill: var(--navy); }
.r-net { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.r-tag rect { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.r-tag text { fill: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .r-premium { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}

/* Cómo funciona: una ruta vertical */
.steps { list-style: none; counter-reset: s; max-width: 34rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 var(--s6) 3.5rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--surface); font: 600 .9rem/1 var(--mono);
}
.steps li:first-child::before { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.125rem; top: 2.6rem; bottom: .35rem; width: 1px; background: var(--line-strong); }
.steps h3 { padding-top: .2rem; }
.steps p { margin-top: var(--s1); color: var(--ink-dim); }
.acct { display: inline-block; margin-top: var(--s3); padding: .3rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font: 500 .95rem/1.4 var(--mono); letter-spacing: .06em; }
.steps .tech { margin-top: var(--s3); }
.plats { margin-top: var(--s2); font: 500 .8rem/1.5 var(--mono); color: var(--ink-dim); }
.steps .plats { margin-top: var(--s2); }
.travel { margin-top: var(--s6); max-width: 34rem; padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.travel h3 { font: 500 .8rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: var(--s3); }
.travel ul { list-style: none; display: grid; gap: var(--s3); }
.travel li { display: flex; align-items: flex-start; gap: .65rem; }
.travel li .ic { width: 1.1rem; height: 1.1rem; margin-top: .25rem; color: var(--accent-ink); }
.travel .arrow-link { margin-top: var(--s4); }
.how-grid.has-shot { display: grid; gap: var(--s7); align-items: center; }
.phone { margin: 0; width: min(15rem, 100%); aspect-ratio: 9 / 20; border: .5rem solid var(--navy); border-radius: 2.2rem; overflow: hidden; background: var(--navy); position: relative; justify-self: center; box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); }
.phone::before { content: ""; position: absolute; z-index: 1; top: .45rem; left: 50%; width: 28%; height: .5rem; transform: translateX(-50%); border-radius: 999px; background: var(--navy); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* El móvil "sobre el muro": bloque ámbar con la albardilla abajo y dos etiquetas con línea guía */
.shot-stage { --ph: 15rem; position: relative; display: grid; justify-items: center; width: min(100%, 36rem); margin-inline: auto; padding-top: 2.5rem; overflow: hidden; background: var(--accent); border-radius: var(--r-md); }
.phone-wrap { position: relative; z-index: 2; width: var(--ph); margin-bottom: -1.6rem; }
.phone-wrap .phone { width: 100%; }
.stage-wall { --wall-h: 4.5rem; --cop-h: .7rem; width: 100%; z-index: 0; }
.callout { position: absolute; display: none; align-items: center; gap: .3rem; white-space: nowrap; }
.callout b { padding: .4rem .6rem; border-radius: var(--r-sm); background: var(--navy); color: #fff; font: 500 .74rem/1 var(--mono); letter-spacing: .04em; }
.callout i { position: relative; display: block; width: 5rem; height: 1.5px; background: #fff; }
.callout i::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.c1 { top: 45%; right: calc(100% - 4.8rem); transform: translateY(-50%); }
.c1 i::after { right: -1px; }
.c2 { top: 81%; left: calc(100% - 1.8rem); transform: translateY(-50%); flex-direction: row-reverse; }
.c2 i { width: 3.4rem; }
.c2 i::after { left: -1px; }
@media (min-width: 560px) { .callout { display: flex; } }
@media (min-width: 960px) {
  .how-grid.has-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
  .shot-stage { --ph: 14rem; }
  .callout { display: none; }
}
@media (min-width: 1100px) { .shot-stage { --ph: 17rem; } .callout { display: flex; } }

/* Precios */
.pricing-body { display: grid; gap: var(--s7); align-items: start; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.plan { display: flex; flex-direction: column; max-width: 28rem; padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.plan h3 { font: 500 .8rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.plan .price { margin-top: var(--s3); font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-dim); }
.plan .quota { margin-top: var(--s4); font-size: 1.05rem; }
.plan .quota b { font-weight: 650; }
.plan .hint { margin-top: var(--s1); font-size: .9rem; color: var(--ink-dim); }
.plan .incl { list-style: none; display: grid; gap: .1rem; margin: var(--s5) 0 var(--s6); padding: var(--s5) 0 0; border-top: 1px solid var(--line); font-size: .97rem; }
.plan .incl li { display: flex; align-items: flex-start; gap: .6rem; padding: .35rem 0 .35rem .6rem; border-left: 3px solid transparent; }
.plan .incl li .ic { width: 1.1rem; height: 1.1rem; margin-top: .25rem; color: var(--accent-ink); }
.plan .incl li.hl { border-left-color: var(--accent); font-weight: 650; background: linear-gradient(90deg, rgb(242 179 61 / .14), transparent 80%); }
.plan .btn { width: 100%; margin-top: auto; }
.plan-note { margin-top: var(--s3); text-align: center; font-size: .82rem; color: var(--ink-dim); }

.terms-list h3 { font-size: 1.3rem; margin-bottom: var(--s5); }
.terms-list dl { display: grid; gap: var(--s5) var(--s6); }
.terms-list dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s4); }
.terms-list .ic-box { grid-row: 1 / 3; }
.terms-list dt { font-weight: 650; line-height: 1.3; padding-top: .4rem; }
.terms-list dd { margin-top: var(--s1); color: var(--ink-dim); font-size: .95rem; max-width: 32rem; }
.support-line { display: flex; align-items: center; gap: .6rem; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: .95rem; }
.support-line .ic { width: 1.2rem; height: 1.2rem; color: var(--ink-dim); }
.terms-list .arrow-link { margin-top: var(--s4); }
@media (min-width: 900px) {
  .pricing .pricing-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); }
  .pricing.many .pricing-body { grid-template-columns: minmax(0, 1fr); }
  .pricing.many .terms-list dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing.many .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .pricing.many .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq-grid { display: grid; gap: var(--s6); }
.faq-intro h2 { max-width: 12ch; }
.faq-more { margin-top: var(--s4); color: var(--ink-dim); max-width: 22rem; }
.faq-intro .arrow-link { margin-top: var(--s3); }
.faq { max-width: 42rem; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 44px; padding: .9rem 2.5rem .9rem 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.05rem; line-height: 1.35; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .9rem; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; }
.faq summary::after { transition: transform .15s; transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 2.5rem 1.2rem 0; color: var(--ink-dim); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
  .faq-intro { position: sticky; top: var(--s6); }
}

/* Cierre */
.final { color: #fff; background-color: var(--navy);
  background-image: linear-gradient(rgb(25 33 58 / .86), rgb(25 33 58 / .86)), url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='96'%3E%3Crect%20width='240'%20height='96'%20fill='%2310172b'/%3E%3Crect%20x='-59'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='1'%20y='1'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='1'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='61'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='121'%20y='1'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='121'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='181'%20y='1'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='241'%20y='1'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='241'%20y='1'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='-29'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='31'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='91'%20y='25'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='91'%20y='25'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='151'%20y='25'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='211'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='271'%20y='25'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='-59'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='-59'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='1'%20y='49'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='1'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='61'%20y='49'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='121'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='181'%20y='49'%20width='58'%20height='22'%20fill='%2319213a'/%3E%3Crect%20x='181'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='241'%20y='49'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='241'%20y='49'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='-29'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='31'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='91'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='151'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3Crect%20x='151'%20y='73'%20width='58'%20height='1'%20fill='%232d3a66'/%3E%3Crect%20x='211'%20y='73'%20width='58'%20height='22'%20fill='%231c2542'/%3E%3Crect%20x='271'%20y='73'%20width='58'%20height='22'%20fill='%23172036'/%3E%3C/svg%3E");
  background-size: auto, 240px 96px; text-align: center; }
.final-grid { display: grid; gap: var(--s5); justify-items: center; }
.final h2 { max-width: 18ch; }
.final p { margin-top: var(--s3); max-width: 34rem; color: #d3d9ea; font-size: 1.08rem; }
.final .actions { margin: 0; justify-content: center; }
@media (min-width: 860px) {
  .final { text-align: left; }
  .final-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; gap: var(--s8); }
  .final .actions { justify-content: flex-end; }
}

/* ── Pie ──────────────────────────────────────────────────────────────── */
footer { background: var(--navy-deep); color: #c9d0e4; padding-block: var(--s7) var(--s6); font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .brand { color: #fff; font-size: 1.15rem; }
.foot-brand .brand img { width: 1.9rem; height: 1.9rem; }
.foot-brand p { margin-top: var(--s3); max-width: 18rem; }
.foot-lang { display: inline-block; margin-top: var(--s3); }
.foot-h { margin-bottom: var(--s3); font: 500 .75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #8e98b3; }
footer ul { list-style: none; display: grid; gap: .1rem; }
footer li a, .foot-lang { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; color: #dfe4f1; text-decoration: none; }
footer li a:hover, .foot-lang:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
footer :focus-visible { outline-color: #9db2ff; }
.with-ic .ic { width: 1.05rem; height: 1.05rem; }
.copy-line { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; color: #8e98b3; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

/* ── Páginas legales y guía ───────────────────────────────────────────── */
.legal { padding-block: clamp(var(--s6), 6vw, var(--s8)); }
.legal .wrap { max-width: 44rem; }
.legal.guide .wrap { max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.035em; }
.legal .upd { color: var(--ink-dim); margin: var(--s2) 0 var(--s6); }
.legal h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); letter-spacing: -.02em; margin: var(--s7) 0 var(--s2); max-width: none; scroll-margin-top: 1rem; }
.legal h3 { font-size: 1.05rem; letter-spacing: -.01em; margin: var(--s5) 0 .2rem; }
.legal p { max-width: 38rem; }
.legal .note { color: var(--ink-dim); font-size: .92rem; margin-bottom: var(--s4); }
.legal ul, .legal ol { margin: var(--s2) 0; padding-left: 1.4rem; max-width: 38rem; }
.legal li { margin-bottom: .3rem; }
.legal a { text-underline-offset: 3px; }
.legal blockquote { margin: var(--s4) 0; padding: .9rem 1.1rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: 38rem; font-size: .95rem; }
.legal code { font: .9em var(--mono); background: var(--surface-2); padding: .1rem .35rem; border-radius: 4px; }
.legal table { width: 100%; border-collapse: collapse; margin: var(--s2) 0 var(--s4); font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 650; color: var(--ink-dim); }
@media (max-width: 559px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal td { display: block; } .legal thead { display: none; } .legal td:first-child { font-weight: 650; padding-bottom: 0; border: 0; } }
.legal ol.toc { margin: var(--s4) 0 var(--s5); padding: var(--s4) 1.2rem var(--s4) 2.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); max-width: 24rem; }
.legal ol.toc li { margin: 0; padding: .15rem 0; }
.legal ul.check { list-style: none; padding-left: 0; }
.legal ul.check li { padding-left: 1.7rem; position: relative; }
.legal ul.check li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--accent-ink); }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); margin-top: var(--s7); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.guide-cta p { max-width: 30rem; }
.guide-cta .btn { min-height: 48px; padding: 0 1.5rem; }

/* Capturas anotadas de la guía */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) 1.25rem; margin: var(--s4) 0 var(--s2); max-width: none; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: .7rem; font-size: .9rem; line-height: 1.4; }
.phone.shot { width: 100%; aspect-ratio: auto; border-width: .4rem; border-radius: 1.6rem; }
.phone.shot img { height: auto; object-fit: fill; }
.phone.shot::before { top: .3rem; height: .35rem; }
.mk { position: absolute; z-index: 2; width: 2.3rem; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 0 0 2px rgb(0 0 0 / .45); }
.mk::after { content: attr(data-n); position: absolute; top: -.75rem; left: -.75rem; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: .75rem; font-weight: 700; }
.mk.a { left: 92%; top: 8.6%; }
.mk.b, .mk.c { width: 29%; aspect-ratio: auto; height: 12.8%; top: 84%; border-radius: .9rem; }
.mk.b { left: 18%; }
.mk.c { left: 50%; }
.mk.d { left: 50%; top: 52.8%; width: 38%; }
@media (min-width: 860px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Ajustes finales ──────────────────────────────────────────────────── */
@media (max-width: 479px) {
  html { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .btn-lg { width: 100%; }
  .actions { flex-direction: column; }
  .plan { padding: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyes, .pupils { animation: none; }
  .btn, .btn .ic, .arrow-link .ic, .faq summary, .faq summary::after { transition: none; }
  .btn:hover, .btn:hover .ic, .arrow-link:hover .ic { transform: none; }
}
