/* Grupo Gilga — Sitio multi-página alineado al Figma
   File: cr4A5UcmV0nMBphbD69pFs · Frame Home: 1:2 */

/* ============================================================
   TOKENS  (referenciados al Figma — color/blue, color/dark-blue,
   color/light-blue, font/family/family Outfit, etc.)
   ============================================================ */
:root {
    --primary-blue: #282e68;   /* color/blue */
    --dark-blue:    #1a1d42;   /* color/dark blue */
    --light-blue:   #ddebf9;   /* color/light blue */
    --grey:         #333333;   /* color/grey */
    --lighter-grey: #ebebeb;
    --white:        #ffffff;
    --border-soft:  rgba(0, 0, 0, 0.15);

    /* Tipografía */
    --font-family: 'Outfit', sans-serif;
    --fs-h1:    61px;
    --fs-h2:    49px;
    --fs-h3:    39px;
    --fs-h4:    31px;
    --fs-h5:    25px;
    --fs-h6:    20px;
    --fs-body:  16px;
    --fs-small: 12px;
    --letter-caps: 0.04em;       /* 0.48px / 12px */
    --letter-caps-body: 0.04em;  /* 0.64px / 16px */

    /* Spacing scale */
    --sp-4: 4px;   --sp-8: 8px;   --sp-12: 12px; --sp-16: 16px;
    --sp-24: 24px; --sp-32: 32px; --sp-40: 40px; --sp-56: 56px;
    --sp-64: 64px; --sp-72: 72px; --sp-80: 80px; --sp-96: 96px;
    --sp-120: 120px;

    --nav-height: 120px;
    --container-px: var(--sp-96);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    line-height: 1.4;
    color: var(--grey);
    margin: 0;
    background: var(--white);
    padding-top: var(--nav-height);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, .h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; margin: 0; color: var(--primary-blue); }
h2, .h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; margin: 0; color: var(--primary-blue); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; margin: 0; color: var(--primary-blue); }
h4, .h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.2; margin: 0; color: var(--primary-blue); }
h5, .h5 { font-size: var(--fs-h5); font-weight: 400; line-height: 1.2; margin: 0; }
h6, .h6 { font-size: var(--fs-h6); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }

.eyebrow {
    font-size: var(--fs-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps-body);
    line-height: 1.2;
    display: block;
}
.eyebrow.right { text-align: right; }
.eyebrow-small {
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    line-height: 1.4;
    display: block;
}
.text-light { color: var(--white) !important; }
.text-primary { color: var(--primary-blue) !important; }
.text-light-blue { color: var(--light-blue) !important; }

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

/* ============================================================
   BOTONES (sistema Figma — componente 3:98)
   ============================================================ */
.btn {
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    padding: var(--sp-12) var(--sp-16);
    border-radius: var(--sp-4);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon-arrow { display: inline-flex; transform: rotate(-45deg); }

/* fill — bg primary, texto white */
.btn-fill {
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
}
.btn-fill:hover, .btn-fill.is-selected {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

/* fill-dark — bg light-blue, texto primary (sobre fondos oscuros) */
.btn-fill-dark {
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 1px solid var(--light-blue);
}
.btn-fill-dark:hover, .btn-fill-dark.is-selected {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-blue);
}

/* outline — borde primary sobre fondo claro */
.btn-outline {
    background: rgba(40, 46, 104, 0.1);
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    gap: 10px;
}
.btn-outline:hover, .btn-outline.is-selected {
    background: var(--primary-blue);
    color: var(--white);
}

/* outline-dark — borde light-blue sobre fondo oscuro */
.btn-outline-dark {
    background: rgba(221, 235, 249, 0.1);
    color: var(--light-blue);
    border: 1px solid var(--light-blue);
    gap: 10px;
}
.btn-outline-dark:hover, .btn-outline-dark.is-selected {
    background: rgba(255, 255, 255, 0.15);
}

/* menu — link estilo nav */
.btn-menu {
    background: transparent;
    color: var(--primary-blue);
    border: 0;
    padding: var(--sp-4);
    gap: var(--sp-4);
    border-radius: var(--sp-4);
}
.btn-menu:hover, .btn-menu.is-selected {
    background: rgba(26, 29, 66, 0.08);
    color: var(--dark-blue);
}

/* footer link */
.btn-footer {
    background: transparent;
    color: var(--primary-blue);
    border: 0;
    padding: var(--sp-4);
    border-radius: var(--sp-8);
}
.btn-footer:hover, .btn-footer.is-selected {
    background: rgba(26, 29, 66, 0.04);
    border-radius: var(--sp-4);
}

.btn-wa {
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
}
.btn-wa:hover { background: var(--dark-blue); border-color: var(--dark-blue); }

/* ============================================================
   NAV (frame 273:2901 — h-120, white, padding 96)
   ============================================================ */
.gg-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    background: var(--white);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.gg-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-16);
    width: 100%;
    height: 100%;
}
.gg-nav .logo-link { flex-shrink: 0; }
.gg-nav .logo-gilga { width: 105px; height: 81px; object-fit: contain; }
.gg-nav .nav-cluster {
    display: flex;
    gap: var(--sp-8);
    align-items: center;
    flex-shrink: 0;
}
.gg-nav .nav-links { display: flex; gap: var(--sp-8); align-items: center; }
.gg-nav .nav-links a {
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    color: var(--primary-blue);
    text-decoration: none;
    padding: var(--sp-4);
    border-radius: var(--sp-4);
    white-space: nowrap;
    transition: background .15s ease;
}
.gg-nav .nav-links a:hover { opacity: 0.7; }
.gg-nav .nav-links a.active { color: var(--dark-blue); }
.gg-nav .nav-toggler {
    display: none;
    background: transparent;
    border: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
}
.gg-nav .nav-mobile { display: none; }

/* ============================================================
   HERO  (frame 193:973 — banner full-bleed con overlay abajo)
   ============================================================ */
.hero {
    position: relative;
    padding: 0;
    background: var(--white);
}
.hero-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1366 / 576;       /* full-width: 1366 viewport, 576 hero */
    min-height: 520px;
    background: var(--dark-blue);
}
.hero-frame .hero-image {
    position: absolute; inset: 0;
    background-image: url('./assets/images/banner01.webp');
    background-size: cover;
    background-position: center;
}
.hero-frame .hero-overlay-box {
    position: absolute;
    left: var(--sp-64);
    right: var(--sp-64);
    bottom: var(--sp-40);
    background: rgba(40, 46, 104, 0.7);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    display: flex;
    align-items: center;
    gap: var(--sp-32);
}
.hero-overlay-box h1 {
    flex: 1;
    color: var(--light-blue);
    line-height: 1.1;
    font-size: var(--fs-h1);     /* 61px — match Figma */
    font-weight: 700;
    margin: 0;
}
.hero-overlay-box .vline {
    width: 1px;
    height: 160px;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
.hero-overlay-box .hero-cta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-24);
    align-items: flex-start;
    justify-content: flex-end;
}
.hero-overlay-box .subtitle {
    color: var(--white);
    font-size: var(--fs-h5);     /* 25px — match Figma */
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

/* ============================================================
   ACCESO RÁPIDO  (frame 177:344)
   ============================================================ */
.acceso-rapido {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--sp-72) var(--container-px) 37px;
}
.acceso-rapido .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-24);
    align-items: stretch;
}
.acceso-card {
    border: 1px solid var(--white);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
    transition: background .2s ease, transform .2s ease;
}
.acceso-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    color: var(--white);
}
.acceso-card .icon { width: 70px; height: 70px; flex-shrink: 0; }
.acceso-card .icon img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.acceso-card .body { display: flex; gap: var(--sp-24); align-items: flex-end; width: 100%; }
.acceso-card .text { display: flex; flex-direction: column; gap: var(--sp-4); flex: 1 0 0; min-width: 0; }
.acceso-card h4 {
    color: var(--light-blue);
    font-size: var(--fs-h5);
    font-weight: 400;
    line-height: 1.2;
}
.acceso-card p {
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
}
.acceso-card .arrow-corner {
    color: var(--white);
    font-size: 20px;
    padding: var(--sp-12) var(--sp-16);
    border-radius: var(--sp-4);
    transform: rotate(-45deg);
    flex-shrink: 0;
    align-self: flex-end;
}

