/* ═══════════════════════════════════════════
   PIXART — empresa.css  v4  · NARRATIVA
   Estructura argumental, no template.
═══════════════════════════════════════════ */
:root {
    --black:  #000;
    --ink:    #0a0a0a;
    --white:  #fff;
    --fog:    #f7f7f7;
    --muted:  #6b6b6b;
    --rule:   #e2e2e2;
    --acc:    #e6321f;
    --fh:     'Titillium Web', sans-serif;
    --fb:     'Inter', sans-serif;
    --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--white); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--ink); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 64px; }
#prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); z-index: 9999; transition: width .06s linear; }

/* ══════════════════════════════════
   REVEAL
══════════════════════════════════ */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d,0s); }
.rv.on { opacity: 1; transform: none; }
.sl { opacity: 0; transform: translateX(-36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d,0s); }
.sr { opacity: 0; transform: translateX(36px);  transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d,0s); }
.sl.on, .sr.on { opacity: 1; transform: none; }

/* Word reveal — lento, elegante */
.wd {
    display: inline-block; opacity: 0;
    transform: translateY(36px); filter: blur(3px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1s ease;
    transition-delay: var(--wd, 0s);
}
.split-words.on .wd { opacity: 1; transform: none; filter: blur(0); }

/* Eyebrow — patrón consistente */
.eyebrow {
    display: flex; align-items: center; gap: 14px;
    font-size: .6rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--acc); flex-shrink: 0; }
.eyebrow--light { color: rgba(255,255,255,.3); }
.eyebrow--light::before { background: var(--acc); }

/* ══════════════════════════════════
   01 · HERO — Bloomberg data terminal
   Fondo negro. Canvas de líneas.
   Número gigante. Tabs inferiores.
══════════════════════════════════ */
.s-dato {
    position: relative;
    width: 100%; height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: #000;
    display: flex; flex-direction: column;
    font-family: var(--fb);
}

/* Video de fondo — capa base, muy tenue */
.sd-bg-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .07;
    filter: grayscale(100%) contrast(1.1);
    pointer-events: none;
}

/* Canvas de líneas */
#sd-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Overlay — degradado izquierdo + inferior */
.sd-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(230,50,31,.04) 0%, transparent 60%),
        linear-gradient(to right,  rgba(0,0,0,.6) 0%, transparent 70%),
        linear-gradient(to top,    rgba(0,0,0,.95) 0%, transparent 45%);
}

/* Contenido principal */
.sd-content {
    position: relative; z-index: 2;
    flex: 1;
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 120px 72px 0;
    max-width: 860px;
}

/* Eyebrow */
.sd-eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: .62rem; letter-spacing: 3.5px; text-transform: uppercase;
    color: rgba(255,255,255,.25);
    margin-bottom: 28px;
    font-family: var(--fh);
}
.sd-idx-cur  { color: var(--acc); font-weight: 700; font-size: .72rem; }
.sd-idx-sep  { color: rgba(255,255,255,.12); }
.sd-eyebrow-pipe { color: rgba(255,255,255,.1); margin: 0 6px; }
.sd-eyebrow-label {
    color: rgba(255,255,255,.35);
    transition: opacity .2s, transform .2s;
}

/* Número */
.sd-number-wrap { margin-bottom: 16px; }
.sd-number {
    font-family: var(--fh);
    font-size: clamp(6rem, 14vw, 16rem);
    font-weight: 900;
    line-height: .82;
    letter-spacing: -6px;
    color: var(--white);
    transition: opacity .18s ease, transform .18s ease;
    will-change: transform, opacity;
}
.sd-unit {
    font-size: clamp(.85rem, 1.4vw, 1.1rem);
    color: rgba(255,255,255,.4);
    font-weight: 300;
    margin-top: 14px;
    letter-spacing: .3px;
    transition: opacity .2s, transform .2s;
}

/* Descripción */
.sd-desc {
    font-size: clamp(.8rem, 1vw, .92rem);
    color: rgba(255,255,255,.28);
    line-height: 1.8;
    font-weight: 300;
    max-width: 540px;
    margin-top: 16px;
    transition: opacity .2s, transform .2s;
    border-left: 2px solid rgba(255,255,255,.07);
    padding-left: 18px;
}

