/* ============================================================
   Ruiz y Valero — Exportacion y Logistica  ·  v3 (rediseno)
   Direccion: petroleo profundo + oro atenuado, serif editorial
   con acentos en cursiva, cantos suaves, sombras difusas.
   Registro profesional / elegante / limpio.
   Tipografia: Fraunces (rotulo serif) - Inter (texto)
               - IBM Plex Mono (datos / mediciones)
   ============================================================ */

:root {
    --navy:      #0B2036;
    --navy-2:    #12314C;
    --navy-3:    #1B4262;
    --steel:     #2C4256;
    --paper:     #F7F4EC;
    --paper-2:   #EFE9D8;
    --cream:     #FFFFFF;
    --gold:      #FCCF15;
    --gold-deep: #B59510;
    --gold-lt:   #FDE273;
    --ink:       #16222B;
    --ash:       #5B6B74;
    --white:     #FFFFFF;
    --hairline:  rgba(11,32,54,.12);
    --hairline-dk: rgba(255,255,255,.14);

    --font-display: 'Onest', system-ui, sans-serif;
    --font-body:    'Onest', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

    --container: 1500px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 24px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow: 0 30px 70px -32px rgba(11, 32, 54, .38);
    --shadow-sm: 0 14px 32px -18px rgba(11, 32, 54, .32);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.68;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold-lt); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
i[data-lucide] { width: 1em; height: 1em; stroke-width: 1.6; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: .65em;
    margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold-deep); display: inline-block; }
.eyebrow--light { color: var(--gold-lt); }
.eyebrow--light::before { background: var(--gold-lt); }

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.1rem, 1.2rem + 3vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.01em;
    color: inherit;
}
.section-title em { font-style: normal; font-weight: 500; color: var(--gold-deep); }
.section-head--light .section-title em { color: var(--gold-lt); }

.section-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2.5rem;
    align-items: end;
    margin-bottom: clamp(2.8rem, 5vw, 4.4rem);
}
.section-lead { color: var(--ash); font-size: 1.03rem; max-width: 42ch; }
.section-head--light .section-lead { color: rgba(255,255,255,.68); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .96rem;
    letter-spacing: .003em;
    padding: .85em 1.6em;
    border-radius: 100px;
    transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
    white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); width: .9em; height: .9em; }
.btn:hover i { transform: translate(2px, -2px); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--solid { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(199,154,62,.55); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold-lt); }
.btn--ghost-dark { background: transparent; color: var(--white); border: 1px solid var(--steel); }
.btn--ghost-dark:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--gold-deep);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: .7em; border-color: currentColor; }
.link-arrow--light { color: var(--gold-lt); }

/* ---------- Brand mark (transparent monogram) ---------- */
.mark {
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 6px 14px rgba(11,32,54,.35));
    transition: transform .3s var(--ease), filter .3s var(--ease);
}
.mark:hover { transform: translateY(-1px); filter: drop-shadow(0 10px 20px rgba(11,32,54,.45)); }
.mark img { display: block; height: 40px; width: auto; }
.mark--lg img { height: 92px; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.62);
    font-family: var(--font-body);
    font-size: .7rem;
    letter-spacing: .03em;
    border-bottom: 1px solid var(--steel);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item i { color: var(--gold); width: .9em; height: .9em; }
.topbar__item--mono { margin-left: auto; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fbf8b; box-shadow: 0 0 0 0 rgba(111,191,139,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,191,139,.5); } 70% { box-shadow: 0 0 0 6px rgba(111,191,139,0); } 100% { box-shadow: 0 0 0 0 rgba(111,191,139,0); } }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 32, 54, .86);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--steel);
    transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(11, 32, 54, .97); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: -.01em;
    color: var(--gold);
}

.nav__links { display: flex; gap: 2.2rem; margin-left: auto; }
.nav__link {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255,255,255,.6);
    position: relative;
    padding: .3em 0;
    transition: color .25s;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold-lt); transition: width .3s var(--ease); }
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 1.1rem; }