/* ============================================================
   CIFRAS (frame 185:360)
   - Bg blanco con stripe dark-blue de 35px arriba
   - Imagen sobresale verticalmente (efecto editorial Figma)
   - Texto en primary-blue / dark-blue / grey
   ============================================================ */
.cifras {
    background: var(--white);
    color: var(--grey);
    padding: 0;
    position: relative;
    overflow: visible;
}
.cifras::before {
    content: '';
    display: block;
    height: 35px;
    background: var(--dark-blue);
    width: 100%;
}
.cifras .container {
    max-width: 100%;
    padding: var(--sp-40) var(--sp-96);
}
.cifras .grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-56);
    align-items: center;
}
.cifras .content { display: flex; flex-direction: column; gap: var(--sp-32); }
.cifras .heading { display: flex; flex-direction: column; gap: var(--sp-4); max-width: 676px; }
.cifras .heading .eyebrow { color: var(--dark-blue); text-align: left; }
.cifras .heading h2 { color: var(--primary-blue); }
.cifras .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-24);
}
.stat-card {
    background: linear-gradient(236deg, var(--light-blue) 0%, var(--white) 100%);
    border-radius: var(--sp-4);
    padding: var(--sp-16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 203px;
    color: var(--primary-blue);
    gap: var(--sp-8);
}
.stat-card::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-blue);
}
.stat-card .num {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-blue);
    display: block;
}
.stat-card .label {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}
.stat-card .sub {
    font-size: var(--fs-h5);
    font-weight: 400;
    line-height: 1.2;
    color: var(--primary-blue);
}
.stat-card .sub small {
    display: block;
    font-size: var(--fs-body);
    line-height: 1.4;
    margin-top: var(--sp-4);
}
.cifras .lead {
    color: var(--grey);
    font-size: var(--fs-body);
    line-height: 1.4;
    font-weight: 400;
    max-width: 471px;
}
.cifras .image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;       /* imagen sobresale */
    position: relative;
    align-self: stretch;
}
.cifras .image-wrap img {
    width: 100%;
    max-width: 451px;
    height: auto;
    margin: -90px 0;         /* sobresale arriba y abajo */
    position: relative;
    z-index: 5;
}

/* ============================================================
   UNIDADES DE NEGOCIO (frame 18:273 — bg cobalt, 3 cards)
   ============================================================ */
.unidades {
    background: var(--primary-blue);
    color: var(--white);
    padding: 37px var(--container-px) var(--sp-72);
}
.unidades .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--sp-40);
    margin-bottom: var(--sp-40);
}
.unidades .header h2 { color: var(--light-blue); }
.unidades .header .eyebrow { color: var(--white); }
.unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-24);
    align-items: stretch;
}
.unidad-card {
    border: 1px solid var(--light-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    display: flex;
    flex-direction: column;
    gap: var(--sp-24);
    color: var(--white);
    background: transparent;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.unidad-card:hover { background: rgba(255, 255, 255, 0.04); transform: translateY(-4px); }
.unidad-card .img-wrap {
    border-radius: var(--sp-4);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--dark-blue);
}
.unidad-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.unidad-card .eyebrow-small { color: var(--white); }
.unidad-card h3 { color: var(--light-blue); }
.unidad-card p { color: var(--white); font-weight: 400; }

/* ============================================================
   BANNER INTERMEDIO  (frame 177:422 — banner contenido con
   imagen energia.png + overlay full + título y CTA al fondo)
   ============================================================ */
.banner-intermedio {
    background: var(--white);
    padding: var(--sp-40) var(--container-px);
}
.banner-intermedio .banner-frame {
    position: relative;
    background: url('./assets/images/energia.png') center / cover no-repeat;
    border-radius: var(--sp-4);
    min-height: 480px;
    overflow: hidden;
}
.banner-intermedio .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;                      /* franja al fondo, no full-bleed */
    background: rgba(26, 29, 66, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-40);
    padding: var(--sp-24) var(--sp-64) var(--sp-64);
    color: var(--white);
}
.banner-intermedio .overlay h2 {
    color: var(--white);
    font-size: var(--fs-h2);
    line-height: 1.1;
    margin: 0;
}
.banner-intermedio .overlay .btn { flex-shrink: 0; }

/* ============================================================
   SOBRE NOSOTROS / TIMELINE (frame 51:333 — white bg, 4 circles)
   ============================================================ */
.nosotros {
    background: var(--white);
    color: var(--dark-blue);
    padding: var(--sp-64) var(--container-px);
}
.nosotros .nosotros-header { max-width: 720px; margin-bottom: var(--sp-40); }
.nosotros .nosotros-header .eyebrow { color: var(--dark-blue); margin-bottom: var(--sp-8); }
.nosotros .nosotros-header h2 { color: var(--primary-blue); }

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-24);
    align-items: stretch;
    position: relative;
    padding: var(--sp-40) 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 12.5%; right: 12.5%;
    top: calc(50% - 1px);
    border-top: 2px dashed var(--light-blue);
    z-index: 0;
}
.timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-16);
    text-align: center;
}
.timeline-item:nth-child(odd)  { padding-bottom: 0; padding-top: var(--sp-40); }
.timeline-item:nth-child(even) { padding-top: 0; padding-bottom: var(--sp-40); }
.timeline-item .circle {
    width: 188px; height: 188px;
    border-radius: 50%;
    background: var(--light-blue);
    overflow: hidden;
    border: 2px solid var(--light-blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.timeline-item .circle img { width: 100%; height: 100%; object-fit: cover; }
.timeline-item .year {
    font-size: var(--fs-h4);
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
}
.timeline-item .desc {
    font-size: var(--fs-body);
    line-height: 1.4;
    color: var(--dark-blue);
    max-width: 200px;
}
/* odd (1, 3): año arriba → descripción → círculo abajo */
.timeline-item:nth-child(odd)  .year   { order: 0; }
.timeline-item:nth-child(odd)  .desc   { order: 1; }
.timeline-item:nth-child(odd)  .circle { order: 2; }
/* even (2, 4): círculo arriba → año → descripción */
.timeline-item:nth-child(even) .circle { order: 0; }
.timeline-item:nth-child(even) .year   { order: 1; }
.timeline-item:nth-child(even) .desc   { order: 2; }

.nosotros-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-32);
    margin-top: var(--sp-40);
}
.nosotros-cta p {
    color: var(--dark-blue);
    font-size: var(--fs-body);
    line-height: 1.4;
    max-width: 549px;
}

