/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --azul: #0b2d50;

    --azul-claro: #1769aa;

    --dorado: #d6a62c;

    --blanco: #ffffff;

    --gris: #f5f7fa;

    --texto: #172033;

}


/* =========================================
   GENERAL
========================================= */

html {

    scroll-behavior: smooth;

}


body {

    font-family: Arial, Helvetica, sans-serif;

    background: var(--blanco);

    color: var(--texto);

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    max-width: 100%;

    display: block;

}


/* =========================================
   CONTENEDOR
========================================= */

.container {

    width: min(1200px, 92%);

    margin: 0 auto;

}


/* =========================================
   HEADER
========================================= */

.header {

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

}


.header-container {

    min-height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo img {

    width: 180px;

}


.nav {

    display: flex;

    align-items: center;

    gap: 28px;

}


.nav a {

    font-size: 14px;

    font-weight: 500;

    color: var(--azul);

    transition: 0.3s;

}


.nav a:hover {

    color: var(--azul-claro);

}


.menu-btn {

    display: none;

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

}


/* =========================================
   SECCIONES TEMPORALES
========================================= */

.hero {

    min-height: 500px;

    background: #f5f7fa;

}


.services {

    min-height: 400px;

    padding: 80px 0;

}


.projects {

    min-height: 400px;

    padding: 80px 0;

    background: var(--gris);

}


.contact {

    min-height: 300px;

    padding: 80px 0;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    padding: 30px 0;

    background: var(--azul);

    color: white;

    text-align: center;

}


.footer p {

    font-size: 14px;

}
/* =========================================
   HERO PRINCIPAL
========================================= */

.hero {

    background: #ffffff;

    padding: 65px 0 75px;

}


.hero-container {

    min-height: 520px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 55px;

}


/* =========================================
   CONTENIDO HERO
========================================= */

.hero-content {

    max-width: 570px;

}


.hero-label {

    color: #6d7785;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1.5px;

    margin-bottom: 22px;

}


.hero-label span {

    color: #d6a62c;

    margin: 0 7px;

}


/* =========================================
   TITULO
========================================= */

.hero h1 {

    font-size: clamp(42px, 4vw, 62px);

    line-height: 1.08;

    color: #102a43;

    font-weight: 700;

    margin-bottom: 25px;

}


.hero h1 span {

    color: #1769aa;

}


/* =========================================
   DESCRIPCIÓN
========================================= */

.hero-description {

    max-width: 520px;

    color: #687586;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 32px;

}


/* =========================================
   BOTONES
========================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 25px;

}


/* BOTÓN PRINCIPAL */

.btn-primary {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 15px 23px;

    background: #d6a62c;

    color: #ffffff;

    border-radius: 7px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;

}


.btn-primary span {

    font-size: 20px;

    line-height: 1;

}


.btn-primary:hover {

    background: #b98c18;

    transform: translateY(-2px);

}


/* BOTÓN VIDEO */

.btn-video {

    display: flex;

    align-items: center;

    gap: 12px;

    background: transparent;

    border: none;

    cursor: pointer;

    color: #102a43;

    font-size: 14px;

}


.btn-video small {

    display: block;

    color: #8994a3;

    font-size: 11px;

    margin-top: 3px;

    text-align: left;

}


.play-icon {

    width: 43px;

    height: 43px;

    border: 1px solid #dce2e8;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #1769aa;

    font-size: 13px;

    padding-left: 2px;

}


/* =========================================
   IMAGEN HERO
========================================= */

.hero-image {

    width: 100%;

    height: 460px;

    overflow: hidden;

    border-radius: 14px;

}


.hero-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;

}


.hero-image:hover img {

    transform: scale(1.03);

}
/* =========================================
   RESPONSIVE HERO
========================================= */

