/* =====================================================================
   IGSA · Ingeniería y Construcción — Salamanca
   Landing corporativa · Sólida · Técnica · Industrial
   Paleta y tipografía alineadas a la marca (logo IGSA)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Archivo+Narrow:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    /* ============================================================
       Paleta corporativa IGSA — AZUL MARINO + AZUL ACENTO + GRIS ACERO
       (extraída del logotipo). Azul marino = base/autoridad.
       Azul claro = acento y enlaces. Gris acero = estructura.
       ============================================================ */
    --navy:         #0e1f3a;   /* azul marino del logo — base oscura */
    --navy-2:       #15294a;   /* marino un punto más claro */
    --navy-soft:    #1d3458;

    --brand:        #2b7fc0;   /* azul corporativo medio */
    --brand-2:      #3b9fd4;   /* azul acento claro (del logo) */
    --brand-dark:   #1e5e92;
    --brand-darker: #18476f;
    --brand-deep:   #0e1f3a;
    --brand-soft:   #e8f1f8;
    --brand-softer: #f2f7fb;

    /* Gris acero corporativo */
    --steel:        #5b6772;   /* gris acero del logo */
    --steel-2:      #7a858f;
    --steel-soft:   #eceef1;
    --steel-line:   #dfe3e8;

    --ink:          #0e1f3a;   /* tinta = marino */

    /* Superficies — limpias y lisas (sin texturas) */
    --bg:          #ffffff;
    --bg-2:        #f4f6f8;     /* gris muy claro */
    --bg-3:        #eceef1;
    --surface:     #ffffff;
    --line:        #e4e7eb;
    --line-strong: #d2d7dd;

    /* Texto */
    --text:        #16243a;
    --text-soft:   #51606f;
    --text-faint:  #8590a0;

    /* Tipografía — sólida, técnica, sin serifas */
    --font-display: 'Archivo', -apple-system, sans-serif;       /* titulares */
    --font-narrow:  'Archivo Narrow', 'Archivo', sans-serif;    /* etiquetas técnicas */
    --font-body:    'Archivo', -apple-system, sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;

    /* Geometría — industrial: bordes rectos, sombras sobrias */
    --radius:    3px;
    --radius-lg: 6px;
    --shadow-1:  0 1px 2px rgba(14,31,58,.04), 0 2px 8px rgba(14,31,58,.05);
    --shadow-2:  0 6px 20px rgba(14,31,58,.08), 0 14px 36px rgba(14,31,58,.06);
    --shadow-deep: 0 24px 64px rgba(14,31,58,.22);

    --container: 1240px;
    --gutter:    clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--brand); color: #fff; }

/* ===================== MARQUESINA SUPERIOR ===================== */
/* ===================== TOPBAR INDICADORES ===================== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 34px;
    background: #080e18;
    border-bottom: 1px solid rgba(255,255,255,.07);
    z-index: 110;
    display: flex;
    align-items: center;
}
.topbar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar__fecha {
    font-size: 11.5px;
    font-family: var(--font-mono);
    color: rgba(255,255,255,.45);
    letter-spacing: 0.03em;
    text-transform: lowercase;
}
.topbar__indicators {
    display: flex;
    align-items: center;
    gap: 0;
}
.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}
.topbar__divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.12);
    flex-shrink: 0;
}
.topbar__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}
.topbar__label--usd { color: rgba(80,200,140,.7); }
.topbar__value {
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 600;
    color: rgba(255,255,255,.88);
    letter-spacing: 0.02em;
}

body.has-ticker .nav { top: 34px; }

@media (max-width: 768px) {
    .topbar__fecha { display: none; }
    .topbar__item { padding: 0 10px; }
    body.has-ticker .nav { top: 34px; }
}
@media (max-width: 480px) {
    .topbar { display: none; }
    body.has-ticker .nav { top: 0; }
}

/* ===================== TIPOGRAFÍA ===================== */
.display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--brand-2);
    flex-shrink: 0;
    border-radius: 2px;
}

