:root {
    --lumtec-dark-blue: #002e62;
    --lumtec-blue: #0077b6;
    --lumtec-light-blue: #00b4d8;
    --lumtec-gray: #f7f9fc;
    --lumtec-text: #1f2937;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Google Sans", sans-serif;
    color: var(--lumtec-text);
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
}


/* HEADER */

#topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
}

#topbar nav a {
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

#topbar nav a:hover {
    color: var(--lumtec-blue);
    background: #f3f6f9;
}


/* MENÚ MÓVIL */

#mobileNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #ffffff;
    border-top: 1px solid #e5e7eb;

    opacity: 0;
    transform: translateY(-10px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

#mobileNav.menu-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#mobileNav a {
    display: block;
    padding: 11px 12px;
    color: #1f2937;
    text-decoration: none;
    border-radius: 8px;
}

#mobileNav a:hover {
    background: #f3f6f9;
    color: var(--lumtec-blue);
}


/* HERO */

.daci-hero {
    width: 100%;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 47%,
        #f3f8fc 100%
    );
}

.daci-container {
    width: 100%;
    max-width: none;
    min-height: 500px;

    margin: 0;

    display: grid;
    grid-template-columns: 48% 52%;

    align-items: stretch;
}


/* TEXTO */
.daci-texto {
    padding-top: 70px;
    padding-right: 55px;
    padding-bottom: 70px;

    /* mantiene el texto alineado como antes */
    padding-left: max(
        40px,
        calc((100vw - 1500px) / 2 + 40px)
    );

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.daci-subtitulo {
    display: block;

    margin-bottom: 12px;

    color: var(--lumtec-dark-blue);

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.daci-texto h1 {
    margin: 0;

    max-width: 650px;

    color: var(--lumtec-dark-blue);

    font-size: clamp(46px, 4.7vw, 68px);
    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -1.6px;
}

.daci-texto p {
    max-width: 650px;

    margin: 25px 0 0;

    color: #374151;

    font-size: 19px;
    line-height: 1.55;
}


/* BOTÓN */

.daci-btn {
    width: fit-content;

    margin-top: 32px;

    padding: 14px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    border-radius: 6px;

    background: var(--lumtec-blue);
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0, 119, 182, 0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.daci-btn:hover {
    background: var(--lumtec-dark-blue);
    transform: translateY(-2px);
}


/* IMAGEN */

.daci-imagen {
    position: relative;

    width: 100%;
    min-height: 500px;

    overflow: hidden;

    background: #e5edf4;
}

.daci-imagen img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.daci-imagen::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 100px;

    z-index: 2;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.70) 25%,
        rgba(255, 255, 255, 0) 100%
    );
}


/* TABLET */

@media (max-width: 900px) {

    .daci-container {
        grid-template-columns: 1fr;
    }

    .daci-texto {
        padding: 55px 35px;
    }

    .daci-texto h1 {
        font-size: 46px;
    }

    .daci-imagen {
        min-height: 380px;
    }

    .daci-imagen::before {
        display: none;
    }
}


/* CELULAR */

@media (max-width: 600px) {

    #topbar > div:first-child {
        height: 82px !important;

        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #topbar img {
        height: 105px !important;

        width: auto !important;
        max-width: 190px !important;

        object-fit: contain !important;
    }

    .daci-texto {
        padding: 48px 22px 45px;
    }

    .daci-subtitulo {
        font-size: 12px;
    }

    .daci-texto h1 {
        font-size: 37px;
        line-height: 1.03;
    }

    .daci-texto p {
        font-size: 17px;
        line-height: 1.55;
    }

    .daci-btn {
        width: 100%;
    }

    .daci-imagen {
        min-height: 300px;
    }
}

/* ==========================================================
   BENEFICIOS DACI
========================================================== */

.daci-beneficios {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e7edf3;
}

.daci-beneficios-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 40px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.daci-beneficio {
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 10px 35px;

    border-right: 1px solid #dbe3eb;
}

.daci-beneficio:first-child {
    padding-left: 0;
}

.daci-beneficio:last-child {
    border-right: none;
}

.beneficio-icono {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0086c9;

    font-size: 30px;
}

.daci-beneficio h3 {
    margin: 0 0 3px;

    color: #003d78;

    font-size: 16px;
    font-weight: 800;
}

.daci-beneficio p {
    margin: 0;

    color: #5d6772;

    font-size: 13px;
}


/* ==========================================================
   TÍTULOS GENERALES
========================================================== */

.daci-section-title {
    max-width: 900px;

    margin: 0 auto 32px;

    text-align: center;
}

