/* ============================================================
   Ruiz y Valero — Exportación y Logística  ·  v2 (2026-06-15)
   Dirección: "Corredor logístico" — petróleo profundo + oro de marca
   Tipografía: Archivo (display) · Inter (texto) · IBM Plex Mono (datos)
   ============================================================ */

:root {
    --ink:        #0C1A22;   /* petróleo profundo, fondo oscuro */
    --ink-2:      #112B38;   /* panel oscuro */
    --ink-3:      #16384a;   /* hover/elevación oscura */
    --steel:      #2b4655;   /* bordes sobre oscuro */
    --paper:      #F3F1EB;   /* fondo claro cálido */
    --paper-2:    #ECE9E1;   /* claro alterno */
    --bone:       #FBFAF6;   /* tarjeta clara */
    --gold:       #E6A02A;   /* oro de marca (acento) */
    --gold-deep:  #C7841A;
    --ink-text:   #14242E;   /* texto sobre claro */
    --ash:        #5C6B72;   /* texto secundario claro */
    --ash-light:  #9FB0B8;   /* texto secundario oscuro */
    --fog:        #D9D5CB;   /* líneas sobre claro */
    --white:      #ffffff;

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

    --container: 1240px;
    --radius:    14px;
    --radius-lg: 22px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
    --shadow:    0 24px 60px -28px rgba(12, 26, 34, .35);
    --shadow-sm: 0 10px 30px -18px rgba(12, 26, 34, .4);
}

/* ---------- 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-text);
    line-height: 1.65;
    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); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

i[data-lucide] { width: 1em; height: 1em; stroke-width: 2; }

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

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 1.1rem + 3vw, 3.3rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    color: inherit;
}
.section-title em { font-style: normal; color: var(--gold-deep); }

.section-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2.5rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--light .section-title em { color: var(--gold); }
.section-lead { color: var(--ash); font-size: 1.02rem; max-width: 42ch; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    padding: .8em 1.3em;
    border-radius: 100px;
    transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .25s;
    white-space: nowrap;
}
.btn i { transition: transform .35s var(--ease); }
.btn:hover i { transform: translate(2px, -2px); }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(230, 160, 42, .6); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    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(--white); }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--ink);
    color: var(--ash-light);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--steel);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item i { color: var(--gold); }
.topbar__item--mono { margin-left: auto; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ad06a; box-shadow: 0 0 0 0 rgba(74,208,106,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,208,106,.5); } 70% { box-shadow: 0 0 0 7px rgba(74,208,106,0); } 100% { box-shadow: 0 0 0 0 rgba(74,208,106,0); } }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 26, 34, .82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--steel);
    transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(12, 26, 34, .96); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .95rem;
    letter-spacing: .02em;
    color: var(--ink);
    background: var(--gold);
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 9px;
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--white); letter-spacing: -.01em; }
.brand__name em { font-style: normal; color: var(--gold); font-weight: 500; }

.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__link {
    font-size: .92rem;
    font-weight: 500;
    color: var(--ash-light);
    position: relative;
    padding: .3em 0;
    transition: color .25s;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); 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: 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; border-radius: 2px; object-fit: cover; }
.lang__chev { color: var(--ash-light); transition: transform .3s; }
.lang.open .lang__chev { transform: rotate(180deg); }
.lang__menu {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: var(--ink-2);
    border: 1px solid var(--steel);
    border-radius: 12px;
    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: 8px;
    font-family: var(--font-mono); font-size: .78rem; color: var(--ash-light);
    transition: background .2s, color .2s;
}
.lang__item img { width: 20px; height: 14px; border-radius: 2px; }
.lang__item:hover { background: var(--ink-3); color: var(--white); }
.lang__item.active { color: var(--gold); }

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

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 24px 1.5rem;
    background: var(--ink);
    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 ---------- */
.hero {
    position: relative;
    min-height: clamp(620px, 92vh, 900px);
    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 60%;
    z-index: -2;
    animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(105deg, rgba(12,26,34,.92) 0%, rgba(12,26,34,.55) 45%, rgba(12,26,34,.15) 75%),
        linear-gradient(0deg, rgba(12,26,34,.85) 0%, rgba(12,26,34,0) 38%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 6rem); max-width: 880px; }
.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.15rem, 1.1rem + 4.8vw, 5.4rem);
    line-height: 1;
    letter-spacing: -.025em;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
}
.hero__title span { color: var(--gold); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 56ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero KPIs strip */
.hero__kpis {
    position: relative;
    margin-top: auto;
    background: linear-gradient(0deg, rgba(12,26,34,.96), rgba(12,26,34,.7));
    border-top: 1px solid rgba(230,160,42,.25);
    backdrop-filter: blur(4px);
}
.hero__kpis-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 1.4rem; flex-wrap: wrap; }
.kpi { display: flex; flex-direction: column; gap: .15rem; }
.kpi__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; color: var(--white); }
.kpi__num small { font-size: .55em; color: var(--gold); font-weight: 700; }
.kpi__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-light); }
.kpi--tags { flex-direction: row; gap: .5rem; margin-left: auto; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
    padding: .45em .8em; border-radius: 100px;
    border: 1px solid var(--steel); color: rgba(255,255,255,.85);
}
.chip i { color: var(--gold); }