/* ===================== LAYOUT ===================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
section { padding: clamp(72px, 9vw, 120px) 0; }

/* ===================== NAVBAR ===================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
    background: transparent;
}
.nav.scrolled {
    background: rgba(14,31,58,.97);
    padding: 10px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 24px rgba(14,31,58,.18);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.01em;
    color: var(--ink);
    transition: color .3s;
}
.nav.scrolled .nav__brand { color: #fff; }
/* Logo placeholder = barras de marca + sigla, como el logotipo */
.nav__logo {
    width: 42px; height: 42px;
    background: var(--navy);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    padding-left: 8px;
}
.nav__logo::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 5px;
    background: linear-gradient(var(--brand-2) 0 60%, var(--steel-2) 60% 100%);
}
.nav__logo::after { display: none; }
.nav__logo-img {
    max-height: 46px;
    max-width: 170px;
    object-fit: contain;
    display: block;
}
.nav.scrolled .nav__logo-img { max-height: 40px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text small {
    font-family: var(--font-narrow);
    font-size: 11px;
    font-weight: 600;
    color: var(--steel-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 3px;
    transition: color .3s;
}
.nav.scrolled .nav__brand-text small { color: var(--brand-2); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav__links a {
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color .15s;
    position: relative;
}
.nav.scrolled .nav__links a { color: rgba(255,255,255,.78); }
.nav__links a::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 2px;
    height: 2px;
    background: var(--brand-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav.scrolled .nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--brand);
    color: #fff;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all .2s;
    border: 1px solid var(--brand);
    white-space: nowrap;
}
.nav__cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav__cta-label { font-size: 12px; }
.nav__cta:hover { background: var(--brand-2); border-color: var(--brand-2); transform: translateY(-1px); }
.nav.scrolled .nav__cta { background: var(--brand-2); border-color: var(--brand-2); }
.nav.scrolled .nav__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Hamburguesa */
.nav__toggle {
    display: none;
    width: 38px; height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    color: #fff;
    place-items: center;
    cursor: pointer;
    transition: background .2s;
}
.nav__toggle:hover { background: rgba(255,255,255,.14); }
.nav__toggle svg { width: 18px; height: 18px; }
/* En fondo claro (sin scrolled) el toggle también visible */
.nav:not(.scrolled) .nav__toggle {
    border-color: rgba(14,31,58,.15);
    background: rgba(14,31,58,.04);
    color: var(--ink);
}
.nav.scrolled .nav__toggle { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: clamp(480px, 65vh, 700px);
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    padding-top: 0;
}
/* Mitad derecha oscura */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 42%; height: 100%;
    background: var(--ink);
    pointer-events: none;
    z-index: 0;
}
/* Línea separadora azul */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 58%;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 70%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}
/* Offset para topbar + nav */
body.has-ticker .hero { padding-top: 0; }
body.has-ticker .hero .hero__grid { padding-top: calc(34px + 60px + 8px); }
body:not(.has-ticker) .hero .hero__grid { padding-top: calc(60px + 8px); }

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 58fr 42fr;
    flex: 1;
    align-items: stretch;
    gap: 0;
    min-height: clamp(440px, 60vh, 640px);
}
/* Columna izquierda */
.hero__content {
    position: relative;
    z-index: 2;
    padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px) var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(32px, 3.8vw, 54px);
    line-height: 1.01;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 14px 0 18px;
    text-transform: uppercase;
}
.hero h1 em { font-style: normal; font-weight: 900; color: var(--brand-2); }
.hero h1 .line { display: block; }
.hero__lead {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--text-soft);
    max-width: 440px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Columna derecha */
.hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 52px);
    background: transparent;
    border-radius: 0;
    overflow: visible;
    width: auto;
    align-self: auto;
    flex-shrink: unset;
}
.hero__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(59,159,212,.14) 0%, transparent 70%),
        repeating-linear-gradient(90deg, transparent 0, transparent 36px, rgba(255,255,255,.02) 36px, rgba(255,255,255,.02) 37px),
        repeating-linear-gradient(0deg,  transparent 0, transparent 36px, rgba(255,255,255,.02) 36px, rgba(255,255,255,.02) 37px);
    pointer-events: none;
}
.hero__visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
}
.hero__visual-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero__visual-tag::before {
    content: ''; width: 6px; height: 6px;
    background: var(--brand-2); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.5); }
}
.hero__visual-figure {
    font-family: var(--font-display);
    font-size: clamp(42px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.04em;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 20px;
}
.hero__visual-figure small {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,.5);
    margin-top: 8px;
    line-height: 1.5;
    letter-spacing: 0;
}
.hero__visual-datos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    overflow: hidden;
}
.hero__visual-dato {
    background: rgba(255,255,255,.03);
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background .2s;
}
.hero__visual-dato:hover { background: rgba(255,255,255,.07); }
.hero__visual-dato-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,.32);
    font-weight: 600;
}
.hero__visual-dato-val {
    font-family: var(--font-display);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
@media (max-width: 1024px) {
    .hero::before, .hero::after { display: none; }
    .hero__grid { grid-template-columns: 1fr; min-height: auto; }
    .hero__visual { display: none; }
    .hero__content { padding: 40px var(--gutter) 36px; justify-content: flex-start; }
    body.has-ticker .hero .hero__grid { padding-top: calc(34px + 56px + 8px); }
    body:not(.has-ticker) .hero .hero__grid { padding-top: calc(56px + 8px); }
}

/* Barra métricas */
.hero__meta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.08);
}
.hero__meta-item {
    padding: clamp(16px, 2vw, 22px) clamp(16px, 2.5vw, 36px);
    border-right: 1px solid rgba(255,255,255,.08);
}
.hero__meta-item:first-child { padding-left: var(--gutter); }
.hero__meta-item:last-child { border-right: none; }
.hero__meta-item::before { display: none; }
.hero__meta-item .num {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.03em;
}
.hero__meta-item .num sup { color: var(--brand-2); font-size: 0.45em; margin-left: 2px; vertical-align: super; }
.hero__meta-item .label {
    font-size: 9.5px;
    color: rgba(255,255,255,.35);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    line-height: 1.3;
}

.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all .2s;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
}
.btn-primary:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); }
.btn-primary svg, .btn-ghost svg { width: 15px; height: 15px; transition: transform .2s; }
.btn-primary:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }
.hero__slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--ink);
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: #fff;
}
.hero__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--slider-fit, cover);
    object-position: center;
    z-index: 0;
}
.hero__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,22,32,.88) 0%, rgba(14,22,32,.35) 50%, transparent 100%);
    z-index: 1;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide-content { position: relative; z-index: 2; }