.daci-section-title h2 {
    margin: 0 0 10px;

    color: #003d78;

    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;

    font-weight: 800;
}

.daci-section-title p {
    max-width: 720px;

    margin: 0 auto;

    color: #536170;

    font-size: 16px;
    line-height: 1.55;
}


/* ==========================================================
   SOLUCIONES DACI
========================================================== */

.daci-soluciones {
    width: 100%;

    padding: 50px 20px 60px;

    background: linear-gradient(
        180deg,
        #f5faff 0%,
        #edf7fd 100%
    );
}

.daci-soluciones-grid {
    width: calc(100% - 80px);
    max-width: 2000px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 32px;
}

.daci-solucion-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dde7ef;
    border-radius: 10px;

    box-shadow:
        0 6px 20px rgba(23, 66, 104, 0.08);

    display: flex;
    flex-direction: column;
}

.solucion-icono {
    width: 48px;
    height: 48px;

    margin: 20px 20px 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #0089cd;

    font-size: 32px;
}

.daci-solucion-card h3 {
    margin: 0 20px 8px;

    color: #003d78;

    font-size: 19px;
    font-weight: 800;
}

.daci-solucion-card p {
    min-height: 95px;

    margin: 0;

    padding: 0 20px 18px;

    color: #4f5c68;

    font-size: 14px;
    line-height: 1.45;
}

.daci-solucion-card img {
    width: calc(100% - 16px);
    height: 160px;

    margin: auto 8px 8px;

    object-fit: cover;

    border-radius: 6px;
}


/* ==========================================================
   PROCESO
========================================================== */

.daci-proceso {
    width: 100%;

    background: #ffffff;

    overflow: hidden;
}

.daci-proceso-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 38% 62%;

    min-height: 560px;

    align-items: stretch;
}

.daci-proceso-imagen {
    position: relative;

    width: 100%;

    min-height: 560px;

    overflow: hidden;

    background: #eef3f7;
}