@media (max-width: 900px) {

    .hero {

        padding: 45px 0 60px;

    }


    .hero-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .hero-content {

        max-width: 100%;

        text-align: center;

    }


    .hero-label {

        justify-content: center;

    }


    .hero-description {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-image {

        height: 400px;

    }

}


@media (max-width: 600px) {

    .hero h1 {

        font-size: 38px;

    }


    .hero-buttons {

        flex-direction: column;

        gap: 20px;

    }


    .hero-image {

        height: 300px;

    }

}
/* =========================================
   SECCIÓN SERVICIOS
========================================= */

.services {

    background: #ffffff;

    padding: 95px 0 100px;

}


/* =========================================
   ENCABEZADO
========================================= */

.section-heading {

    max-width: 700px;

    margin-bottom: 45px;

}


.section-line {

    display: block;

    width: 42px;

    height: 3px;

    background: #d6a62c;

    margin-bottom: 15px;

}


.section-heading p {

    color: #d6a62c;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;

}


.section-heading h2 {

    color: #102a43;

    font-size: 38px;

    line-height: 1.2;

    margin-bottom: 15px;

}


.section-heading h2 span {

    color: #1769aa;

}


.section-description {

    color: #748092;

    font-size: 15px;

    line-height: 1.6;

}


/* =========================================
   GRID SERVICIOS
========================================= */

.services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

}


/* =========================================
   TARJETA
========================================= */

.service-card {

    background: #ffffff;

    border: 1px solid #e6ebf0;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(16, 42, 67, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.service-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 18px 35px rgba(16, 42, 67, 0.13);

}


/* =========================================
   IMAGEN
========================================= */

.service-image {

    height: 205px;

    overflow: hidden;

}


.service-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}


.service-card:hover .service-image img {

    transform: scale(1.06);

}


/* =========================================
   CONTENIDO
========================================= */

.service-content {

    padding: 23px;

}


.service-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #fdf5dc;

    color: #c79518;

    font-size: 20px;

    margin-bottom: 15px;

}


.service-content h3 {

    color: #102a43;

    font-size: 19px;

    margin-bottom: 10px;

}


.service-content p {

    color: #748092;

    font-size: 13px;

    line-height: 1.6;

    min-height: 42px;

    margin-bottom: 20px;

}


/* =========================================
   ENLACE
========================================= */

.service-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #1769aa;

    font-size: 13px;

    font-weight: 700;

}


.service-link span {

    color: #d6a62c;

    font-size: 18px;

    transition: transform 0.2s ease;

}


.service-link:hover span {

    transform: translateX(5px);

}
/* =========================================
   RESPONSIVE SERVICIOS
========================================= */

@media (max-width: 1050px) {

    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .services {

        padding: 70px 0;

    }


    .section-heading h2 {

        font-size: 30px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-image {

        height: 230px;

    }

}
/* =========================================
   PROYECTOS
========================================= */

.projects {

    padding: 100px 0;

    background: #f5f7fa;

}


.projects-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    margin-bottom: 45px;

}


.projects-heading h2 {

    max-width: 600px;

    color: #102a43;

    font-size: 42px;

    line-height: 1.15;

}


.projects-heading h2 span {

    color: #1769aa;

}


.section-tag {

    color: #d6a62c;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 14px;

}


.projects-intro {

    max-width: 380px;

    color: #748092;

    font-size: 15px;

    line-height: 1.7;

}


/* GRID */

.projects-grid {

    display: grid;

    grid-template-columns: 1.35fr 1fr;

    grid-template-rows: 270px 270px;

    gap: 22px;

}


.project {

    position: relative;

    overflow: hidden;

    border-radius: 14px;

    background: #102a43;

}


.project-main {

    grid-row: 1 / 3;

}


.project img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;

}


.project::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 20, 35, 0.85),
            rgba(5, 20, 35, 0.05) 65%
        );

}


.project:hover img {

    transform: scale(1.05);

}


/* TEXTO */

.project-overlay {

    position: absolute;

    z-index: 2;

    left: 28px;

    right: 28px;

    bottom: 25px;

    color: white;

}


.project-overlay span {

    color: #e1b63d;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.8px;

}


.project-overlay h3 {

    margin: 8px 0 12px;

    font-size: 23px;

    line-height: 1.2;

}


.project:not(.project-main)
.project-overlay h3 {

    font-size: 19px;

}


.project-overlay a {

    font-size: 12px;

    font-weight: 600;

    color: white;

}


.project-overlay a:hover {

    color: #e1b63d;

}
/* =========================================
   CONFIANZA / ESTADÍSTICAS
========================================= */

