/* =========================================================
   CONTRASTES E.I.R.L.
   WEB INSTITUCIONAL
   CSS CONSOLIDADO
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --blue: #073c7a;
    --blue2: #0a5fb7;
    --cyan: #13a8d8;
    --green: #84c900;

    --ink: #10243a;
    --soft: #f4f8fb;
    --line: #dbe7f0;

    --white: #ffffff;

    --shadow:
        0 18px 50px
        rgba(8, 42, 80, .14);
}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--ink);
    background: #fff;
}

img {
    max-width: 100%;
}

.shell {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin: auto;
}


/* =========================================================
   CABECERA FIJA
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: #fff;

    box-shadow:
        0 2px 12px
        rgba(0, 0, 0, .08);
}


/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

.topbar {
    height: 34px;

    background:
        linear-gradient(
            90deg,
            #063667,
            #0b5a97
        );

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        max(
            20px,
            calc((100vw - 1180px) / 2)
        );

    font-size: 12px;

    position: relative;
    z-index: 1001;
}

.topbar a {
    color: #fff;

    text-decoration: none;

    margin-left: 20px;
}


/* =========================================================
   NAVEGACION
   ========================================================= */

.nav {
    height: 84px;

    display: flex;
    align-items: center;

    gap: 28px;

    background: #fff;
}


/* Logo actual del header.
   Si luego lo retiramos para dejar solo el logo del hero,
   podemos ocultar .brand sin tocar el resto.
*/

.brand img {
    width: 190px;

    max-height: 68px;

    object-fit: contain;
}

.menu {
    display: flex;

    gap: 22px;

    margin-left: auto;
}

.menu a {
    color: #123b64;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: color .2s ease;
}

.menu a:hover {
    color: var(--blue2);
}

.menu-toggle {
    display: none;

    margin-left: auto;

    background: none;

    border: 0;

    font-size: 28px;

    color: var(--blue);

    cursor: pointer;
}


/* =========================================================
   BOTONES GENERALES
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    padding: 13px 20px;

    text-decoration: none;

    font-weight: 800;
    font-size: 14px;

    border:
        1px solid transparent;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.btn:hover {
    transform:
        translateY(-2px);
}

.btn-whatsapp {
    background: #20a84b;

    color: #fff;
}

.btn-whatsapp:hover {
    box-shadow:
        0 10px 24px
        rgba(32, 168, 75, .25);
}

.btn-primary {
    background: var(--green);

    color: #0a315f;
}

.btn-ghost {
    border-color:
        rgba(255, 255, 255, .55);

    color: #fff;

    background:
        rgba(255, 255, 255, .07);
}

.btn-light {
    background: #fff;

    color: var(--blue);
}

.btn-outline-light {
    border-color: #a9d8f7;

    color: #fff;
}

.btn.big {
    padding:
        17px
        26px;

    font-size: 16px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;

    overflow: hidden;

    background: #032f62;
}

.hero-grid {
    width: 100%;

    min-height:
        clamp(
            520px,
            68vh,
            720px
        );

    display: grid;

    /*
       Aproximadamente:
       38% texto
       62% fotografías
    */

    grid-template-columns:
        minmax(320px, .92fr)
        minmax(220px, .74fr)
        minmax(220px, .74fr);

    grid-template-rows:
        1fr
        1fr;

    gap: 6px;

    position: relative;

    overflow: hidden;
}


/* =========================================================
   COLUMNA DE TEXTO DEL HERO
   ========================================================= */

.hero-copy {
    grid-column: 1;

    grid-row:
        1 / 3;

    background:
        linear-gradient(
            135deg,
            rgba(2, 39, 81, .98),
            rgba(4, 81, 142, .86)
        );

    color: #fff;

    padding:
        clamp(36px, 5vh, 60px)
        clamp(24px, 2.5vw, 42px)
        clamp(36px, 5vh, 60px)
        clamp(28px, 3vw, 52px);

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
}


/* =========================================================
   LOGO DENTRO DEL HERO
   ========================================================= */

.hero-logo {
    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
}

.hero-logo img {
    width:
        clamp(
            180px,
            16vw,
            260px
        );

    max-width: 72%;

    height: auto;

    object-fit: contain;

    display: block;
filter:
    drop-shadow(1px 0 0 #ffffff)
    drop-shadow(-1px 0 0 #ffffff)
    drop-shadow(0 1px 0 #ffffff)
    drop-shadow(0 -1px 0 #ffffff)
    drop-shadow(0 0 6px rgba(255, 255, 255, .70));
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
    display: inline-block;

    color: #9fe21b;

    font-weight: 900;

    letter-spacing: .14em;

    font-size: 12px;
}

.eyebrow.dark {
    color: var(--blue2);
}


/* =========================================================
   TITULO HERO
   ========================================================= */

.hero-copy h1 {
    font-size:
        clamp(
            32px,
            2.6vw,
            46px
        );

    line-height: 1.07;

    letter-spacing: -.025em;

    margin:
        16px
        0
        18px;

    width: 100%;

    max-width: 580px;

    text-wrap: balance;
}


/* =========================================================
   TEXTO SECUNDARIO HERO
   ========================================================= */

.hero-copy p {
    font-size:
        clamp(
            15px,
            1.25vw,
            19px
        );

    line-height: 1.55;

    max-width: 540px;

    color: #dbeeff;

    margin: 0;
}


/* =========================================================
   BOTONES HERO
   ========================================================= */

.hero-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top:
        clamp(
            18px,
            3vh,
            28px
        );
}


/* =========================================================
   PANELES FOTOGRAFICOS DEL HERO
   ========================================================= */

.panel {
    position: relative;

    overflow: hidden;

    min-width: 0;
    min-height: 0;

    background: #073c7a;
}

.panel img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition:
        opacity .7s ease,
        transform 6s ease;
}

.panel:hover img {
    transform:
        scale(1.035);
}

.panel::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 62%,
            rgba(0, 27, 58, .30)
        );

    pointer-events: none;
}


/* =========================================================
   PILARES
   ========================================================= */

.pillar-strip {
    margin-top: -1px;

    background: #fff;

    box-shadow: var(--shadow);

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-radius:
        0
        0
        22px
        22px;

    overflow: hidden;
}

.pillar-strip div {
    padding: 24px;

    border-right:
        1px solid var(--line);
}

.pillar-strip div:last-child {
    border-right: 0;
}