/* ============================================================
   RESPONSABILIDAD  (frame 177:405 — 2 cards image + dark panel)
   ============================================================ */
.responsabilidad {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.responsabilidad .section-header {
    text-align: center;
    margin-bottom: var(--sp-40);
}
.responsabilidad .section-header .eyebrow { color: var(--dark-blue); margin-bottom: var(--sp-8); }
.responsabilidad .section-header h2 { color: var(--primary-blue); }
.responsabilidad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-24);
    align-items: stretch;
}
.responsabilidad-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--sp-4);
    overflow: hidden;
    height: 420px;
    background: var(--dark-blue);
}
.responsabilidad-card .img-wrap {
    flex: 1 1 auto;
    overflow: hidden;
    background: var(--primary-blue);
}
.responsabilidad-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.responsabilidad-card .panel {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--sp-24) var(--sp-40) var(--sp-24) var(--sp-64);
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
}
.responsabilidad-card .panel .eyebrow { color: var(--light-blue); text-align: right; }
.responsabilidad-card .panel p { color: var(--white); font-weight: 400; line-height: 1.4; }

/* ============================================================
   CALIDAD PEMEX  (frame 326:5066 — banner contenido con
   imagen bombagasolina.png + franja con logo Aditec + texto)
   ============================================================ */
.calidad-pemex {
    background: var(--white);
    padding: var(--sp-40) var(--container-px);
}
.calidad-pemex .banner-frame {
    position: relative;
    background: url('./assets/images/bombagasolina.png') center / cover no-repeat;
    border-radius: var(--sp-4);
    min-height: 458px;
    overflow: hidden;
}
.calidad-pemex .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 29, 66, 0.55);
    display: flex;
    align-items: center;
    gap: var(--sp-32);
    padding: var(--sp-24) var(--sp-64);
    color: var(--white);
}
.calidad-pemex .pemex-logo {
    width: 140px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.calidad-pemex .pemex-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.calidad-pemex .text-block {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    align-items: flex-start;
    text-align: left;
}
.calidad-pemex h2 { color: var(--white); font-size: var(--fs-h2); line-height: 1.1; margin: 0; }
.calidad-pemex p { color: var(--light-blue); font-size: var(--fs-h5); font-weight: 400; line-height: 1.2; margin: 0; }

/* ============================================================
   ALIANZA COMERCIAL  (frame 51:147 — recuadro contenido sobre
   franja blanca (arriba) + dark-blue (abajo, fluye a bolsa))
   ============================================================ */
.alianza {
    background: linear-gradient(180deg, var(--white) 50%, var(--dark-blue) 50%);
    padding: var(--sp-56) var(--container-px);
}
.alianza .grid {
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--sp-4);
    padding: var(--sp-80) var(--sp-64);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-80);
    align-items: center;
}
.alianza .izq .eyebrow { color: var(--white); margin-bottom: var(--sp-12); }
.alianza .izq h2 { color: var(--light-blue); line-height: 1.1; }
.alianza .der { display: flex; flex-direction: column; gap: var(--sp-24); }
.alianza .der p { color: var(--white); font-size: var(--fs-body); font-weight: 400; line-height: 1.4; }
.alianza .der .btn { align-self: flex-start; }

/* ============================================================
   BOLSA DE TRABAJO  (frame 259:3075 — header 2 cols + imagen
   full-bleed al fondo)
   ============================================================ */
.bolsa {
    background: var(--dark-blue);
    color: var(--white);
    padding: 0;
}
.bolsa .header {
    padding: var(--sp-72) var(--sp-64) var(--sp-56);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-56);
    align-items: center;
}
.bolsa .text { display: flex; flex-direction: column; gap: var(--sp-8); }
.bolsa .eyebrow-small { color: var(--white); }
.bolsa h2 {
    color: var(--light-blue);
    font-size: var(--fs-h2);
    line-height: 1.1;
}
.bolsa .cta-block { display: flex; flex-direction: column; gap: var(--sp-24); }
.bolsa .cta-block p { color: var(--white); font-size: var(--fs-body); font-weight: 400; line-height: 1.4; }
.bolsa .ctas { display: flex; gap: var(--sp-12); flex-wrap: wrap; }
.bolsa .image-strip {
    width: 100%;
    overflow: hidden;
}
.bolsa .image-strip img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   FOOTER  (frame 273:3102 — white bg, h-553)
   ============================================================ */
.gg-footer {
    background: var(--white);
    color: var(--primary-blue);
    padding: var(--sp-72) var(--container-px) var(--sp-40);
}
.gg-footer .footer-top {
    display: grid;
    grid-template-columns: 5fr 1px 6fr;
    gap: var(--sp-56);
    align-items: stretch;
}
.gg-footer .footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}
.gg-footer .footer-left h2 {
    color: var(--primary-blue);
    font-size: var(--fs-h2);
    line-height: 1.1;
    font-weight: 700;
}
.gg-footer .footer-left .footer-logo { width: 105px; height: 81px; object-fit: contain; }
.gg-footer .footer-divider { background: var(--border-soft); width: 1px; }
.gg-footer .footer-right {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-56);
}
.gg-footer .footer-col-side { display: flex; flex-direction: column; gap: var(--sp-40); }

.gg-footer .footer-eyebrow {
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin-bottom: var(--sp-12);
    padding-bottom: var(--sp-8);
    position: relative;
    display: block;
    letter-spacing: 0.02em;
}
.gg-footer .footer-eyebrow::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 1px;
    background: var(--dark-blue);
    opacity: 0.5;
}

.gg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.gg-footer .footer-col-side ul.row { flex-direction: row; gap: var(--sp-16); flex-wrap: wrap; }
.gg-footer ul li a {
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    color: var(--primary-blue);
    text-decoration: none;
    padding: var(--sp-4);
    border-radius: var(--sp-8);
    display: inline-block;
    transition: background .15s ease;
}
.gg-footer ul li a:hover { background: rgba(26, 29, 66, 0.06); }
.gg-footer ul li.plain {
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    padding: var(--sp-4);
}