.trust {

    padding: 95px 0;

    background: #ffffff;

    border-top: 1px solid #edf1f5;

    border-bottom: 1px solid #edf1f5;

}


.trust-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;

}


.trust-heading {

    max-width: 560px;

}


.trust-heading h2 {

    color: #102a43;

    font-size: 42px;

    line-height: 1.15;

    margin-bottom: 20px;

}


.trust-heading h2 span {

    color: #1769aa;

}


.trust-heading > p:last-child {

    color: #748092;

    font-size: 15px;

    line-height: 1.8;

    max-width: 500px;

}


/* =========================================
   ESTADÍSTICAS
========================================= */

.trust-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.stat {

    padding: 30px 20px;

    text-align: center;

    border-left: 1px solid #e5eaf0;

}


.stat:first-child {

    border-left: none;

}


.stat strong {

    display: block;

    color: #1769aa;

    font-size: 42px;

    line-height: 1;

    margin-bottom: 12px;

}


.stat span {

    display: block;

    color: #748092;

    font-size: 12px;

    line-height: 1.5;

}
@media (max-width: 800px) {

    .trust {

        padding: 70px 0;

    }


    .trust-content {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .trust-heading h2 {

        font-size: 34px;

    }


    .trust-stats {

        grid-template-columns: 1fr;

    }


    .stat {

        border-left: none;

        border-top: 1px solid #e5eaf0;

        padding: 25px 10px;

    }


    .stat:first-child {

        border-top: none;

    }

}
/* =========================================
   CONTACTO / COTIZACIÓN
========================================= */

.contact {
    padding: 100px 0;
    background: #f5f7fa;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 60px;
    align-items: start;
    width: 100%;
}

/* =========================================
   INFORMACIÓN
========================================= */

.contact-info {
    max-width: 600px;
}

.contact-info h2 {
    color: #102a43;
    font-size: 44px;
    line-height: 1.12;
    margin-bottom: 22px;
}

.contact-info h2 span {
    color: #1769aa;
}

.contact-text {
    color: #748092;
    font-size: 15px;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 30px;
}

/* =========================================
   IMAGEN
========================================= */

.contact-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 28px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   DATOS
========================================= */

.contact-details {
    display: flex;
    gap: 35px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3cf;
    color: #c79518;
}

.contact-detail strong {
    display: block;
    color: #102a43;
    font-size: 13px;
    margin-bottom: 3px;
}

.contact-detail span {
    display: block;
    color: #7d8998;
    font-size: 11px;
}

/* =========================================
   FORMULARIO
========================================= */

.contact-form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 40, 70, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.form-header {
    margin-bottom: 25px;
}

.form-header > span {
    color: #d6a62c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.form-header h3 {
    color: #102a43;
    font-size: 25px;
    margin: 8px 0;
}

.form-header p {
    color: #7b8795;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   CAMPOS
========================================= */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #30465b;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe5eb;
    border-radius: 7px;
    background: #ffffff;
    color: #263b50;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.08);
}

/* =========================================
   BOTÓN
========================================= */

.contact-submit {
    width: 100%;
    border: none;
    padding: 15px 20px;
    border-radius: 7px;
    background: #d6a62c;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.3s;
}

.contact-submit span {
    font-size: 19px;
}

.contact-submit:hover {
    background: #b98c18;
    transform: translateY(-2px);
}

.form-message {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    min-height: 18px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .contact {
        padding: 70px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-info h2 {
        font-size: 36px;
    }

    .contact-form-box {
        padding: 28px;
    }
}

@media (max-width: 600px) {

    .contact-details {
        flex-direction: column;
        gap: 18px;
    }

    .contact-image {
        height: 220px;
    }
}
/* Enlace de WhatsApp */
.whatsapp-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateX(5px);
}

.whatsapp-link strong {
    color: #111827;
}

.whatsapp-link span {
    color: #6b7280;
}

/* =========================================
   CONTACTO - DISEÑO DOS COLUMNAS
   ========================================= */

section.contact .contact-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 60px !important;
    align-items: start !important;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

section.contact .contact-info {
    width: 100%;
    min-width: 0;
}



/* En pantallas pequeñas sí se apilan */
@media (max-width: 900px) {

    section.contact .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 25px;
    }

}
/* =========================================================
   CONTACTO - AJUSTE FINAL
   ========================================================= */