.pillar-strip strong {
    display: block;

    color: var(--blue);

    font-size: 14px;
}

.pillar-strip span {
    display: block;

    margin-top: 4px;

    font-size: 13px;

    color: #647487;
}


/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section {
    padding:
        88px
        0;
}

.section-head {
    max-width: 760px;

    margin-bottom: 36px;
}

.section-head h2 {
    font-size:
        clamp(
            32px,
            4vw,
            52px
        );

    line-height: 1.07;

    letter-spacing: -.035em;

    margin:
        10px
        0
        14px;
}

.section-head p {
    font-size: 18px;

    color: #5e7082;

    line-height: 1.55;
}


/* =========================================================
   SERVICIOS
   ========================================================= */

.services {
    background: #fff;
}

.service-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 28px;
}

.service-card {
    display: grid;

    grid-template-columns:
        1.12fr
        .88fr;

    border:
        1px solid var(--line);

    border-radius: 28px;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 18px 50px
        rgba(8, 42, 80, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.service-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 24px 60px
        rgba(8, 42, 80, .16);
}

.service-media {
    position: relative;

    overflow: hidden;

    min-height: 420px;
}

.service-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .8s ease;
}

.service-card:hover
.service-media img {
    transform:
        scale(1.04);
}

.service-body {
    padding:
        clamp(
            28px,
            3vw,
            42px
        );

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.service-body .tag {
    display: inline-block;

    font-size: 12px;

    letter-spacing: .15em;

    font-weight: 900;

    color: var(--blue2);

    margin-bottom: 10px;
}

.service-body h3 {
    font-size:
        clamp(
            28px,
            2.5vw,
            38px
        );

    line-height: 1.1;

    margin:
        0
        0
        20px;

    color: var(--ink);
}

.service-body ul {
    padding-left: 20px;

    margin:
        0
        0
        26px;

    line-height: 1.9;

    color: #526579;
}

.service-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.service-actions a,
.service-body a {
    color: var(--blue2);

    text-decoration: none;

    font-weight: 900;

    transition:
        transform .2s ease;
}

.service-actions a:hover {
    transform:
        translateX(4px);
}

.water-card .tag {
    color: #0b73c6;
}

.gas-card .tag {
    color: #c68a00;
}

/* =========================================================
   AREAS DE SERVICIO
   ========================================================= */

.service-areas {
    background: #fff;
}

.service-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.service-area-card {
    display: grid;
    grid-template-rows: 290px 1fr;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 16px 42px
        rgba(8, 42, 80, .09);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.service-area-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 24px 58px
        rgba(8, 42, 80, .15);
}

.service-area-media {
    position: relative;
    overflow: hidden;

    background: #e8f0f6;
}

.service-area-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .8s ease;
}

.service-area-card:hover
.service-area-media img {
    transform: scale(1.04);
}

.service-area-body {
    padding: 30px 32px 32px;
}

.service-area-tag {
    display: inline-block;

    color: var(--blue2);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .14em;

    margin-bottom: 10px;
}

.service-area-tag.gas {
    color: #c68a00;
}

.service-area-body h3 {
    margin:
        0
        0
        14px;

    font-size:
        clamp(28px, 2.4vw, 36px);

    line-height: 1.1;

    color: var(--ink);
}

.service-area-body p {
    margin:
        0
        0
        22px;

    color: #5f7285;

    line-height: 1.65;
}

.service-area-body a {
    display: inline-block;

    color: var(--blue2);

    text-decoration: none;

    font-weight: 900;

    transition:
        transform .2s ease;
}

.service-area-body a:hover {
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 820px) {

    .service-area-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {

    .service-area-card {
        grid-template-rows:
            230px
            1fr;
    }

    .service-area-body {
        padding: 24px;
    }

}


/* =========================================================
   ACREDITACION Y ALCANCES
   ========================================================= */

.band {
    background:
        linear-gradient(
            135deg,
            #073b74,
            #0b68b7
        );

    color: #fff;
}

.accreditation-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        .75fr;

    gap: 50px;

    align-items: center;
}

.accreditation-grid h2 {
    font-size:
        clamp(
            36px,
            4vw,
            48px
        );

    margin:
        10px
        0;
}

.accreditation-grid p {
    font-size: 18px;

    line-height: 1.6;

    color: #d7ebfa;
}

.note {
    font-size:
        14px !important;

    color:
        #b9d9ef !important;
}

.proof-card {
    border:
        1px solid
        rgba(255, 255, 255, .25);

    background:
        rgba(255, 255, 255, .08);

    border-radius: 30px;

    padding: 48px;

    text-align: center;

    backdrop-filter:
        blur(7px);
}

.proof-kicker {
    font-size: 14px;

    letter-spacing: .16em;

    font-weight: 900;
}

.proof-big {
    font-size:
        clamp(
            58px,
            6vw,
            78px
        );

    color: #a9e920;

    font-weight: 1000;

    letter-spacing: -.06em;
}

.proof-text {
    color: #d9efff;
}


/* =========================================================
   GALERIA / CAPACIDAD METROLOGICA
   ========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr;

    grid-template-rows:
        300px
        300px;

    gap: 18px;
}

.gallery-grid figure {
    margin: 0;

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    background: #e9f0f5;
}

.gallery-large {
    grid-row:
        1 / 3;
}

.gallery-grid img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .35s ease;
}

.gallery-grid figure:hover img {
    transform:
        scale(1.025);
}

.gallery-grid figcaption {
    position: absolute;

    left: 18px;
    bottom: 18px;

    background:
        rgba(3, 48, 92, .85);

    color: #fff;

    padding:
        10px
        14px;

    border-radius: 999px;

    font-size: 13px;
}


/* =========================================================
   PROCESO
   ========================================================= */

.process {
    background: var(--soft);
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;
}

.steps div {
    background: #fff;

    border:
        1px solid var(--line);

    border-radius: 18px;

    padding: 22px;

    min-height: 170px;
}

.steps b {
    display: flex;

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue);

    color: #fff;

    margin-bottom: 18px;
}

.steps strong,
.steps span {
    display: block;
}

.steps span {
    font-size: 13px;

    color: #6f7e8c;

    margin-top: 8px;

    line-height: 1.45;
}


/* =========================================================
   CENTRO DE CONOCIMIENTO
   ========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.cards article {
    border:
        1px solid var(--line);

    border-radius: 18px;

    padding: 26px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.cards article:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 14px 35px
        rgba(8, 42, 80, .10);
}

.cards h3 {
    margin-top: 0;

    color: var(--blue);
}

.cards p {
    color: #65778a;
}


/* =========================================================
   CTA / CONTACTO
   ========================================================= */