/* Tags */
.sd-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 20px;
    transition: opacity .2s, transform .2s;
}
.sd-tag {
    font-size: .6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.1);
    padding: 5px 12px;
    font-family: var(--fh);
    transition: border-color .3s, color .3s;
}
.sd-tag:hover { border-color: var(--acc); color: var(--acc); }

/* Scroll hint */
.sd-scroll-hint {
    display: flex; align-items: center; gap: 10px;
    margin-top: 36px;
    font-size: .58rem; letter-spacing: 4px; text-transform: uppercase;
    color: rgba(255,255,255,.12);
}
.sd-scroll-hint i { animation: sdBounce 1.8s ease-in-out infinite; }
@keyframes sdBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* Ticker lateral — números desfilando */
.sd-ticker {
    position: absolute;
    right: 0; top: 0; bottom: 80px;
    width: 28px;
    overflow: hidden;
    z-index: 2;
    border-left: 1px solid rgba(255,255,255,.04);
    display: flex; align-items: center; justify-content: center;
}
.sd-ticker__line {
    display: flex;
    flex-direction: column;
    writing-mode: vertical-rl;
    font-size: .55rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,.06);
    font-family: var(--fh);
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    gap: 0;
}
@keyframes tickerScroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* ── BARRA DE TABS ── */
.sd-tabs-bar {
    position: relative; z-index: 3;
    display: flex; align-items: stretch;
    background: rgba(5,5,5,.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.sd-tabs-inner {
    display: flex; flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.sd-tabs-inner::-webkit-scrollbar { display: none; }

.sd-tab {
    position: relative;
    flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 16px 22px 14px;
    background: transparent;
    border: none; border-right: 1px solid rgba(255,255,255,.05);
    cursor: pointer; text-align: left;
    transition: background .25s;
    min-width: 120px;
}
.sd-tab:hover  { background: rgba(255,255,255,.04); }
.sd-tab.active { background: rgba(255,255,255,.07); }

/* Barra de progreso */
.sd-tab__prog {
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--acc);
    transform: scaleX(0); transform-origin: left;
}

.sd-tab__label {
    display: block; font-size: .75rem; font-weight: 600;
    color: rgba(255,255,255,.28); letter-spacing: .2px;
    transition: color .25s; white-space: nowrap;
    font-family: var(--fh);
}
.sd-tab__sub {
    display: block; font-size: .6rem;
    color: rgba(255,255,255,.14); margin-top: 3px;
    white-space: nowrap; transition: color .25s;
}
.sd-tab.active .sd-tab__label { color: var(--white); }
.sd-tab.active .sd-tab__sub   { color: rgba(255,255,255,.35); }
.sd-tab:hover  .sd-tab__label { color: rgba(255,255,255,.65); }

/* Controles */
.sd-controls {
    display: flex; align-items: center; gap: 2px;
    padding: 0 14px; border-left: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}
.sd-ctrl {
    width: 34px; height: 34px; background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.35); font-size: .68rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.sd-ctrl:hover { background: rgba(255,255,255,.07); color: var(--white); border-color: rgba(255,255,255,.2); }
.sd-ctrl--play { width: 38px; height: 38px; border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.55); }
.sd-ctrl--play:hover { background: var(--acc); border-color: var(--acc); color: var(--white); }

/* Transiciones de texto suaves */
.sd-unit, .sd-eyebrow-label, .sd-desc, .sd-tags {
    transition: opacity .2s ease, transform .2s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .sd-content  { padding: 90px 24px 0; }
    .sd-number   { font-size: 5rem; letter-spacing: -3px; }
    .sd-ticker   { display: none; }
    .sd-tab      { min-width: 96px; padding: 12px 14px; }
    .sd-tab__sub { display: none; }
    .sd-controls { padding: 0 8px; }
}

/* ══════════════════════════════════
   ORGANIGRAMA
══════════════════════════════════ */
.s-org {
    background: var(--black);
    padding: 120px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.s-org__header { margin-bottom: 72px; }
.s-org__h2 {
    font-family: var(--fh);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 400; line-height: .85;
    letter-spacing: -2.5px; color: var(--white);
    margin-top: 16px;
}
.s-org__layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 64px; align-items: start;
}

/* Leyenda */
.s-org__legend {
    position: sticky; top: 100px;
    border: 1px solid rgba(255,255,255,.08);
    padding: 28px 24px;
}
.org-legend-title {
    font-size: .58rem; letter-spacing: 4px; text-transform: uppercase;
    color: rgba(255,255,255,.2); margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.org-legend-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .78rem; color: rgba(255,255,255,.4);
    margin-bottom: 12px; font-weight: 300;
}
.org-dot {
    width: 10px; height: 10px; border-radius: 0; flex-shrink: 0;
}
.org-dot--dir  { background: var(--acc); }
.org-dot--lead { background: rgba(230,50,31,.5); }
.org-dot--mid  { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.org-dot--new  { background: rgba(230,50,31,.2); border: 1px solid rgba(230,50,31,.4); }
.org-legend-sep {
    height: 1px; background: rgba(255,255,255,.06);
    margin: 20px 0;
}
.org-legend-note {
    font-size: .75rem; color: rgba(255,255,255,.2);
    line-height: 1.7; font-weight: 300;
}

/* Chart */
.s-org__chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,.04);
}
.org-col {
    background: var(--black);
    display: flex; flex-direction: column; gap: 2px;
}