/* Language dropdown */
.lang { position: relative; }
.lang__toggle {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .4rem .55rem;
    border: 1px solid var(--steel);
    border-radius: 100px;
    transition: border-color .25s, background .25s;
}
.lang__toggle:hover { border-color: var(--gold); }
.lang__toggle img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.lang__chev { color: rgba(255,255,255,.6); transition: transform .3s; }
.lang.open .lang__chev { transform: rotate(180deg); }
.lang__menu {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: var(--navy-2);
    border: 1px solid var(--steel);
    border-radius: var(--r-md);
    padding: 6px;
    display: flex; flex-direction: column; gap: 2px;
    min-width: 96px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    box-shadow: var(--shadow);
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item {
    display: flex; align-items: center; gap: .55rem;
    padding: .5rem .6rem; border-radius: var(--r-sm);
    font-family: var(--font-mono); font-size: .78rem; color: rgba(255,255,255,.6);
    transition: background .2s, color .2s;
}
.lang__item img { width: 20px; height: 14px; border-radius: 2px; }
.lang__item:hover { background: var(--navy-3); color: var(--white); }
.lang__item.active { color: var(--gold-lt); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 28px 1.5rem;
    background: var(--navy);
    border-bottom: 1px solid var(--steel);
}
.nav__mobile .nav__link { padding: .8rem 0; border-bottom: 1px solid var(--steel); }
.nav__mobile .btn { margin-top: 1rem; justify-content: center; }

/* ---------- Hero ---------- */
/* Tall scroll runway; .hero-pin stays pinned to the viewport while the
   video's currentTime is scrubbed by scroll position (see script at end). */
.hero-scroll { position: relative; height: 320vh; height: 320svh; }
.hero-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: clamp(560px, 92vh, 920px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.hero__media {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: -2;
    filter: saturate(1) contrast(1.02);
}
.hero__scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(11,32,54,.92) 0%, rgba(11,32,54,.55) 45%, rgba(11,32,54,.18) 78%),
        linear-gradient(0deg, rgba(11,32,54,.88) 0%, rgba(11,32,54,0) 40%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 6rem); }
.hero__mark { position: absolute; z-index: 2; top: 13%; right: 7%; }
@media (max-width: 980px) { .hero__mark { display: none; } }
.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.3rem, 1.1rem + 4.8vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -.01em;
    margin-bottom: 1.7rem;
    overflow-wrap: break-word;
}
.hero__title span { color: var(--gold-lt); font-style: normal; font-weight: 500; display: block; }
.hero__sub { font-size: clamp(1.02rem, 1rem + .3vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 54ch; margin-bottom: 2.3rem; font-weight: 300; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero KPI strip — quiet stat row */
.hero__kpis { position: relative; margin-top: clamp(2.8rem, 6vh, 4.6rem); border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.8rem; }
.hero__kpis-inner { display: flex; align-items: stretch; gap: clamp(1.6rem, 3.4vw, 3.2rem); flex-wrap: wrap; }
.hero__kpis-stats { display: contents; }
.ticket {
    padding: 0 0 0 1.4rem;
    border-left: 1px solid rgba(255,255,255,.16);
    display: flex; flex-direction: column; justify-content: center;
}
.hero__kpis-inner .ticket:first-child { padding-left: 0; border-left: none; }
.kpi__num { font-family: var(--font-mono); font-weight: 400; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); line-height: 1; color: var(--white); display: block; }
.kpi__num small { font-size: .58em; color: var(--gold-lt); font-weight: 500; }
.kpi__label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: .4rem; display: block; }
.kpi--tags { flex-direction: row; align-items: center; gap: .55rem; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em;
    padding: .4em .8em; border-radius: 100px;
    border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.78);
}
.chip i { color: var(--gold-lt); }


/* ---------- Services ---------- */
.services { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--paper); }
.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 22px;
}
.svc {
    background: var(--cream);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 2.1rem;
    position: relative;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc__icon {
    width: 50px; height: 50px; border-radius: var(--r-sm);
    display: grid; place-items: center;
    background: var(--paper-2); color: var(--gold-deep);
    font-size: 1.3rem; margin-bottom: 1.5rem;
    transition: background .3s, color .3s;
}
.svc:hover .svc__icon { background: var(--navy); color: var(--gold-lt); }
.svc__meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
.svc h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin-bottom: .6rem; letter-spacing: -.005em; }
.svc p { color: var(--ash); font-size: .98rem; margin-top: auto; }
.svc--accent { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc--accent h3 { color: var(--white); }
.svc--accent p { color: rgba(255,255,255,.66); }
.svc--accent .svc__icon { background: rgba(255,255,255,.08); color: var(--gold-lt); }
.svc--accent:hover .svc__icon { background: var(--gold); color: var(--navy); }

.svc--wide { grid-column: 1 / -1; position: relative; flex-direction: row; align-items: center; gap: 1.8rem; }
.svc--wide .svc__icon { margin-bottom: 0; flex: 0 0 auto; }
.svc--wide .svc__body-inline { display: flex; flex-direction: column; }
.svc--wide h3 { margin-bottom: .3rem; }
.svc--wide p { margin-top: 0; }
.svc--wide .svc__meta { position: absolute; top: 2.1rem; right: 2.1rem; margin: 0; }

.svc--feature {
    grid-row: span 2;
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 380px;
    color: var(--white);
    border: none;
}
.svc--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc--feature:hover img { transform: scale(1.04); }
.svc--feature__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,32,54,.92) 8%, rgba(11,32,54,.16) 60%, rgba(11,32,54,.35) 100%); }
.svc--feature__body { position: relative; margin-top: auto; padding: 2.5rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.svc--feature__body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.08; }
.svc--feature__body p { color: rgba(255,255,255,.82); max-width: 46ch; }
.tag {
    font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--navy); background: var(--gold-lt); padding: .35em .8em; border-radius: 100px;
}