/* ---------- Corridor signature (route map) ---------- */
.corridor { background: var(--ink); border-bottom: 1px solid var(--steel); padding-block: clamp(2rem, 4vw, 2.8rem); }
.corridor__caption {
    text-align: center;
    font-family: var(--font-mono);
    font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ash-light);
    margin-bottom: 1.7rem;
}
.corridor__route {
    position: relative;
    display: flex; justify-content: space-between; align-items: flex-start;
    max-width: 900px; margin: 0 auto;
}
.corridor__line {
    position: absolute; left: 7%; right: 7%; top: 4px; height: 1px;
    background: linear-gradient(90deg, var(--steel) 0%, rgba(230,160,42,.55) 100%);
}
.corridor__ship {
    position: absolute; top: 50%; left: 0;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold); transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(230,160,42,.16);
    animation: ship 6s linear infinite;
}
@keyframes ship {
    0%   { left: 0;    opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
.corridor__stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.corridor__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--steel); }
.corridor__stop--key .corridor__dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230,160,42,.14); }
.corridor__city { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-light); white-space: nowrap; }
.corridor__stop--key .corridor__city { color: var(--white); }

/* ---------- 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(180px, auto);
    gap: 18px;
}
.svc {
    background: var(--bone);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(230,160,42,.5); }
.svc__icon {
    width: 52px; height: 52px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--ink); color: var(--gold);
    font-size: 1.4rem; margin-bottom: 1.4rem;
    transition: background .3s, color .3s;
}
.svc:hover .svc__icon { background: var(--gold); color: var(--ink); }
.svc__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; margin-bottom: .6rem; letter-spacing: -.01em; }
.svc p { color: var(--ash); font-size: .98rem; margin-top: auto; }
.svc--accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc--accent h3 { color: var(--white); }
.svc--accent p { color: var(--ash-light); }
.svc--accent .svc__icon { background: var(--gold); color: var(--ink); }

/* Wide bottom card (ADR) — horizontal */
.svc--wide { grid-column: 1 / -1; position: relative; flex-direction: row; align-items: center; gap: 1.6rem; }
.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: 2rem; right: 2rem; margin: 0; }

/* Feature card (tall image, spans 2 rows) */
.svc--feature {
    grid-row: span 2;
    position: relative;
    padding: 0;
    overflow: hidden;
    border: none;
    min-height: 360px;
    color: var(--white);
}
.svc--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc--feature:hover img { transform: scale(1.05); }
.svc--feature:hover { box-shadow: none; }
.svc--feature__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,26,34,.92) 5%, rgba(12,26,34,.25) 60%, rgba(12,26,34,.45) 100%); }
.svc--feature__body { position: relative; margin-top: auto; padding: 2.4rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.svc--feature__body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.05; }
.svc--feature__body p { color: rgba(255,255,255,.85); max-width: 46ch; }
.tag {
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink); background: var(--gold); padding: .35em .7em; 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: 10px; margin-bottom: 18px; }
.proto__step {
    display: flex; align-items: center; gap: 1rem;
    text-align: left;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--fog);
    border-radius: var(--radius);
    background: var(--bone);
    transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.proto__step:hover { transform: translateY(-3px); border-color: var(--gold); }
.proto__step-num { font-family: var(--font-mono); font-size: .85rem; color: var(--ash); transition: color .3s; }
.proto__step-label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.proto__step.active { background: var(--ink); border-color: var(--ink); }
.proto__step.active .proto__step-label { color: var(--white); }
.proto__step.active .proto__step-num { color: var(--gold); }

.proto__panels { position: relative; }
.proto__panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--bone);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
}
.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.4rem); display: flex; flex-direction: column; justify-content: center; }
.proto__ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 1.5rem; margin-bottom: 1.5rem; }
.proto__text h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.01em; }
.proto__text p { color: var(--ash); font-size: 1.02rem; }
.proto__visual { background-size: cover; background-position: center; min-height: 320px; }