section.contact .contact-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) !important;

    gap: 60px !important;
    align-items: start;

    padding: 0 40px;

    box-sizing: border-box;
}


/* INFORMACIÓN */
section.contact .contact-info {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    grid-column: 1 !important;
}


/* FORMULARIO */
section.contact .contact-form-box {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    grid-column: 2 !important;

    box-sizing: border-box;
}


/* CAMPOS */
section.contact .form-group {
    width: 100%;
}

section.contact .form-group input,
section.contact .form-group select,
section.contact .form-group textarea {
    width: 100%;
    box-sizing: border-box;
}


/* PANTALLAS PEQUEÑAS */
@media (max-width: 900px) {

    section.contact .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 25px;
    }

    section.contact .contact-info {
        grid-column: 1 !important;
    }

    section.contact .contact-form-box {
        grid-column: 1 !important;
    }
}
/* =========================================================
   CORRECCIÓN FINAL - CONTACTO EN DOS COLUMNAS
   ========================================================= */

section.contact .contact-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 70px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    align-items: start !important;
}

/* COLUMNA IZQUIERDA */
section.contact .contact-info {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

/* COLUMNA DERECHA */
section.contact .contact-form-box {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    box-sizing: border-box !important;
}

/* FORMULARIO */
section.contact .contact-form-box form {
    width: 100% !important;
}

section.contact .contact-form-box input,
section.contact .contact-form-box select,
section.contact .contact-form-box textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =========================================================
   TABLET / CELULAR
   ========================================================= */

@media (max-width: 900px) {

    section.contact .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 25px !important;
    }

    section.contact .contact-info,
    section.contact .contact-form-box {
        width: 100% !important;
        max-width: none !important;
        grid-column: auto !important;
    }
}
/* =========================================
   WHATSAPP FLOTANTE
   ========================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;

    background: #25D366;
    color: #ffffff;

    border-radius: 50px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    font-size: 20px;
}

.whatsapp-float:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-float-text {
    white-space: nowrap;
}


/* MÓVIL */

@media (max-width: 600px) {

    .whatsapp-float {
        right: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-icon {
        width: auto;
        height: auto;

        background: transparent;

        font-size: 25px;
    }
}
/* =========================================
   DETALLE DE SERVICIO - ENERGÍA SOLAR
   ========================================= */

.service-detail {
    padding: 90px 0;
    background: #f7f9fc;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-detail-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.service-detail-info {
    padding: 10px;
}

.service-detail-info .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.service-detail-info h2 {
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 1.15;
}

.service-detail-info p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #555;
}

.service-detail-list {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.service-detail-list div {
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #f5a623;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.service-detail-list strong {
    display: block;
    margin-bottom: 5px;
    color: #111827;
}

.service-detail-list span {
    color: #666;
    font-size: 14px;
}

.service-detail-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-detail-button:hover {
    transform: translateY(-3px);
}

/* CELULAR */

@media (max-width: 768px) {

    .service-detail {
        padding: 60px 20px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-detail-image img {
        height: 300px;
    }

    .service-detail-info h2 {
        font-size: 32px;
    }

}
/* =========================================
   LOGO ZENTRY CAM
   ========================================= */

.logo {
    display: flex;
    align-items: center;
    height: 75px;
    width: 330px;
    overflow: hidden;
}

.logo img {
    width: 330px;
    height: 75px;
    object-fit: fill;
    display: block;
}

/* =========================================
   LOGO EN CELULAR
   ========================================= */

@media (max-width: 768px) {

    .logo {
        width: 220px;
        height: 60px;
    }

    .logo img {
        width: 220px;
        height: 60px;
    }

}
/* =========================================
   PANTALLA DE BIENVENIDA
========================================= */

#welcome-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 99999;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#welcome-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.welcome-image {
    width: 75%;
    height: 75%;
    object-fit: contain;
    display: block;
    animation: welcomeImage 1.2s ease;
}

@keyframes welcomeImage {

    0% {
        opacity: 0;
        transform: scale(1.03);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}

/* =========================================
   CELULAR
========================================= */

@media (max-width: 768px) {

    .welcome-image {
        width: 82%;
        height: auto;
        object-fit: contain;
    }

}
/* =========================================
   AJUSTE FINAL - IMAGEN DE BIENVENIDA
========================================= */

#welcome-screen {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

#welcome-screen .welcome-image {
    width: 55% !important;
    height: auto !important;

    max-width: 900px !important;
    max-height: 75vh !important;

    object-fit: contain !important;

    display: block;

    animation: welcomeImage 1.2s ease;
}

/* CELULAR */
@media (max-width: 768px) {

    #welcome-screen .welcome-image {
        width: 82% !important;
        height: auto !important;

        max-width: none !important;
        max-height: 70vh !important;

        object-fit: contain !important;
    }

}