/* Dept header */
.org-dept {
    padding: 16px 18px;
    font-family: var(--fh);
    font-size: .8rem; font-weight: 700;
    color: var(--white);
    letter-spacing: .2px;
    margin-bottom: 6px;
}
.org-dept--hw  { background: var(--acc); }
.org-dept--sw  { background: var(--acc); }
.org-dept--st  { background: var(--acc); }
.org-dept--smt { background: var(--acc); }

/* Nodes */
.org-node {
    padding: 12px 18px;
    font-size: .8rem; color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.05);
    font-weight: 300; line-height: 1.3;
    transition: background .2s, color .2s;
    cursor: default;
}
.org-node:hover {
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.8);
}
.org-node--dir {
    background: rgba(230,50,31,.15);
    border-color: rgba(230,50,31,.3);
    color: rgba(255,255,255,.7);
    font-weight: 600;
}
.org-node--dir:hover {
    background: rgba(230,50,31,.25);
    color: var(--white);
}
.org-node--lead {
    background: rgba(230,50,31,.08);
    border-color: rgba(230,50,31,.18);
    color: rgba(255,255,255,.6);
    font-weight: 500;
}
.org-node--new {
    background: rgba(230,50,31,.05);
    border-color: rgba(230,50,31,.15);
    color: rgba(255,255,255,.35);
    font-style: italic;
}



/* ══════════════════════════════════
   02 · LA DECISIÓN
   Tres actos. Sin timeline decorativa.
   Texto que argumenta.
══════════════════════════════════ */
.s-decision {
    background: var(--white);
    padding: 160px 0;
    border-bottom: 1px solid var(--rule);
}
.s-decision__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 120px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--rule);
}
.s-decision__h2 {
    font-family: var(--fh);
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 300;
    line-height: .85;
    letter-spacing: -3px;
    color: var(--ink);
}
.s-decision__intro {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    border-left: 2px solid var(--rule);
    padding-left: 24px;
}

/* Los tres actos */
.s-decision__acts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.act {
    padding: 0 48px 0 0;
    border-right: 1px solid var(--rule);
    margin-right: 48px;
}
.act:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.act__year {
    font-family: var(--fh);
    font-size: 4rem;
    font-weight: 200;
    color: #6f6f6f;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.act__marker {
    width: 28px; height: 2px;
    background: var(--acc);
    margin-bottom: 20px;
}
.act__h3 {
    font-family: var(--fh);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.3px;
}
.act__p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}
.act__decision {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: .78rem;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.act__decision::before {
    content: '→';
    color: var(--acc);
    font-size: .9rem;
}

/* ══════════════════════════════════
   03 · LA PRUEBA — video fullscreen
   Sin texto encima. La fábrica habla.
══════════════════════════════════ */
.s-prueba {
    position: relative;
    background: var(--black);
}
.s-prueba__video-wrap {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}
.s-prueba__video-wrap video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .6;
}
.s-prueba__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.85) 100%);
}
.s-prueba__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 48px 64px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.s-prueba__caption-left {
    font-family: var(--fh);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 100;
    line-height: .9;
    letter-spacing: -2px;
    color: var(--white);
}
.s-prueba__caption-left span {
    display: block;
    font-weight: 200;
    color: rgba(255,255,255,.35);
    font-size: .6em;
    letter-spacing: 0;
}
.s-prueba__caption-right {
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    text-align: right;
    line-height: 1.8;
}