/* ---------- Protocol / method ---------- */
.protocol { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--paper-2); }
.proto__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.proto__step {
    display: flex; align-items: center; gap: 1rem;
    text-align: left;
    padding: 1.15rem 1.4rem;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    background: var(--cream);
    transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.proto__step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.proto__step-num {
    font-family: var(--font-mono); font-weight: 400; font-size: .8rem; color: var(--gold-deep);
    border: 1px solid var(--hairline); width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; flex: 0 0 auto;
    transition: background .3s, color .3s, border-color .3s;
}
.proto__step-label { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; line-height: 1.15; }
.proto__step.active { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-sm); }
.proto__step.active .proto__step-label { color: var(--white); }
.proto__step.active .proto__step-num { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.proto__panels { position: relative; }
.proto__panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--cream);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 390px;
    box-shadow: var(--shadow-sm);
}
.proto__panel[hidden] { display: none; }
.proto__panel.active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.proto__text { padding: clamp(2rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; }
.proto__ic { width: 54px; height: 54px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--paper-2); color: var(--gold-deep); font-size: 1.4rem; margin-bottom: 1.6rem; }
.proto__text h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .8vw, 2.1rem); line-height: 1.1; margin-bottom: 1.1rem; }
.proto__text p { color: var(--ash); font-size: 1.02rem; }
.proto__visual { background-size: cover; background-position: center; min-height: 320px; position: relative; }
.proto__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,32,54,.1), rgba(11,32,54,.02)); }

/* ---------- News ---------- */
.news { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--navy); color: var(--white); }
.news .section-title { color: var(--white); }
.news__nav { display: flex; gap: .6rem; align-items: center; justify-content: flex-end; }
.news__all {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
    color: rgba(255,255,255,.6); padding: .55rem .95rem; margin-right: .4rem;
    border: 1px solid var(--steel); border-radius: 100px;
    transition: color .25s, border-color .25s, background .25s;
}
.news__all i { color: var(--gold-lt); }
.news__all:hover { color: var(--white); border-color: var(--gold); }
.rbtn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--steel); color: var(--white);
    display: grid; place-items: center;
    transition: background .25s, border-color .25s, transform .25s;
}
.rbtn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.rbtn:active { transform: scale(.94); }

.news__viewport { overflow: hidden; }
.news__track { display: flex; gap: 22px; transition: transform .6s var(--ease); }
.post {
    flex: 0 0 calc((100% - 44px) / 3);
    background: var(--navy-2);
    border: 1px solid var(--steel);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .3s, transform .3s var(--ease);
}
.post:hover { border-color: var(--gold); transform: translateY(-4px); }
.post__img { height: 190px; background-size: cover; background-position: center; position: relative; }
.post__badge {
    position: absolute; top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em;
    background: rgba(11,32,54,.82); color: var(--white);
    padding: .35em .75em; border-radius: 100px; backdrop-filter: blur(4px);
}
.post__badge i { color: var(--gold-lt); }
.post__body { padding: 1.7rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post__date { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-lt); }
.post__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.post__body p { color: rgba(255,255,255,.6); font-size: .92rem; }
.post__body .link-arrow { margin-top: auto; padding-top: .6rem; color: var(--gold-lt); }
.post:hover .link-arrow { gap: .7em; }

.news__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 2.3rem; }
.news__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); border: 1px solid transparent; transition: background .3s, width .3s; }
.news__dot:hover { background: rgba(255,255,255,.45); }
.news__dot.active { background: var(--gold); width: 22px; border-radius: 100px; }

