/* ================================================================
   Landing Macrodrogas — v4
   Register: brand. Strategy: Committed (brand red carries the surface).
   Reference: Colombian pharmacy signage — painted facades, cross,
   condensed official lettering. Not clinical white-and-teal.
   Typography: Archivo variable (wdth 62-125 + wght 400-800), single family.
   Color: OKLCH throughout, neutrals tinted toward the brand hue.
   ================================================================ */

:root {
    /* ---- Brand red ramp (OKLCH; hue 27 = the #E30613 facade red) ---- */
    --brand:          oklch(55.5% 0.215 27.5);   /* ≈ #E30613, identity-locked */
    --brand-dark:     oklch(47% 0.190 27.5);
    --brand-deep:     oklch(38% 0.150 27.5);
    --brand-light:    oklch(63% 0.205 27.5);
    --brand-soft:     oklch(96.5% 0.022 27.5);
    --brand-softer:   oklch(98.4% 0.010 27.5);
    --wa-green:       #25D366;

    /* ---- Neutrals, tinted toward the brand hue (chroma .004-.012) ---- */
    --ink-950: oklch(17% 0.012 27.5);
    --ink-900: oklch(23% 0.011 27.5);
    --ink-800: oklch(31% 0.010 27.5);
    --ink-700: oklch(40% 0.009 27.5);
    --ink-600: oklch(50% 0.008 27.5);
    --ink-500: oklch(55% 0.008 27.5);   /* 4.72:1 on --paper — AA at 11px */
    --ink-400: oklch(69% 0.007 27.5);
    --ink-300: oklch(80% 0.006 27.5);
    --ink-200: oklch(88% 0.005 27.5);
    --ink-100: oklch(94% 0.004 27.5);
    --ink-50:  oklch(97.2% 0.003 27.5);

    /* Never pure #fff / #000 — paper is warmed, ink is tinted. */
    --paper:   oklch(99.3% 0.002 27.5);
    --bg: var(--paper);
    --text: var(--ink-900);
    --text-secondary: var(--ink-700);
    --text-tertiary:  var(--ink-500);

    --shadow-xs: 0 1px 2px oklch(17% 0.012 27.5 / .06);
    --shadow-sm: 0 2px 8px oklch(17% 0.012 27.5 / .06);
    --shadow-md: 0 12px 32px oklch(17% 0.012 27.5 / .10);
    --shadow-lg: 0 32px 80px oklch(17% 0.012 27.5 / .16);
    --glow-red:  0 12px 40px oklch(55.5% 0.215 27.5 / .30);

    --radius:    18px;
    --radius-md: 14px;
    --radius-sm: 10px;

    /* ---- Type: one family, contrast carried by width + weight ---- */
    --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Display = condensed + heavy (facade lettering). Body = normal width. */
    --wdth-display: 84;
    --wdth-tight:   76;

    /* ---- Rhythm: varied on purpose, not one padding everywhere ----
       Adjacent sections pair a tight top with a generous bottom so the page
       breathes without stacking 112px + 112px of dead air at every seam. */
    --space-section: clamp(64px, 7vw, 92px);
    --space-section-tight: clamp(40px, 4.5vw, 60px);

    /* ---- Motion tokens (Emil): exponential ease-out, no bounce ---- */
    --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --dur-press:  140ms;
    --dur-ui:     200ms;
    --dur-enter:  260ms;

    --focus-ring: 0 0 0 3px oklch(55.5% 0.215 27.5 / .35);
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.icon { flex-shrink: 0; vertical-align: middle; }
button { font-family: inherit; }

/* ---------- Focus ring ---------- */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}
.btn-wa:focus-visible,
.btn-primary-big:focus-visible,
.cta-button:focus-visible,
.wa-float:focus-visible { outline-offset: 4px; }
.sede-card:focus-visible { outline-offset: 2px; }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    top: -40px; left: 16px;
    z-index: 1000;
    background: var(--ink-950);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: top .15s;
}
.skip-link:focus { top: 16px; }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Reveal on scroll ----------
   Default state: visible. JS-enabled clients hide first, then reveal on intersect.
   This guarantees content is never hidden if JS fails or the observer is delayed. */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
}
html.js .reveal:not(.in) {
    opacity: 0;
    transform: translateY(18px);
}

/* ================ NAVBAR ================ */
/* Solid, not frosted: the blur was decorative glass, and it made the brandmark
   and links crawl over whatever scrolled underneath. */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out);
}
.nav-compact {
    border-bottom-color: var(--ink-100);
    box-shadow: var(--shadow-xs);
}
.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: padding .2s;
}
.nav-compact .nav-wrap { padding: 10px 28px; }

.nav-brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--ink-900); font-size: 15.5px;
    font-weight: 500; letter-spacing: -.2px;
}
.nav-brand strong { color: var(--brand); font-weight: 700; }
/* Official lockup, not a redrawn mark: fixed height, width follows the artwork. */
.nav-logo { height: 52px; width: auto; display: block; }
.nav-compact .nav-logo { height: 42px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
    display: inline-flex;
    align-items: center;
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1px;
    transition: color .15s, background .15s;
    position: relative;
    padding: 12px 16px;
    min-height: 44px;
    border-radius: 8px;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a[aria-current="true"] {
    color: var(--brand);
    background: var(--brand-soft);
}

.btn-wa {
    /* Brand green (#25D366) fails WCAG AA on white text under 18px (~3.0:1).
       #0E7A33 lifts the ratio to 5.45:1 — comfortably above the 4.5:1 AA
       threshold for the 13.5px label. */
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 18px;
    background: #0E7A33; color: #fff;
    border-radius: 999px;
    font-weight: 600; font-size: 13.5px; letter-spacing: .2px;
    box-shadow: 0 4px 14px rgba(14,122,51,.32);
    transition: transform var(--dur-press) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                background var(--dur-ui) var(--ease-out);
    min-height: 44px;
    min-width: 44px;
}
@media (hover: hover) and (pointer: fine) {
    .btn-wa:hover {
        background: #1DA851;
        transform: translateY(-1px);
        box-shadow: 0 10px 28px rgba(37,211,102,.45);
    }
}
.btn-wa:active { transform: scale(.97); }

/* ================ HERO ================ */
.hero {
    position: relative;
    padding: clamp(64px, 8vw, 96px) 0 var(--space-section);
    overflow: hidden;
    background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(10,12,16,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10,12,16,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 80%);
    z-index: 0;
}
.hero-orbs {
    position: absolute; inset: 0; overflow: hidden;
    z-index: 0; pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: .55;
    animation: orbFloat 14s ease-in-out infinite;
    will-change: transform;
}
.orb-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #E30613, transparent 70%);
    top: -100px; left: -80px;
    opacity: .25;
}
.orb-2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #EE2836, transparent 70%);
    top: 40%; right: -100px;
    opacity: .2;
    animation-delay: -4s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #737880, transparent 70%);
    bottom: -80px; left: 40%;
    opacity: .18;
    animation-delay: -8s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.06); }
    66%      { transform: translate(-40px, 30px) scale(.96); }
}