/* ══════════════════════════════════
   04 · CASOS DE ÉXITO
══════════════════════════════════ */

/* Imagen héroe — fullwidth, gris, zoom scroll, color al hover */
.s-casos__hero {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background: var(--black);
}
.s-casos__img-wrap {
    position: absolute; inset: 0;
    overflow: hidden;
}
.s-casos__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
    transform-origin: center center;
    filter: grayscale(100%) brightness(.55);
    transition: filter .8s var(--ease);
    will-change: transform;
}
.s-casos__hero:hover .s-casos__img-wrap img {
    filter: grayscale(0%) brightness(.7);
}
.s-casos__hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.75) 100%);
    z-index: 1;
}
.s-casos__hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 56px 64px;
    z-index: 2;
}
.s-casos__hero-h2 {
    font-family: var(--fh);
    font-size: clamp(3rem, 7vw, 8rem);
    font-weight: 300;
    line-height: .82;
    letter-spacing: -4px;
    color: var(--white);
    margin-top: 16px;
}

/* Grid de contratos */
.s-casos__grid-wrap {
    background: var(--fog);
    border-bottom: 1px solid var(--rule);
    padding: 96px 0;
}
.s-casos__intro {
    max-width: 600px;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
}
.s-casos__intro p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    border-left: 2px solid var(--acc);
    padding-left: 20px;
}
.s-casos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    margin-bottom: 64px;
}
.caso {
    background: var(--white);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background .25s;
    position: relative;
    overflow: hidden;
}
.caso::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--acc);
    transition: height .4s var(--ease);
}
.caso:hover { background: #f0f0f0; }
.caso:hover::before { height: 100%; }

.caso--featured {
    background: var(--ink);
}
.caso--featured:hover { background: #111; }
.caso--featured .caso__org  { color: rgba(255,255,255,.3); }
.caso--featured .caso__n    { color: var(--white); }
.caso--featured .caso__desc { color: rgba(255,255,255,.35); }
.caso--featured .caso__monto { color: var(--acc); }
.caso--featured .caso__year { color: rgba(255,255,255,.3); }

.caso__org {
    font-size: .62rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
}
.caso__n {
    font-family: var(--fh);
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 200;
    color: var(--ink);
    letter-spacing: -1.5px;
    line-height: 1;
}
.caso__desc {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
}
.caso__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    margin-top: auto;
}
.caso--featured .caso__meta { border-top-color: rgba(255,255,255,.08); }
.caso__monto {
    font-size: .78rem;
    font-weight: 700;
    color: var(--acc);
    font-family: var(--fh);
}
.caso__year {
    font-size: .65rem;
    letter-spacing: 2px;
    color: var(--muted);
}

/* Distribución regional */

.s-casos__regional-head {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
}
.s-casos__countries {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--rule);
}
.country-item {
    padding: 24px 20px;
    border-right: 1px solid var(--rule);
    transition: background .2s;
}
.country-item:last-child { border-right: none; }
.country-item:hover { background: var(--white); }
.country-n {
    display: block;
    font-family: var(--fh);
    font-size: 1.4rem;
    font-weight: 200;
    color: var(--ink);
    letter-spacing: -.5px;
    line-height: 1;
}
.country-l {
    display: block;
    font-size: .6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

/* ══════════════════════════════════
   05 · VALIDACIÓN
══════════════════════════════════ */
.s-validacion {
    background: var(--ink);
    padding: 120px 0;
}
.s-validacion__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,.06);
}
.val-item {
    background: var(--ink);
    padding: 64px 56px;
    transition: background .3s;
}
.val-item:hover { background: #111; }
.val-item__logo {
    height: 28px;
    margin-bottom: 40px;
    opacity: .35;
    transition: opacity .3s;
    object-fit: contain;
    object-position: left;
}
.val-item:hover .val-item__logo { opacity: .6; }
.val-item__n {
    font-family: var(--fh);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 100;
    color: var(--white);
    line-height: .9;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}
.val-item__n .dim { color: rgba(255,255,255,.2); display: block; }
.val-item__p {
    font-size: .88rem;
    color: rgba(255,255,255,.3);
    line-height: 1.75;
    font-weight: 300;
    border-left: 2px solid rgba(255,255,255,.08);
    padding-left: 18px;
    margin-top: 24px;
}
.val-item__award {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.val-item__award-img {
    max-height: 80px;
    opacity: .7;
    transition: opacity .3s;
}
.val-item:hover .val-item__award-img { opacity: 1; }
.val-item__award-text {
    font-size: .75rem;
    color: rgba(255,255,255,.25);
    line-height: 1.5;
}
.val-item__award-text strong { color: rgba(255,255,255,.6); display: block; }

/* ══════════════════════════════════
   05 · EL ALCANCE — mapa + números
══════════════════════════════════ */
.s-alcance {
    background: var(--white);
    padding: 120px 0;
    border-bottom: 1px solid var(--rule);
}
.s-alcance__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 72px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--rule);
}
.s-alcance__h2 {
    font-family: var(--fh);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -2.5px;
    color: var(--ink);
}
.s-alcance__context {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    border-left: 2px solid var(--rule);
    padding-left: 20px;
}
.s-alcance__context strong { color: var(--ink); font-weight: 600; }