.gg-footer .footer-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-32);
    margin-top: var(--sp-32);
    padding-top: var(--sp-16);
    border-top: 1px solid var(--border-soft);
}
.gg-footer .footer-meta a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
}
.gg-footer .footer-meta small { color: #000; font-size: var(--fs-small); }

/* ============================================================
   BANNER INFO FOOTER  (frame bannerInfoFooter — Descarga la App)
   Reusable: páginas detalle lo incluyen arriba del footer
   ============================================================ */
.banner-info-footer {
    background: transparent;
    padding: 0 var(--container-px);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.banner-info-footer .inner {
    background: var(--primary-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-56) var(--sp-64);
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: var(--sp-96);
    align-items: center;
    color: var(--white);
}
.banner-info-footer .left { display: flex; flex-direction: column; gap: var(--sp-24); }
.banner-info-footer .left h3 { color: var(--light-blue); font-size: var(--fs-h3); line-height: 1.2; }
.banner-info-footer .left .eyebrow { color: var(--white); text-transform: uppercase; }
.banner-info-footer .stores { display: flex; gap: var(--sp-8); }
.banner-info-footer .stores .btn { flex: 1; min-width: 0; }
.banner-info-footer .vsep { background: rgba(255, 255, 255, 0.2); width: 1px; height: 100%; }
.banner-info-footer .right { display: flex; flex-direction: column; gap: var(--sp-24); }
.banner-info-footer .right .row { display: flex; gap: var(--sp-12); align-items: center; }
.banner-info-footer .right .row .icon {
    width: 50px; height: 50px;
    background: rgba(221, 235, 249, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--light-blue);
    flex-shrink: 0;
}
.banner-info-footer .right .row .label { font-size: var(--fs-body); color: var(--white); text-transform: uppercase; letter-spacing: var(--letter-caps-body); line-height: 1.2; }
.banner-info-footer .right .row .value { font-size: var(--fs-h3); color: var(--light-blue); font-weight: 700; line-height: 1.2; }

/* ============================================================
   PÁGINAS DETALLE — banner header
   ============================================================ */
.page-banner {
    position: relative;
    height: 568px;
    margin: var(--sp-40) var(--container-px) 0;
    border: 8px solid var(--white);
    border-radius: var(--sp-12);
    box-sizing: border-box;
    overflow: hidden;
    background: var(--dark-blue);
    display: flex;
    align-items: flex-end;
    padding: var(--sp-40);
}
.page-banner::before {
    content: '';
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-banner.unidades::before    { background-image: url('./assets/images/unidadesbanner.png'); }
.page-banner.nosotros::before    { background-image: url('./assets/images/sobrenosotrosbanner.png'); }
.page-banner.gilga-app::before   { background-image: url('./assets/images/gilgaapp.webp'); }
.page-banner.equipo::before      { background-image: url('./assets/images/uneteequipo.webp'); }
.page-banner.ubicaciones::before { background-image: url('./assets/images/banner01.webp'); }
.page-banner.privacidad {
    height: 320px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
}
.page-banner.privacidad::before { background-image: none; }

/* Banner variant Gilga App: sin borde blanco + overlay translúcido */
.page-banner.gilga-app {
    border: 0;
    border-radius: var(--sp-4);
    height: 720px;
}
.page-banner.gilga-app::before {
    background-size: cover;
    background-position: center right;
}
.page-banner.gilga-app .overlay-box.gilga-overlay {
    background: rgba(255, 255, 255, 0.6);
}
.page-banner.gilga-app .overlay-box.gilga-overlay h1 {
    color: var(--app-blue);
}
.page-banner.gilga-app .overlay-box.gilga-overlay p {
    color: var(--app-blue);
}

/* Página Conoce Gilga App: fondo app-blue en toda la página */
body.gilga-app-page {
    background: var(--app-blue);
}
body.gilga-app-page .gg-footer {
    background: var(--white);    /* footer mantiene su bg blanco */
}
/* CTA card straddle entre app-blue (arriba) y footer (abajo) */
body.gilga-app-page .app-cta-card {
    position: relative;
    z-index: 2;
    margin-bottom: -120px;       /* card invade el footer */
    overflow: visible;
}
body.gilga-app-page .gg-footer {
    padding-top: calc(var(--sp-72) + 120px);  /* compensa el overlap */
}
@media (max-width: 991px) {
    body.gilga-app-page .app-cta-card { margin-bottom: -60px; }
    body.gilga-app-page .gg-footer { padding-top: calc(var(--sp-40) + 60px); }
}
.page-banner .overlay-box {
    position: relative;
    z-index: 1;
    background: rgba(40, 46, 104, 0.7);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    width: 592px;
    max-width: 100%;
    color: var(--white);
}
.page-banner .overlay-box h1 { color: var(--light-blue); font-size: var(--fs-h2); line-height: 1.1; }
.page-banner .overlay-box p  { color: var(--white); font-size: var(--fs-h6); font-weight: 400; line-height: 1.2; margin-top: var(--sp-12); }

/* ============================================================
   GILGA APP — colores de marca app
   ============================================================ */
:root {
    --app-blue: #0b007f;
    --orange:   #e6710b;
}

.app-section {
    background: var(--app-blue);
    color: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.app-section.flush-left { padding-left: var(--sp-96); padding-right: 0; }
.app-section .grid {
    display: grid;
    grid-template-columns: 671px 1fr;
    gap: var(--sp-40);
    align-items: center;
}
.app-section .grid.reverse { grid-template-columns: 1fr 1fr; }
.app-section .image-side img { width: 100%; height: auto; max-height: 670px; object-fit: contain; }
.app-section h2 {
    font-size: var(--fs-h2);
    line-height: 1.1;
    color: var(--orange);
}
.app-section .checklist {
    display: flex;
    flex-direction: column;
    gap: var(--sp-12);
}
.app-section .checklist .item {
    display: flex;
    gap: var(--sp-12);
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--sp-16) var(--sp-24);
    border-radius: var(--sp-4);
    color: var(--white);
    font-size: var(--fs-h5);
    line-height: 1.2;
}
.app-section .checklist.orange .item {
    background: rgba(230, 113, 11, 0.96);
}
.app-section .checklist .item .check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--white);
    color: var(--orange);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}
.app-section .checklist.orange .item .check { background: var(--white); color: var(--orange); }

/* CTA card naranja en Gilga App */
.app-cta-card {
    background: var(--orange);
    border-radius: var(--sp-4);
    color: var(--white);
    padding: var(--sp-72) var(--sp-96);
    margin: 0 var(--container-px) var(--sp-72);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-40);
    align-items: center;
}
.app-cta-card .content { display: flex; flex-direction: column; gap: var(--sp-24); }
.app-cta-card h2 { color: var(--app-blue); font-size: var(--fs-h2); line-height: 1.1; }
.app-cta-card p { color: var(--white); font-size: var(--fs-h6); font-weight: 400; line-height: 1.2; }
.app-cta-card .stores { display: flex; gap: var(--sp-8); }
.app-cta-card .stores .btn { flex: 1; }
.app-cta-card .image-side { display: flex; justify-content: center; }
.app-cta-card .image-side img { width: 100%; max-width: 565px; height: auto; }

@media (max-width: 991px) {
    .app-section .grid,
    .app-section .grid.reverse,
    .app-cta-card { grid-template-columns: 1fr; }
    .app-section.flush-left { padding-right: var(--container-px); }
    .app-cta-card { padding: var(--sp-40); margin: 0 var(--container-px) var(--sp-40); }
}

/* ============================================================
   SOBRE NOSOTROS — sección quienes-somos / manifiesto / familia
   ============================================================ */
.quienes-somos {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--sp-56) var(--sp-64);
}
.quienes-somos .heading { display: flex; flex-direction: column; gap: var(--sp-24); margin-bottom: var(--sp-24); }
.quienes-somos .eyebrow { color: var(--white); }
.quienes-somos h2 { color: var(--light-blue); }
.quienes-somos .cols {
    display: grid;
    grid-template-columns: 575px 1fr;
    gap: var(--sp-24);
    color: var(--white);
}
.quienes-somos .cols p { font-size: var(--fs-h5); font-weight: 400; line-height: 1.2; }

