/* ============================================================
   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; }
}

/* ---------- Sellos de ayudas (franja única en el footer) ---------- */
.footer__grants { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; border-top: 1px solid var(--steel); }
/* más específico que .container, cuyo padding abreviado anula el vertical en móvil */
.footer .footer__grants { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.fseals__plate {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.6rem;
    background: var(--white); border-radius: var(--r-sm); padding: .7rem 1.4rem;
}
.fseal { display: block; height: 26px; width: auto; }
.fseal--info { height: 30px; }
.fseal--region { height: 40px; }
.fseal--ue { height: 38px; }
.fseal--co2 { height: 40px; }
.fseals__sep { width: 1px; align-self: stretch; background: var(--hairline); }
.fseals__kd { max-width: 74ch; font-size: .74rem; line-height: 1.6; color: rgba(255,255,255,.62); }
.fseals__text { font-size: .72rem; color: rgba(255,255,255,.45); }
.fseals__text a { color: var(--gold-lt); margin-left: .4rem; border-bottom: 1px solid rgba(253,226,115,.35); transition: border-color .25s; }
.fseals__text a:hover { border-color: var(--gold-lt); }

/* ---------- Página de proyectos subvencionados ---------- */
.nav--page { position: sticky; top: 0; }
.nav__back { display: inline-flex; align-items: center; gap: .5em; }
.nav__back i { width: 1em; height: 1em; }
.projects { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem); }
.projects .section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.projects__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.project {
    background: var(--cream); border: 1px solid var(--hairline); border-radius: var(--r-lg);
    padding: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow-sm);
    scroll-margin-top: 110px;
}
.project__meta { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.project__title { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.45; color: var(--navy); }
.project p { color: var(--ash); font-size: .95rem; }
.project p strong { color: var(--ink); font-weight: 600; }
.project__exp { font-family: var(--font-mono); font-size: .82rem !important; letter-spacing: .04em; color: var(--steel) !important; }
.project__logos {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem;
    padding-block: 1.3rem; margin-top: auto; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.project__logos img { display: block; height: 32px; width: auto; }
.project__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.project__link { font-size: .88rem; color: var(--navy); border-bottom: 1px solid var(--hairline); transition: border-color .25s; }
.project__link:hover { border-color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--gold-lt); }
.btn--outline:hover i { transform: translateY(2px); }

/* ---------- Páginas legales ---------- */
.legal { background: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem); }
.legal__wrap {
    max-width: 820px; margin: 0 auto; background: var(--cream); border: 1px solid var(--hairline);
    border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 3.4rem); box-shadow: var(--shadow-sm);
}
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--navy); letter-spacing: -.01em; }
.legal__updated { display: block; margin: .8rem 0 2.2rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); margin: 2.2rem 0 .7rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline); }
.legal p, .legal li, .legal td { color: var(--ash); font-size: .95rem; line-height: 1.7; }
.legal p + p { margin-top: .8rem; }
.legal ul { margin: .6rem 0 .6rem 1.2rem; list-style: disc; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--navy); border-bottom: 1px solid var(--hairline); }
.legal a:hover { border-color: var(--navy); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; display: block; overflow-x: auto; }
.legal th { text-align: left; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding: .7rem .8rem; border-bottom: 1px solid var(--navy); white-space: nowrap; }
.legal td { padding: .7rem .8rem; border-bottom: 1px solid var(--hairline); vertical-align: top; font-size: .88rem; }
/* Datos pendientes de confirmar: visibles en local para no subirlos sin completar */
.todo { background: #ffe58a; color: var(--ink); padding: 0 .25em; border-radius: 3px; }

/* ---------- Servicios v8: paneles expandibles + sectores + cobertura ---------- */
.svx { display: flex; gap: 14px; height: clamp(460px, 42vw, 560px); }
.svx__item {
    position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-lg);
    color: var(--white); cursor: pointer; outline: none; isolation: isolate;
    transition: flex-grow .7s var(--ease), box-shadow .4s;
}
.svx__item.is-active { flex-grow: 3.2; box-shadow: var(--shadow); }
.svx__item:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.svx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.svx__item.is-active .svx__img { transform: scale(1); }
.svx__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,32,54,.15) 0%, rgba(11,32,54,.35) 45%, rgba(11,32,54,.92) 100%); transition: background .5s; }
.svx__item:not(.is-active) .svx__scrim { background: linear-gradient(180deg, rgba(11,32,54,.45) 0%, rgba(11,32,54,.9) 100%); }
.svx__num { position: absolute; top: 1.5rem; left: 1.6rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--gold-lt); }
.svx__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1.6rem; }
.svx__tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: .6rem; white-space: nowrap; }
.svx__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.12; letter-spacing: -.01em; max-width: 18ch; }
.svx__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .4s; }
.svx__item.is-active .svx__more { grid-template-rows: 1fr; opacity: 1; transition-delay: .15s; }
.svx__more-inner { overflow: hidden; }
.svx__more p { margin-top: .9rem; max-width: 46ch; color: rgba(255,255,255,.78); font-size: .97rem; }
.svx__specs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 1.3rem; }
.svx__specs li { font-size: .78rem; padding: .38em .8em; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: rgba(255,255,255,.9); backdrop-filter: blur(4px); background: rgba(255,255,255,.06); }
/* inactive panels: vertical title feel without rotating text */
.svx__item:not(.is-active) .svx__title { font-size: 1.15rem; }