/* Cifras arriba del mapa */
.s-alcance__nums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 48px;
    border: 1px solid var(--rule);
}
.alcance-num {
    padding: 32px 36px;
    border-right: 1px solid var(--rule);
}
.alcance-num:last-child { border-right: none; }
.alcance-num__n {
    font-family: var(--fh);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 200;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
}
.alcance-num__n .acc { color: var(--acc); font-weight: 100; }
.alcance-num__l {
    display: block;
    font-size: .6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
}

/* Mapa */
.map-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.map-data-col { position: sticky; top: 100px; }
.data-card { background: var(--ink); padding: 32px 28px; margin-bottom: 10px; }
.data-pill { font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 14px; margin-bottom: 20px; display: block; }
.stat-number { display: block; font-family: var(--fh); font-size: 2.8rem; font-weight: 200; color: var(--white); line-height: 1; letter-spacing: -1px; }
.stat-label { display: block; font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.2); margin-top: 8px; }
.data-desc { font-size: .8rem; color: rgba(255,255,255,.25); line-height: 1.65; margin-top: 14px; font-weight: 300; }
.total-orange-box { background: var(--acc); padding: 24px 28px; }
.total-title { font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; display: block; }
.total-number { font-family: var(--fh); font-size: 2.5rem; font-weight: 100; color: var(--white); line-height: 1; letter-spacing: -1px; }
.total-label { display: block; font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }
.total-sub { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.total-sub strong { color: var(--white); }
.map-toggle-wrapper { display: inline-flex; border: 1px solid var(--rule); margin-bottom: 12px; }
.map-toggle-btn { padding: 8px 20px; border: none; font-size: .72rem; font-weight: 600; letter-spacing: .3px; cursor: pointer; background: var(--white); color: var(--muted); transition: all .2s; }
.map-toggle-btn.active { background: var(--ink); color: var(--white); }
.map-visual-col { position: relative; }
#interactive-map { width: 100%; height: 460px; border: 1px solid var(--rule); }
#map-reset-btn { position: absolute; bottom: 14px; right: 14px; z-index: 999; background: var(--ink); color: var(--white); border: none; padding: 9px 18px; font-size: .72rem; font-weight: 600; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
#map-reset-btn.visible { opacity: 1; pointer-events: auto; }
.custom-map-marker { background: transparent; border: none; }
.custom-tooltip { background: var(--ink) !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: 2px !important; padding: 8px 12px !important; box-shadow: 0 4px 16px rgba(0,0,0,.3) !important; }
.custom-tooltip::before { display: none !important; }
.map-tooltip-content { display: flex; flex-direction: column; }
.tooltip-num { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1; }
.tooltip-label { font-size: .58rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: 3px; }

/* ══════════════════════════════════
   06 · EL SIGUIENTE PASO — Panamá
══════════════════════════════════ */
.s-panama {
    background: var(--black);
    padding: 120px 0;
}
.s-panama__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
}
.s-panama__h2 {
    font-family: var(--fh);
    font-size: clamp(2.5rem, 4.5vw, 5.5rem);
    font-weight: 300;
    line-height: .85;
    letter-spacing: -2.5px;
    color: var(--white);
    margin-bottom: 24px;
}
.s-panama__h2 .acc { color: var(--acc); }
.s-panama__p {
    font-size: .95rem;
    color: rgba(255,255,255,.3);
    line-height: 1.8;
    font-weight: 300;
    border-left: 2px solid rgba(255,255,255,.08);
    padding-left: 20px;
    margin-bottom: 48px;
}
.s-panama__projects { display: flex; flex-direction: column; gap: 1px; }
.proj {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    padding: 28px 32px;
    transition: background .3s;
}
.proj:hover { background: rgba(255,255,255,.06); }
.proj__title {
    font-family: var(--fh);
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.proj__desc {
    font-size: .82rem;
    color: rgba(255,255,255,.25);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 16px;
}
.proj__stats { display: flex; gap: 24px; flex-wrap: wrap; }
.proj__stat { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; }
.proj__stat-label { color: rgba(255,255,255,.2); }
.proj__stat-val { color: var(--acc); font-weight: 700; margin-left: 6px; }
.progress-bar-bg { width: 100%; height: 2px; background: rgba(255,255,255,.07); margin-top: 12px; }
.progress-bar-fill { height: 100%; background: var(--acc); transition: width 1.2s var(--ease); }

/* ══════════════════════════════════
   07 · CEO — opcional, discreto
══════════════════════════════════ */
.s-ceo {
    background: var(--fog);
    padding: 100px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.s-ceo__inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: center;
}
.s-ceo__img {
    aspect-ratio: 3/4;
    overflow: hidden;
}
.s-ceo__img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    filter: grayscale(40%);
    transition: filter .6s;
}
.s-ceo__img:hover img { filter: grayscale(0); }
.s-ceo__name {
    font-family: var(--fh);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    line-height: .9;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 6px;
}
.s-ceo__role {
    font-size: .72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
}
.s-ceo__quote {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    font-style: italic;
    border-left: 2px solid var(--acc);
    padding-left: 24px;
}