.manifiesto {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.manifiesto .container { max-width: 1100px; }
.manifiesto .heading { margin-bottom: var(--sp-40); }
.manifiesto .heading .eyebrow { color: var(--white); margin-bottom: var(--sp-12); }
.manifiesto .heading h2 { color: var(--light-blue); }
.manifiesto .valores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-40);
    margin-bottom: var(--sp-56);
    text-align: left;
}
.manifiesto .valores p { font-size: var(--fs-h6); color: var(--white); line-height: 1.4; }
.manifiesto .valores p strong { color: var(--light-blue); font-weight: 700; }
.manifiesto .tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-16);
    text-align: center;
}
.manifiesto .tagline .drop {
    width: 80px;
    height: auto;
}
.manifiesto .tagline h4 { color: var(--white); font-size: var(--fs-h4); line-height: 1.2; }

.adn-familiar {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.adn-familiar .header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-56);
    align-items: start;
    margin-bottom: var(--sp-40);
}
.adn-familiar .heading .eyebrow { color: var(--dark-blue); margin-bottom: var(--sp-8); }
.adn-familiar .heading h2 { color: var(--primary-blue); }
.adn-familiar .text p { color: var(--grey); font-size: var(--fs-body); line-height: 1.4; }
.adn-familiar .text p + p { margin-top: var(--sp-12); }

.adn-familiar .photos {
    display: flex;
    justify-content: center;
}
.adn-familiar .photos img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    object-fit: contain;
}

/* historia interactiva (frame 245:1850 — tabs por año) */
.historia-interactiva {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
    color: var(--dark-blue);
}
.historia-interactiva .heading { max-width: 720px; margin-bottom: var(--sp-40); }
.historia-interactiva .heading .eyebrow { color: var(--dark-blue); margin-bottom: var(--sp-8); }
.historia-interactiva .heading h2 { color: var(--primary-blue); }
.historia-stage {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-56);
    align-items: center;
    margin-bottom: var(--sp-40);
}
.historia-image {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
.historia-image .historia-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--light-blue);
    background: var(--light-blue);
    transition: opacity .3s ease;
}
.historia-image .historia-img[hidden] { display: none; }

.historia-detail { display: flex; flex-direction: column; gap: var(--sp-16); max-width: 540px; }
.year-pill { display: flex; }
.year-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-family: var(--font-family);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1;
    padding: var(--sp-8) var(--sp-24);
    border-radius: 999px;
}
.year-display[hidden] { display: none; }
.historia-desc {
    color: var(--dark-blue);
    font-size: var(--fs-body);
    line-height: 1.4;
}
.historia-desc[hidden] { display: none; }

.historia-markers {
    display: flex;
    justify-content: center;
    gap: var(--sp-12);
    flex-wrap: wrap;
    padding-top: var(--sp-24);
    border-top: 2px dashed var(--light-blue);
}
.marker {
    background: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--light-blue);
    border-radius: 999px;
    padding: var(--sp-8) var(--sp-16);
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    cursor: pointer;
    transition: all .2s ease;
}
.marker:hover { background: rgba(40, 46, 104, 0.08); }
.marker.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

@media (max-width: 991px) {
    .historia-stage { grid-template-columns: 1fr; gap: var(--sp-32); }
    .historia-image { max-width: 280px; }
    .historia-markers { gap: var(--sp-8); }
    .marker { padding: var(--sp-4) var(--sp-12); font-size: 11px; }
    .adn-familiar .photos { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* timeline interactivo extendido (6 hitos) — variante extendida */
.timeline-extended {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-24);
    padding: var(--sp-40) 0;
    position: relative;
}
.timeline-extended::before {
    content: '';
    position: absolute;
    left: 8.33%; right: 8.33%;
    top: calc(50% - 1px);
    border-top: 2px dashed var(--light-blue);
    z-index: 0;
}
.timeline-extended .timeline-item .circle {
    width: 140px; height: 140px;
}
.timeline-extended .timeline-item .desc {
    font-size: 13px;
    max-width: 180px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .quienes-somos .cols { grid-template-columns: 1fr; }
    .manifiesto .valores { grid-template-columns: 1fr; }
    .adn-familiar .header-row { grid-template-columns: 1fr; gap: var(--sp-16); }
    .timeline-extended { grid-template-columns: repeat(2, 1fr); }
    .timeline-extended::before { display: none; }
}
@media (max-width: 575px) {
    .timeline-extended { grid-template-columns: 1fr; }
}

/* ============================================================
   ÚNETE AL EQUIPO — texto+form (izq) + collage fotos (der)
   ============================================================ */
.unete-section {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.unete-section .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-56);
    align-items: start;
}
.unete-section .col-left { display: flex; flex-direction: column; gap: var(--sp-24); }
.unete-section .heading .eyebrow { color: var(--dark-blue); margin-bottom: var(--sp-4); display: block; }
.unete-section .heading h2 { color: var(--primary-blue); }
.unete-section .col-left p { color: var(--grey); font-size: var(--fs-body); line-height: 1.4; }
.unete-section .col-left p strong { color: var(--primary-blue); }
.unete-section .cta-vacantes { width: 100%; justify-content: space-between; }

.unete-section .photo-collage {
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
    align-items: center;
}
.unete-section .photo-collage img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--light-blue);
}
.unete-section .photo-collage img:nth-child(1) { align-self: flex-start; }
.unete-section .photo-collage img:nth-child(2) { align-self: flex-end; }
.unete-section .photo-collage img:nth-child(3) { align-self: center; }