.cta {
    background:
        linear-gradient(
            135deg,
            #082f5c,
            #0a6cb8
        );

    color: #fff;

    padding:
        64px
        0;
}

.cta-inner {
    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 40px;
}

.cta h2 {
    font-size:
        clamp(
            34px,
            4vw,
            42px
        );

    max-width: 720px;

    margin:
        10px
        0;
}

.cta p {
    color: #d8ebf9;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #061f3a;

    color: #bcd0e4;

    padding:
        44px
        0
        16px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1fr
        1.3fr
        1fr;

    gap: 34px;
}

.footer img {
    width: 220px;

    background: #fff;

    border-radius: 12px;

    padding: 8px;
}

.footer strong {
    color: #fff;
}

.footer-bottom {
    border-top:
        1px solid
        rgba(255, 255, 255, .12);

    margin-top: 28px;

    padding-top: 16px;

    font-size: 12px;
}


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

.reveal {
    opacity: 0;

    transform:
        translateY(18px);

    transition:
        opacity .6s ease,
        transform .6s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    /* -----------------------------------------
       Navegacion
       ----------------------------------------- */

    .menu {
        display: none;
    }

    .menu.open {
        display: flex;

        position: absolute;

        top: 118px;

        left: 20px;
        right: 20px;

        background: #fff;

        padding: 20px;

        border-radius: 16px;

        box-shadow: var(--shadow);

        flex-direction: column;

        z-index: 1100;
    }

    .menu-toggle {
        display: block;
    }

    .nav > .btn-whatsapp {
        display: none;
    }


    /* -----------------------------------------
       Hero
       ----------------------------------------- */

    .hero-grid {
        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            auto
            250px
            250px;

        min-height: auto;
    }

    .hero-copy {
        grid-column:
            1 / 3;

        grid-row: 1;

        padding:
            48px
            32px;
    }

    .hero-copy h1 {
        font-size:
            clamp(
                34px,
                6vw,
                50px
            );

        max-width: 760px;
    }

    .hero-logo img {
        width: 210px;

        max-width: 70%;
    }

    .panel-a,
    .panel-b,
    .panel-c,
    .panel-d {
        grid-row: auto;
    }


    /* -----------------------------------------
       Pilares
       ----------------------------------------- */

    .pillar-strip {
        grid-template-columns:
            1fr
            1fr;
    }


    /* -----------------------------------------
       Servicios
       ----------------------------------------- */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns:
            1fr
            1fr;
    }


    /* -----------------------------------------
       Acreditacion
       ----------------------------------------- */

    .accreditation-grid {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------
       Galeria
       ----------------------------------------- */

    .gallery-grid {
        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            320px
            220px;
    }

    .gallery-large {
        grid-column:
            1 / 3;

        grid-row: auto;
    }


    /* -----------------------------------------
       Proceso
       ----------------------------------------- */

    .steps {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* -----------------------------------------
       Tarjetas
       ----------------------------------------- */

    .cards {
        grid-template-columns:
            1fr;
    }


    /* -----------------------------------------
       CTA
       ----------------------------------------- */

    .cta-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    /* -----------------------------------------
       Footer
       ----------------------------------------- */

    .footer-grid {
        grid-template-columns:
            1fr;
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 680px) {

    /* -----------------------------------------
       Barra superior
       ----------------------------------------- */

    .topbar {
        display: none;
    }


    /* -----------------------------------------
       Navegacion
       ----------------------------------------- */

    .nav {
        height: 74px;
    }

    .brand img {
        width: 155px;
    }

    .shell {
        width:
            min(
                calc(100% - 24px),
                1180px
            );
    }


    /* -----------------------------------------
       Hero
       ----------------------------------------- */

    .hero-grid {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        grid-template-rows:
            auto
            210px;
    }

    .hero-copy {
        grid-column:
            1 / 3;

        grid-row: 1;

        padding:
            38px
            22px;
    }

    .hero-logo {
        margin-bottom: 18px;
    }

    .hero-logo img {
        width: 180px;

        max-width: 70%;
    }

    .hero-copy h1 {
        font-size:
            clamp(
                30px,
                9vw,
                40px
            );

        line-height: 1.08;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .panel {
        height: 210px;
    }

    .panel-c,
    .panel-d {
        display: none;
    }


    /* -----------------------------------------
       Pilares
       ----------------------------------------- */

    .pillar-strip {
        grid-template-columns:
            1fr;
    }


    /* -----------------------------------------
       Servicios
       ----------------------------------------- */

    .service-card {
        grid-template-columns:
            1fr;
    }

    .service-media {
        min-height: 260px;
    }


    /* -----------------------------------------
       Galeria
       ----------------------------------------- */

    .gallery-grid {
        display: block;
    }

    .gallery-grid figure {
        height: 250px;

        margin-bottom: 12px;
    }


    /* -----------------------------------------
       Proceso
       ----------------------------------------- */

    .steps {
        grid-template-columns:
            1fr
            1fr;
    }


    /* -----------------------------------------
       Acreditacion
       ----------------------------------------- */

    .accreditation-grid h2,
    .cta h2 {
        font-size: 34px;
    }

    .proof-big {
        font-size: 58px;
    }
}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .shell {
        width:
            calc(100% - 20px);
    }

    .hero-copy {
        padding:
            32px
            18px;
    }

    .hero-copy h1 {
        font-size:
            clamp(
                29px,
                9vw,
                36px
            );
    }

    .hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .steps {
        grid-template-columns:
            1fr;
    }

    .pillar-strip div {
        padding: 18px;
    }

    .service-body {
        padding: 26px;
    }
}


/* =========================================================
   ACCESIBILIDAD:
   REDUCIR MOVIMIENTO
   ========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}


/* Navegacion: se conserva la definicion principal del inicio del archivo. */


.scope-detail {
    background: #fff;
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.scope-card {
    border: 1px solid var(--line);
    border-radius: 24px;

    padding: 34px;

    background: #fff;

    box-shadow:
        0 14px 40px
        rgba(8, 42, 80, .08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.scope-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 50px
        rgba(8, 42, 80, .13);
}

.scope-label {
    display: inline-block;

    color: var(--blue2);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .14em;

    margin-bottom: 10px;
}

.scope-card h3 {
    font-size: 30px;

    margin:
        0
        0
        14px;
}

.scope-card p {
    color: #627487;

    line-height: 1.6;
}

.scope-card a {
    display: inline-block;

    margin-top: 12px;

    color: var(--blue2);

    font-weight: 900;

    text-decoration: none;
}

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

/* =========================================================
   CAPACIDAD TECNICA Y ALCANCES
   ========================================================= */

.capacity {
    background: var(--soft);
}

.capacity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.capacity-card {
    background: #fff;

    border: 1px solid var(--line);

    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 18px 48px
        rgba(8, 42, 80, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.capacity-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 24px 60px
        rgba(8, 42, 80, .15);
}

.capacity-media {
    height: 320px;

    overflow: hidden;

    background: #e8f0f6;
}

.capacity-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .8s ease;
}

.capacity-card:hover
.capacity-media img {
    transform: scale(1.035);
}

.capacity-body {
    padding:
        32px;
}

.capacity-tag {
    display: inline-block;

    color: var(--blue2);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: .14em;

    margin-bottom: 10px;
}

.capacity-tag.gas {
    color: #c68a00;
}

.capacity-body h3 {
    font-size:
        clamp(
            28px,
            2.4vw,
            36px
        );

    margin:
        0
        0
        24px;

    line-height: 1.15;
}

.capacity-data {
    display: grid;

    gap: 14px;

    margin-bottom: 26px;
}

.capacity-data div {
    display: grid;

    grid-template-columns:
        145px
        1fr;

    gap: 16px;

    padding-bottom: 12px;

    border-bottom:
        1px solid var(--line);
}

.capacity-data strong {
    color: var(--blue);

    font-size: 14px;
}

.capacity-data span {
    color: #5d7082;

    line-height: 1.5;
}

.capacity-docs {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.doc-link {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        11px
        16px;

    border-radius: 999px;

    border:
        1px solid var(--line);

    color: var(--blue2);

    background: #fff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 900;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.doc-link:hover {
    background: var(--blue);

    color: #fff;

    transform:
        translateY(-2px);
}


/* =========================================================
   DOCUMENTOS INSTITUCIONALES
   ========================================================= */

.institutional-docs {
    margin-top: 34px;

    padding: 28px 32px;

    border:
        1px solid var(--line);

    border-radius: 22px;

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.institutional-docs h3 {
    margin:
        6px
        0
        0;

    font-size: 24px;
}

.institutional-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 10px;
}

.institutional-links a {
    text-decoration: none;

    color: var(--blue2);

    font-weight: 800;

    font-size: 13px;

    padding:
        10px
        14px;

    border:
        1px solid var(--line);

    border-radius: 999px;

    transition:
        .25s ease;
}

.institutional-links a:hover {
    color: #fff;

    background: var(--blue);
}


/* =========================================================
   RESPONSIVE CAPACIDAD
   ========================================================= */

@media (max-width: 900px) {

    .capacity-grid {
        grid-template-columns: 1fr;
    }

    .institutional-docs {
        align-items: flex-start;

        flex-direction: column;
    }

    .institutional-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {

    .capacity-media {
        height: 240px;
    }

    .capacity-body {
        padding: 24px;
    }

    .capacity-data div {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .capacity-docs {
        flex-direction: column;
    }

    .doc-link {
        width: 100%;
    }
}



/* =========================================================
   PROCESO GRAFICO
   ========================================================= */

.process-modern {
    background:
        linear-gradient(
            180deg,
            #f5f9fc 0%,
            #edf5fa 100%
        );
}

.process-simulator {
    position: relative;

    margin-top: 44px;

    padding:
        50px
        38px
        38px;

    background: #fff;

    border:
        1px solid var(--line);

    border-radius: 28px;

    box-shadow:
        0 20px 55px
        rgba(8,42,80,.09);
}


/* =========================================================
   LINEA
   ========================================================= */

.process-track {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 16px;

    align-items: start;

    padding-top: 8px;
}

.process-line {
    position: absolute;

    top: 31px;

    left: 8%;
    right: 8%;

    height: 4px;

    background: #d9e6ef;

    border-radius: 999px;
}

.process-line-progress {
    position: absolute;

    top: 31px;

    left: 8%;

    width: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue2),
            var(--cyan),
            var(--green)
        );

    border-radius: 999px;

    transition:
        width .65s ease;
}


/* =========================================================
   NODOS
   ========================================================= */

.process-node {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border: 0;

    background: transparent;

    cursor: pointer;

    padding: 0 8px;

    color: var(--ink);
}

.process-circle {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background: #fff;

    border:
        4px solid #d7e4ed;

    color: #7890a4;

    font-size: 13px;

    font-weight: 900;

    box-shadow:
        0 4px 15px
        rgba(8,42,80,.09);

    transition:
        .35s ease;
}

.process-node strong {
    display: block;

    font-size: 15px;

    margin-bottom: 7px;
}

.process-node small {
    display: block;

    max-width: 145px;

    color: #728397;

    font-size: 12px;

    line-height: 1.45;
}


/* Nodo activo */

.process-node.active
.process-circle {

    background: var(--blue);

    border-color: var(--blue);

    color: #fff;

    transform:
        scale(1.14);

    box-shadow:
        0 8px 25px
        rgba(7,60,122,.28);
}

.process-node.complete
.process-circle {

    background: var(--green);

    border-color: var(--green);

    color: #0a315f;
}


/* =========================================================
   INFORMACION DE LA ETAPA
   ========================================================= */

.process-detail {
    margin-top: 48px;

    display: grid;

    grid-template-columns:
        95px
        1fr;

    gap: 26px;

    align-items: center;

    padding:
        28px
        32px;

    background:
        linear-gradient(
            135deg,
            #073b74,
            #0b68b7
        );

    color: #fff;

    border-radius: 22px;

    min-height: 150px;
}

.process-detail-number {
    font-size: 64px;

    font-weight: 900;

    line-height: 1;

    color:
        rgba(255,255,255,.20);
}

.process-status {
    display: block;

    margin-bottom: 5px;

    color: #a9e920;

    font-size: 11px;

    letter-spacing: .16em;

    font-weight: 900;
}

.process-detail h3 {
    margin:
        0
        0
        8px;

    font-size: 25px;
}

.process-detail p {
    margin: 0;

    max-width: 760px;

    color: #dcebf7;

    line-height: 1.55;
}


/* =========================================================
   CONTROLES
   ========================================================= */

.process-controls {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 22px;
}

.process-reset {
    background: transparent;

    border: 0;

    color: var(--blue);

    font-weight: 800;

    cursor: pointer;

    padding: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .process-track {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 30px 12px;
    }

    .process-line,
    .process-line-progress {
        display: none;
    }

}

@media (max-width: 560px) {

    .process-simulator {
        padding:
            30px
            18px;
    }

    .process-track {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-detail {
        grid-template-columns: 1fr;

        gap: 6px;
    }

    .process-detail-number {
        font-size: 42px;
    }

}

/* =========================================================
   PROCESO VISUAL AVANZADO
   ========================================================= */

.process-modern {
    background:
        linear-gradient(
            180deg,
            #f5f9fc,
            #edf5fa
        );
}

.process-simulator {
    margin-top: 40px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 28px;

    padding: 42px;

    box-shadow:
        0 20px 55px
        rgba(8,42,80,.10);
}

.process-track {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;
}

.process-line {
    position: absolute;

    top: 24px;

    left: 8%;
    right: 8%;

    height: 4px;

    background: #d8e5ee;

    border-radius: 999px;
}

.process-line-progress {
    position: absolute;

    top: 24px;
    left: 8%;

    width: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue2),
            var(--cyan),
            var(--green)
        );

    border-radius: 999px;

    transition:
        width .6s ease;
}

.process-node {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: var(--ink);
}

.process-circle {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff;

    border:
        4px solid #d7e4ed;

    font-weight: 900;

    color: #6f8497;

    transition:
        .3s ease;
}

.process-icon {
    font-size: 26px;

    margin:
        12px
        0
        8px;

    filter:
        grayscale(1);

    opacity: .55;

    transition: .3s;
}

.process-node strong {
    font-size: 14px;
}

.process-node small {
    font-size: 12px;

    color: #718395;

    margin-top: 4px;
}

.process-node.active
.process-circle {
    background: var(--blue);

    border-color: var(--blue);

    color: #fff;

    transform:
        scale(1.12);

    box-shadow:
        0 8px 22px
        rgba(7,60,122,.28);
}

.process-node.active
.process-icon {
    filter: none;

    opacity: 1;

    transform:
        scale(1.18);
}

.process-node.complete
.process-circle {
    background: var(--green);

    border-color: var(--green);

    color: #0b315f;
}


/* =========================================================
   ESCENA VISUAL
   ========================================================= */

.process-stage {
    display: grid;

    grid-template-columns:
        1fr
        1.1fr;

    gap: 28px;

    margin-top: 44px;
}

.process-visual {
    position: relative;

    min-height: 260px;

    border-radius: 24px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #0c5caa,
            #052f62
        );

    box-shadow:
        inset 0 0 80px
        rgba(0,0,0,.15);
}

.visual-scene {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    transform:
        scale(.96);

    transition:
        opacity .5s ease,
        transform .5s ease;
}

.visual-scene.active {
    opacity: 1;

    transform:
        scale(1);
}

.visual-badge {
    position: absolute;

    bottom: 18px;

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.25);

    color: #fff;

    padding:
        8px 14px;

    border-radius: 999px;

    font-size: 12px;

    backdrop-filter:
        blur(6px);
}


/* Solicitud */

.visual-paper {
    width: 125px;
    height: 150px;

    background: #fff;

    border-radius: 12px;

    padding: 26px 18px;

    box-shadow:
        0 20px 40px
        rgba(0,0,0,.25);

    animation:
        paperFloat 2.2s ease-in-out infinite;
}

.visual-paper span {
    display: block;

    height: 8px;

    margin-bottom: 14px;

    background: #dbe7f0;

    border-radius: 999px;
}


/* Programacion */

.visual-calendar {
    width: 150px;

    background: #fff;

    border-radius: 14px;

    padding: 15px;

    box-shadow:
        0 18px 40px
        rgba(0,0,0,.25);
}

.calendar-head {
    height: 24px;

    background: var(--blue2);

    border-radius: 7px;

    margin-bottom: 12px;
}

.calendar-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 7px;
}

.calendar-grid i {
    height: 22px;

    border-radius: 5px;

    background: #e7eef4;
}

.calendar-grid i.selected {
    background: var(--green);

    animation:
        pulseCell 1s ease infinite alternate;
}


/* Inspeccion */

.meter-simulation {
    position: relative;

    width: 165px;
    height: 165px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #dce8ef,
            #fff
        );

    display: flex;

    align-items: center;
    justify-content: center;
}