.hero-wrap {
    position: relative; z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--ink-700);
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}
.kicker-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(227,6,19,.2);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227,6,19,.4); }
    50%      { box-shadow: 0 0 0 6px rgba(227,6,19,0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(46px, 6.2vw, 82px);
    line-height: .96;
    letter-spacing: -0.028em;
    font-weight: 800;
    font-stretch: 84%;               /* condensed: facade lettering, more words per line */
    font-variation-settings: 'wdth' var(--wdth-display);
    margin: 0 0 24px;
    color: var(--ink-950);
    text-wrap: balance;
}
/* Solid brand red. No gradient text: it reads decorative and hurts legibility. */
.accent-word {
    display: inline-block;
    position: relative;
    color: var(--brand);
}
.accent-underline {
    position: absolute;
    left: 0; right: 0;
    bottom: -10px;
    width: 100%;
    height: 12px;
    color: var(--brand);
    opacity: .55;
    pointer-events: none;
}

.hero-sub {
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--ink-600);
    max-width: 560px;
    margin: 28px 0 36px;
    line-height: 1.6;
}
.hero-sub strong { color: var(--ink-900); font-weight: 600; }

.hero-cta {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 44px;
}

.btn-primary-big {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: .2px;
    box-shadow: var(--glow-red);
    transition: transform var(--dur-press) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                filter var(--dur-ui) var(--ease-out);
    border: 0;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-height: 52px;
}
.btn-primary-big::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary-big:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 56px oklch(55.5% 0.215 27.5 / .42);
        filter: brightness(1.06);
    }
    .btn-primary-big:hover::before { transform: translateX(100%); }
    .btn-primary-big:hover .btn-arrow { transform: translateX(3px); }
}
/* Press wins over hover: the button must feel pressed, not lifted. */
.btn-primary-big:active { transform: scale(.97); }
.btn-arrow { display: inline-flex; transition: transform var(--dur-ui) var(--ease-out); }

.btn-ghost-big {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 24px;
    border: 1.5px solid var(--ink-200);
    color: var(--ink-900);
    background: var(--paper);
    border-radius: 14px;
    font-weight: 600;
    font-size: 15.5px;
    transition: color var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
    min-height: 52px;
}
.btn-ghost-big:active { transform: scale(.97); }
.btn-ghost-big .icon { color: var(--brand); }
.btn-ghost-big:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.hero-trust {
    display: flex; flex-wrap: wrap; gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-100);
}
.trust-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13.5px;
    color: var(--ink-600);
    font-weight: 500;
}
.trust-item .icon { color: var(--brand); }

/* ---- Phone mockup ---- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(440px, 60vw, 624px); /* Reserve space to prevent CLS while fonts load */
    contain: layout paint;
}
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 19.5;
    background: #0A0C10;
    border-radius: 44px;
    border: 10px solid #1E222C;
    padding: 12px;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
      0 4px 10px rgba(10,12,16,.4),
      0 40px 80px rgba(10,12,16,.25),
      inset 0 0 0 1px rgba(255,255,255,.05);
    animation: phoneFloat 7s ease-in-out infinite;
    z-index: 2;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-12px) rotate(-2.5deg); }
}
.phone-notch {
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 96px; height: 24px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone-screen {
    width: 100%; height: 100%;
    background: #ECE5DD;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.chat-header {
    display: flex; align-items: center; gap: 10px;
    padding: 38px 14px 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
}
.chat-header img {
    background: #fff;
    padding: 4px;
    border-radius: 50%;
}
.chat-header strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -.1px;
}
.chat-status {
    display: flex; align-items: center; gap: 5px;
    font-size: 10.5px;
    opacity: .9;
}
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ADE80;
    animation: statusBlink 2s ease-in-out infinite;
}
@keyframes statusBlink { 0%,100% { opacity:1 } 50% { opacity:.4 } }

.chat-messages {
    flex: 1;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}
.msg {
    max-width: 78%;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 11.5px;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    animation: msgIn .35s ease-out backwards;
}
.msg p { margin: 0; }
.msg p + p { margin-top: 4px; }
.msg-user {
    align-self: flex-end;
    background: #DCF8C6;
    border-bottom-right-radius: 3px;
}
.msg-bot {
    align-self: flex-start;
    background: #FFFFFF;
    border-bottom-left-radius: 3px;
}
.msg-product {
    font-size: 10.5px;
    color: var(--ink-700);
}
.msg-product strong { color: var(--brand); }

.msg-typing {
    display: inline-flex; gap: 3px;
    padding: 10px 14px;
    background: #DCF8C6;
}
.msg-typing .dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--ink-500);
    animation: typing 1.4s ease-in-out infinite;
}
.msg-typing .dot:nth-child(2) { animation-delay: .2s; }
.msg-typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30%           { transform: translateY(-4px); opacity: 1; }
}
@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.phone-shadow {
    position: absolute;
    width: 90%; height: 30px;
    bottom: -20px; left: 5%;
    background: radial-gradient(ellipse, rgba(10,12,16,.3), transparent 70%);
    filter: blur(14px);
    z-index: 1;
}

/* ================ SOCIAL PROOF ================
   A figures bar in the shape of a spec sheet: small caps label above,
   large condensed numeral below. Rules between columns, no cards. */