.cv-form {
    background: var(--white);
    border: 1px solid var(--primary-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
}
.cv-form h3 { font-size: var(--fs-body); font-weight: 700; color: var(--grey); margin: 0; }
.cv-form .desc { font-size: var(--fs-body); color: var(--grey); line-height: 1.4; }
.cv-form .field {
    width: 100%;
    background: var(--lighter-grey);
    border: 0;
    border-radius: var(--sp-4);
    padding: var(--sp-12) var(--sp-16);
    font-family: var(--font-family);
    font-size: var(--fs-small);
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    line-height: 1.4;
}
.cv-form .field::placeholder { color: var(--grey); opacity: 0.7; }
.cv-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.cv-form .upload {
    border: 2px dashed var(--primary-blue);
    border-radius: var(--sp-4);
    background: transparent;
    padding: var(--sp-16) var(--sp-12);
    color: var(--primary-blue);
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    cursor: pointer;
    text-align: center;
}
.cv-form button[type="submit"] { width: 100%; }
.cv-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cv-form .form-status {
    margin-top: var(--sp-8);
    padding: var(--sp-12) var(--sp-16);
    border-radius: var(--sp-4);
    font-size: var(--fs-small);
    line-height: 1.4;
}
.cv-form .form-status.is-success { background: #e8f5ee; color: #1e6b3a; border: 1px solid #b7dec5; }
.cv-form .form-status.is-error   { background: #fdecec; color: #9c2424; border: 1px solid #f3c2c2; }

.beneficios {
    background: var(--dark-blue);
    color: var(--white);
    padding: 37px var(--container-px) var(--sp-120);
}
.beneficios .heading { display: flex; flex-direction: column; gap: var(--sp-16); margin-bottom: var(--sp-56); max-width: 720px; }
.beneficios .heading .eyebrow { color: var(--white); }
.beneficios .heading h2 { color: var(--light-blue); }
.beneficios .heading p { color: var(--white); font-size: var(--fs-body); line-height: 1.4; }
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-24);
    align-items: stretch;
}
.beneficio-card {
    border: 1px solid var(--light-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    display: flex;
    flex-direction: column;
    gap: var(--sp-16);
    color: var(--white);
}
.beneficio-card .icon {
    width: 50px; height: 50px;
    color: var(--light-blue);
    font-size: 36px;
    display: flex; align-items: center; justify-content: center;
}
.beneficio-card h3 { font-size: var(--fs-body); font-weight: 700; color: var(--light-blue); }
.beneficio-card p { font-size: var(--fs-body); font-weight: 400; line-height: 1.4; color: var(--white); }

@media (max-width: 991px) {
    .unete-section .content-grid { grid-template-columns: 1fr; gap: var(--sp-32); }
    .unete-section .photo-collage { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .unete-section .photo-collage img { max-width: 200px; }
    .unete-section .photo-collage img:nth-child(n) { align-self: center; }
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .beneficios-grid { grid-template-columns: 1fr; }
    .cv-form .row { grid-template-columns: 1fr; }
}

/* ============================================================
   UBICACIONES — mapa header full-width
   ============================================================ */
.ubicaciones-map {
    width: 100%;
    overflow: hidden;
    background: var(--light-blue);
}
.ubicaciones-map img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   UBICACIONES — listado de estaciones por estado
   ============================================================ */
.ubicaciones-section {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
}
.ubicaciones-section .heading { margin-bottom: var(--sp-40); display: flex; flex-direction: column; gap: var(--sp-4); max-width: 575px; }
.ubicaciones-section .heading .eyebrow { color: var(--dark-blue); }
.ubicaciones-section .heading h2 { color: var(--primary-blue); }

.estado-card {
    border: 1px solid var(--primary-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    display: flex;
    flex-direction: column;
    gap: var(--sp-24);
}
.estado-card h3 { color: var(--primary-blue); font-size: var(--fs-h3); }
.estado-card .stations {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-8);
}
.estado-card .station-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4);
    color: var(--primary-blue);
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-caps);
    line-height: 1.4;
    border: 0;
    border-radius: var(--sp-4);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease;
}
.estado-card .station-btn:hover { background: rgba(40, 46, 104, 0.08); }
.estado-card .station-btn .icon-arrow { transform: rotate(-45deg); display: inline-flex; }

.ubicaciones-grid {
    display: grid;
    grid-template-columns: 574px 1fr 1fr;
    gap: var(--sp-24);
    align-items: start;
    margin-top: var(--sp-24);
}

@media (max-width: 991px) {
    .ubicaciones-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PÁGINAS DETALLE — sección unit (alterna dark/light)
   ============================================================ */
.unidad-section {
    padding: var(--sp-72) var(--container-px);
}
.unidad-section.dark { background: var(--dark-blue); color: var(--white); }
.unidad-section.light { background: var(--white); color: var(--grey); padding-left: 68px; padding-right: var(--container-px); }
.unidad-section .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-40);
    align-items: center;
}
.unidad-section .content { display: flex; flex-direction: column; gap: var(--sp-24); }
.unidad-section .heading { display: flex; flex-direction: column; gap: var(--sp-4); }
.unidad-section .eyebrow { text-transform: uppercase; letter-spacing: var(--letter-caps-body); font-size: var(--fs-body); }
.unidad-section.dark .eyebrow { color: var(--white); }
.unidad-section.light .eyebrow { color: var(--grey); }
.unidad-section h2 { font-size: var(--fs-h2); line-height: 1.1; }
.unidad-section.dark h2 { color: var(--light-blue); }
.unidad-section.light h2 { color: var(--primary-blue); }
.unidad-section .subtitle { font-size: var(--fs-h5); font-weight: 400; line-height: 1.2; }
.unidad-section.dark .subtitle { color: var(--light-blue); }
.unidad-section.light .subtitle { color: var(--primary-blue); }
.unidad-section .body { font-size: var(--fs-body); line-height: 1.4; }
.unidad-section.dark .body { color: var(--white); }
.unidad-section.light .body { color: var(--grey); }
.unidad-section .body strong { font-weight: 700; }
.unidad-section .image-wrap {
    border-radius: var(--sp-4);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--primary-blue);
}
.unidad-section .image-wrap img { width: 100%; height: 100%; object-fit: cover; }
/* Modificador para mapas u otros contenidos donde no se recorta */
.unidad-section .image-wrap.map {
    aspect-ratio: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}
.unidad-section .image-wrap.map img {
    width: 100%;
    max-width: 568px;
    height: auto;
    object-fit: contain;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-24);
    margin-top: var(--sp-24);
}
.servicios-grid .servicio-card.full { grid-column: 1 / -1; }
.servicio-card {
    background: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: var(--sp-4);
    padding: var(--sp-24);
    color: var(--white);
    display: flex;
    gap: var(--sp-24);
    align-items: flex-start;
}
.servicio-card .icon {
    width: 50px; height: 50px;
    flex-shrink: 0;
    color: var(--light-blue);
    font-size: 36px;
    display: flex; align-items: center; justify-content: center;
}
.servicio-card .text { flex: 1; display: flex; flex-direction: column; gap: var(--sp-4); }
.servicio-card h3 {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--light-blue);
    line-height: 1.4;
}
.servicio-card p {
    font-size: var(--fs-body);
    font-weight: 400;
    color: var(--white);
    line-height: 1.4;
}
.servicio-card ul {
    list-style: disc inside;
    margin: 0;
    padding-left: var(--sp-12);
    color: var(--white);
    font-size: var(--fs-body);
    line-height: 1.4;
}
.servicio-card ul li { margin-bottom: var(--sp-4); }
.servicio-card .cta-btn {
    flex-shrink: 0;
    width: 52px; height: 44px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: var(--sp-4);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 18px;
}
.servicio-card .cta-btn .icon-arrow { transform: rotate(-45deg); }

@media (max-width: 991px) {
    .unidad-section .grid { grid-template-columns: 1fr; }
    .servicios-grid { grid-template-columns: 1fr; }
    .unidad-section.light { padding-left: var(--container-px); }
}