/* =====================================
   CARRUSEL ENERGÍA SOLAR
===================================== */

.solar-carousel-section {
    padding: 100px 0;
    background: #ffffff;
}

.solar-carousel-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.solar-carousel-heading .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.solar-carousel-heading h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #111827;
}

.solar-carousel-heading h2 span {
    color: #f5a623;
}

.solar-carousel-heading p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}


/* CONTENEDOR */

.solar-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #f3f4f6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}


/* IMÁGENES */

.solar-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.solar-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.solar-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* BOTONES */

.solar-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: #111827;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    transition: all 0.3s ease;
}

.solar-carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
    background: #ffffff;
}

.solar-prev {
    left: 22px;
}

.solar-next {
    right: 22px;
}


/* INDICADORES */

.solar-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);

    z-index: 10;

    display: flex;
    gap: 9px;
}

.solar-dot {
    width: 11px;
    height: 11px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.65);

    cursor: pointer;

    transition: all 0.3s ease;
}

.solar-dot.active {
    width: 28px;
    border-radius: 20px;
    background: #f5a623;
}


/* INFORMACIÓN */

.solar-carousel-info {
    max-width: 750px;
    margin: 40px auto 0;
    text-align: center;
}

.solar-carousel-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #111827;
}

.solar-carousel-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .solar-carousel-section {
        padding: 70px 20px;
    }

    .solar-carousel-heading h2 {
        font-size: 34px;
    }

    .solar-carousel {
        height: 380px;
        border-radius: 16px;
    }

    .solar-carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 30px;
    }

    .solar-prev {
        left: 12px;
    }

    .solar-next {
        right: 12px;
    }

    .solar-dots {
        bottom: 15px;
    }

    .solar-carousel-info h3 {
        font-size: 24px;
    }

}

/* =====================================
   CARRUSEL CÁMARAS DE SEGURIDAD
===================================== */

.camera-carousel-section {
    padding: 100px 0;
    background: #ffffff;
}


/* ENCABEZADO */

.camera-carousel-heading {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: center;
}

.camera-carousel-heading .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.camera-carousel-heading h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #111827;
}

.camera-carousel-heading h2 span {
    color: #1769e0;
}

.camera-carousel-heading p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}


/* CONTENEDOR DEL CARRUSEL */

.camera-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #f3f4f6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}


/* SLIDES */

.camera-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.6s ease;
}

.camera-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* IMÁGENES */

.camera-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* BOTONES */

.camera-carousel-btn {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 10;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #111827;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    transition: all 0.3s ease;
}

.camera-carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);

    background: #ffffff;
}


/* ANTERIOR */

.camera-prev {
    left: 22px;
}


/* SIGUIENTE */

.camera-next {
    right: 22px;
}


/* INDICADORES */

.camera-dots {
    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;
    gap: 9px;
}

.camera-dot {
    width: 11px;
    height: 11px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.70);

    cursor: pointer;

    transition: all 0.3s ease;
}

.camera-dot.active {
    width: 28px;

    border-radius: 20px;

    background: #1769e0;
}


/* INFORMACIÓN */

.camera-carousel-info {
    max-width: 750px;

    margin: 40px auto 0;

    text-align: center;
}

.camera-carousel-info h3 {
    font-size: 28px;

    margin-bottom: 12px;

    color: #111827;
}