.proof {
    padding: clamp(28px, 4vw, 44px) 0;
    background: var(--paper);
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
}
.proof-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
}
.proof-fig {
    padding: 4px clamp(16px, 2.4vw, 30px);
}
.proof-fig + .proof-fig {
    border-left: 1px solid var(--ink-100);
}
.proof-fig dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 6px;
}
.proof-fig dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.proof-num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    font-stretch: 84%;
    font-variation-settings: 'wdth' var(--wdth-display);
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--ink-950);
    font-variant-numeric: tabular-nums;
}
.proof-unit {
    font-size: .5em;
    font-weight: 700;
    color: var(--ink-600);
    margin-left: 3px;
    letter-spacing: 0;
}
.proof-meta {
    font-size: 12.5px;
    color: var(--ink-600);
    font-weight: 500;
}
.proof-stars {
    display: inline-flex;
    color: #E0A100;          /* AA-safe amber on paper */
    gap: 1px;
    margin: 2px 0 1px;
}
.proof-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 8px;
    transition: color var(--dur-ui) var(--ease-out);
}
.proof-link:hover .proof-meta { color: var(--brand); }
.proof-link:active { transform: scale(.985); }

/* ================ TESTIMONIOS ================ */
/* Testimonials sit right under the proof bar: same argument, so keep them
   tight together rather than separated by a full section gap. */
.testimonios {
    padding: var(--space-section-tight) 0 var(--space-section);
    background: var(--paper);
}
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 48px;
}
.testimonio-card {
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius);
    padding: 24px 26px;
    box-shadow: var(--shadow-xs);
    transition: transform .15s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.testimonio-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.testimonio-stars {
    display: inline-flex;
    gap: 1px;
    color: #E0A100;
}
/* Upright: Archivo ships no italic, so this was a synthesised slant across a
   whole paragraph. The quotation marks already mark it as speech. */
.testimonio-quote {
    flex: 1;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-800);
    margin: 0;
    max-width: 42ch;
}
.testimonio-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--ink-100);
}
.testimonio-author strong {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-950);
}
.testimonio-author span {
    font-size: 12.5px;
    color: var(--ink-600);
    font-weight: 500;
}
.testimonios-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}
.testimonios-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink-200);
    transition: background .25s ease, transform .25s ease, width .25s ease;
}
.testimonios-dots .dot.is-active {
    background: var(--brand);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 760px) {
    .testimonios-grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        margin-top: 32px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 6px 20px 6px;
        margin-left: -20px;
        margin-right: -20px;
    }
    .testimonios-grid::-webkit-scrollbar { display: none; }
    .testimonio-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
        padding: 18px 20px;
        gap: 10px;
    }
    .testimonio-card:hover { transform: none; }
    .testimonio-quote {
        font-size: 14.5px;
        line-height: 1.5;
    }
    .testimonio-author { padding-top: 10px; }
    .testimonio-author strong { font-size: 13.5px; }
    .testimonio-author span { font-size: 12px; }
    .testimonios-dots { display: flex; }
}

/* ================ HOWTO INFO (cobertura + pagos) ================ */
.howto-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 920px;
    margin: 48px auto 0;
}
.howto-info-card {
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-xs);
}
.howto-info-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ink-950);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.2px;
}
.howto-info-head .icon { color: var(--brand); }
.coverage-list,
.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-700);
}
.coverage-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}
.coverage-list strong { color: var(--ink-900); font-weight: 600; }
.coverage-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.coverage-dot--free  { background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.coverage-dot--paid  { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.coverage-dot--none  { background: var(--ink-300); box-shadow: 0 0 0 3px rgba(176,184,197,.25); }

.payment-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}
.pay-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-800);
}
.pay-pill--nequi { background: #FFF5F8; border-color: #FFCFE0; color: #B0234D; }
.pay-pill--dvp   { background: #FFF7EE; border-color: #FFE0BD; color: #A65500; }
.pay-pill--bcol  { background: #FFF9DD; border-color: #F4E07A; color: #8A6800; }

/* ================ BANNER 24h ================ */
.banner-24h {
    padding: 0 0 var(--space-section-tight);
    background: var(--ink-50);
}
.banner-24h .wrap { padding: 0 28px; }
.banner-24h-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-800) 100%);
    border-radius: var(--radius);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.banner-24h-card::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(74,222,128,.18), transparent 70%);
    pointer-events: none;
}
.banner-24h-icon {
    position: relative;
    width: 88px; height: 88px;
    flex-shrink: 0;
    border-radius: 22px;
    background: rgba(74,222,128,.16);
    color: #4ADE80;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-24h-pulse {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 2px solid #4ADE80;
    animation: banner24Pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes banner24Pulse {
    0%   { transform: scale(1);    opacity: .55; }
    100% { transform: scale(1.35); opacity: 0; }
}
.banner-24h-content { position: relative; z-index: 1; }
.banner-24h-kicker {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(74,222,128,.18);
    color: #4ADE80;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.banner-24h-card h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.6px;
    margin: 0 0 10px;
    color: #fff;
}
.banner-24h-content p {
    font-size: 14.5px;
    color: var(--ink-300);
    margin: 0 0 18px;
    line-height: 1.5;
}
.banner-24h-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.banner-24h-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
    min-height: 44px;
}
@media (hover: hover) and (pointer: fine) {
    .banner-24h-btn:hover {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.22);
        transform: translateY(-1px);
    }
}
.banner-24h-btn:active { transform: scale(.97); }
.banner-24h-btn-primary {
    background: #4ADE80;
    color: var(--ink-950);
    border-color: transparent;
}
.banner-24h-btn-primary:hover {
    background: #65EDA0;
    color: var(--ink-950);
}

/* ================ FAQ ================ */
.faq {
    padding: var(--space-section-tight) 0 var(--space-section);
    background: var(--paper);
}
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: background var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out);
}
.faq-item[open] {
    background: var(--paper);
    border-color: var(--ink-200);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: transform var(--dur-press) var(--ease-out);
}
.faq-item summary:active { transform: scale(.99); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-950);
    letter-spacing: -.2px;
}
.faq-icon {
    position: relative;
    width: 22px; height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-soft);
    transition: background .15s, transform .25s;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .25s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--brand); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a {
    padding: 0 22px 18px;
}
.faq-a p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-700);
    line-height: 1.6;
}
.faq-cta {
    text-align: center;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.faq-cta p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-600);
}