.hero__slide-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1.1;
    font-weight: 500;
    margin-top: 12px;
    letter-spacing: -0.02em;
    max-width: 540px;
}
.hero__slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 22px;
    background: var(--brand);
    color: #fff;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all .2s;
    align-self: flex-start;
}
.hero__slide-btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}
.hero__dots {
    position: absolute;
    bottom: 20px; right: 24px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero__dot {
    width: 28px; height: 4px;
    border: none; background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: background .25s;
    padding: 0;
}
.hero__dot.is-active { background: var(--brand-2); }

/* ===================== SECTION HEADER ===================== */
.sec-head {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(32px, 6vw, 80px);
    margin-bottom: 64px;
    align-items: end;
}
.sec-head__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-transform: uppercase;
}
.sec-head__title em { font-style: normal; color: var(--brand-2); font-weight: 800; }
.sec-head__intro {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.6;
    max-width: 580px;
}

/* ===================== NOSOTROS ===================== */
/* ===================== NOSOTROS ===================== */
.nosotros { background: var(--bg-2); }

/* --- Hero bloque nosotros (fondo oscuro) --- */
.nos-hero {
    background: var(--ink);
    padding: clamp(72px, 9vw, 120px) 0 clamp(60px, 7vw, 96px);
    position: relative;
    overflow: hidden;
}
.nos-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(30,90,180,.12) 0%, transparent 70%);
    pointer-events: none;
}
.nos-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}
.nos-hero__left .eyebrow { color: var(--brand-2); margin-bottom: 20px; display: block; }
.nos-hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(34px, 4.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}
.nos-hero__intro {
    font-family: var(--font-display);
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}
.nos-hero__p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin: 0 0 16px;
}
.nos-hero__p:last-of-type { margin-bottom: 28px; }

/* Mercado Público inline (dentro del hero) */
.mp-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(74,159,212,.35);
    border-radius: 10px;
    background: rgba(74,159,212,.06);
    margin-top: 8px;
}
.mp-inline__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(74,159,212,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-2);
}
.mp-inline__body { flex: 1; min-width: 0; }
.mp-inline__tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-2);
    margin-bottom: 4px;
}
.mp-inline__desc {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}
.mp-inline__btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.mp-inline__btn:hover { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }

/* --- Misión / Visión: dos paneles full-bleed --- */
.mv-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.mv-panel {
    padding: clamp(52px, 6vw, 80px) clamp(32px, 4vw, 64px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv-panel--mision { background: var(--brand); }
.mv-panel--vision { background: var(--bg); border-top: 3px solid var(--brand); }
.mv-panel__inner { position: relative; z-index: 2; max-width: 480px; width: 100%; }
.mv-panel__letter {
    position: absolute;
    top: 50%;
    left: clamp(20px, 3vw, 40px);
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(120px, 14vw, 200px);
    line-height: 1;
    letter-spacing: -0.05em;
    display: block;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}
.mv-panel--mision .mv-panel__letter { color: rgba(255,255,255,.12); }
.mv-panel--vision .mv-panel__letter { color: rgba(30,90,180,.08); }
.mv-panel__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.mv-panel--mision .mv-panel__tag { background: rgba(255,255,255,.2); color: #fff; }
.mv-panel--vision .mv-panel__tag { background: rgba(30,90,180,.1); color: var(--brand); }
.mv-panel__text {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.7;
    max-width: 440px;
}
.mv-panel--mision .mv-panel__text { color: rgba(255,255,255,.85); }
.mv-panel--vision .mv-panel__text { color: var(--text-soft); }

/* --- Valores: tarjetas con icono --- */
.valores-section {
    background: var(--bg-2);
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 1px solid var(--line-strong);
}
.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--line-strong);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
}
.valor {
    background: var(--bg);
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .2s;
}
.valor:hover { background: var(--bg-2); }
.valor__ico {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}
.valor:hover .valor__ico {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.valor__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}
.valor__desc {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

/* ===================== SERVICIOS ===================== */
.servicios { background: var(--bg-2); }

.serv-head {
    background: var(--bg);
    padding: clamp(60px, 7vw, 88px) 0 clamp(40px, 5vw, 60px);
    border-bottom: 1px solid var(--line);
}
.serv-head__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}
.serv-head .eyebrow { margin-bottom: 16px; display: block; }
.serv-head__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-transform: uppercase;
    margin: 0;
}
.serv-head__title em { font-style: normal; color: var(--brand-2); }
.serv-head__intro {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.65;
    max-width: 480px;
    align-self: end;
}

.serv-grid-wrap {
    padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 88px);
}
.servicios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.servicio {
    background: var(--bg);
    padding: 32px 28px 28px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.16,1,.3,1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}
.servicio::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.servicio:hover { border-color: transparent; box-shadow: 0 8px 32px rgba(14,31,58,.1), 0 2px 8px rgba(14,31,58,.06); transform: translateY(-3px); }
.servicio:hover::before { transform: scaleX(1); }
.servicio:hover .servicio__title { color: var(--brand); }
.servicio:hover .servicio__icon { background: var(--brand); border-color: var(--brand); }
.servicio:hover .servicio__icon svg { color: #fff; }
.servicio:hover .servicio__arrow { opacity: 1; transform: translateX(4px); color: var(--brand-2); }

.servicio__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.servicio__num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-faint);
    letter-spacing: 0.14em;
    font-weight: 600;
}
.servicio__icon {
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: grid; place-items: center;
    background: var(--bg-2);
    transition: all .25s;
}
.servicio__icon svg { width: 22px; height: 22px; color: var(--brand); transition: color .25s; }
.servicio__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(17px, 1.5vw, 20px);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 10px;
    transition: color .25s;
    line-height: 1.2;
}
.servicio__desc {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
    flex: 1;
    margin: 0 0 20px;
}
.servicio__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}
.servicio__cta {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    transition: color .25s;
}
.servicio:hover .servicio__cta { color: var(--brand); }
.servicio__arrow {
    width: 18px; height: 18px;
    opacity: .25;
    color: var(--ink);
    transition: all .25s;
}