.camera-carousel-info p {
    color: #666;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .camera-carousel-section {
        padding: 70px 20px;
    }


    .camera-carousel-heading h2 {
        font-size: 34px;
    }


    .camera-carousel {
        height: 380px;

        border-radius: 16px;
    }


    .camera-carousel-btn {
        width: 44px;
        height: 44px;

        font-size: 30px;
    }


    .camera-prev {
        left: 12px;
    }


    .camera-next {
        right: 12px;
    }


    .camera-dots {
        bottom: 15px;
    }


    .camera-carousel-info h3 {
        font-size: 24px;
    }

}
/* =====================================
   CARRUSEL ESTRUCTURAS SOLARES
===================================== */

.structure-carousel-section {
    padding: 100px 0;
    background: #f7f9fc;
}


/* ENCABEZADO */

.structure-carousel-heading {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: center;
}

.structure-carousel-heading .section-tag {
    display: inline-block;
    margin-bottom: 12px;
}

.structure-carousel-heading h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #111827;
}

.structure-carousel-heading h2 span {
    color: #f5a623;
}

.structure-carousel-heading p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}


/* CONTENEDOR */

.structure-carousel {
    position: relative;

    width: 100%;
    max-width: 1100px;
    height: 560px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.14);
}


/* SLIDES */

.structure-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.6s ease;
}

.structure-slide.active {
    opacity: 1;

    visibility: visible;

    z-index: 2;
}


/* IMÁGENES */

.structure-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* BOTONES */

.structure-carousel-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 52px;
    height: 52px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.92);

    color: #111827;

    font-size: 38px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);

    transition:
        all 0.3s ease;
}


.structure-carousel-btn:hover {

    transform:
        translateY(-50%)
        scale(1.08);

    background: #ffffff;
}


/* ANTERIOR */

.structure-prev {
    left: 22px;
}


/* SIGUIENTE */

.structure-next {
    right: 22px;
}


/* INDICADORES */

.structure-dots {

    position: absolute;

    left: 50%;

    bottom: 22px;

    transform:
        translateX(-50%);

    z-index: 10;

    display: flex;

    gap: 9px;
}


.structure-dot {

    width: 11px;
    height: 11px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.70);

    cursor: pointer;

    transition:
        all 0.3s ease;
}


.structure-dot.active {

    width: 28px;

    border-radius: 20px;

    background: #f5a623;
}


/* INFORMACIÓN */

.structure-carousel-info {

    max-width: 750px;

    margin: 40px auto 0;

    text-align: center;
}


.structure-carousel-info h3 {

    font-size: 28px;

    margin-bottom: 12px;

    color: #111827;
}


.structure-carousel-info p {

    color: #666;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .structure-carousel-section {

        padding: 70px 20px;

    }


    .structure-carousel-heading h2 {

        font-size: 34px;

    }


    .structure-carousel {

        height: 380px;

        border-radius: 16px;

    }


    .structure-carousel-btn {

        width: 44px;

        height: 44px;

        font-size: 30px;

    }


    .structure-prev {

        left: 12px;

    }


    .structure-next {

        right: 12px;

    }


    .structure-dots {

        bottom: 15px;

    }


    .structure-carousel-info h3 {

        font-size: 24px;

    }

}
/* =====================================
   ASESOR VIRTUAL ZENTRY CAM
===================================== */

.zentry-advisor {
    position: fixed;
    right: 25px;
    bottom: 90px;
    z-index: 9998;
}


/* =====================================
   BOTÓN FLOTANTE
===================================== */

.zentry-advisor-button {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    border: none;

    border-radius: 50px;

    background: #111827;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        all 0.3s ease;
}


.zentry-advisor-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.25);
}


.zentry-advisor-icon {

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #1769e0;

    font-size: 17px;
}


/* =====================================
   PANEL
===================================== */

.zentry-advisor-panel {

    position: absolute;

    right: 0;

    bottom: 5px;

    width: 360px;

    max-width: calc(100vw - 30px);

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22);

    border:
        1px solid #e5e7eb;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px)
        scale(0.97);

    transition:
        all 0.3s ease;
}


.zentry-advisor-panel.active {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* =====================================
   ENCABEZADO
===================================== */

.zentry-advisor-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 18px;

    background: #111827;

    color: #ffffff;
}