/* The dark "stats" strip was removed in v4: it restated the same four figures
   the proof bar already carries, two sections earlier. */

/* ================ SECT HEAD ================ */
/* Section heads: left-aligned by default with a hairline rule and an inline
   kicker. The old pill-above-every-heading was section grammar, not voice. */
.sect-head {
    margin-bottom: clamp(32px, 4vw, 48px);
    padding-top: 18px;
    border-top: 2px solid var(--ink-950);
    max-width: 940px;
}
.sect-head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.sect-kicker {
    display: block;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sect-head h2 {
    font-family: var(--font-display);
    margin: 0;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 800;
    font-stretch: 84%;
    font-variation-settings: 'wdth' var(--wdth-display);
    letter-spacing: -.025em;
    line-height: 1.0;
    color: var(--ink-950);
    text-wrap: balance;
}
/* Solid brand red, no gradient fill. */
.sect-head h2 em {
    font-style: normal;
    color: var(--brand);
}
.sect-sub {
    margin: 18px 0 0;
    font-size: 16.5px;
    color: var(--ink-600);
    max-width: 68ch;          /* body copy stays inside 65-75ch */
    line-height: 1.6;
}
.sect-sub strong { color: var(--ink-900); font-weight: 600; }
.sect-head--center .sect-sub { margin-left: auto; margin-right: auto; }

/* ================ BENTO GRID ================ */
.bento-section {
    padding: var(--space-section-tight) 0 var(--space-section);
    background: var(--paper);
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 18px;
}
.bento {
    position: relative;
    border-radius: var(--radius);
    padding: 28px;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    overflow: hidden;
    transition: transform var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out);
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: inherit;
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .bento:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--ink-200);
    }
}
.bento:active { transform: scale(.985); }
.bento-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.18);
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .8px;
    transition: color .15s, gap .15s;
}
.bento:hover .bento-cta-link { color: #fff; gap: 8px; }
.bento h3 {
    font-family: var(--font-display);
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    font-stretch: 92%;
    letter-spacing: -.015em;
    color: var(--ink-900);
}
/* The two feature tiles carry the section: bigger heads, real hierarchy. */
.bento-lg h3 {
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 800;
    font-stretch: 84%;
    font-variation-settings: 'wdth' var(--wdth-display);
    letter-spacing: -.025em;
    line-height: 1.04;
    margin-bottom: 10px;
}
.bento p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.5;
    max-width: 46ch;
}
.bento-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--paper);
    color: var(--brand);
    margin-bottom: 16px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--ink-100);
}
.bento-md { grid-column: span 1; }
.bento-lg { grid-column: span 2; padding: 40px; }
.bento-brand {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--glow-red);
}
.bento-brand h3, .bento-brand p { color: #fff; }
.bento-brand p { color: rgba(255,255,255,.88); }
.bento-brand .bento-icon {
    background: rgba(255,255,255,.16);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    width: 60px; height: 60px;
}
.bento-dark {
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 100%);
    border-color: transparent;
    color: #fff;
}
.bento-dark h3 { color: #fff; }
.bento-dark p { color: var(--ink-300); }
.bento-dark .bento-icon {
    background: rgba(255,255,255,.06);
    color: var(--brand-light);
    border-color: rgba(255,255,255,.08);
    width: 60px; height: 60px;
}
.bento-bg {
    position: absolute; inset: 0;
    z-index: -1;
    pointer-events: none;
}
.bento-bg svg { width: 100%; height: 100%; }
.bento-content { position: relative; z-index: 1; }

/* ================ HOWTO ================ */
.howto {
    padding: var(--space-section) 0;
    background: var(--ink-50);
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
}
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    /* stretch, not center: the three cards have different copy lengths, and
       centering made them sit at three different heights. */
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.step {
    text-align: center;
    background: var(--paper);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out);
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-soft);
}
.step-visual {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 18px;
}
.step-icon {
    width: 80px; height: 80px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--brand-soft) 0%, #FFE5E7 100%);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(227,6,19,.12);
}
.step-num {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--ink-950);
    color: #fff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(10,12,16,.3);
}
.step h3 {
    font-family: var(--font-display);
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.3px;
}
.step p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.5;
}
.step-arrow {
    color: var(--ink-300);
    background: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    text-align: center;
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.howto-cta {
    margin-top: 56px;
    text-align: center;
}
.howto-cta-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--ink-600);
    font-weight: 500;
}
.howto-cta-meta .icon { color: var(--brand); }

/* ================ STORY MAP (sticky scroll) ================ */
.story-map {
    padding: var(--space-section) 0 var(--space-section);
    background: var(--paper);
    position: relative;
    /* No `overflow: hidden` here — it breaks position:sticky in descendants. */
}
.story-map::before {
    content: "";
    position: absolute;
    top: 10%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(227,6,19,.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.story-map > .wrap { position: relative; z-index: 1; }
.story-tabs { display: none; }

.story-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 5vw, 64px);
    align-items: stretch;
    margin-top: 44px;
}

/* Sticky map column — outer takes full grid height, inner stage is sticky inside */
.story-map-col {
    position: relative;
    height: 100%;
    min-height: 480px;
}
.story-map-stage {
    position: sticky;
    top: 100px;
    width: 100%;
    height: calc(100vh - 140px);
    max-height: 680px;
    min-height: 480px;
    border-radius: 24px;
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--ink-50);
}
.story-leaflet {
    width: 100%;
    height: 100%;
    background: var(--ink-50);
}
.story-noscript {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: var(--ink-700);
    font-size: 14px;
}
.story-noscript a { color: var(--brand); font-weight: 600; }