/* ===================== EQUIPO ===================== */
.equipo { background: var(--bg-2); }
.equipo__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.persona {
    position: relative;
}
.persona__photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--steel) 0%, var(--ink) 100%);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-bottom: 18px;
}
.persona__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255,255,255,.03) 14px, rgba(255,255,255,.03) 15px);
}
.persona__initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 400;
    color: rgba(255,255,255,.92);
    letter-spacing: -0.02em;
}
.persona__tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 2px;
}
.persona h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 4px;
}
.persona__role { font-size: 13.5px; color: var(--text-soft); }
.persona__bio { font-size: 13px; color: var(--text-faint); margin-top: 8px; line-height: 1.5; }

/* ===================== PROYECTOS ===================== */
/* ===================== PROYECTOS ===================== */
.proyectos { background: var(--bg-2); }

/* Cabecera oscura */
.proy-head {
    background: var(--ink);
    padding: clamp(60px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
    position: relative;
    overflow: hidden;
}
.proy-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 50%, transparent 100%);
}
.proy-head__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: end;
}
.proy-head .eyebrow { color: var(--brand-2); margin-bottom: 18px; display: block; }
.proy-head__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(30px, 3.8vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}
.proy-head__title em { font-style: normal; color: var(--brand-2); }
.proy-head__right p {
    font-size: 16px;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 440px;
}
.proy-head__stats {
    display: flex;
    gap: 32px;
}
.proy-stat { display: flex; flex-direction: column; gap: 4px; }
.proy-stat__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.proy-stat__lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.38);
}

/* Lista */
.proy-lista {
    padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}
.proyectos__list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Card proyecto */
.proyecto {
    display: grid;
    grid-template-columns: 56px 1fr 180px 120px;
    gap: 0;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s;
    cursor: pointer;
    position: relative;
}
.proyecto:hover {
    transform: translateX(6px);
    box-shadow: -6px 0 0 0 var(--brand-2), 0 8px 32px rgba(14,31,58,.1);
    border-color: var(--brand-2);
    z-index: 2;
}

/* Número índice — barra izquierda */
.proyecto__idx {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    letter-spacing: 0.06em;
    min-height: 88px;
    flex-shrink: 0;
    transition: background .22s;
}
.proyecto--pav  .proyecto__idx { background: #1e4a8a; }
.proyecto--horm .proyecto__idx { background: #14406e; }
.proyecto--vial .proyecto__idx { background: #0d3358; }
.proyecto--edif .proyecto__idx { background: #1a5278; }
.proyecto--plaza .proyecto__idx { background: #236490; }

/* Body central */
.proyecto__body {
    padding: 22px 24px 22px 28px;
    min-width: 0;
}
.proyecto__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 6px;
    background: var(--brand-softer);
    padding: 2px 8px;
    border-radius: 2px;
    transition: background .22s, color .22s;
}
.proyecto:hover .proyecto__tag { background: var(--brand-2); color: #fff; }
.proyecto__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 18px);
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 4px;
    transition: color .22s;
}
.proyecto:hover .proyecto__name { color: var(--brand); }
.proyecto__desc {
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.45;
    margin: 0;
    transition: color .22s;
}
.proyecto:hover .proyecto__desc { color: var(--text-soft); }

/* Meta columna: ubicación + año */
.proyecto__meta-col {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 1px solid var(--line);
    align-self: stretch;
    justify-content: center;
}
.proyecto__loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color .22s;
}
.proyecto:hover .proyecto__loc { color: var(--brand); }
.proyecto__anio {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}

/* CTA columna */
.proyecto__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 20px;
    align-self: stretch;
    border-left: 1px solid var(--line);
    color: var(--text-faint);
    transition: color .22s, border-color .22s;
}
.proyecto:hover .proyecto__cta { color: var(--brand-2); border-color: transparent; }
.proyecto__cta-txt {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s, transform .22s;
}
.proyecto:hover .proyecto__cta-txt { opacity: 1; transform: none; }
.proyecto__cta svg { transition: transform .22s; }
.proyecto:hover .proyecto__cta svg { transform: translateX(3px); }

@media (max-width: 1024px) {
    .proy-head__grid { grid-template-columns: 1fr; gap: 28px; }
    .proyecto { grid-template-columns: 48px 1fr 100px; }
    .proyecto__meta-col { display: none; }
}
@media (max-width: 640px) {
    .proyecto { grid-template-columns: 48px 1fr 56px; }
    .proyecto__cta-txt { display: none; }
    .proyecto__desc { display: none; }
}

/* ===================== ACCESO ===================== */
.acceso {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 10vw, 120px) 0;
}
.acceso::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 90% at 100% 50%, rgba(59,159,212,.18), transparent 65%),
        radial-gradient(ellipse 40% 50% at 0% 0%,   rgba(43,127,192,.1),  transparent 60%);
    pointer-events: none;
}
.acceso::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg,  transparent 0, transparent 56px, rgba(255,255,255,.025) 56px, rgba(255,255,255,.025) 57px),
        repeating-linear-gradient(90deg, transparent 0, transparent 56px, rgba(255,255,255,.025) 56px, rgba(255,255,255,.025) 57px);
    pointer-events: none;
}
.acceso .container { position: relative; z-index: 1; }
.acceso__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}
.acceso-indicadores { display: none; }
.acceso .eyebrow { color: var(--brand-2); margin-bottom: 20px; display: block; }
.acceso h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 18px;
    text-transform: uppercase;
}
.acceso h2 em { font-style: normal; color: var(--brand-2); font-weight: 900; }
.acceso__lead {
    font-size: 16px;
    color: rgba(255,255,255,.58);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}