/* ============================================================
   WHATSAPP FLOAT (frame 326:4983)
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    z-index: 1100;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.05); color: var(--white); }

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    :root {
        --fs-h1: 49px;
        --fs-h2: 39px;
        --fs-h3: 31px;
        --container-px: var(--sp-40);
    }
    .gg-nav .nav-links a { font-size: 11px; padding: var(--sp-4) 6px; }
}

@media (max-width: 991px) {
    :root { --nav-height: 80px; }
    .gg-nav .logo-gilga { width: 80px; height: 60px; }
    .gg-nav .nav-cluster { display: none; }
    .gg-nav .nav-toggler { display: inline-flex; }
    .gg-nav .nav-mobile {
        position: absolute;
        top: var(--nav-height); left: 0; right: 0;
        background: var(--white);
        border-top: 1px solid var(--border-soft);
        flex-direction: column;
        padding: var(--sp-24);
        gap: var(--sp-12);
        display: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    .gg-nav .nav-mobile.open { display: flex; }
    .gg-nav .nav-mobile a {
        color: var(--primary-blue);
        text-decoration: none;
        font-size: var(--fs-small);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: var(--letter-caps);
        padding: var(--sp-8);
    }

    .acceso-rapido .grid,
    .unidades-grid,
    .responsabilidad-grid { grid-template-columns: 1fr; }
    .cifras .grid,
    .alianza .grid,
    .bolsa .grid,
    .banner-info-footer .inner,
    .gg-footer .footer-top { grid-template-columns: 1fr; gap: var(--sp-32); }
    .banner-info-footer .vsep, .gg-footer .footer-divider { display: none; }
    .gg-footer .footer-left { min-height: auto; gap: var(--sp-32); }
    .gg-footer .footer-right { grid-template-columns: 1fr; gap: var(--sp-32); }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: var(--sp-40); }
    .timeline::before { display: none; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) { padding: 0; }
    .timeline-item:nth-child(odd) .desc,
    .timeline-item:nth-child(odd) .year,
    .timeline-item:nth-child(odd) .circle,
    .timeline-item:nth-child(even) .desc,
    .timeline-item:nth-child(even) .year,
    .timeline-item:nth-child(even) .circle { order: initial; }
    .responsabilidad-card { height: auto; }
    .hero { padding: 0; }
    .hero-frame .hero-overlay-box {
        left: var(--sp-16); right: var(--sp-16); bottom: var(--sp-16);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-16);
    }
    .hero-overlay-box .vline { display: none; }
    .hero-overlay-box .hero-cta { width: 100%; }
    .banner-intermedio { padding: var(--sp-40); }
    .calidad-pemex { padding: var(--sp-40); }
}

@media (max-width: 575px) {
    :root { --fs-h1: 39px; --fs-h2: 31px; --fs-h3: 25px; --fs-h5: 20px; --container-px: var(--sp-24); }
    .stats-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .alianza, .bolsa { padding: var(--sp-40) var(--sp-24); }
    .hero-overlay-box h1 { font-size: var(--fs-h2); }
}

/* ============================================================
   MOBILE-FIRST OVERHAUL  (≤768px y ≤480px)
   - Imágenes MB del Figma cuando existan
   - Padding reducido
   - Tipografía escalada
   - Hero compacto
   - Stack todo a 1 columna
   - Red de seguridad anti-overflow
   ============================================================ */

html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* tablet & abajo */
@media (max-width: 991px) {
    :root {
        --container-px: var(--sp-24);
        --fs-h1: 39px;
        --fs-h2: 31px;
        --fs-h3: 25px;
        --fs-h4: 22px;
        --fs-h5: 18px;
        --fs-h6: 16px;
    }

    /* Hero (tablet): mantener imagen desktop, ajustar altura */
    .hero-frame {
        aspect-ratio: 1366 / 576;
        min-height: 420px;
    }
    .hero-overlay-box h1 { font-size: var(--fs-h2); line-height: 1.15; }
    .hero-overlay-box .subtitle { font-size: 16px; }

    /* Sección padding genérico */
    .acceso-rapido,
    .cifras,
    .unidades,
    .nosotros,
    .responsabilidad,
    .ubicaciones-section,
    .quienes-somos,
    .manifiesto,
    .adn-familiar,
    .beneficios,
    .unete-section,
    .app-section,
    .app-section.flush-left,
    .gg-footer {
        padding-left: var(--container-px);
        padding-right: var(--container-px);
        padding-top: var(--sp-40);
        padding-bottom: var(--sp-40);
    }

    /* Banners full-bleed: márgenes laterales 0 en mobile/tablet */
    .page-banner {
        margin: var(--sp-80) 0 0;
        padding: var(--sp-24);
        height: 360px;
    }
    .page-banner.gilga-app { height: 520px; }
    .page-banner .overlay-box { width: 100%; padding: var(--sp-16); }
    .page-banner .overlay-box h1 { font-size: 24px; }
    .page-banner .overlay-box p  { font-size: 14px; }

    /* Banner intermedio + Calidad PEMEX: padding chico */
    .banner-intermedio { padding: var(--sp-24); }
    .banner-intermedio .banner-frame { min-height: 360px; }
    .banner-intermedio .overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-16);
        padding: var(--sp-24);
    }
    .banner-intermedio .overlay h2 { font-size: var(--fs-h3); }
    .calidad-pemex { padding: var(--sp-24); }
    .calidad-pemex .banner-frame { min-height: 320px; }
    .calidad-pemex .overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-16);
        padding: var(--sp-16) var(--sp-24);
    }
    .calidad-pemex .pemex-logo { width: 100px; height: 86px; }
    .calidad-pemex h2 { font-size: var(--fs-h3); }
    .calidad-pemex p { font-size: var(--fs-h6); }

    /* Cifras: stack y stat-cards más compactos */
    .cifras .container { padding: var(--sp-40) var(--container-px); }
    .cifras .grid { grid-template-columns: 1fr; gap: var(--sp-32); }
    .cifras .heading { max-width: none; }
    .cifras .heading .eyebrow { text-align: left; }
    .cifras .image-wrap img { margin: 0; }   /* sin overflow editorial en mobile */
    .cifras .stats-grid { gap: var(--sp-12); }
    .stat-card { min-height: 140px; padding: var(--sp-16); }
    .stat-card .num { font-size: 36px; }
    .stat-card .label { font-size: 22px; }
    .stat-card .sub { font-size: var(--fs-h6); }
    .stat-card .sub small { font-size: 14px; }

    /* Unidades header (en home): el botón queda abajo */
    .unidades .header { flex-direction: column; align-items: flex-start; gap: var(--sp-16); }
    .unidades .header .btn { align-self: stretch; justify-content: center; }

    /* Acceso rápido cards: arrow inline en lugar de absolute */
    .acceso-card { padding: var(--sp-16); }
    .acceso-card .icon { width: 56px; height: 56px; }
    .acceso-card h4 { font-size: 20px; }

    /* Unidad-section (páginas detalle): stack y servicios full-width */
    .unidad-section { padding: var(--sp-40) var(--container-px); }
    .servicios-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
    .servicio-card { padding: var(--sp-16); }
    .unidad-section h2 { font-size: var(--fs-h3); }

    /* Bolsa/alianza/banner-info: padding reducido */
    .alianza { padding: var(--sp-32) var(--container-px); }
    .alianza .grid {
        grid-template-columns: 1fr;
        gap: var(--sp-24);
        padding: var(--sp-32) var(--sp-24);
    }
    .bolsa { padding: 0; }
    .bolsa .header {
        padding: var(--sp-40) var(--container-px);
        grid-template-columns: 1fr;
        gap: var(--sp-24);
    }
    .bolsa .ctas { flex-direction: column; align-items: stretch; }
    .bolsa .ctas .btn { width: 100%; }
    .banner-info-footer { padding: 0 var(--container-px); margin-top: -30px; }
    .banner-info-footer .inner { padding: var(--sp-24); gap: var(--sp-24); }
    .banner-info-footer .stores { flex-direction: column; }
    .banner-info-footer .stores .btn { width: 100%; }
    .banner-info-footer .right .row .value { font-size: 22px; }

    /* CV form / unete */
    .unete-section { padding: var(--sp-40) var(--container-px); }
    .unete-section .col-text .btn { white-space: normal; text-align: center; }
    .cv-form { padding: var(--sp-16); }

    /* Beneficios: 1 columna */
    .beneficios-grid { grid-template-columns: 1fr; }

    /* Footer */
    .gg-footer { padding: var(--sp-40) var(--container-px); }
    .gg-footer .footer-left { min-height: auto; gap: var(--sp-24); }
    .gg-footer .footer-left h2 { font-size: var(--fs-h3); }
    .gg-footer .footer-meta { flex-direction: column; align-items: flex-start; gap: var(--sp-12); }

    /* Manifiesto valores: 1 columna en mobile */
    .manifiesto .valores { grid-template-columns: 1fr; }
    .manifiesto h2 { font-size: var(--fs-h3); }
    .manifiesto .tagline h4 { font-size: 20px; text-align: left; }
    .manifiesto .tagline { flex-direction: column; align-items: flex-start; }

    /* Quiénes somos: stack */
    .quienes-somos { padding: var(--sp-40) var(--container-px); }
    .quienes-somos .cols { grid-template-columns: 1fr; }
    .quienes-somos .cols p { font-size: var(--fs-h6); }

    /* ADN familiar: stack */
    .adn-familiar .cols { grid-template-columns: 1fr; gap: var(--sp-24); }

    /* Ubicaciones: cards full width */
    .ubicaciones-section { padding: var(--sp-40) var(--container-px); }
    .ubicaciones-grid { grid-template-columns: 1fr; }
    .estado-card { padding: var(--sp-16); }
    .estado-card h3 { font-size: var(--fs-h3); }

    /* Gilga App: padding y orden */
    .app-section { padding: var(--sp-40) var(--container-px); }
    .app-section h2 { font-size: var(--fs-h3); }
    .app-section .checklist .item { font-size: 16px; padding: var(--sp-12) var(--sp-16); }
    .app-cta-card { padding: var(--sp-24); margin: 0 var(--container-px) var(--sp-32); }
    .app-cta-card h2 { font-size: var(--fs-h3); }
    .app-cta-card .stores { flex-direction: column; }
    .app-cta-card .stores .btn { width: 100%; }

    /* Responsabilidad cards */
    .responsabilidad-card { height: auto; }
    .responsabilidad-card .img-wrap { aspect-ratio: 16 / 10; flex: none; }
    .responsabilidad-card .panel { padding: var(--sp-16) var(--sp-24); }


    /* Nav toggler más visible */
    .nav-toggler {
        font-size: 22px !important;
        padding: 8px;
    }
}