/* Legend */
.story-map-legend {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 11.5px;
    color: var(--ink-700);
    font-weight: 600;
    pointer-events: none;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.legend-dot-main {
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(227,6,19,.25);
    width: 12px;
    height: 12px;
}
.legend-dot-24 { background: var(--ink-950); }

/* ---------- Leaflet markers (custom DivIcon) ---------- */
.macro-marker {
    position: relative;
    cursor: pointer;
}
.macro-marker .marker-dot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid #fff;
    box-shadow:
        0 0 0 1px rgba(10,12,16,.15),
        0 6px 16px rgba(227,6,19,.5),
        0 2px 4px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 800;
    transition: transform .15s, box-shadow .15s;
}
/* Responsive font-size based on zoom-level class set by JS */
.macro-marker-zclose .marker-dot { font-size: 11px; }
.macro-marker-zmed   .marker-dot { font-size: 13px; border-width: 3px; }
.macro-marker-zfar   .marker-dot { font-size: 15px; border-width: 3.5px; }
.macro-marker-zfar.macro-marker-main .marker-dot { border-width: 4px; }
.macro-marker:hover .marker-dot {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(227,6,19,.6), 0 1px 3px rgba(0,0,0,.3);
}
.macro-marker-24 .marker-dot {
    background: var(--ink-950);
    box-shadow: 0 4px 12px rgba(10,12,16,.45), 0 1px 3px rgba(0,0,0,.25);
}
.macro-marker-main .marker-dot {
    background: var(--brand);
    border-width: 3px;
    box-shadow: 0 6px 16px rgba(227,6,19,.55), 0 0 0 4px rgba(255,255,255,.6);
}
.macro-marker-main .marker-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}
.macro-marker .marker-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand);
    opacity: .35;
    animation: markerPulse 2s ease-out infinite;
}
@keyframes markerPulse {
    0%   { transform: scale(1);   opacity: .45; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Leaflet tooltip override ---------- */
.leaflet-tooltip.macro-tooltip {
    background: var(--ink-950);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    white-space: normal;
    max-width: 240px;
}
.leaflet-tooltip.macro-tooltip::before {
    border-top-color: var(--ink-950) !important;
}
.leaflet-tooltip.macro-tooltip strong {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}
.leaflet-tooltip.macro-tooltip span {
    display: block;
    color: var(--ink-300);
    font-size: 11px;
    font-weight: 500;
}

/* ---------- Leaflet popup override (Macrodrogas style) ---------- */
.leaflet-popup.macro-popup .leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--ink-100);
    box-shadow: 0 20px 48px rgba(10,12,16,.22), 0 4px 12px rgba(10,12,16,.06);
    padding: 0;
    overflow: hidden;
}
.leaflet-popup.macro-popup .leaflet-popup-content {
    margin: 0;
    width: auto !important;
    font-family: var(--font-body);
}
.leaflet-popup.macro-popup .leaflet-popup-tip {
    background: #fff;
    box-shadow: 0 4px 12px rgba(10,12,16,.08);
}
.leaflet-popup.macro-popup .leaflet-popup-close-button {
    color: var(--ink-500);
    font-size: 22px;
    font-weight: 400;
    padding: 8px 12px 0 0 !important;
    z-index: 2;
}
.leaflet-popup.macro-popup .leaflet-popup-close-button:hover { color: var(--ink-900); }

.macro-popup-card { padding: 18px; }
.macro-popup-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.macro-popup-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -.3px;
}
.macro-popup-badges {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
}
.popup-badge {
    display: inline-block;
    padding: 2px 9px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.popup-badge-24 { background: var(--ink-950); text-transform: none; }
.macro-popup-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-950);
    margin-bottom: 10px;
    letter-spacing: -.3px;
    line-height: 1.15;
}
.macro-popup-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-700);
    line-height: 1.4;
    margin-bottom: 6px;
}
.macro-popup-row svg { flex-shrink: 0; margin-top: 2px; }
.macro-popup-tel {
    font-weight: 600;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
}
.macro-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ink-100);
}
.macro-popup-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.macro-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-900) !important;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    transition: background .15s, border-color .15s, transform .12s;
    text-decoration: none !important;
}
.macro-popup-btn:hover {
    background: #fff;
    border-color: var(--ink-200);
    transform: translateY(-1px);
}
.macro-popup-btn-primary {
    background: var(--wa-green);
    color: #fff !important;
    border-color: transparent;
}
.macro-popup-btn-primary:hover { background: #1FB854; }

/* Leaflet attribution polish */
.leaflet-control-attribution {
    background: rgba(255,255,255,.85) !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
}
.leaflet-control-zoom a {
    color: var(--ink-900) !important;
    border-color: var(--ink-100) !important;
}

/* "Ver todas las sedes" custom control */
.leaflet-fitall-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-900);
    box-shadow: 0 4px 14px rgba(10,12,16,.12);
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .12s;
}
.leaflet-fitall-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}
.leaflet-fitall-btn:hover svg { color: #fff; }
.leaflet-fitall-btn svg { color: var(--brand); flex-shrink: 0; }
.leaflet-fitall-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}
@media (max-width: 540px) {
    .leaflet-fitall-btn span { display: none; }
    .leaflet-fitall-btn { padding: 9px; }
}

/* Story steps */
.story-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 44px;
}
.story-step {
    padding: 26px 30px;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    box-shadow: var(--shadow-xs);
    opacity: .4;
    transform: translateY(14px);
    transition: opacity var(--dur-enter) var(--ease-out),
                transform var(--dur-enter) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out);
    scroll-margin-top: 200px;
}
.story-step.is-active {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--brand);
    box-shadow: 0 16px 48px oklch(55.5% 0.215 27.5 / .16);
}
.story-step-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-400);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.story-step.is-active .story-step-num { color: var(--brand); }
.story-step h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--ink-950);
    margin: 0 0 14px;
}
.story-step p {
    font-size: 15.5px;
    color: var(--ink-600);
    line-height: 1.55;
    margin: 0;
}
.story-step p strong { color: var(--ink-900); font-weight: 600; }

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--ink-100);
}
.story-stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.story-stats strong {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -1px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.story-stats span {
    font-size: 12px;
    color: var(--ink-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-feature {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--brand-soft);
    border: 1px solid rgba(227,6,19,.18);
    border-radius: 12px;
}
.story-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-deep);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.story-feature-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-950);
    margin-bottom: 2px;
}
.story-feature-dir {
    font-size: 13px;
    color: var(--ink-700);
    font-weight: 500;
}

/* ================ SEDES ================ */
.sedes {
    padding: var(--space-section) 0;
    background: var(--ink-50);
    border-top: 1px solid var(--ink-100);
}

.sedes-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 32px;
}