.meter-face {
    width: 110px;

    background: #10243a;

    border-radius: 10px;

    padding: 12px;

    text-align: center;
}

.meter-value {
    color: #d7ff65;

    font-family: monospace;

    letter-spacing: 3px;

    font-size: 18px;
}

.inspection-ring {
    position: absolute;

    inset: -14px;

    border:
        4px solid
        rgba(132,201,0,.75);

    border-radius: 50%;

    animation:
        inspectionPulse 1.5s ease infinite;
}


/* Evaluacion */

.evaluation-panel {
    width: 220px;
    height: 140px;

    position: relative;

    display: flex;

    align-items: flex-end;

    gap: 16px;

    padding:
        20px;

    background: #fff;

    border-radius: 14px;
}

.eval-bar {
    width: 28px;

    background:
        linear-gradient(
            180deg,
            var(--cyan),
            var(--blue2)
        );

    border-radius:
        7px
        7px
        0
        0;

    animation:
        barsMove 1.5s ease-in-out infinite alternate;
}

.b1 { height: 40%; }
.b2 { height: 70%; }
.b3 { height: 55%; }
.b4 { height: 85%; }

.eval-line {
    position: absolute;

    left: 14px;
    right: 14px;

    top: 52%;

    border-top:
        2px dashed var(--green);
}