/* mobile real (smartphones) — usa imágenes MB del Figma */
@media (max-width: 767px) {
    .hero-frame {
        aspect-ratio: 375 / 568;
        min-height: 480px;
    }
    .hero-frame .hero-image {
        background-image: url('./assets/images/bannerMB01.webp');
    }
    .hero-overlay-box h1 { font-size: 28px; line-height: 1.15; }

    .page-banner.unidades::before    { background-image: url('./assets/images/unidadesnegocioMB.webp'); }
    .page-banner.nosotros::before    { background-image: url('./assets/images/nosotrosMB.webp'); }
    .page-banner.gilga-app::before   { background-image: url('./assets/images/gilgaappMB.webp'); }
    .page-banner.equipo::before      { background-image: url('./assets/images/uneteequipoMB.webp'); }
    .page-banner.ubicaciones::before { background-image: url('./assets/images/bannerMB01.webp'); }

    .banner-intermedio .banner-frame {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
            url('./assets/images/energia.png');
    }
}

/* mobile chico */
@media (max-width: 480px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 26px;
        --fs-h3: 22px;
        --fs-h4: 20px;
        --fs-h5: 18px;
    }

    .hero-frame { min-height: 440px; }
    .hero-overlay-box h1 { font-size: 24px; }

    .acceso-card .body { gap: var(--sp-12); }
    .acceso-card .arrow-corner { padding: var(--sp-8); font-size: 16px; }

    .stat-card { min-height: 120px; }
    .stat-card .num { font-size: 30px; }
    .stat-card .label { font-size: 20px; }

    /* Acceso rápido grid: ya 1 col por <991, dejamos */

    .timeline-item .circle { width: 140px; height: 140px; }

    .gg-footer .footer-left h2 { font-size: 26px; }

    /* Reducir bullets/dots si quedaran */
    .hero-pagination { display: none; }
}

/* ============================================================
   VIDEO MODAL — YouTube embed
   ============================================================ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-24);
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}
.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
    z-index: 1;
}
.video-modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--sp-8);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.3); }
body.video-modal-open { overflow: hidden; }

@media (max-width: 575px) {
    .video-modal { padding: var(--sp-16); }
    .video-modal-close { top: -40px; width: 36px; height: 36px; font-size: 16px; }
}

/* ============================================================
   POLÍTICA DE PRIVACIDAD — documento legal
   ============================================================ */
.legal-doc {
    background: var(--white);
    padding: var(--sp-72) var(--container-px);
    color: var(--dark-blue);
}
.legal-doc .container { max-width: 880px; }
.legal-doc .legal-intro {
    font-size: var(--fs-h6);
    line-height: 1.5;
    margin-bottom: var(--sp-40);
    color: var(--dark-blue);
}
.legal-doc .legal-block { margin-bottom: var(--sp-40); }
.legal-doc .legal-block h2 {
    color: var(--primary-blue);
    font-size: var(--fs-h4);
    line-height: 1.2;
    margin-bottom: var(--sp-16);
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: var(--sp-8);
}
.legal-doc .legal-block p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--sp-12);
    color: var(--dark-blue);
}
.legal-doc .legal-block ul {
    list-style: disc;
    padding-left: var(--sp-24);
    margin-bottom: var(--sp-16);
}
.legal-doc .legal-block ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--sp-8);
    color: var(--dark-blue);
}
.legal-doc .legal-defs {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--sp-12) var(--sp-24);
    margin: var(--sp-16) 0;
    padding: var(--sp-24);
    background: var(--light-blue);
    border-radius: var(--sp-8);
}
.legal-doc .legal-defs dt {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 16px;
}
.legal-doc .legal-defs dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark-blue);
}
.legal-doc .legal-contact {
    background: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
    padding: var(--sp-16) var(--sp-24);
    border-radius: var(--sp-4);
    margin: var(--sp-16) 0;
}
.legal-doc .legal-contact p { margin-bottom: var(--sp-4); }
.legal-doc .legal-contact a { color: var(--primary-blue); text-decoration: underline; }
.legal-doc .legal-updated {
    margin-top: var(--sp-40);
    padding-top: var(--sp-24);
    border-top: 1px solid var(--light-blue);
    font-style: italic;
    color: var(--primary-blue);
    font-size: 14px;
}

@media (max-width: 767px) {
    .page-banner.privacidad { height: 240px; }
    .legal-doc { padding: var(--sp-40) var(--sp-24); }
    .legal-doc .legal-intro { font-size: 16px; }
    .legal-doc .legal-block h2 { font-size: 20px; }
    .legal-doc .legal-defs {
        grid-template-columns: 1fr;
        gap: var(--sp-4) 0;
        padding: var(--sp-16);
    }
    .legal-doc .legal-defs dt { margin-top: var(--sp-8); }
    .legal-doc .legal-defs dt:first-child { margin-top: 0; }
}