.sedes-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
    box-shadow: var(--shadow-xs);
}
.sede-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
    transition: background var(--dur-ui) var(--ease-out),
                color var(--dur-ui) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
    min-height: 44px;
}
@media (hover: hover) and (pointer: fine) {
    .sede-tab:hover { color: var(--brand); }
}
.sede-tab:active { transform: scale(.97); }
.sede-tab.is-active {
    background: var(--ink-950);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: var(--ink-100);
    color: var(--ink-700);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.sede-tab.is-active .tab-count {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.sedes-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 1 360px;
    max-width: 360px;
    min-width: 240px;
}
.sedes-search .search-icon {
    position: absolute;
    left: 14px;
    color: var(--ink-500);
    pointer-events: none;
}
.sedes-search input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--ink-200);
    border-radius: 999px;
    background: var(--paper);
    font: inherit;
    font-size: 14px;
    color: var(--ink-900);
    transition: border-color .15s, box-shadow .15s;
    min-height: 44px;
}
.sedes-search input::placeholder { color: var(--ink-500); }
.sedes-search input:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--focus-ring);
}
.sedes-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sedes-search-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    /* 40px hit area; the visible disc stays small via the inner icon. */
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-700);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-ui) var(--ease-out),
                color var(--dur-ui) var(--ease-out);
}
.sedes-search-clear .icon {
    background: var(--ink-100);
    border-radius: 50%;
    padding: 6px;
    width: 26px; height: 26px;
    box-sizing: border-box;
}
.sedes-search-clear:hover { background: var(--ink-200); color: var(--ink-900); }
.sedes-search-clear:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.sedes-empty {
    text-align: center;
    color: var(--ink-600);
    padding: 32px;
    font-size: 15px;
}

.sede-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform var(--dur-ui) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out);
    position: relative;
    color: var(--ink-900);
    overflow: hidden;
    min-height: 180px;
}
/* The 4px left accent bar was a side-stripe border. Hover now reads through
   the full border plus elevation. */
@media (hover: hover) and (pointer: fine) {
    .sede-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--brand);
    }
}

.sede-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}
.sede-num-badge {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-300);
    letter-spacing: -.5px;
    line-height: 1;
}
.sede-card:hover .sede-num-badge { color: var(--brand); }
.sede-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 8px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(227,6,19,.3);
}
.sede-badge-24 {
    background: var(--ink-950);
    box-shadow: 0 4px 12px rgba(10,12,16,.28);
    text-transform: none;
    letter-spacing: .2px;
}

.sede-body { flex: 1; }
/* The neighborhood is the headline — it is what customers actually ask for
   ("la del Porvenir"). The internal number drops to the meta line below. */
.sede-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    font-stretch: 92%;
    color: var(--ink-950);
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 2px;
}
.sede-meta {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-500);
    margin-bottom: 8px;
}
.sede-dir {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.4;
    font-weight: 500;
}
.sede-dir .icon { color: var(--brand); margin-top: 2px; }
/* Own line each: as inline-flex siblings they collided with no gap between
   the municipality and the open/closed status. */
.sede-barrio {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--ink-600);
    margin-top: 6px;
}
.sede-barrio .icon { color: var(--brand); }

/* Open/closed status */
.sede-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}
.sede-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}
.sede-status--open   { color: #16A34A; }
.sede-status--closed { color: #B45309; }
.sede-status--24h    { color: #16A34A; }

/* Action row */
.sede-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ink-100);
}
.sede-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-800);
    text-decoration: none;
    transition: background var(--dur-ui) var(--ease-out),
                color var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}
@media (hover: hover) and (pointer: fine) {
    .sede-action:hover {
        transform: translateY(-1px);
        background: var(--paper);
        border-color: var(--ink-200);
    }
    .sede-action--tel:hover    { color: var(--brand); border-color: var(--brand); }
    .sede-action--tel:hover .icon { color: var(--brand); }
    .sede-action--map:hover    { color: var(--ink-950); }
}
.sede-action:active { transform: scale(.96); }
.sede-action .icon { color: var(--ink-600); }
.sede-action--wa {
    background: var(--wa-green);
    color: #fff;
    border-color: transparent;
}
.sede-action--wa .icon { color: #fff; }
.sede-action--wa:hover {
    background: #1FB854;
    color: #fff;
}

.sede-main {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-color: transparent;
    color: #fff;
    padding: 24px;
    box-shadow: var(--glow-red);
}
.sede-main::before { display: none; }
.sede-main:hover { box-shadow: 0 24px 60px rgba(227,6,19,.45); }
.sede-main .sede-num-badge { color: rgba(255,255,255,.4); font-size: 30px; }
.sede-main .sede-name { color: #fff; font-size: 22px; }
.sede-main .sede-dir  { color: rgba(255,255,255,.92); font-size: 15px; }
.sede-main .sede-meta { color: rgba(255,255,255,.80); }
.sede-main .sede-dir .icon { color: #fff; }
.sede-main .sede-status { color: #fff; }
.sede-main .sede-actions { border-top-color: rgba(255,255,255,.18); }
.sede-main .sede-action {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
    color: #fff;
}
.sede-main .sede-action .icon { color: #fff; }
.sede-main .sede-action:hover {
    background: var(--paper);
    color: var(--brand-dark);
}
.sede-main .sede-action:hover .icon { color: var(--brand-dark); }
.sede-main .sede-action--wa {
    background: var(--wa-green);
    border-color: transparent;
}
.sede-main .sede-badge {
    background: var(--paper);
    color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.sede-24h {
    background: linear-gradient(135deg, var(--ink-950) 0%, var(--ink-800) 100%);
    color: #fff;
    border-color: transparent;
}
.sede-24h::before {
    background: #4ADE80;
    transform: scaleY(1);
}
.sede-24h .sede-num-badge { color: rgba(255,255,255,.3); }
.sede-24h .sede-name { color: #fff; }
.sede-24h .sede-dir  { color: rgba(255,255,255,.85); }
.sede-24h .sede-meta { color: rgba(255,255,255,.72); }
.sede-24h .sede-dir .icon { color: #4ADE80; }
.sede-24h .sede-status { color: #4ADE80; }
.sede-24h .sede-actions { border-top-color: rgba(255,255,255,.1); }
.sede-24h .sede-action {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: #fff;
}
.sede-24h .sede-action .icon { color: #fff; }
.sede-24h .sede-action:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.25);
}
.sede-24h .sede-action--wa {
    background: var(--wa-green);
    border-color: transparent;
}
.sede-24h .sede-badge-24 { background: #4ADE80; color: var(--ink-950); }

/* ================ CTA BIG ================ */
.cta-big {
    position: relative;
    padding: var(--space-section) 0;
    overflow: hidden;
    background: var(--ink-950);
}
.cta-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(50% 50% at 50% 0%, rgba(227,6,19,.35), transparent 70%),
      radial-gradient(40% 40% at 100% 100%, rgba(227,6,19,.18), transparent 70%);
}
.cta-content {
    position: relative; z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.cta-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.4vw, 66px);
    font-weight: 800;
    font-stretch: 84%;
    font-variation-settings: 'wdth' var(--wdth-display);
    line-height: .98;
    letter-spacing: -.028em;
    margin: 0 0 22px;
    color: #fff;
    text-wrap: balance;
}
/* Solid red, upright. Archivo has no true italic, so `font-style: italic`
   was synthesising a slanted face. */
.cta-content h2 em {
    font-style: normal;
    color: var(--brand-light);
}
.cta-content > p {
    font-size: 17px;
    color: var(--ink-300);
    margin: 0 0 40px;
    line-height: 1.5;
}

.cta-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
    backdrop-filter: blur(8px);
}
.cta-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 30%, transparent);
}
.cta-status-pill--open .cta-status-dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.3); animation: statusPulse 2s ease-in-out infinite; }
.cta-status-pill--closed .cta-status-dot { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.3); }
.cta-status-pill--24h .cta-status-dot { background: #4ADE80; }
@keyframes statusPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.cta-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.cta-perks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,.92);
    font-weight: 500;
}
.cta-perks .icon { color: #4ADE80; flex-shrink: 0; }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    background: var(--paper);
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink-900);
    box-shadow: 0 16px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.1);
    transition: transform var(--dur-press) var(--ease-out),
                box-shadow var(--dur-ui) var(--ease-out);
    margin-bottom: 36px;
    min-height: 64px;
}
@media (hover: hover) and (pointer: fine) {
    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.15);
    }
}
.cta-button:active { transform: scale(.98); }
.cta-button-icon {
    width: 54px; height: 54px;
    background: var(--wa-green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
    flex-shrink: 0;
}
.cta-button-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}
.cta-button-text > span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-600);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 4px;
}
.cta-button-text strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--ink-950);
    font-variant-numeric: tabular-nums;
}
.cta-button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    margin-left: 8px;
    transition: transform .15s;
    flex-shrink: 0;
}
.cta-button:hover .cta-button-arrow { transform: translateX(4px); }