/* Resultados */

.result-box {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px 28px;

    background: #fff;

    border-radius: 16px;
}

.result-check {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: var(--green);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 32px;

    font-weight: 900;

    color: #063667;

    animation:
        resultPop .8s ease infinite alternate;
}

.result-data span,
.result-data strong {
    display: block;
}

.result-data span {
    font-size: 12px;

    color: #718395;
}

.result-data strong {
    color: var(--blue);

    margin-top: 4px;
}


/* Documento */

.document-sheet {
    width: 140px;
    height: 180px;

    background: #fff;

    border-radius: 10px;

    padding: 24px;

    box-shadow:
        0 20px 45px
        rgba(0,0,0,.25);

    position: relative;

    animation:
        documentFloat 2s ease-in-out infinite;
}

.doc-title {
    width: 70%;

    height: 10px;

    background: var(--blue);

    border-radius: 999px;

    margin-bottom: 22px;
}

.doc-line {
    height: 7px;

    background: #d9e5ee;

    margin-bottom: 12px;

    border-radius: 999px;
}

.doc-line.short {
    width: 65%;
}

.doc-seal {
    position: absolute;

    right: 18px;
    bottom: 18px;

    width: 42px;
    height: 42px;

    background: var(--green);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 900;

    color: #073c7a;
}