.acceso__features {
    display: grid;
    gap: 0;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.acceso__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    color: rgba(255,255,255,.75);
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: color .2s;
}
.acceso__feature:hover { color: #fff; }
.acceso__feature svg { width: 16px; height: 16px; color: var(--brand-2); flex-shrink: 0; }

.acceso .btn-primary { background: var(--brand-2); border-color: var(--brand-2); font-size: 15px; padding: 16px 32px; }
.acceso .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.acceso .btn-ghost { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); font-size: 14px; }
.acceso .btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); color: #fff; }
.acceso__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Panel derecho — visual con módulos del sistema */
.acceso__panel {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.acceso__panel-head {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.acceso__panel-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}
.acceso__panel-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,.4);
    letter-spacing: 0.08em;
}
.acceso__panel-dot::before {
    content: '';
    width: 7px; height: 7px;
    background: #3dd68c;
    border-radius: 50%;
    box-shadow: 0 0 8px #3dd68c;
    animation: pulse 2s ease-in-out infinite;
}
.acceso__modulos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.06);
}
.acceso__modulo {
    background: rgba(255,255,255,.02);
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background .2s;
}
.acceso__modulo:hover { background: rgba(255,255,255,.06); }
.acceso__modulo-ico {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(59,159,212,.15);
    border: 1px solid rgba(59,159,212,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-2);
    margin-bottom: 4px;
}
.acceso__modulo-ico svg { width: 17px; height: 17px; }
.acceso__modulo-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    letter-spacing: -0.01em;
}
.acceso__modulo-desc {
    font-size: 11.5px;
    color: rgba(255,255,255,.35);
    line-height: 1.4;
    font-family: var(--font-mono);
}
.acceso__panel-footer {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: rgba(255,255,255,.3);
    letter-spacing: 0.06em;
}
.acceso__panel-footer svg { width: 13px; height: 13px; color: var(--brand-2); flex-shrink: 0; }

/* Indicadores económicos — reemplaza el login-card */
.acceso-indicadores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    overflow: hidden;
}
.acc-ind {
    background: rgba(255,255,255,.03);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background .2s;
}
.acc-ind:hover { background: rgba(255,255,255,.07); }
.acc-ind--seg {
    grid-column: 1 / 3;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(59,159,212,.08);
    border-top: 1px solid rgba(255,255,255,.06);
}
.acc-ind--seg svg { color: var(--brand-2); flex-shrink: 0; }
.acc-ind__label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,.38);
    font-weight: 600;
}
.acc-ind--seg .acc-ind__label { color: rgba(255,255,255,.5); letter-spacing: 0.06em; text-transform: none; font-size: 12px; }
.acc-ind__val {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* ===================== CONTACTO ===================== */
.contacto { background: var(--bg-2); }
.contacto__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
}
.contacto h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.contacto h2 em { font-style: normal; color: var(--brand-2); font-weight: 800; }
.contacto__lead { color: var(--text-soft); font-size: 17px; line-height: 1.6; margin-bottom: 36px; max-width: 440px; }

.contacto__info { display: grid; gap: 24px; }
.contacto__info-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
}
.contacto__info-item svg { width: 18px; height: 18px; color: var(--brand-dark); margin-top: 4px; }
.contacto__info-item .label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    margin-bottom: 4px;
}
.contacto__info-item .value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
}

/* Form */
.form-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
}
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-faint);
    margin-bottom: 8px;
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    transition: all .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--ink);
    background: var(--surface);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.form-card button[type="submit"] {
    width: 100%;
    margin-top: 6px;
    padding: 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all .2s;
}
.form-card button[type="submit"]:hover { background: var(--brand-deep); }

.form-msg {
    padding: 14px 16px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 18px;
}
.form-msg--ok { background: #e3f4ec; color: #0f6e47; border: 1px solid #b8e0cb; }
.form-msg--err { background: #fde7e9; color: #a72939; border: 1px solid #f4c5cb; }

/* ===================== FOOTER ===================== */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 80px 0 32px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 18px;
}
.footer__brand .nav__logo { width: 42px; height: 42px; font-size: 16px; }
.footer__about { font-size: 14px; line-height: 1.65; max-width: 360px; }
.footer__col h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-2);
    margin-bottom: 18px;
    font-weight: 500;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer__bottom .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; }

/* ===================== NOSOTROS · SELLO EDITORIAL ===================== */
.nosotros__sello {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: center;
}
.nosotros__sello-mark {
    width: 56px; height: 56px;
    background: var(--navy);
    border-radius: 3px;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}