.cta-horario {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-300);
}
.cta-horario strong {
    color: #fff;
    font-weight: 600;
    margin-right: 4px;
}
.cta-horario .sep {
    width: 3px; height: 3px;
    background: var(--ink-500);
    border-radius: 50%;
}

/* ================ FOOTER ================ */
.foot {
    background: var(--ink-950);
    color: var(--ink-300);
    padding: 64px 0 28px;
}
.foot-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.foot-brand img {
    background: #fff;
    padding: 6px;
    border-radius: 12px;
}
/* Light-ink lockup sits directly on the dark footer, no white plate. */
.foot-brand .foot-logo {
    height: 62px;
    width: auto;
    background: none;
    padding: 0;
    border-radius: 0;
}
.foot-brand strong {
    display: block;
    font-family: var(--font-display);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.3px;
}
.foot-brand span {
    font-size: 13px;
    color: var(--ink-300);
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.foot-h {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin: 0 0 14px;
}
.foot-cols ul {
    list-style: none;
    padding: 0; margin: 0;
}
.foot-cols li {
    font-size: 13.5px;
    color: var(--ink-300);
    margin-bottom: 4px;
}
.foot-cols a {
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    color: var(--ink-300);
    transition: color var(--dur-ui) var(--ease-out);
    min-height: 40px;          /* tap target */
}
.foot-cols a:hover { color: var(--brand-light); }
.foot-cols a:active { color: #fff; }

.foot-bot {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.foot-bot small {
    color: var(--ink-300);
    font-size: 12.5px;
}
.foot-hub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-300);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.1);
    padding: 12px 18px;
    min-height: 44px;
    border-radius: 8px;
    transition: color var(--dur-ui) var(--ease-out),
                border-color var(--dur-ui) var(--ease-out),
                background var(--dur-ui) var(--ease-out),
                transform var(--dur-press) var(--ease-out);
}
.foot-hub:active { transform: scale(.97); }
.foot-hub:hover {
    color: #fff;
    border-color: var(--brand);
    background: rgba(227,6,19,.15);
}

/* ================ WHATSAPP FLOAT ================ */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    width: 62px; height: 62px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 36px rgba(37,211,102,.45);
    transition: transform var(--dur-press) var(--ease-out);
    animation: waPulse 3.6s ease-in-out 0s 4;
    animation-fill-mode: forwards;
}
@media (hover: hover) and (pointer: fine) {
    .wa-float:hover { transform: scale(1.08); }
}
.wa-float:active { transform: scale(.94); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.6); }
    50%      { box-shadow: 0 14px 36px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1024px) {
    .proof-bar { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .proof-fig:nth-child(3) { border-left: 0; }
    .proof-fig:nth-child(1), .proof-fig:nth-child(2) {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--ink-100);
    }
}