/* =========================================================
   PANEL DE TEXTO
   ========================================================= */

.process-detail {
    padding: 30px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #073b74,
            #0b68b7
        );

    color: #fff;

    display: grid;

    grid-template-columns:
        90px
        1fr;

    align-items: center;

    gap: 22px;
}

.process-detail-number {
    font-size: 62px;

    font-weight: 900;

    color:
        rgba(255,255,255,.18);
}

.process-status {
    color: #a9e920;

    font-size: 11px;

    letter-spacing: .15em;

    font-weight: 900;
}

.process-detail h3 {
    font-size: 28px;

    margin:
        7px
        0
        9px;
}

.process-detail p {
    color: #dcebf7;

    line-height: 1.6;

    margin: 0;
}


/* =========================================================
   CONTROLES
   ========================================================= */

.process-controls {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 22px;
}

.process-reset {
    border: 0;

    background: transparent;

    color: var(--blue);

    font-weight: 800;

    cursor: pointer;
}


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

@keyframes paperFloat {

    0%,100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-8px);
    }
}

@keyframes pulseCell {

    from {
        transform:
            scale(1);
    }

    to {
        transform:
            scale(1.12);
    }
}

@keyframes inspectionPulse {

    0% {
        transform:
            scale(.95);

        opacity: .9;
    }

    100% {
        transform:
            scale(1.15);

        opacity: .25;
    }
}

@keyframes barsMove {

    from {
        transform:
            scaleY(.8);
    }

    to {
        transform:
            scaleY(1.05);
    }
}

@keyframes resultPop {

    from {
        transform:
            scale(.95);
    }

    to {
        transform:
            scale(1.08);
    }
}