.daci-proceso-imagen img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.daci-proceso-contenido {
    width: 100%;

    padding:
        55px
        clamp(35px, 4vw, 75px);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.daci-proceso-contenido > h2 {
    margin: 0 0 8px;

    color: #003d78;

    font-size: clamp(30px, 2.5vw, 42px);

    line-height: 1.08;

    font-weight: 800;
}

.proceso-intro {
    max-width: 850px;

    margin: 0 0 28px;

    color: #52606d;

    font-size: 15px;
}

.proceso-pasos {
    width: 100%;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 18px;
}

.proceso-paso {
    width: 100%;

    min-height: 82px;

    padding: 12px 15px;

    display: grid;
    grid-template-columns:
        38px
        42px
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-radius: 9px;

    box-shadow:
        0 3px 12px rgba(28, 70, 105, 0.04);
}

.paso-numero {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #009ed8;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}

.proceso-paso > i {
    color: #008bcd;

    font-size: 27px;

    text-align: center;
}

.proceso-paso h3 {
    margin: 0 0 3px;

    color: #003d78;

    font-size: 14px;
    font-weight: 800;
}

.proceso-paso p {
    margin: 0;

    color: #596774;

    font-size: 12px;
    line-height: 1.35;
}


/* ==========================================================
   SECTORES
   ESTE BLOQUE SERÁ IGUAL EN TODAS
========================================================== */

.daci-sectores {
    width: 100%;

    padding: 42px 20px 48px;

    background: linear-gradient(
        180deg,
        #f5fbff 0%,
        #eaf6fd 100%
    );
}

.sectores-grid {
    width: calc(100% - 80px);
    max-width: 1800px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 24px;
}

.sector-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dde7ef;
    border-radius: 8px;

    box-shadow:
        0 5px 16px rgba(25, 66, 104, 0.07);

    text-align: center;
}

.sector-card > i {
    margin-top: 15px;

    color: #0092d3;

    font-size: 30px;
}

.sector-card h3 {
    min-height: 42px;

    margin: 7px 10px 8px;

    color: #003d78;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-card h4 {
    min-height: 42px;

    margin: 0 10px 10px;

    color: #374151;

    font-size: 13px;
    line-height: 1.35;

    font-weight: 500;
}

.sector-card img {
    width: calc(100% - 12px);
    height: 250px;

    margin: 0 6px 6px;

    object-fit: cover;

    border-radius: 5px;
}


/* ==========================================================
   FAQ
========================================================== */

.daci-faq {
    width: 100%;

    background: #ffffff;

    overflow: hidden;
}

.faq-grid {
    width: 100%;

    display: grid;
    grid-template-columns: 65% 35%;

    align-items: stretch;
}

.faq-contenido {
    padding:
        32px
        35px
        32px
        max(40px, calc((100vw - 1800px) / 2));
}

.faq-contenido h2 {
    margin: 0 0 16px;

    color: #003d78;

    font-size: clamp(26px, 2.5vw, 34px);

    line-height: 1.1;

    font-weight: 800;
}

.faq-contenido details {
    margin-bottom: 7px;

    padding: 0 16px;

    background: #ffffff;

    border: 1px solid #dce5ed;
    border-radius: 6px;

    box-shadow:
        0 2px 7px rgba(44, 75, 103, 0.05);
}

.faq-contenido summary {
    position: relative;

    padding: 11px 32px 11px 0;

    cursor: pointer;

    list-style: none;

    color: #003d78;

    font-size: 14px;
    font-weight: 800;
}

.faq-contenido summary::-webkit-details-marker {
    display: none;
}

.faq-contenido summary::after {
    content: "+";

    position: absolute;

    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: #008bcf;

    font-size: 20px;
}

.faq-contenido details[open] summary::after {
    content: "−";
}

.faq-contenido details p {
    margin: -1px 0 11px;

    max-width: 850px;

    color: #53616e;

    font-size: 13px;
    line-height: 1.45;
}

.faq-imagen {
    position: relative;

    width: 100%;

    min-height: 330px;

    overflow: hidden;
}

.faq-imagen img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ==========================================================
   CTA FINAL
   ESTE TAMBIÉN SERÁ IGUAL EN TODAS
========================================================== */

.daci-cta {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #003b75;

    color: #ffffff;
}

.daci-cta-fondo {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            #003b75 0%,
            #004b88 40%,
            rgba(0, 76, 145, 0.90) 100%
        ),
        url("../img/cctv/lumtec11.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.daci-cta-contenido {
    position: relative;

    z-index: 2;

    max-width: 1280px;

    margin: 0 auto;

    padding: 35px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-texto h2 {
    margin: 0 0 4px;

    font-size: 25px;
    font-weight: 800;
}

.cta-texto p {
    margin: 0 0 15px;

    color: #dbeaf7;

    font-size: 15px;
}

.cta-boton {
    display: inline-flex;

    padding: 11px 20px;

    border-radius: 5px;

    background: #009bd8;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cta-boton:hover {
    background: #00b0ed;

    transform: translateY(-2px);
}

.cta-contacto {
    display: flex;
    align-items: center;

    gap: 25px;

    white-space: nowrap;
}

.cta-contacto a,
.cta-email {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;
}

.cta-contacto i,
.cta-email i {
    color: #4ed3ff;

    font-size: 26px;
}

.cta-contacto > span {
    width: 1px;
    height: 35px;

    background: rgba(255, 255, 255, 0.35);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .daci-soluciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .daci-proceso-grid {
        grid-template-columns: 1fr;
    }

    .daci-proceso-imagen {
        min-height: 400px;
    }

    .daci-proceso-contenido {
        padding: 45px 30px;
    }

    .sectores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-contenido {
        padding: 40px 30px;
    }

    .faq-imagen {
        min-height: 340px;
    }

    .daci-cta-contenido {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 700px) {

    .daci-beneficios-grid {
        grid-template-columns: 1fr;

        padding: 15px 20px;
    }

    .daci-beneficio {
        padding: 16px 0;

        border-right: none;
        border-bottom: 1px solid #dde6ed;
    }

    .daci-beneficio:last-child {
        border-bottom: none;
    }


    .daci-soluciones {
        padding: 40px 18px;
    }

    .daci-soluciones-grid {
        width: 100%;

        grid-template-columns: 1fr;
    }

    .daci-solucion-card p {
        min-height: 0;
    }

    .daci-solucion-card img {
        height: 220px;
    }


    .daci-proceso-imagen {
        min-height: 300px;
    }

    .daci-proceso-contenido {
        padding: 40px 20px;
    }

    .proceso-pasos {
        grid-template-columns: 1fr;
    }


    .daci-sectores {
        padding: 40px 18px;
    }

    .sectores-grid {
        width: 100%;

        grid-template-columns: 1fr 1fr;
    }

    .sector-card img {
        height: 130px;
    }


    .faq-contenido {
        padding: 40px 20px;
    }

    .faq-imagen {
        min-height: 280px;
    }


    .daci-cta-contenido {
        padding: 32px 22px;

        gap: 28px;
    }

    .cta-contacto {
        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .cta-contacto > span {
        display: none;
    }
}


@media (max-width: 430px) {

    .sectores-grid {
        grid-template-columns: 1fr;
    }

    .sector-card img {
        height: 180px;
    }

    .daci-section-title h2 {
        font-size: 27px;
    }
}