.zentry-advisor-title {

    display: flex;

    align-items: center;

    gap: 11px;
}


.zentry-advisor-avatar {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #1769e0;

    font-size: 21px;
}


.zentry-advisor-title strong {

    display: block;

    font-size: 15px;

    margin-bottom: 3px;
}


.zentry-advisor-title span {

    display: block;

    font-size: 12px;

    color: #cbd5e1;
}


/* =====================================
   CERRAR
===================================== */

.zentry-advisor-close {

    width: 34px;

    height: 34px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.10);

    color: #ffffff;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.3s ease;
}


.zentry-advisor-close:hover {

    background:
        rgba(255,255,255,0.20);
}


/* =====================================
   CUERPO
===================================== */

.zentry-advisor-body {

    padding: 18px;

    max-height: 500px;

    overflow-y: auto;
}


/* =====================================
   RESPUESTA
===================================== */

.zentry-advisor-response {

    font-size: 14px;

    line-height: 1.6;

    color: #374151;

    margin-bottom: 16px;
}


.zentry-advisor-response p {

    margin:
        0 0 10px;
}


.zentry-advisor-response strong {

    color: #111827;
}


/* =====================================
   OPCIONES
===================================== */

.zentry-advisor-options {

    display: grid;

    gap: 9px;
}


.zentry-advisor-options button {

    width: 100%;

    padding: 12px 14px;

    border:
        1px solid #e5e7eb;

    border-radius: 10px;

    background: #f8fafc;

    color: #111827;

    text-align: left;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.zentry-advisor-options button:hover {

    background: #1769e0;

    border-color: #1769e0;

    color: #ffffff;

    transform:
        translateX(3px);
}


/* =====================================
   BOTONES INTERNOS
===================================== */

.zentry-advisor-back {

    margin-top: 12px;

    width: 100%;

    padding: 10px;

    border: none;

    border-radius: 9px;

    background: #eef2ff;

    color: #1769e0;

    font-weight: 700;

    cursor: pointer;
}


.zentry-advisor-whatsapp {

    display: block;

    margin-top: 12px;

    padding: 12px;

    border-radius: 9px;

    background: #25D366;

    color: #ffffff;

    text-align: center;

    font-weight: 700;

    text-decoration: none;
}


/* =====================================
   MÓVIL
===================================== */

@media (max-width: 600px) {

    .zentry-advisor {

        right: 18px;

        bottom: 85px;
    }


    .zentry-advisor-button {

        width: 54px;

        height: 54px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }


    .zentry-advisor-label {

        display: none;
    }


  .zentry-advisor-panel {
    right: 15px;
    bottom: 25px;
    width: 330px;
    height: 400px;
}
}
/* =====================================
   ENTRADA DE PREGUNTAS
===================================== */

.zentry-advisor-input {

    display: flex;

    gap: 8px;

    margin-top: 15px;

    padding-top: 12px;

    border-top: 1px solid #e5e7eb;
}


.zentry-advisor-input input {

    flex: 1;

    min-width: 0;

    height: 42px;

    padding: 0 13px;

    border: 1px solid #d1d5db;

    border-radius: 10px;

    outline: none;

    font-size: 13px;

    color: #111827;

    background: #ffffff;

    transition: border-color 0.2s ease;
}


.zentry-advisor-input input:focus {

    border-color: #1769e0;

    box-shadow:
        0 0 0 3px rgba(23, 105, 224, 0.10);
}


.zentry-advisor-input button {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    border: none;

    border-radius: 10px;

    background: #1769e0;

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.zentry-advisor-input button:hover {

    background: #1257bd;

    transform: scale(1.04);
}
/* =====================================
   AJUSTE CHAT - CAJA DE PREGUNTAS
===================================== */

.zentry-advisor-body {
    max-height: none;
    overflow-y: auto;
}

.zentry-advisor-input {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* =========================================
   POSICIÓN CHATBOT
========================================= */

@media (max-width: 600px) {

    .zentry-advisor-panel {
        position: fixed !important;

        top: 120px !important;
        bottom: auto !important;

        right: 10px !important;
        left: auto !important;
    }

}
/* =========================================
   BAJAR CHATBOT ZENTRY CAM
========================================= */