/* ---------- News ---------- */
.news { padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--ink); 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: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ash-light); padding: .55rem .9rem; 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); }
.news__all:hover { color: var(--white); border-color: var(--gold); }
.rbtn {
    width: 50px; height: 50px; 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(--ink); 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(--ink-2);
    border: 1px solid var(--steel);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .3s, transform .3s var(--ease);
}
.post:hover { border-color: rgba(230,160,42,.5); 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: .68rem; letter-spacing: .08em;
    background: rgba(12,26,34,.78); color: var(--white);
    padding: .35em .7em; border-radius: 100px; backdrop-filter: blur(4px);
}
.post__badge i { color: var(--gold); }
.post__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post__date { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.post__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.post__body p { color: var(--ash-light); font-size: .92rem; }
.post__body .link-arrow { margin-top: auto; padding-top: .6rem; color: var(--gold); }
.post:hover .link-arrow { gap: .7em; }

/* Carousel dots */
.news__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 2.2rem; }
.news__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--steel); border: 1px solid transparent;
    transition: background .3s, width .3s, border-color .3s;
}
.news__dot:hover { background: var(--ash-light); }
.news__dot.active { background: var(--gold); width: 26px; 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(12,26,34,.97) 30%, rgba(12,26,34,.8) 70%, rgba(12,26,34,.6)); }
.quote__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.quote .section-title { color: var(--white); margin-bottom: 1.3rem; }
.quote__desc { color: rgba(255,255,255,.85); max-width: 48ch; margin-bottom: 2rem; }
.quote__direct { display: flex; flex-direction: column; gap: .2rem; }
.quote__direct-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash-light); }
.quote__direct a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--gold); transition: color .25s; }
.quote__direct a:hover { color: var(--white); }

.quote__form {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    display: flex; flex-direction: column; gap: 1rem;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ash-light); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote__form input,
.quote__form select {
    width: 100%;
    padding: .85rem 1rem;
    background: rgba(12,26,34,.5);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color .25s, background .25s;
}
.quote__form input::placeholder { color: rgba(255,255,255,.45); }
.quote__form input:focus,
.quote__form select:focus { outline: none; border-color: var(--gold); background: rgba(12,26,34,.7); }
.quote__form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23E6A02A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.quote__form select option { color: #14242E; }
.quote__sent { font-family: var(--font-mono); font-size: .82rem; color: var(--gold); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--ash-light); 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 .brand { margin-bottom: 1.1rem; }
.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: .7rem; letter-spacing: .14em; 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); }
.footer__col a:hover { color: var(--white); }
.footer__muted { font-size: .85rem; color: var(--ash); }
.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: .72rem; letter-spacing: .06em; color: var(--ash);
}
.footer__corridor { display: inline-flex; align-items: center; gap: .6em; color: var(--gold-deep); }
.footer__links-inline { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links-inline a { color: var(--ash-light); transition: color .25s; }
.footer__links-inline a:hover { color: var(--white); }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .section-head { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
    .section-head--light .news__nav { justify-content: flex-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; }
    .quote__inner { grid-template-columns: 1fr; }
    .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__cta { display: none; }
    .nav__burger { display: flex; }
    .nav.menu-open .nav__mobile { display: flex; }
    .hero__kpis-inner { gap: 1.5rem 2rem; }
    .kpi--tags { margin-left: 0; width: 100%; }
    .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%; }
    .field-row { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero__title { font-size: 1.95rem; letter-spacing: -.02em; }
    .eyebrow { font-size: .62rem; letter-spacing: .14em; }
    .eyebrow::before { width: 16px; }
    .corridor__line { left: 12%; right: 12%; }
    .corridor__stop:not(.corridor__stop--key) .corridor__city { display: none; }
    .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- 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(--ink-2); border: 1px solid var(--steel);
    border-radius: var(--radius); 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); color: var(--white); display: block; margin-bottom: .2rem; font-size: .95rem; }
.cookie__text p { color: var(--ash-light); font-size: .85rem; line-height: 1.55; }
.cookie__text a { color: var(--gold); text-decoration: underline; }
.cookie__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.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); }
@media (max-width: 680px) {
    .cookie__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
    .cookie__actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Legal pages ---------- */
.legal-header { background: var(--ink); border-bottom: 1px solid var(--steel); position: sticky; top: 0; z-index: 50; }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.legal-back { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ash-light); display: inline-flex; align-items: center; gap: .5em; transition: color .25s; }
.legal-back:hover { color: var(--white); }
.legal-back i { color: var(--gold); }
.legal { padding-block: clamp(3rem, 6vw, 5rem); background: var(--paper); min-height: 62vh; }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -.02em; color: var(--ink-text); margin-bottom: .5rem; }
.legal__updated { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: 2.5rem; display: block; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-text); margin: 2.4rem 0 .8rem; }
.legal h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-text); margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: #3a4a52; font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0 1.1rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; }
.legal strong { color: var(--ink-text); }
.legal table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--fog); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal th { background: var(--paper-2); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-text); }
.legal__note { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; border-radius: 8px; font-size: .9rem; color: var(--ash); margin: 1.8rem 0; }
.legal__note strong { color: var(--gold-deep); }

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