.svx__specs, .sectors__list, .coverage__countries { list-style: none; padding: 0; }
.sectors { display: flex; align-items: center; gap: 2rem; margin-top: 3.2rem; padding-block: 1.6rem; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.sectors__label { flex: 0 0 auto; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.sectors__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.8rem; flex: 1; }
.sectors__list li { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; color: var(--navy); font-weight: 500; }
.sectors__list i { width: 1.15em; height: 1.15em; color: var(--gold-deep); stroke-width: 1.6; }

.coverage {
    position: relative; overflow: hidden; margin-top: 3.2rem; border-radius: var(--r-lg);
    background: var(--navy); color: var(--white); padding: clamp(2rem, 5vw, 4rem);
    min-height: 580px; display: flex; align-items: center;
}
.coverage__map { position: absolute; right: 2%; top: 50%; width: min(52%, 560px); transform: translateY(-50%); pointer-events: none; }
.coverage__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cov-cap__dot { fill: var(--gold-lt); opacity: .5; }
.cov-cap__ring { fill: none; stroke: var(--gold-lt); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.coverage.in .cov-cap__dot { animation: covTwinkle 3.2s ease-in-out var(--d) infinite both; }
.coverage.in .cov-cap__ring { animation: covRing 3.2s ease-out var(--d) infinite; }
@keyframes covTwinkle { 0%, 100% { opacity: .5; } 18% { opacity: 1; } 55% { opacity: .7; } }
@keyframes covRing { 0% { transform: scale(.8); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .cov-cap__dot { opacity: .9; } .coverage.in .cov-cap__dot, .coverage.in .cov-cap__ring { animation: none; }
}
.coverage__body { position: relative; max-width: 520px; }
.coverage__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.01em; margin: .3rem 0 1rem; }
.coverage__title em { font-style: normal; color: var(--gold-lt); }
.coverage__text { color: rgba(255,255,255,.68); font-size: 1rem; }
.coverage__countries { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.4rem 0 2rem; }
.coverage__countries li { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .45em .85em; border: 1px solid var(--hairline-dk); border-radius: 999px; color: rgba(255,255,255,.85); }
.coverage__stats { display: flex; gap: 2.4rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--hairline-dk); }
.coverage__stats > div { display: flex; flex-direction: column; gap: .25rem; }
.coverage__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--gold-lt); white-space: nowrap; }
.coverage__lbl { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Metodología v8: imagen fija + proceso con scroll (sobrio) ---------- */
.method { padding-block: clamp(5rem, 10vw, 9rem); background: var(--paper); border-top: 1px solid var(--hairline); }
.method__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: start; }
.method__aside { position: sticky; top: 120px; }
.method__aside .section-lead { margin-top: 1.4rem; max-width: 40ch; }
.method__media { position: relative; margin-top: 2.6rem; aspect-ratio: 5 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--navy); }
.method__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,32,54,.55)); pointer-events: none; }
.method__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 1s var(--ease), transform 1.6s var(--ease); filter: saturate(.85); }
.method__img.is-active { opacity: 1; transform: scale(1); }
.method__counter { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.method__counter b { color: var(--white); font-weight: 500; }

.method__track { position: relative; padding-left: clamp(5rem, 7vw, 6.5rem); }
.method__line { position: absolute; left: clamp(1.6rem, 2.4vw, 2.1rem); top: .4rem; bottom: .4rem; width: 1px; background: var(--hairline); overflow: hidden; }
.method__line-fill { display: block; width: 100%; height: 0; background: var(--gold-deep); transition: height .3s linear; }
.method__steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; padding-block: .2rem clamp(2rem, 14vh, 9rem); }
.method__step { position: relative; padding-block: clamp(2.2rem, 5vh, 3.4rem); border-top: 1px solid var(--hairline); opacity: .35; transition: opacity .6s var(--ease); }
.method__step:first-child { border-top: 0; padding-top: 0; }
.method__step.is-active, .method__step.is-done { opacity: 1; }
.method__num {
    position: absolute; left: calc(-1 * clamp(5rem, 7vw, 6.5rem)); top: clamp(2.2rem, 5vh, 3.4rem); width: clamp(3.2rem, 4.8vw, 4.2rem);
    font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em;
    color: var(--hairline); background: var(--paper); padding-block: .2rem; text-align: center; transition: color .6s var(--ease);
}
.method__step:first-child .method__num { top: 0; }
.method__step.is-active .method__num { color: var(--gold-deep); }
.method__step.is-done .method__num { color: var(--navy); }
.method__kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.method__content h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.25rem); line-height: 1.12; letter-spacing: -.015em; color: var(--navy); margin: .8rem 0 1rem; }
.method__content p { color: var(--ash); font-size: 1rem; line-height: 1.75; max-width: 54ch; }
.method__facts { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; max-width: 54ch; border-top: 1px solid var(--hairline); }
.method__facts li { display: flex; align-items: center; gap: .75rem; padding-top: 1.05rem; font-size: .88rem; color: var(--navy); font-weight: 500; }
.method__facts li i, .method__facts li svg { flex: 0 0 auto; width: 1.6rem; height: 1.6rem; color: var(--gold-deep); stroke-width: 1.4; }