.nosotros__sello-mark::before {
    content: '';
    position: absolute;
    left: 0; top: 10px; bottom: 10px;
    width: 5px;
    background: linear-gradient(var(--brand-2) 0 60%, var(--steel-2) 60% 100%);
}
.nosotros__sello-eyebrow {
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-faint);
    margin-bottom: 4px;
}
.nosotros__sello-firma {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--ink);
    font-weight: 400;
}

/* ===================== CLIENTES (carrusel infinito de logos) ===================== */
.clientes {
    background: var(--surface);
    padding: clamp(70px, 8vw, 110px) 0 clamp(70px, 8vw, 110px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.clientes__head {
    text-align: center;
    margin-bottom: 56px;
}
.clientes__head .eyebrow {
    margin: 0 auto;
}
.clientes__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 20px auto 14px;
    max-width: 720px;
}
.clientes__intro {
    font-size: 16px;
    color: var(--text-soft);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

.clientes__marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.clientes__track {
    display: flex;
    align-items: center;
    gap: clamp(32px, 4vw, 80px);
    width: max-content;
    animation: clientes-scroll var(--clientes-speed, 22s) linear infinite;
    will-change: transform;
    padding: 8px 0;
}
.clientes__marquee:hover .clientes__track { animation-play-state: paused; }

@keyframes clientes-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.clientes__item {
    display: grid;
    place-items: center;
    height: var(--clientes-h-pc, 64px);
    min-width: 120px;
    flex: 0 0 auto;
    padding: 0 8px;
    transition: all .3s ease;
    cursor: default;
}
a.clientes__item { cursor: pointer; }
.clientes__item img {
    max-height: 100%;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform .3s ease;
    display: block;
}
.clientes__item:hover img { transform: scale(1.06); }
.clientes__item-text {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 500;
    font-style: italic;
    color: var(--text-soft);
    letter-spacing: -0.01em;
    transition: color .3s;
    white-space: nowrap;
}
.clientes__item:hover .clientes__item-text { color: var(--ink); }

@media (max-width: 768px) {
    .clientes__marquee {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    }
    .clientes__item { height: var(--clientes-h-mobile, 44px); min-width: 80px; padding: 0 4px; }
    .clientes__item img { max-width: 110px; max-height: 40px; }
    .clientes__item-text { font-size: 15px; }
    .clientes__track { gap: 20px; }
}

/* ===================== ANIMATIONS ===================== */
/* ===================== ANIMACIONES ===================== */

/* Reveal scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Reveal lateral (para elementos de la derecha) */
.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal-right.is-visible { opacity: 1; transform: none; }

/* Hero: animación de entrada especial (más enérgica, sin scroll) */
.hero-anim {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.hero-anim.is-visible { opacity: 1; transform: none; }

/* Línea decorativa que crece al entrar en vista */
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-up   { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes fade-in   { from { opacity:0; } to { opacity:1; } }
@keyframes slide-right { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:none; } }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-right, .hero-anim { transition: none; opacity: 1; transform: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .nav__links { display: none; }
    .nav__toggle { display: grid; }
    .hero::before, .hero::after { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .hero__content { padding: 44px var(--gutter) 36px; justify-content: flex-start; }
    body.has-ticker .hero .hero__grid { padding-top: calc(34px + 58px + 8px); }
    body:not(.has-ticker) .hero .hero__grid { padding-top: calc(58px + 8px); }
    .sec-head, .acceso__grid, .contacto__grid { grid-template-columns: 1fr; }
    .acceso__panel { display: none; }
    .serv-head__grid { grid-template-columns: 1fr; gap: 20px; }
    .nos-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .mv-section { grid-template-columns: 1fr; }
    .mv-panel--vision { border-top: none; border-left: 4px solid var(--brand); }
    .valores-grid { grid-template-columns: 1fr 1fr; }
    .servicios__grid { grid-template-columns: repeat(2, 1fr); }
    .proy-head__grid { grid-template-columns: 1fr; gap: 28px; }
    .equipo__grid { grid-template-columns: repeat(2, 1fr); }
    .proyecto { grid-template-columns: 48px 1fr 100px; }
    .proyecto__meta-col { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    section { padding: 56px 0; }
    .hero__meta { grid-template-columns: repeat(3, 1fr); }
    .hero__meta-item { padding: 14px 12px; }
    .hero__meta-item:first-child { padding-left: 16px; }
    .servicios__grid { grid-template-columns: 1fr; }
    .equipo__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 18px; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .nav__brand-text small { display: none; }
    .valores-grid { grid-template-columns: 1fr 1fr; }
    .mp-inline { flex-wrap: wrap; }
    .proy-head { padding: 48px 0 36px; }
    .nos-hero { padding: 48px 0; }
    .et__layout { gap: 28px; }
    .mv-panel { padding: 36px 24px; }
    .mv-panel__letter { font-size: 80px; }
    .proyecto { grid-template-columns: 44px 1fr 48px; }
    .proyecto__cta-txt { display: none; }
    .proyecto__desc { display: none; }
    .acceso { padding: 56px 0; }
    .serv-grid-wrap { padding: 28px 0 56px; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: #fff;
    z-index: 200;
    padding: 24px var(--gutter);
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.mobile-menu__close { width: 40px; height: 40px; color: #fff; display: grid; place-items: center; }
.mobile-menu ul { list-style: none; display: grid; gap: 8px; }
.mobile-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* =========== TRABAJA CON NOSOTROS (franja antes del footer) =========== */
.trabaja {
    background: var(--ink);
    color: #fff;
    padding: clamp(50px, 7vw, 80px) 0;
    border-top: 1px solid rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
}
.trabaja::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 50%, rgba(59,159,212,.22), transparent 60%),
        repeating-linear-gradient(
            -45deg,
            transparent 0, transparent 18px,
            rgba(255,255,255,.018) 18px, rgba(255,255,255,.018) 36px
        );
    pointer-events: none;
}
.trabaja .container { position: relative; z-index: 1; }
.trabaja__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}
.trabaja__text h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 18px 0 14px;
}
.trabaja__text h2 em { font-style: normal; color: var(--brand-2); font-weight: 800; }
.trabaja__text p {
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.55;
    max-width: 520px;
}
.trabaja__cta { display: flex; justify-content: flex-end; }
.trabaja__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    padding: 18px 30px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 0 0 0 rgba(59,159,212,.5);
}
.trabaja__btn:hover {
    background: var(--brand-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59,159,212,.35);
}
@media (max-width: 720px) {
    .trabaja__grid { grid-template-columns: 1fr; text-align: left; }
    .trabaja__cta { justify-content: flex-start; }
}

/* =========== MODAL POSTULACIÓN =========== */
.modal-postular {
    position: fixed; inset: 0; z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal-postular.is-open { display: flex; animation: modal-fade .2s ease; }
@keyframes modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.modal-postular__overlay {
    position: absolute; inset: 0;
    background: rgba(14,22,32,.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}
.modal-postular__caja {
    position: relative;
    background: var(--surface);
    border-radius: 12px;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 36px 36px 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    animation: modal-pop .25s cubic-bezier(.2,.7,.2,1.1);
}
@keyframes modal-pop {
    from { transform: translateY(20px) scale(.96); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
.modal-postular__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--text-soft);
    display: grid; place-items: center;
    cursor: pointer;
    border: none;
    transition: all .15s;
    z-index: 2;
}
.modal-postular__close:hover { background: var(--ink); color: #fff; }
.modal-postular__titulo {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 12px 0 10px;
}
.modal-postular__lead {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
}
.modal-postular__vista { display: none; }
.modal-postular__vista.is-activa { display: block; }
.modal-postular__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width:520px) { .modal-postular__grid { grid-template-columns: 1fr; } }
.modal-postular .field { margin-bottom: 14px; }

/* CV uploader */
.cv-drop {
    position: relative;
    border: 2px dashed var(--line-strong);
    border-radius: 8px;
    padding: 26px 18px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
    background: var(--bg);
}
.cv-drop:hover, .cv-drop.is-drag { border-color: var(--brand); background: var(--brand-softer); }
.cv-drop input[type=file] {
    position: absolute; inset: 0;
    opacity: 0; cursor: pointer;
    width: 100%; height: 100%;
}
.cv-drop__icon { color: var(--brand-dark); margin-bottom: 10px; }
.cv-drop__txt strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 600;
}
.cv-drop__txt span {
    font-size: 12.5px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}
.cv-drop__file {
    display: flex !important;
    align-items: center;
    gap: 12px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    padding: 14px 16px;
    border-radius: 6px;
    text-align: left;
    margin-top: 6px;
}
.cv-drop__file > div { flex:1; display:flex; flex-direction:column; min-width: 0; }
.cv-drop__file strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cv-drop__file span { font-size: 12px; opacity: .7; }
.cv-drop__file button {
    background: rgba(255,255,255,.6);
    border: none; border-radius: 50%;
    width: 28px; height: 28px;
    cursor: pointer;
    color: var(--brand-deep);
    display: grid; place-items: center;
    transition: all .15s;
}
.cv-drop__file button:hover { background: #fff; }

.modal-postular__error {
    background: #fde7e9;
    color: #a72939;
    border: 1px solid #f4c5cb;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13.5px;
    margin-bottom: 14px;
    display: none;
}
.modal-postular__error.is-visible { display: block; }

.modal-postular__submit {
    width: 100%;
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .2s;
}
.modal-postular__submit:hover:not(:disabled) {
    background: var(--brand-deep);
    transform: translateY(-1px);
}
.modal-postular__submit:disabled {
    opacity: .6; cursor: not-allowed;
}

/* Vista subiendo */
.modal-postular__upload, .modal-postular__ok {
    text-align: center;
    padding: 30px 10px 10px;
}
.modal-postular__upload-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    display: grid; place-items: center;
    margin: 0 auto 18px;
    animation: bounce-up 1.4s ease-in-out infinite;
}
@keyframes bounce-up {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.progreso {
    margin-top: 26px;
    background: var(--bg-2);
    border-radius: 100px;
    height: 10px;
    position: relative;
    overflow: hidden;
}
.progreso__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
    width: 0%;
    border-radius: 100px;
    transition: width .3s ease;
}
.progreso__pct {
    text-align: center;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brand-dark);
    font-weight: 600;
}

/* Vista éxito */
.modal-postular__ok-check {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: #d4f4dd;
    color: #16915f;
    display: grid; place-items: center;
    margin: 0 auto 18px;
    animation: ok-pop .5s cubic-bezier(.2,.7,.2,1.4);
}
@keyframes ok-pop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* =========== BANNER SLIDER FULL-WIDTH (estilo Travel Conexion) =========== */
.banner-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 34px - 58px);
    min-height: 480px;
    max-height: 800px;
    overflow: hidden;
    background: var(--ink);
    margin-top: calc(34px + 58px);
}
body:not(.has-ticker) .banner-slider {
    margin-top: 58px;
    height: calc(100vh - 58px);
    min-height: 480px;
}
@media (max-width: 768px) {
    .banner-slider {
        height: 70vw;
        min-height: 320px;
        max-height: 520px;
        margin-top: calc(34px + 52px);
    }
    body:not(.has-ticker) .banner-slider {
        margin-top: 52px;
        height: 70vw;
        min-height: 320px;
    }
}
@media (max-width: 480px) {
    .banner-slider {
        height: 85vw;
        min-height: 280px;
        max-height: 420px;
    }
}

.banner-slider__track {
    position: absolute;
    inset: 0;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
.banner-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.banner-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}
.banner-slide.is-active .banner-slide__img {
    transform: scale(1);
}
@media (max-width: 768px) {
    .banner-slide__img { object-position: center 15%; transform: scale(1); }
    .banner-slide.is-active .banner-slide__img { transform: scale(1); }
}
.banner-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
                rgba(14,22,32,.25) 0%,
                rgba(14,22,32,.45) 60%,
                rgba(14,22,32,.7) 100%);
    z-index: 1;
}

