/* Geofirma · web pública geofirma.es (docs/doing/15-WEB-GEOFIRMA.md).
   Un solo fichero: tokens, piezas comunes (barra, pie, botones, tarjetas) y las
   secciones de la portada y las páginas. Sin Tailwind. Solo se animan transform
   y opacity; con prefers-reduced-motion no se mueve nada. Móvil primero. */

/* ── Tipografía propia (fuentes variables, subconjunto latino, OFL) ── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../web/fonts/inter.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../web/fonts/outfit.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Tokens: la paleta del logo (azul marino #40608f, verde #7eb564) y la del panel ── */
:root {
    --ink: #13203a;
    --ink-2: #4a5a73;
    --ink-3: #7d8aa0;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --line: #e1e7ef;
    --navy: #40608f;
    --navy-deep: #2d4668;
    --blue: #4c7ab7;
    --blue-soft: #e8f0fa;
    --green: #7eb564;
    --green-deep: #5f9a46;
    --green-soft: #eef6e5;
    --amber: #b45309;
    --radius: 18px;
    --shadow: 0 2px 8px rgba(19, 32, 58, .06);
    --shadow-lg: 0 30px 60px -30px rgba(19, 32, 58, .35);
    --display: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body.web { font-family: var(--text); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.01em; color: var(--navy-deep); }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; margin: 10px 0 14px; }