/* ---------- Quote / CTA ---------- */
.quote { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); color: var(--white); overflow: hidden; isolation: isolate; }
.quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,32,54,.96) 32%, rgba(11,32,54,.8) 68%, rgba(11,32,54,.58)); }
.quote__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.quote .section-title { color: var(--white); margin-bottom: 1.3rem; }
.quote__desc { color: rgba(255,255,255,.78); max-width: 48ch; margin: 0 auto 2.4rem; font-weight: 300; }
.quote__direct-row { display: flex; justify-content: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.quote__direct { display: flex; flex-direction: column; gap: .3rem; }
.quote__direct-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.quote__direct a { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--gold-lt); transition: color .25s; }
.quote__direct a:hover { color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.6); padding-top: clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--steel); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .mark { margin-bottom: 1.3rem; }
.footer__tag { font-size: .92rem; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__h { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: .3rem; }
.footer__col a { font-size: .92rem; transition: color .25s; display: inline-flex; align-items: center; gap: .45em; }
.footer__col a i { color: var(--gold-lt); }
.footer__col a:hover { color: var(--white); }
.footer__muted { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer__legal {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    padding-block: 1.5rem; border-top: 1px solid var(--steel);
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .03em; color: rgba(255,255,255,.45);
}
.footer__corridor { display: inline-flex; align-items: center; gap: .6em; color: var(--gold-lt); }
.footer__links-inline { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links-inline a { color: rgba(255,255,255,.6); transition: color .25s; }
.footer__links-inline a:hover { color: var(--white); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-pin .reveal:nth-child(1) { transition-delay: .05s; }
.hero-pin .reveal:nth-child(2) { transition-delay: .15s; }
.hero-pin .reveal:nth-child(3) { transition-delay: .25s; }
.hero-pin .reveal:nth-child(4) { transition-delay: .35s; }
.hero-pin .reveal:nth-child(5) { transition-delay: .45s; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 1rem; display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__inner {
    pointer-events: auto; max-width: 1080px; width: 100%;
    background: var(--navy-2); border: 1px solid var(--steel);
    border-radius: var(--r-lg); box-shadow: var(--shadow);
    padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1.6rem;
}
.cookie__text strong { font-family: var(--font-display); font-weight: 500; color: var(--white); display: block; margin-bottom: .2rem; font-size: 1.05rem; }
.cookie__text p { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.55; }
.cookie__text a { color: var(--gold-lt); text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; flex-shrink: 0; }
@media (max-width: 680px) {
    .cookie__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
    .cookie__actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .section-head { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
    .svc--feature { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
    .proto__panel { grid-template-columns: 1fr; }
    .proto__visual { min-height: 240px; order: -1; }
    .post { flex: 0 0 calc((100% - 22px) / 2); }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .nav.menu-open .nav__mobile { display: flex; }
    /* No scroll-pin on mobile: the video autoplays/loops instead (see JS),
       so the hero is just a single, normal 100svh section. Everything from
       the eyebrow down to the KPIs must fit inside that one screen. */
    .hero-scroll { height: auto; }
    .hero-pin { position: relative; height: 100vh; height: 100svh; min-height: 100vh; min-height: 100svh; }
    .hero__inner { padding-block: 1.4rem; }
    .hero__title { margin-bottom: .9rem; }
    .hero__sub {
        font-size: .95rem; margin-bottom: 1.3rem;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
    }
    .hero__actions { margin-bottom: 0; }
    .hero__kpis { margin-top: 1.4rem; padding-top: 1.1rem; }
    .hero__kpis-inner { flex-direction: column; align-items: stretch; gap: .8rem; flex-wrap: nowrap; }
    .hero__kpis-stats { display: flex; flex-wrap: nowrap; gap: .7rem; width: 100%; }
    .hero__kpis-stats .ticket { flex: 1 1 0; min-width: 0; padding-left: .7rem; }
    .hero__kpis-stats .ticket:first-child { padding-left: 0; }
    .hero__kpis-stats .kpi__num { font-size: 1.25rem; }
    .hero__kpis-stats .kpi__label { font-size: .58rem; white-space: normal; }
    .kpi--tags { gap: .4rem; }
    .chip { font-size: .66rem; padding: .32em .6em; }
    .proto__steps { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc--feature { grid-column: auto; grid-row: auto; }
    .svc--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .svc--wide .svc__meta { position: static; }
    .post { flex: 0 0 100%; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .eyebrow { font-size: .62rem; letter-spacing: .1em; }
    .eyebrow::before { width: 16px; }
    .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__media { animation: none; transform: none; }
    .hero-scroll { height: auto; }
    .hero-pin { position: relative; }
}