.banner-slide__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease .2s, transform .8s ease .2s;
}
.banner-slide.is-active .banner-slide__content {
    opacity: 1;
    transform: none;
}
.banner-slide__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 10px;
    max-width: 860px;
    text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.banner-slide__subtitle {
    font-size: clamp(13px, 1.4vw, 18px);
    color: rgba(255,255,255,.88);
    max-width: 560px;
    line-height: 1.5;
    margin: 0 0 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 640px) {
    .banner-slide__content { justify-content: flex-end; padding-bottom: 28px; }
    .banner-slide__title { font-size: clamp(18px, 5vw, 28px); margin-bottom: 6px; }
    .banner-slide__subtitle { font-size: 13px; margin-bottom: 16px; display: none; }
    .banner-slide__btn { padding: 12px 20px; font-size: 13px; }
}
.banner-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    transition: all .25s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
    border: 2px solid var(--brand);
}
.banner-slide__btn:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59,159,212,.4);
}
.banner-slide__btn svg { transition: transform .2s; }
.banner-slide__btn:hover svg { transform: translateX(4px); }

/* Flechas de navegación */
.banner-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    transition: all .2s ease;
    opacity: 0;
}
.banner-slider:hover .banner-slider__arrow { opacity: 1; }
.banner-slider__arrow:hover {
    background: rgba(255,255,255,.95);
    color: var(--ink);
    border-color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.banner-slider__arrow--prev { left: 24px; }
.banner-slider__arrow--next { right: 24px; }

/* En móvil las flechas son más pequeñas y siempre visibles */
@media (max-width: 768px) {
    .banner-slider__arrow {
        width: 40px; height: 40px;
        opacity: .8;
    }
    .banner-slider__arrow--prev { left: 12px; }
    .banner-slider__arrow--next { right: 12px; }
}

/* Dots */
.banner-slider__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.banner-slider__dot {
    width: 36px;
    height: 4px;
    border: none;
    background: rgba(255,255,255,.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all .25s;
    padding: 0;
}
.banner-slider__dot:hover { background: rgba(255,255,255,.7); }
.banner-slider__dot.is-active {
    background: #fff;
    width: 56px;
}
@media (max-width: 768px) {
    .banner-slider__dots { bottom: 18px; gap: 6px; }
    .banner-slider__dot { width: 24px; }
    .banner-slider__dot.is-active { width: 36px; }
}

/* Cuando hay banner-slider, el hero pierde su grid de dos columnas */
.hero__grid--single {
    grid-template-columns: 1fr;
    gap: 0;
}
.hero__grid--single .hero__content {
    max-width: 820px;
}

/* Cuando hay banner-slider arriba, el hero se ajusta y reduce padding superior */
.banner-slider + .hero {
    padding-top: clamp(60px, 8vw, 100px);
}

/* ===================== EN TERRENO ===================== */
.en-terreno {
    background: var(--ink);
    padding: clamp(72px, 9vw, 110px) 0;
    position: relative;
}
.en-terreno::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(30,90,180,.1) 0%, transparent 70%);
    pointer-events: none;
}
.et__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}

/* Columna texto */
.et__texto .eyebrow { color: var(--brand-2); margin-bottom: 18px; display: block; }
.et__texto h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.et__texto h2 em { font-style: normal; color: var(--brand-2); }
.et__texto p {
    font-size: 15.5px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    max-width: 400px;
}

/* Columna derecha */
.et__derecha { display: flex; flex-direction: column; gap: 0; }

/* Métricas */
.et__metricas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}
.et__metrica {
    background: rgba(255,255,255,.03);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.et__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 2.5vw, 36px);
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.et__lbl {
    font-size: 10px;
    color: rgba(255,255,255,.38);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    line-height: 1.4;
}

/* Lista de ítems de obra */
.et__items { display: flex; flex-direction: column; gap: 0; }
.et__item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.et__item:last-child { border-bottom: none; }
.et__item-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-2);
    letter-spacing: 0.08em;
    padding-top: 3px;
}
.et__item strong {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}
.et__item span {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .et__layout { grid-template-columns: 1fr; gap: 40px; }
    .et__texto p { max-width: 100%; }
    .et__metricas { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
    .et__metricas { grid-template-columns: 1fr 1fr; }
    .et__metrica:last-child { grid-column: 1 / 3; }
}