h3 { font-size: 20px; font-weight: 700; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.wrap-narrow { max-width: 780px; }
.center { text-align: center; }
.center .lead, .center .actions { margin-inline: auto; justify-content: center; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 38em; margin-bottom: 22px; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; font-family: var(--text); transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: #4f8639; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c5d2e3; }
.btn-ghost:hover { border-color: var(--navy); background: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.sec-ink .btn-ghost, .sec-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.sec-ink .btn-ghost:hover, .sec-cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ── Barra superior ── */
.topbar { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.solid { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 66px; }
.brand img { height: 44px; width: auto; }
.topbar .links { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.topbar .links a { color: var(--ink-2); padding: 8px 11px; border-radius: 999px; transition: color .15s, background .15s; }
.topbar .links a:hover { color: var(--navy); background: var(--blue-soft); }
.topbar .links a.on { color: var(--navy); background: var(--blue-soft); }
.topbar .links .only-sm { display: none; }
.topbar .tools { display: flex; align-items: center; gap: 8px; }
.btn-login { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--navy); padding: 9px 14px; border-radius: 999px; border: 1.5px solid #c5d2e3; background: #fff; white-space: nowrap; }
.btn-login:hover { border-color: var(--navy); }
.btn-trial { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 800; color: #fff; background: var(--green-deep); padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.btn-trial:hover { background: #4f8639; }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.menu-btn { display: none; }
@media (max-width: 960px) {
    .topbar .links { gap: 0; font-size: 12.5px; }
    .topbar .links a { padding: 8px 8px; }
    .btn-login span { display: none; }
    .btn-login { padding: 9px 10px; }
}
@media (max-width: 760px) {
    .topbar .inner { height: 60px; }
    .brand img { height: 38px; }
    .menu-btn { display: flex; order: 3; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: center; border-radius: 12px; cursor: pointer; }
    .menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .menu-toggle:focus-visible ~ .menu-btn { outline: 3px solid var(--blue); }
    .topbar .links { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 16px 16px; gap: 2px; font-size: 16px; }
    .menu-toggle:checked ~ .links { display: flex; }
    .topbar .links a { padding: 12px 14px; }
    .topbar .links .only-sm { display: block; }
    .btn-login { display: none; }
    .topbar .tools { margin-left: auto; }
}

/* ── Secciones ── */
.sec { padding: 88px 0; }
.sec-top { padding-top: 48px; }
.sec-soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-ink { background: var(--navy-deep); color: #fff; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink h2 em { color: #b9d99a; }
.sec-ink .eyebrow { color: #b9d99a; }
.sec-ink .lead { color: rgba(255, 255, 255, .85); }
.sec-cta { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #4c7ab7); color: #fff; }
.sec-cta h2 { color: #fff; }
.sec-cta h2 em { color: #c8e6ab; }
.sec-cta .lead { color: rgba(255, 255, 255, .88); }
.sec-narrow { padding: 120px 0; }
.rv { transition: opacity .7s ease, transform .7s ease; transition-delay: calc(min(var(--i, 0), 8) * 70ms); }
.js .rv:not(.in) { opacity: 0; transform: translateY(24px); }
.tag { display: inline-block; vertical-align: middle; font: 700 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--green-deep); padding: 5px 8px; border-radius: 999px; margin-left: 6px; }
.tag-soft { background: var(--blue-soft); color: var(--navy); margin: 0; }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: var(--blue-soft); color: var(--navy-deep); font-size: 15px; }
.note svg { flex: none; margin-top: 2px; }
.note a { font-weight: 700; text-decoration: underline; }
.box { padding: 16px 18px; border-radius: 14px; background: var(--blue-soft); color: var(--navy-deep); margin-bottom: 20px; }
.box-ok { background: var(--green-soft); }
.box-ok h2 { margin-bottom: 6px; }
.box-ok .btn { margin-top: 12px; }
.box-err { background: #fdecec; color: #8a1c1c; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; background: linear-gradient(180deg, #eef3fa 0%, var(--bg) 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(60% 50% at 85% 20%, rgba(76, 122, 183, .18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(126, 181, 100, .18), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero h1 { margin: 10px 0 16px; }
.hero .lead { font-size: 19px; }
.free { font-size: 14px; color: var(--ink-3); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green-deep); flex: none; }
.phonebox { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* ── Teléfono ── */
.phone { position: relative; width: min(290px, 74vw); border-radius: 13.5% / 6.3%; background: #1d2a44; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 0 0 1px rgba(16, 28, 46, .35); container-type: inline-size; }
.phone .screen { position: relative; margin: 2cqw; border-radius: 11.5cqw; overflow: hidden; background: #fff; }
.sbar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 11cqw; padding: 0 8cqw 0 9cqw; font: 700 4.2cqw/1 var(--text); color: #0b1220; background: #fff; }
.sbar::after { content: ""; position: absolute; left: 50%; top: 2.6cqw; transform: translateX(-50%); width: 28cqw; height: 7.6cqw; border-radius: 5cqw; background: #0b1220; }
.sbar svg { height: 3.6cqw; width: auto; }
.shot { position: relative; aspect-ratio: 390 / 844; background: #f4f6fa; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s; }
.shot img.off { opacity: 0; }
.phone-sm { width: 180px; }

/* ── Tiendas ── */
.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sbtn { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; background: var(--ink); color: #fff; transition: transform .15s, background .2s; }
.sbtn:hover { background: var(--navy-deep); }
.sbtn:active { transform: scale(.98); }
.sbtn svg { width: 20px; height: 20px; }
.stores-dark { margin-top: 28px; }
.stores-dark .sbtn { background: #fff; color: var(--ink); }
.stores-footer { justify-content: flex-start; margin-top: 14px; }
.stores-footer .sbtn { min-height: 42px; font-size: 13.5px; padding: 0 16px; gap: 8px; color: #fff; }
.stores-footer .sbtn svg { width: 18px; height: 18px; }

/* ── Tarjetas ── */
.cards { display: grid; gap: 18px; margin-top: 30px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.card h3, .cards-plain h3 { margin: 14px 0 8px; font-size: 18px; }
.card p, .cards-plain p { color: var(--ink-2); font-size: 15px; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); }
.card-icon svg { width: 24px; height: 24px; }
.cards-plain li { padding: 6px 0; }
.ticks { display: grid; gap: 8px; margin: 14px 0; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; gap: 9px; align-items: flex-start; }
.ticks svg { flex: none; color: var(--green-deep); margin-top: 3px; }
.ticks-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 18px; }

/* ── Cómo funciona ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 24px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 18px var(--display); }
.steps h3 { margin: 14px 0 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ── Portal: capturas en «navegador» ── */
.browser { margin: 30px 0 10px; border-radius: 16px; overflow: hidden; background: #1d2a44; box-shadow: var(--shadow-lg); border: 1px solid rgba(19, 32, 58, .25); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #2b3a57; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.browser-bar i { margin-left: 12px; font: 12px var(--text); color: rgba(255, 255, 255, .7); font-style: normal; }
.browser img { width: 100%; }
.shots-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.shots-2 .browser { margin: 0; }

/* ── Extras ── */
.extra { display: flex; flex-direction: column; }
.extra-head { display: flex; justify-content: space-between; align-items: flex-start; }
.extra.soon .card-icon { background: #eef1f5; color: var(--ink-3); }
.price-from { font: 800 17px var(--display); color: var(--navy); margin-bottom: 8px; }
.extra-prices { margin-top: auto; padding-top: 10px; font-size: 14px; }
.extra-prices summary { cursor: pointer; color: var(--navy); font-weight: 700; list-style: none; }
.extra-prices summary::-webkit-details-marker { display: none; }
.extra-prices summary::after { content: " ▾"; }
.extra-prices[open] summary::after { content: " ▴"; }
.extra-prices table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.extra-prices th, .extra-prices td { text-align: left; padding: 6px 0; border-top: 1px solid var(--line); font-weight: 600; }
.extra-prices td { text-align: right; }
.extra-prices small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.extra-foot { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; }
.extra-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ── Precios: calculadora ── */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; margin: 30px 0 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.calc-left { padding: 28px 28px 24px; }
.calc-right { padding: 28px; background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.calc h3 { font-size: 22px; margin-bottom: 14px; }
.calc-users { display: block; font-weight: 700; margin-bottom: 8px; }
.calc-input { display: flex; align-items: center; gap: 16px; }
.calc-input input[type=number] { width: 92px; height: 48px; border: 1.5px solid #c5d2e3; border-radius: 12px; padding: 0 12px; font: 800 20px var(--display); color: var(--navy-deep); text-align: center; }
.calc-input input[type=range] { flex: 1; accent-color: var(--green-deep); }
.calc-plan { margin: 16px 0 18px; font-size: 16px; }
.calc-plan b { color: var(--navy); font-family: var(--display); font-size: 18px; }
.calc-extras p { font-weight: 700; margin-bottom: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.calc-extra { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.calc-extra input { width: 18px; height: 18px; accent-color: var(--green-deep); }
.calc-extra span { flex: 1; font-size: 15px; }
.calc-extra b { color: var(--navy); }
.calc-extra.soon { opacity: .6; cursor: default; }
.calc-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc-line-extras { flex-direction: column; gap: 6px; }
.calc-line-extras div { display: flex; justify-content: space-between; }
.calc-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 0 4px; }
.calc-total span { font-weight: 700; }
.calc-total b { font: 800 40px/1 var(--display); color: var(--navy-deep); }
.calc-total small { grid-column: 2; text-align: right; color: var(--ink-3); font-size: 13px; }
.calc-right .btn { margin-top: 6px; }

/* ── Precios: planes ── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.plan-on { border-color: var(--green-deep); transform: translateY(-4px); }
.plan-tag { position: absolute; top: -12px; left: 18px; font: 700 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--green-deep); padding: 6px 9px; border-radius: 999px; }
.plan-on .plan-tag { display: inline-block !important; }
.plan h3 { font-size: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 6px; }
.plan-price b { font: 800 36px/1 var(--display); color: var(--navy-deep); }
.plan-price span { color: var(--ink-2); font-size: 14px; }
.plan-price small { color: var(--ink-3); }
.plan-users { font-weight: 700; color: var(--navy); }
.plan-extra { font-size: 13.5px; color: var(--ink-2); }
.plan .muted { font-size: 13.5px; margin: 4px 0 10px; }
.plan-trial { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--green-deep); font-weight: 700; margin-bottom: 14px; }
.includes { margin-top: 30px; padding: 24px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.includes h3 { margin-bottom: 6px; }
.support { margin-top: 50px; }
.support h3 { font-size: 26px; }
.support h4 { font-size: 18px; }
.support .cards { margin-top: 10px; }

/* ── Novedades ── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card time { font-size: 12.5px; color: var(--ink-3); padding: 16px 20px 0; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { padding: 6px 20px 0; font-size: 18px; }
.post-card p { padding: 8px 20px 0; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.post-card .more { padding: 14px 20px 18px; font-weight: 700; color: var(--navy); font-size: 14px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; color: var(--ink-3); }
.post h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 8px 0 10px; }
.post-cover { border-radius: var(--radius); margin: 22px 0 28px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--navy); }
.post-nav a.right { text-align: right; }
.post-nav small { color: var(--ink-3); font-weight: 400; }

/* ── Prosa (entradas y textos legales) ── */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose h4 { font-size: 18px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: 14px; margin: 1.4em auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-3); text-align: center; }
.prose blockquote { border-left: 4px solid var(--green); padding: 4px 0 4px 18px; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose-legal { font-size: 15.5px; }
.prose-legal h2 { font-size: 22px; }
.prose-legal h3 { font-size: 18px; }
.prose-legal .clearboth { display: none; }
.prose-legal .text-large { font-size: inherit; }
.prose-legal .text-primary { color: var(--navy); }

/* ── Preguntas ── */
.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; cursor: pointer; font: 700 17px var(--text); color: var(--navy-deep); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--green-deep); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* ── Distribuidor ── */
.dealer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.dealer h2 { font-size: 26px; margin: 0 0 6px; }
.dealer p { color: var(--ink-2); max-width: 60ch; }

/* ── Contacto ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 50px; align-items: start; }
.form { margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--navy-deep); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid #c5d2e3; border-radius: 12px; padding: 12px 14px; font: 16px var(--text); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(76, 122, 183, .18); }
.field textarea { resize: vertical; min-height: 140px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-deep); flex: none; }
.check a { color: var(--blue); text-decoration: underline; }
.contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.contact-aside h2 { font-size: 20px; margin-bottom: 14px; }
.contact-aside p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-2); }
.contact-aside p svg { flex: none; color: var(--navy); margin-top: 3px; }
.contact-aside a { color: var(--navy); font-weight: 700; }
.contact-aside hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.contact-aside .btn { margin-top: 6px; }

/* ── Pie ── */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 50px 0 30px; color: var(--ink-2); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 34em; }
.footer h3 { font: 700 12.5px var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer-grid > div > a { display: block; padding: 5px 0; color: var(--ink-2); }
.footer-grid > div > a:hover { color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ── Tablet y móvil ── */
@media (max-width: 1000px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .ticks-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .sec { padding: 64px 0; }
    .hero { padding: 36px 0 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-text { text-align: center; }
    .hero .lead { margin-inline: auto; }
    .hero .actions, .trust { justify-content: center; }
    .cards-3 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .shots-2 { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .calc { grid-template-columns: 1fr; }
    .calc-right { border-left: 0; border-top: 1px solid var(--line); }
    .posts { grid-template-columns: 1fr; }
    .dealer { flex-direction: column; align-items: flex-start; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-aside { position: static; }
}
@media (max-width: 560px) {
    .cards-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cards-4 .card { padding: 16px 14px; }
    .cards-4 .card h3, .cards-plain h3 { font-size: 15.5px; margin: 10px 0 6px; }
    .cards-4 .card p, .cards-plain p { font-size: 13.5px; }
    .cards-4 .card-icon { width: 38px; height: 38px; border-radius: 11px; }
    .cards-4 .card-icon svg { width: 20px; height: 20px; }
    .cards-4 .tag { display: block; width: max-content; margin: 6px 0 0; }
    .trust { flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; }
    .trust li { align-items: flex-start; }
    .trust svg { margin-top: 2px; }
    .plans { grid-template-columns: 1fr; }
    .ticks-grid { grid-template-columns: 1fr; }
    .field-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav a.right { text-align: left; }
    .btn-lg { width: 100%; }
    .calc-total b { font-size: 34px; }
    .phonebox .stores { width: 100%; }
    .phonebox .sbtn { flex: 1; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════════
   Efectos propios (docs/doing/15-WEB-GEOFIRMA.md, D10): teléfono que se
   inclina con el ratón y fichajes que llegan en el hero; «Un día en tu
   empresa» (al bajar pasan las horas: cielo, plano con geovallas, fichajes en
   directo y barras de jornada); carrusel 3D de la app; informe que se rellena
   y se firma solo al aparecer; tarjetas con foco de luz. Solo transform y
   opacity en lo que se mueve; con prefers-reduced-motion todo queda quieto y
   en su estado final, y sin JavaScript se ve todo.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Hero: radar de geovalla, teléfono 3D y fichajes que llegan ── */
.hero-map { position: absolute; inset: -10% 0 0 0; opacity: .55; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%2340608f' stroke-opacity='.09' stroke-width='10' stroke-linecap='round'%3E%3Cpath d='M-20 120 L300 160 L660 110'/%3E%3Cpath d='M-20 420 C160 380 300 470 660 400'/%3E%3Cpath d='M180 -20 L220 300 L170 660'/%3E%3Cpath d='M470 -20 C430 200 520 380 450 660'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 640px 640px;
    -webkit-mask-image: radial-gradient(70% 80% at 75% 45%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 80% at 75% 45%, #000 30%, transparent 75%); }
.radar { position: absolute; z-index: 0; top: 42%; left: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); pointer-events: none; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(76, 122, 183, .35); background: radial-gradient(circle, rgba(126, 181, 100, .10), transparent 65%); animation: ring 4.5s cubic-bezier(.2, .6, .3, 1) infinite; opacity: 0; }
.radar i:nth-child(2) { animation-delay: 1.5s; }
.radar i:nth-child(3) { animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(.15); opacity: .9; } 80% { opacity: .15; } 100% { transform: scale(1); opacity: 0; } }
.phonebox { perspective: 1100px; }
.tilt { position: relative; z-index: 1; transform-style: preserve-3d; will-change: transform; }
.tilt .phone { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
/* Brillo de cristal: solo sobre la pantalla, suave, sigue al ratón. */
.tilt .glare { position: absolute; inset: 2%; border-radius: 11.5% / 5.4%; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 42%); opacity: 0; transition: opacity .4s; }
.tilt.tilting .glare { opacity: 1; }
.phonebox .stores { position: relative; z-index: 1; }
.toasts { position: absolute; z-index: 2; left: calc(50% - 270px); top: 70px; width: 230px; display: grid; gap: 8px; }
.toasts li, .day-feed li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px 9px 9px; box-shadow: 0 14px 30px -16px rgba(19, 32, 58, .4); }
.toasts li { transition: transform .5s cubic-bezier(.2, .9, .3, 1.2), opacity .4s; }
.js .toasts li { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(-14px) scale(.94); }
.js .toasts li.on { opacity: 1; transform: translateY(calc(var(--k, 0) * 64px)) scale(calc(1 - var(--k, 0) * .05)); }
.js .toasts li.on[style*="--k: 2"] { opacity: .45; }
.av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--navy)); color: #fff; font: 800 14px var(--display); flex: none; }
.toasts b, .day-feed b { display: block; font-size: 13px; color: var(--navy-deep); }
.toasts small, .day-feed small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.hero-text > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .3s; }
.hero-text > :nth-child(6) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ── Tarjetas: foco de luz que sigue al cursor e inclinación leve ── */
.card { position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, opacity .7s ease; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(126, 181, 100, .18), transparent 60%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow-lg); }
.rv.in .card-icon, .card.rv.in .card-icon { animation: iconPop .6s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(min(var(--i, 0), 8) * 70ms + .25s); }
@keyframes iconPop { 0% { transform: scale(.4) rotate(-12deg); } 100% { transform: none; } }

/* ── Un día en tu empresa ── */
.day-sec { position: relative; height: 420svh; --sky1: #1b2747; --sky2: #2d3d66; background: linear-gradient(180deg, var(--sky1), var(--sky2)); color: #fff; }
.day-sky { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; overflow: hidden; pointer-events: none; }
.sun { position: absolute; left: 0; top: 0; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #fff7d6 0 30%, #ffd36b 45%, rgba(255, 211, 107, 0) 70%); transform: translate(var(--sx, 50vw), var(--sy, 60svh)); opacity: var(--so, 0); will-change: transform; }
.sun.moon { background: radial-gradient(circle, #f4f7ff 0 28%, rgba(220, 230, 255, .35) 42%, rgba(220, 230, 255, 0) 65%); }
.day-sec .stick { position: sticky; top: 0; height: 100svh; padding-top: 74px; display: flex; align-items: stretch; }
.day-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px 18px; width: 100%; padding-bottom: 16px; }
.day-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.day-head h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 6px 0 4px; }
.day-head h2 em { color: #ffe08a; }
.day-head .eyebrow { color: #ffe08a; }
.day-lead { color: rgba(255, 255, 255, .85); max-width: 40em; font-size: 15.5px; }
.clock { display: flex; gap: 18px; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; padding: 10px 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.clock-time b { display: block; font: 800 46px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.clock-time small { color: rgba(255, 255, 255, .75); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.clock-figs { display: flex; gap: 16px; }
.clock-figs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); font-weight: 700; white-space: nowrap; }
.clock-figs dd { font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.day-map { position: relative; min-height: 0; background: #f4f7fb; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.day-map svg { width: 100%; height: 100%; display: block; }
.day-map figcaption { position: absolute; left: 12px; bottom: 8px; font-size: 11px; color: var(--ink-3); }
.streets path { fill: none; stroke: #dfe6f0; stroke-width: 16; stroke-linecap: round; }
.route { fill: none; stroke: #e11d48; stroke-opacity: .35; stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.zone .halo { fill: rgba(76, 122, 183, .08); }
.zone .ring { fill: none; stroke: #4c7ab7; stroke-width: 2; stroke-dasharray: 6 6; transform-box: fill-box; transform-origin: center; }
.zone.busy .halo { fill: rgba(126, 181, 100, .16); }
.zone.busy .ring { stroke: #5f9a46; animation: spin 24s linear infinite; }
.zone.flash .halo { animation: flash .9s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flash { 40% { fill: rgba(126, 181, 100, .45); } }
.zone text, .client text { font: 700 13px var(--text); fill: var(--navy-deep); text-anchor: middle; }
.client text { text-anchor: start; font-weight: 600; font-size: 12px; fill: var(--ink-2); }
.client circle { fill: #fff; stroke: #e11d48; stroke-width: 3; }
.worker .dot { fill: var(--c); stroke: #fff; stroke-width: 3; }
.worker text { fill: #fff; font: 800 13px var(--display); text-anchor: middle; }
.worker .ping { fill: none; stroke: var(--c); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.worker.ping .ping { animation: wping 1s ease-out; }
.worker.out { opacity: .55; }
@keyframes wping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.day-feed { min-height: 0; display: flex; flex-direction: column; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 14px; overflow: hidden; }
.feed-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #7ee07e; box-shadow: 0 0 0 0 rgba(126, 224, 126, .6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 10px rgba(126, 224, 126, 0); } }
.day-feed ol { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; overflow: hidden; }
.day-feed time { font-weight: 600; color: var(--ink-3); margin-left: 4px; font-variant-numeric: tabular-nums; }
.js .day-feed li:not(.seen) { display: none; }
.js .day-feed li.old { display: none; }
.day-feed li.new { animation: feedIn .45s cubic-bezier(.2, .9, .3, 1.2); }
.day-feed li[data-who=system] { background: #eef6e5; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.gantt { grid-column: 1 / -1; position: relative; background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: 16px; padding: 22px 16px 10px; }
.gantt-axis { position: absolute; left: calc(16px + 190px); right: 16px; top: 4px; height: 14px; }
.gantt-axis span { position: absolute; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); font-weight: 700; }
.gantt-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; height: 22px; }
.gantt .who { font-size: 12.5px; font-weight: 700; color: var(--navy-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.gantt .who i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.gantt .who small { font-weight: 500; color: var(--ink-3); }
.track { position: relative; height: 10px; background: #eef2f7; border-radius: 6px; overflow: hidden; }
.bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.future { position: absolute; top: 0; bottom: 0; right: 0; left: 100%; background: #eef2f7; }
.now { position: absolute; top: 18px; bottom: 6px; left: calc(16px + 190px); width: 2px; background: var(--green-deep); border-radius: 2px; transform: translateX(var(--nx, 0)); }
.now::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-deep); }
.day-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85); background: rgba(19, 32, 58, .55); padding: 8px 14px; border-radius: 999px; transition: opacity .3s; animation: hint 1.6s ease-in-out infinite; pointer-events: none; }
.day-hint.off { opacity: 0; }
@keyframes hint { 50% { translate: 0 6px; } }
html:not(.js) .day-hint { display: none; }

/* ── La app: carrusel 3D ── */
.sec-app { overflow: hidden; background: radial-gradient(60% 50% at 50% 55%, var(--blue-soft), transparent 70%), var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow { position: relative; margin-top: 10px; outline: none; }
.flow-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(20px, calc((100vw - 1140px) / 2 + 20px)); }
.flow-item { scroll-snap-align: center; flex: none; width: 260px; }
.flow-item figcaption { margin-top: 16px; }
.flow-item .n, .flow-caption .n { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep); }
.flow-item h3, .flow-caption h3 { font-size: 22px; margin: 6px 0 6px; }
.flow-item p, .flow-caption p { color: var(--ink-2); }
.phone-flow { width: 100%; }
.flow-btn { display: none; }
.flow-3d .flow-track { position: relative; display: block; overflow: visible; height: 560px; padding: 0; perspective: 1400px; transform-style: preserve-3d; cursor: grab; touch-action: pan-y; }
.flow-3d .flow-track.drag { cursor: grabbing; }
.flow-3d .flow-item { position: absolute; left: 50%; top: 10px; width: 250px; margin-left: -125px; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s; will-change: transform; }
.flow-3d .flow-track.drag .flow-item { transition: transform .1s linear, opacity .3s; }
.flow-3d .flow-item figcaption { display: none; }
.flow-3d .flow-item .phone { box-shadow: 0 40px 70px -30px rgba(19, 32, 58, .55); }
.flow-3d .flow-item::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -38px; height: 30px; background: radial-gradient(closest-side, rgba(19, 32, 58, .28), transparent); filter: blur(4px); }
.flow-3d .flow-btn { display: grid; place-items: center; position: absolute; top: 240px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 400 30px/1 var(--display); cursor: pointer; box-shadow: var(--shadow); z-index: 20; }
.flow-btn.prev { left: max(16px, calc(50% - 420px)); }
.flow-btn.next { right: max(16px, calc(50% - 420px)); }
.flow-btn:hover { border-color: var(--navy); }
.flow-caption { max-width: 560px; margin: 20px auto 0; text-align: center; min-height: 150px; }
.flow-caption .tags { justify-content: center; }
.flow-caption > * { animation: capIn .45s ease both; }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }
html:not(.flow-on) .flow-caption, html:not(.flow-on) .flow-dots { display: none; }
.flow-dots { display: flex; justify-content: center; gap: 8px; margin: 6px 0 26px; }
.flow-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #c5d2e3; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.flow-dots button.on { width: 28px; background: var(--green-deep); }
.flow-dots button::after { content: ""; display: block; margin: -17px; width: 44px; height: 44px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags li { font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }

/* ── Informe mensual: se rellena, cuenta, se firma y se sella al aparecer ── */
.sign-sec { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.sign-sec .stick { position: relative; padding: 90px 0; }
.sign-sec .stick::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 50%, rgba(126, 181, 100, .16), transparent 70%), radial-gradient(40% 50% at 10% 20%, rgba(76, 122, 183, .3), transparent 70%); }
.sign-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; width: 100%; }
.sign-sec h2 { color: #fff; }
.sign-sec h2 em { color: #c8e6ab; }
.sign-sec .eyebrow { color: #b9d99a; }
.sign-sec .lead { color: rgba(255, 255, 255, .85); }
.sfigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.sfigs div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 14px 16px; }
.sfigs b { display: block; font: 800 26px/1.15 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sfigs small { color: rgba(255, 255, 255, .65); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sample { margin-top: 18px; }
.sample a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #c8e6ab; font-weight: 700; }
.sheet { position: relative; background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 26px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(1.2deg); font-size: 13.5px; }
.js .sheet { transform: perspective(1200px) rotateY(-24deg) rotateX(8deg) translateY(40px); opacity: 0; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.js .sheet.play { transform: rotate(1.2deg); opacity: 1; }
.sheet header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.sheet header img { width: 120px; }
.sheet header div { text-align: right; }
.sheet header b { display: block; font: 800 16px var(--display); color: var(--navy-deep); }
.sheet header small { color: var(--ink-3); }
.sheet .who { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 6px; font-weight: 700; color: var(--ink-2); }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); }
.sheet th:last-child, .sheet td:last-child { text-align: right; }
.sheet thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.sheet .dots td { text-align: center; color: var(--ink-3); }
.sheet tfoot th { border-bottom: 0; padding-top: 8px; font: 800 15px var(--display); color: var(--navy-deep); }
.sheet .row { transition: opacity .35s, transform .35s; }
.js .sheet .row:not(.in) { opacity: 0; transform: translateX(-10px); }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.sign { border: 1px dashed #c5d2e3; border-radius: 12px; padding: 4px 8px 6px; }
.sign svg { width: 100%; height: 56px; }
.sign .ink { fill: none; stroke: var(--navy-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.js .sign .ink { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.5, 0, .3, 1); }
.js .sign .ink.on { stroke-dashoffset: 0; }
.sign small { display: block; font-size: 11px; color: var(--ink-3); text-align: center; }
.sheet footer { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.sheet .qr { width: 64px; height: 64px; flex: none; }
.sheet footer small { display: block; color: var(--ink-3); font-size: 11px; }
.sheet footer b { font: 800 15px var(--display); letter-spacing: .06em; color: var(--navy-deep); }
.stamp { position: absolute; right: 0; bottom: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 3px solid var(--green-deep); border-radius: 10px; color: var(--green-deep); font: 800 18px var(--display); text-transform: uppercase; letter-spacing: .08em; transform: rotate(-8deg); background: rgba(255, 255, 255, .85); }
.js .stamp { opacity: 0; transform: rotate(-8deg) scale(1.8); transition: opacity .3s, transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.js .stamp.on { opacity: 1; transform: rotate(-8deg) scale(1); }
.sheet figcaption { position: absolute; left: 26px; bottom: -28px; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* ── Calculadora: el total salta al cambiar ── */
[data-calc=total] { display: inline-block; }
[data-calc=total].bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--green-deep); } }

@media (min-width: 861px) and (max-height: 820px) {
    .day-lead { display: none; }
    .day-head h2 { font-size: 30px; }
    .clock-time b { font-size: 38px; }
    .gantt { padding: 18px 16px 6px; }
    .gantt-row { height: 17px; }
    .now { top: 16px; }
    .day-feed li { padding: 6px 10px 6px 7px; }
    .day-feed .av { width: 28px; height: 28px; }
}
@media (max-width: 1000px) {
    .gantt .who small { display: none; }
    .gantt-row { grid-template-columns: 90px 1fr; }
    .gantt-axis, .now { left: calc(16px + 90px); }
}
@media (max-width: 860px) {
    .radar { width: 360px; height: 360px; }
    .toasts { left: 6px; top: 40px; width: 200px; }
    .toasts small { font-size: 11px; }
    .day-sec { height: 380svh; }
    .day-sec .stick { padding-top: 66px; }
    .day-grid { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; }
    .day-lead { display: none; }
    .day-head { flex-direction: column; align-items: stretch; gap: 8px; }
    .day-head h2 { font-size: 24px; }
    .clock { justify-content: space-between; padding: 8px 12px; gap: 10px; }
    .clock-time b { font-size: 32px; }
    .clock-figs { gap: 10px; }
    .clock-figs dt { font-size: 9.5px; }
    .clock-figs dd { font-size: 17px; }
    .day-map { aspect-ratio: 3 / 2; }
    .day-feed { padding: 10px; }
    .gantt { display: none; }
    .flow-3d .flow-track { height: 470px; }
    .flow-3d .flow-item { width: 210px; margin-left: -105px; }
    .flow-3d .flow-btn { top: 190px; width: 42px; height: 42px; }
    .sign-grid { grid-template-columns: 1fr; gap: 30px; }
    .sheet { padding: 14px 14px 12px; font-size: 11.5px; }
    .sheet header img { width: 90px; }
    .sheet header b { font-size: 13px; }
    .sheet th, .sheet td { padding: 3px 4px; }
    .sign svg { height: 40px; }
    .sheet .qr { width: 46px; height: 46px; }
    .stamp { font-size: 14px; padding: 6px 10px; }
    .sfigs b { font-size: 18px; }
    .sfigs small { font-size: 10px; }
}
@media (max-width: 860px) and (max-height: 720px) {
    .day-map { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
    .clock, .day-feed { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .clock { background: rgba(10, 18, 40, .62); }
    .day-feed { background: rgba(10, 18, 40, .3); }
}

@media (prefers-reduced-motion: reduce) {
    .js .toasts li { position: static; opacity: 1 !important; transform: none !important; }
    .js .toasts li:nth-child(n+4) { display: none; }
    .js .rv:not(.in), .js .sheet, .js .sheet .row:not(.in), .js .stamp { opacity: 1 !important; transform: none !important; }
    .js .sign .ink { stroke-dashoffset: 0 !important; }
    .radar i { animation: none; opacity: .5; transform: scale(.7); }
    .radar i + i { display: none; }
    .zone.busy .ring, .live-dot, .day-hint { animation: none; }
}
/* Sin JavaScript o sin movimiento: «Un día» se ve entero, quieto, al final del día. */
html:not(.js) .day-sec, .day-sec.static { height: auto; }
html:not(.js) .day-sec .stick, .day-sec.static .stick { position: relative; height: auto; padding: 90px 0 40px; }
html:not(.js) .day-sky, .day-sec.static .day-sky { display: none; }
html:not(.js) .day-map, .day-sec.static .day-map { aspect-ratio: 3 / 2; }