@keyframes documentFloat {

    0%,100% {
        transform:
            rotate(-1deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(1deg)
            translateY(-7px);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .process-track {
        grid-template-columns:
            repeat(3, 1fr);

        gap:
            28px
            12px;
    }

    .process-line,
    .process-line-progress {
        display: none;
    }

    .process-stage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {

    .process-simulator {
        padding: 24px 16px;
    }

    .process-track {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-detail {
        grid-template-columns: 1fr;
    }

    .process-detail-number {
        font-size: 42px;
    }
}

/* =========================================================
   DOCUMENTOS DEBAJO DE LA ZONA AZUL
   ========================================================= */

.docs-wrapper {
    background: #f5f9fc;
    padding: 30px 0 55px;
}

.institutional-docs {
    margin: 0 auto;

    padding: 26px 30px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow:
        0 14px 38px
        rgba(8,42,80,.08);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.docs-title {
    flex: 1 1 360px;
}

.docs-title h3 {
    margin: 6px 0 0;

    font-size: 24px;
    line-height: 1.15;

    color: var(--ink);
}

.institutional-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 10px;
}

.institutional-links a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 16px;

    border: 1px solid #cbddeb;
    border-radius: 999px;

    background: #fff;

    color: var(--blue2);

    text-decoration: none;

    font-size: 13px;
    font-weight: 900;

    white-space: nowrap;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.institutional-links a:hover {
    background: var(--blue);
    border-color: var(--blue);

    color: #fff;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 950px) {

    .institutional-docs {
        align-items: flex-start;
        flex-direction: column;
    }

    .docs-title {
        flex: auto;
    }

    .institutional-links {
        justify-content: flex-start;
    }
}


/* CELULAR */

@media (max-width: 560px) {

    .docs-wrapper {
        padding: 20px 0 35px;
    }

    .institutional-docs {
        padding: 22px;
    }

    .institutional-links {
        width: 100%;
    }

    .institutional-links a {
        width: 100%;
    }
}

/* =========================================================
   MENU DESPLEGABLE - CALIDAD
   ========================================================= */

.menu-dropdown {
    position: relative;
}

.menu-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-dropdown > a::after {
    content: "▾";
    font-size: 10px;
    opacity: .75;
}

.menu-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 230px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1200;
}

.menu-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    white-space: nowrap;
}

.menu-dropdown-panel a:hover {
    background: var(--soft);
}

.menu-dropdown:hover .menu-dropdown-panel,
.menu-dropdown:focus-within .menu-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* =========================================================
   ENLACES DEL FOOTER
   ========================================================= */

.footer a {
    color: #cfe1f1;
    text-decoration: none;
}

.footer a:hover {
    color: #a9e920;
}

.footer-links strong {
    display: block;
    color: #fff;
    margin-bottom: 14px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-nav a {
    display: inline-block;
    color: #cfe1f1;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    transition: color .2s ease, transform .2s ease;
}

.footer-nav a:hover {
    color: #a9e920;
    transform: translateX(4px);
}

/* Ya no se agregan separadores con ::after: cada acceso es una fila. */

@media (max-width: 980px) {
    .menu-dropdown {
        width: 100%;
    }

    .menu-dropdown > a {
        width: 100%;
    }

    .menu-dropdown-panel {
        position: static;
        min-width: 0;
        margin-top: 6px;
        padding: 4px 0 4px 14px;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-dropdown:hover .menu-dropdown-panel,
    .menu-dropdown:focus-within .menu-dropdown-panel {
        transform: none;
    }
}


/* =========================================================
   PAGINAS MODULARES - ESTILO COMPARTIDO
   ========================================================= */

.page-hero {
    padding: clamp(58px, 7vw, 88px) 0;
    background: linear-gradient(135deg, #073b74, #0b68b7);
    color: #fff;
}
.page-hero .eyebrow { color: #a9e920; }
.page-hero h1 {
    margin: 12px 0 16px;
    max-width: 880px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.page-hero p {
    margin: 0;
    max-width: 760px;
    color: #dbeeff;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.6;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255,255,255,.78);
}
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

.content-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:28px; }
.content-card {
    padding: clamp(28px, 3vw, 38px);
    border:1px solid var(--line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 14px 40px rgba(8,42,80,.08);
}
.content-card h2 { margin:8px 0 16px; font-size:clamp(28px,3vw,36px); }
.content-card p { color:#5f7285; line-height:1.7; }
.accent-card { background:linear-gradient(135deg,#073b74,#0b68b7); color:#fff; }
.accent-card p { color:#dbeeff; }
.text-link, .text-link-light { font-weight:900; text-decoration:none; }
.text-link { color:var(--blue2); }
.text-link-light { color:#b8ed3e; }
.muted { color:#718395 !important; font-size:14px; }

.detail-stack { display:grid; gap:30px; }
.detail-card {
    display:grid; grid-template-columns:1fr 1fr;
    overflow:hidden; border:1px solid var(--line); border-radius:26px; background:#fff;
    box-shadow:0 16px 44px rgba(8,42,80,.09);
}
.detail-card > div { padding:clamp(30px,4vw,48px); align-self:center; }
.detail-card h2 { margin:8px 0 14px; font-size:clamp(30px,3.4vw,42px); }
.detail-card p { color:#5f7285; line-height:1.7; }
.detail-card img { width:100%; height:100%; min-height:390px; object-fit:cover; display:block; }
.detail-card.reverse > div { order:2; }
.detail-card.reverse > img { order:1; }
.detail-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:24px; }

.readable { max-width:920px; }
.notice { padding:24px 28px; margin-bottom:26px; border-left:5px solid var(--blue2); border-radius:14px; background:#f2f7fb; }
.notice p { margin-bottom:0; color:#607286; }
.accordion details { margin:12px 0; padding:0 22px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.accordion summary { cursor:pointer; padding:20px 0; font-weight:900; color:var(--blue); }
.accordion details p { padding-bottom:20px; color:#607286; line-height:1.65; }
.stack-links { display:grid; gap:4px; }
.stack-links a { padding:14px 0; border-bottom:1px solid var(--line); color:var(--blue2); text-decoration:none; font-weight:900; }
.stack-links a:hover { color:var(--blue); }
.section-more { display:flex; justify-content:center; margin-top:30px; }

.portal-links { background:#f5f9fc; }
.portal-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.portal-card {
    display:flex; flex-direction:column; gap:12px; min-height:190px; padding:28px;
    border:1px solid var(--line); border-radius:20px; background:#fff; color:var(--ink); text-decoration:none;
    box-shadow:0 12px 34px rgba(8,42,80,.07); transition:.25s ease;
}
.portal-card:hover { transform:translateY(-5px); box-shadow:0 20px 44px rgba(8,42,80,.12); }
.portal-card strong { font-size:23px; color:var(--blue); }
.portal-card span { color:#647688; line-height:1.55; }
.portal-card b { margin-top:auto; color:var(--blue2); }

.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:32px; }
.contact-info, .contact-form { padding:34px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:0 14px 40px rgba(8,42,80,.08); }
.contact-info h2, .contact-form h2 { margin:8px 0 20px; font-size:clamp(28px,3vw,36px); }
.contact-info p { color:#566c80; line-height:1.6; }
.contact-info a { color:var(--blue2); text-decoration:none; }
.map-placeholder { min-height:200px; margin-top:26px; border-radius:18px; background:#eaf2f7; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; color:#5e7184; }
.map-placeholder span { margin-top:8px; font-size:13px; }
.contact-form { display:grid; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { display:grid; gap:7px; color:#38526c; font-size:13px; font-weight:800; }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; padding:13px 14px; border:1px solid #cfdde8; border-radius:12px; background:#fff; color:var(--ink); font:inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline:3px solid rgba(19,168,216,.12); border-color:var(--cyan); }
.form-status { min-height:22px; margin:0; font-size:14px; }
.form-status.ok { color:#167c3d; }
.form-status.error { color:#b42318; }

/* Navegacion coherente en todas las paginas */
.menu > a, .menu-dropdown > a { white-space:nowrap; }
.menu-dropdown { position:relative; display:flex; align-items:center; }
.menu-dropdown > a::after { content:' ▾'; font-size:10px; }
.menu-dropdown-panel {
    position:absolute; top:calc(100% + 10px); left:-18px; min-width:240px; padding:10px;
    background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow);
    opacity:0; visibility:hidden; transform:translateY(-6px); pointer-events:none; transition:.2s ease; z-index:1200;
}
.menu-dropdown-panel a { display:block; padding:10px 12px; border-radius:9px; }
.menu-dropdown-panel a:hover { background:#f3f7fb; }
.menu-dropdown:hover .menu-dropdown-panel, .menu-dropdown:focus-within .menu-dropdown-panel, .menu-dropdown.open-dropdown .menu-dropdown-panel { opacity:1; visibility:visible; transform:none; pointer-events:auto; }

.footer a { color:inherit; text-decoration:none; }
.footer-contact a:hover, .footer-nav a:hover { color:#a9e920; }
.footer-links strong { display:block; margin-bottom:14px; }
.footer-nav { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.footer-nav a { display:inline-block; color:#cfe1f1; font-size:15px; line-height:1.4; transition:color .2s ease,transform .2s ease; }
.footer-nav a:hover { transform:translateX(4px); }

@media (max-width:980px) {
    .content-grid, .detail-card, .contact-grid { grid-template-columns:1fr; }
    .detail-card.reverse > div, .detail-card.reverse > img { order:initial; }
    .portal-card-grid { grid-template-columns:1fr; }
    .menu-dropdown { display:block; width:100%; }
    .menu-dropdown-panel { position:static; min-width:0; margin-top:6px; padding:4px 0 4px 14px; border:0; border-left:2px solid var(--line); border-radius:0; box-shadow:none; opacity:1; visibility:visible; transform:none; pointer-events:auto; }
}
@media (max-width:560px) {
    .page-hero { padding:48px 0; }
    .form-row { grid-template-columns:1fr; }
    .contact-info, .contact-form { padding:24px; }
    .detail-card img { min-height:260px; }
}


/* =========================================================
   CALIDAD - POLITICAS Y CONDICIONES
   ========================================================= */

.quality-section {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fc 100%
        );
}

.quality-head {
    max-width: 780px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.quality-card {
    position: relative;

    min-height: 330px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    background: #fff;

    border:
        1px solid
        var(--line);

    border-radius: 24px;

    box-shadow:
        0 14px 38px
        rgba(8,42,80,.08);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.quality-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            var(--blue2),
            var(--cyan)
        );
}

.quality-card:hover {
    transform: translateY(-5px);

    border-color: #bfd8ea;

    box-shadow:
        0 22px 55px
        rgba(8,42,80,.14);
}

.quality-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 22px;
}

.quality-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #073c7a,
            #0a6cb8
        );

    color: #fff;

    font-size: 25px;
    font-weight: 900;

    box-shadow:
        0 10px 24px
        rgba(7,60,122,.20);
}

.quality-type {
    color: var(--blue2);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .12em;

    text-align: right;
}

.quality-card h3 {
    margin: 0 0 14px;

    font-size: 27px;
    line-height: 1.15;

    color: var(--ink);
}

.quality-card p {
    margin: 0;

    color: #5e7082;

    font-size: 16px;
    line-height: 1.65;
}

.quality-meta {
    margin-top: 20px;

    color: #8090a1;

    font-size: 13px;
    font-weight: 700;
}

.quality-button {
    margin-top: auto;
    padding-top: 24px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--blue2);

    text-decoration: none;

    font-size: 14px;
    font-weight: 900;
}

.quality-button span {
    transition: transform .2s ease;
}

.quality-button:hover span {
    transform: translateX(5px);
}

.quality-card-featured {
    background:
        linear-gradient(
            145deg,
            #073c7a 0%,
            #0a5fb7 100%
        );

    border-color: transparent;
}

.quality-card-featured::before {
    background: #9fe21b;
}

.quality-card-featured h3,
.quality-card-featured p,
.quality-card-featured .quality-meta {
    color: #fff;
}

.quality-card-featured p {
    color: #d9ecfa;
}

.quality-card-featured .quality-type {
    color: #b6ed4c;
}

.quality-card-featured .quality-icon {
    background: rgba(255,255,255,.13);

    border: 1px solid
        rgba(255,255,255,.25);
}

.quality-card-featured .quality-button {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .quality-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {

    .quality-card {
        min-height: auto;
        padding: 26px 24px;
    }

    .quality-card h3 {
        font-size: 23px;
    }

    .quality-card-top {
        align-items: flex-start;
    }

}

/* =========================================================
   CONTACTO - UBICACION
   ========================================================= */

.contact-location-card {

    margin-top: 28px;

    padding: 26px;

    border:
        1px solid
        var(--line);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #f7fbfe,
            #eef6fb
        );

}


.contact-location-card h3 {

    margin:
        8px
        0
        10px;

    font-size: 24px;

    color:
        var(--ink);

}


.contact-location-card p {

    margin:
        0
        0
        20px;

    color:
        #5f7284;

    line-height:
        1.55;

}


.contact-address {

    color:
        var(--blue2);

    text-decoration:
        none;

    font-weight:
        700;

}


.contact-address:hover {

    text-decoration:
        underline;

}


.btn-map {

    background:
        var(--blue);

    color:
        #ffffff;

    padding:
        12px
        18px;

}


.btn-map:hover {

    background:
        var(--blue2);

}




.auto-document-page {

    background:
        #f5f8fb;

}


.auto-document {

    max-width:
        1000px;

    margin:
        0 auto;

    padding:
        42px;

    background:
        #ffffff;

    border:
        1px solid
        var(--line);

    border-radius:
        24px;

    box-shadow:
        0 18px 48px
        rgba(8, 42, 80, .08);

}


.auto-heading {

    margin:
        42px
        0
        22px;

    padding-bottom:
        14px;

    border-bottom:
        2px solid
        #dce8f1;

    color:
        var(--blue);

    font-size:
        28px;

}


.auto-heading:first-child {

    margin-top:
        0;

}


.auto-subheading {

    margin:
        32px
        0
        16px;

    color:
        var(--blue2);

    font-size:
        22px;

}


.auto-section-title {

    margin:
        24px
        0
        12px;

    padding:
        14px
        18px;

    border-left:
        4px solid
        var(--blue2);

    background:
        #f3f8fc;

    border-radius:
        0
        10px
        10px
        0;

    color:
        var(--ink);

    font-weight:
        900;

}


.auto-paragraph {

    margin:
        0
        0
        18px;

    color:
        #516477;

    font-size:
        15px;

    line-height:
        1.75;

}


.auto-subitem {

    margin:
        12px
        0;

    padding:
        14px
        18px;

    background:
        #f8fafc;

    border:
        1px solid
        #e1e9ef;

    border-radius:
        12px;

    color:
        #516477;

    line-height:
        1.7;

}


@media (max-width: 700px) {

    .auto-document {

        padding:
            26px
            20px;

    }

}

/* =========================================================
   QUEJAS Y APELACIONES
   ========================================================= */

.split {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);

    gap: 26px;

    align-items: stretch;

}


/* =========================================================
   TARJETA BLANCA
   ========================================================= */

.info-card {

    padding: 34px;

    background: #ffffff;

    border:
        1px solid
        var(--line);

    border-radius: 22px;

    box-shadow:
        0 16px 42px
        rgba(8, 42, 80, .08);

}


.info-card h2 {

    margin:
        12px
        0
        16px;

    color:
        var(--ink);

    font-size:
        28px;

    line-height:
        1.2;

}


.info-card p {

    margin:
        0
        0
        16px;

    color:
        #53677a;

    font-size:
        15px;

    line-height:
        1.7;

}


.info-card .btn {

    margin-top:
        8px;

}


/* =========================================================
   TARJETA AZUL
   ========================================================= */

.accent-card {

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            #07549a,
            #0a6db9
        );

    color:
        #ffffff;

    border-radius:
        22px;

    box-shadow:
        0 16px 42px
        rgba(8, 42, 80, .14);

}


.accent-card .eyebrow {

    color:
        #9fe21b;

}


.accent-card h2 {

    margin:
        12px
        0
        16px;

    color:
        #ffffff;

    font-size:
        28px;

    line-height:
        1.2;

}


.accent-card p {

    margin:
        0
        0
        16px;

    color:
        #e1eff9;

    font-size:
        15px;

    line-height:
        1.7;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 820px) {

    .split {

        grid-template-columns:
            1fr;

    }

}

/* =========================================================
   CAMPO ANTIBOT DEL FORMULARIO DE CONTACTO
   ========================================================= */

.honeypot-field {

    position: absolute;

    left: -10000px;

    top: auto;

    width: 1px;

    height: 1px;

    overflow: hidden;

}