@media (max-width: 960px) {
    .hero-wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
    .hero-visual { max-width: 240px; margin: 0 auto; min-height: 0; }
    .phone-mockup { max-width: 220px; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-lg { grid-column: span 2; }
    .steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .step-arrow { transform: rotate(90deg); }
    .sedes-controls { flex-direction: column; align-items: stretch; gap: 12px; }
    .sedes-tabs {
        /* display:inline-flex sizes to content, so overflow-x never engages and
           the row pushes the page ~200px wider than the viewport. Switch to a
           block-level flex with min-width:0 so the scroll container can shrink. */
        display: flex;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .sedes-tabs::-webkit-scrollbar { display: none; }
    .sede-tab { flex-shrink: 0; }
    .sedes-search { flex: none; max-width: none; min-width: 0; width: 100%; }
    .sedes-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid { grid-template-columns: 1fr; gap: 0; }
    .story-map-col {
        height: auto;
        min-height: 0;
        padding-bottom: 0;
    }
    .story-map-stage {
        position: relative;
        top: auto;
        height: 320px;
        min-height: 0;
        max-height: none;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    .story-tabs {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 14px 20px 4px;
        margin: 0 -20px;
    }
    .story-tabs::-webkit-scrollbar { display: none; }
    .story-tab {
        flex: 0 0 auto;
        padding: 11px 16px;
        background: var(--ink-50);
        border: 1px solid var(--ink-100);
        border-radius: 999px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        color: var(--ink-700);
        cursor: pointer;
        transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
        white-space: nowrap;
        min-height: 44px;
        line-height: 1;
    }
    .story-tab.is-active {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
        box-shadow: 0 4px 14px rgba(227,6,19,.28);
    }
    .story-steps { display: none; }
    .nav-links { display: none; }
    .foot-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
    .howto-info { grid-template-columns: 1fr; }
    .banner-24h-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
    .banner-24h-icon { margin: 0 auto; }
    .banner-24h-actions { justify-content: center; }
}

@media (max-width: 540px) {
    .wrap, .nav-wrap, .hero-wrap { padding: 0 20px; }
    .nav-logo { height: 40px; }
    .nav-compact .nav-logo { height: 34px; }
    .foot-logo { height: 50px; }
    .hero { padding: 50px 0 var(--space-section-tight); }
    .bento-section, .howto, .coverage, .sedes, .cta-big {
        padding: var(--space-section-tight) 0;
    }
    .proof { padding: 26px 0; }
    .proof-bar { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
    .proof-fig { padding: 0 12px; }
    .proof-num { font-size: 26px; }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
    }
    .bento {
        padding: 16px;
        min-height: 0;
    }
    .bento-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        margin-bottom: 10px;
    }
    .bento h3 {
        font-size: 14.5px;
        margin: 0 0 4px;
        letter-spacing: -.15px;
        line-height: 1.25;
    }
    .bento p {
        font-size: 12.5px;
        line-height: 1.4;
    }
    .bento-cta-link {
        font-size: 11px;
        margin-top: 10px;
        padding-top: 8px;
        letter-spacing: .6px;
    }
    .bento-lg {
        grid-column: span 2;
        padding: 22px;
    }
    .bento-lg h3 { font-size: 18px; }
    .bento-lg p { font-size: 13.5px; }
    .bento-lg .bento-icon { width: 42px; height: 42px; margin-bottom: 12px; }
    .sedes-grid { grid-template-columns: 1fr; }
    .sede-main { padding: 22px; }
    .sede-actions { gap: 5px; }
    .sede-action { font-size: 11px; padding: 8px 2px; }
    .hero-cta .btn-primary-big { width: 100%; justify-content: center; }
    .hero-trust { gap: 12px 18px; }
    .coverage-list { grid-template-columns: 1fr; }
    .cta-button { flex-wrap: wrap; gap: 14px; padding: 16px 20px; }
    .cta-button-text strong { font-size: 18px; }
    .cta-horario { flex-direction: column; gap: 10px; }
    .cta-horario .sep { display: none; }
    .wa-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
    .btn-wa span { display: none; }
    .btn-wa { padding: 12px; min-width: 44px; }
    .foot-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ================ HERO BIG NUMBER (MOBILE) ================
   The "30" is set INSIDE the h1 on mobile, so the headline still reads
   "Tu droguería de Rionegro a domicilio en 30 min." to crawlers and
   screen readers. It is typography, not a decorative aria-hidden block. */
/* aria-hidden, so display:none here costs nothing in the a11y tree. */
.hero-bignum {
    display: none;
    margin: 2px 0 14px;
    text-align: left;
    line-height: 1;
}
.bignum-row {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.bignum-value {
    font-size: clamp(6.5rem, 30vw, 10rem);
    font-weight: 800;
    font-stretch: 76%;
    font-variation-settings: 'wdth' var(--wdth-tight);
    letter-spacing: -.045em;
    line-height: .84;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-block;
}
.bignum-unit {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem);
    font-weight: 700;
    color: var(--ink-800);
    letter-spacing: -.02em;
    line-height: 1;
}
.bignum-underline {
    display: block;
    width: clamp(110px, 32vw, 180px);
    height: 12px;
    color: var(--brand);
    opacity: .38;
    margin: -4px 0 0 4px;
}

@media (max-width: 760px) {
    .hero-bignum { display: block; }
    .hero-visual { display: none !important; }
    /* Visually replaced by .hero-bignum, but kept in the a11y tree and in
       the crawlable text: clipped rather than display:none. */
    .hero-title .accent-num {
        position: absolute;
        width: 1px; height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .hero-title .accent-underline { display: none; }
    .hero-title .accent-word {
        font-size: clamp(26px, 7vw, 34px);
        display: block;
        margin-top: 2px;
        letter-spacing: -.02em;
    }
}

/* ================ STICKY CTA (MOBILE) ================ */
.sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: none;
    transform: translateY(140%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow:
      0 10px 28px rgba(37,211,102,.35),
      0 2px 8px rgba(0,0,0,.18);
    min-height: 52px;
}
.sticky-cta__link:active { transform: scale(.98); }
.sticky-cta__text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.sticky-cta__num {
    font-size: 12.5px;
    opacity: .9;
    font-weight: 600;
    white-space: nowrap;
}
@media (max-width: 760px) {
    .sticky-cta { display: block; }
    .wa-float { display: none; }
    /* Compensate for the fixed sticky CTA so the last section / footer
       are not occluded when the user scrolls to the very bottom.
       CTA height (~52px) + 12px bottom gap + safe-area inset. */
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ================ REDUCED MOTION ================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .orb, .phone-mockup, .marker-pulse,
    .kicker-dot, .status-dot, .msg-typing .dot, .wa-float,
    .bignum-value {
        animation: none !important;
    }
    .accent-underline { opacity: .55; }
    .story-step { opacity: 1 !important; transform: none !important; }
}

/* ================ PRINT ================ */
@media print {
    .nav, .wa-float, .sticky-cta, .hero-orbs, .hero-grid-bg, .phone-mockup,
    .skip-link, .sedes-controls, .story-map-stage { display: none !important; }
    .reveal { opacity: 1; transform: none; }
    body { background: #fff; color: #000; }
    a::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