/* ---------- Actualidad v8: destacado + listado editorial ---------- */
.news .section-head { align-items: end; }
.news__all { display: inline-flex; align-items: center; gap: .5em; justify-self: end; font-size: .9rem; color: var(--gold-lt) !important; border: 0 !important; padding: 0 0 .3rem !important; border-bottom: 1px solid rgba(253,226,115,.35) !important; border-radius: 0 !important; background: none !important; }
.news__all:hover { border-color: var(--gold-lt) !important; }
.news__all svg, .news__all i { width: 1em; height: 1em; }
.news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: stretch; }
.news__featured { display: flex; }
.news__featured .nf { flex: 1; display: flex; }
.nf .nf__img { flex: 1; min-height: 420px; }
.nf { display: block; color: var(--white); }
.nf__img { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--steel); }
.nf__img img, .nl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nf:hover .nf__img img, .nl:hover .nl__img img { transform: scale(1.04); }
.nf__meta { display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lt); }
.nf .nf__meta { margin-top: 1.6rem; }
.nf__dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }
.nf__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; margin: .9rem 0 .9rem; max-width: 26ch; transition: color .3s; }
.nf__text { color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.7; max-width: 58ch; }
.nf__more { display: inline-flex; align-items: center; gap: .45em; margin-top: 1.4rem; font-size: .9rem; color: var(--gold-lt); padding-bottom: .3rem; border-bottom: 1px solid rgba(253,226,115,.35); transition: gap .3s, border-color .3s; }
.nf__more svg, .nf__more i { width: 1em; height: 1em; }
.nf:hover .nf__title, .nl:hover .nl__title { color: var(--gold-lt); }
.nf:hover .nf__more { gap: .7em; border-color: var(--gold-lt); }
.nf { position: relative; border-radius: var(--r-md); overflow: hidden; isolation: isolate; }
.nf .nf__img { border-radius: 0; }
.nf__overlay {
    position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(1.6rem, 3.5vw, 2.8rem);
    background: linear-gradient(180deg, rgba(11,32,54,0) 0%, rgba(11,32,54,.7) 28%, rgba(11,32,54,.9) 55%, rgba(11,32,54,.96) 100%);
    padding-top: clamp(6rem, 14vw, 10rem);
}
.nf .nf__meta { margin-top: 0; }
.nf .nf__title { color: var(--white); }
.nf .nf__text { color: rgba(255,255,255,.75); max-width: 52ch; }
.news__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline-dk); }
.news__list li { border-bottom: 1px solid var(--hairline-dk); }
.nl { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 1.4rem; align-items: center; padding-block: 1.5rem; color: var(--white); }
.nl__title { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; line-height: 1.3; margin-top: .6rem; transition: color .3s; }
.nl__img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--steel); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nf .nf__img { aspect-ratio: 4 / 3.4; min-height: 0; }
    .news__grid { grid-template-columns: 1fr; }
    .news__all { justify-self: start; }
    .method__grid { grid-template-columns: 1fr; }
    .method__aside { position: static; }
    .method__steps { padding-bottom: 1rem; }
    .method__track { padding-left: 4rem; }
    .method__line { left: 1.4rem; }
    .method__num { left: -4rem; width: 2.8rem; font-size: 1.8rem; }
    .method__facts { grid-template-columns: 1fr; }
    .svx { flex-direction: column; height: auto; gap: 16px; }
    .svx__item, .svx__item.is-active { flex: none; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
    .svx__body { position: relative; padding-top: 3.8rem; }
    .svx__item .svx__more { grid-template-rows: 1fr; opacity: 1; }
    .svx__item .svx__scrim, .svx__item:not(.is-active) .svx__scrim { background: linear-gradient(180deg, rgba(11,32,54,.5) 0%, rgba(11,32,54,.7) 45%, rgba(11,32,54,.94) 100%); }
    .svx__item:not(.is-active) .svx__title { font-size: 1.6rem; }
    .sectors { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
    .sectors__list { justify-content: flex-start; }
    .coverage { flex-direction: column; align-items: flex-start; }
    .coverage__map { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 460px; margin: 1.5rem auto 0; order: 2; }
    .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; }
    .projects__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .fseals__plate { gap: .8rem 1.1rem; padding: .7rem 1rem; }
    .fseal { height: 22px; }
    .fseals__sep { display: none; }
    .project { padding: 1.5rem; }
    .project__logos img { height: 26px; }
    .nav__back { font-size: .85rem; }
    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) {
    .nf .nf__img { aspect-ratio: 3 / 4; min-height: 0; }
    .nf .nf__title { font-size: 1.45rem; }
    .nf .nf__text { font-size: .92rem; }
    .nl { grid-template-columns: minmax(0, 1fr) 84px; gap: 1rem; }
    .svx__item, .svx__item.is-active { min-height: 380px; }
    .svx__body { padding-left: 1.2rem; padding-right: 1.2rem; padding-bottom: 1.4rem; }
    .coverage__stats { gap: 1.4rem; }
    .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; }
}