/* ══════════════════════════════════
   08 · CTA FINAL
   Una sola acción. Sin opciones.
══════════════════════════════════ */
.s-cta {
    background: var(--black);
    padding: 160px 0;
}
.s-cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.s-cta__h2 {
    font-family: var(--fh);
    font-size: clamp(4rem, 10vw, 11rem);
    font-weight: 300;
    line-height: .82;
    letter-spacing: -5px;
    color: var(--white);
}
.s-cta__btn {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--white); color: var(--black);
    padding: 18px 44px;
    font-weight: 700; font-size: .92rem; letter-spacing: .5px;
    transition: background .25s, color .25s;
}
.s-cta__btn:hover { background: var(--acc); color: var(--white); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
    .s-org__layout           { grid-template-columns: 1fr; }
    .s-org__legend           { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; align-items: start; }
    .org-legend-sep          { display: none; }
    .s-org__chart            { grid-template-columns: repeat(2,1fr); }

    .s-decision__acts    { grid-template-columns: 1fr; gap: 48px; }
    .act                 { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 48px; }
    .act:last-child      { border-bottom: none; }
    .s-validacion__grid  { grid-template-columns: 1fr; }
    .s-alcance__header   { grid-template-columns: 1fr; gap: 40px; }
    .s-alcance__nums     { grid-template-columns: 1fr; }
    .alcance-num         { border-right: none; border-bottom: 1px solid var(--rule); }
    .alcance-num:last-child { border-bottom: none; }
    .map-layout          { grid-template-columns: 1fr; }
    .map-data-col        { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .s-panama__inner     { grid-template-columns: 1fr; gap: 60px; }
    .s-ceo__inner        { grid-template-columns: 1fr; gap: 48px; }
    .s-ceo__img          { max-width: 320px; aspect-ratio: 4/3; }
}
@media (max-width: 768px) {
    .s-casos__hero-caption { padding: 32px 24px; }
    .s-casos__hero-h2      { font-size: 3rem; letter-spacing: -2px; }
    .s-casos__countries    { grid-template-columns: repeat(2,1fr); }

    .s-dato__number { letter-spacing: -5px; }
    .s-dato__bottom { grid-template-columns: 1fr; gap: 24px; }
    .s-prueba__caption { padding: 32px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
    .map-data-col { grid-template-columns: 1fr; }
    #interactive-map { height: 340px; }
    .s-cta__h2 { font-size: 3.5rem; letter-spacing: -2px; }
}
