/* =========================================
   PROTECFOR
   BASE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --azul: #071b35;

    --azul-2: #0d2c4d;

    --azul-3: #123e67;

    --dorado: #f4b62f;

    --dorado-oscuro: #d99a19;

    --blanco: #ffffff;

    --gris: #f4f7fa;

    --texto: #172b43;

    --texto-suave: #68788d;

}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    color: var(--texto);

    background: var(--blanco);

}


a {
    text-decoration: none;
    color: inherit;
}


.container {

    width: min(1180px, 92%);

    margin: auto;

}



/* =========================================
   HEADER
========================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 82px;

    background: rgba(255,255,255,.97);

    border-bottom: 1px solid #edf0f4;

}


.header-container {

    height: 82px;

    display: flex;

    align-items: center;

    gap: 25px;

}



/* LOGO */

.logo {

    width: 280px;

    display: flex;

    align-items: center;

}


.logo img {

    width: 100%;

    height: 70px;

    object-fit: contain;

    object-position: left center;

}



/* NAV */

.navigation {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    flex: 1;

}


.navigation a {

    position: relative;

    font-size: 13px;

    font-weight: 700;

    padding: 31px 0;

}


.navigation a::after {

    content: "";

    position: absolute;

    left: 0;

    right: 100%;

    bottom: 19px;

    height: 3px;

    background: var(--dorado);

    transition: .25s;

}


.navigation a:hover::after,

.navigation a.active::after {

    right: 0;

}



/* BOTÓN HEADER */

.header-button {

    display: flex;

    align-items: center;

    gap: 9px;

    background: var(--dorado);

    color: #13243a;

    padding: 15px 20px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 800;

    white-space: nowrap;

    transition: .25s;

}


.header-button:hover {

    transform: translateY(-2px);

}



/* MENÚ MÓVIL */

.menu-button {

    display: none;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.menu-button span {

    display: block;

    width: 26px;

    height: 3px;

    background: var(--azul);

    margin: 5px;

}



/* =========================================
   HERO
========================================= */

.hero {

    position: relative;

    overflow: hidden;

    min-height: 570px;

    color: var(--blanco);

    background:

        radial-gradient(
            circle at 80% 30%,
            rgba(244,182,47,.20),
            transparent 30%
        ),

        linear-gradient(
            110deg,
            #04172d,
            #0a2746 55%,
            #123b5f
        );

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(3,16,31,.35),
            transparent
        );

}


.hero-container {

    position: relative;

    min-height: 570px;

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

}



/* TEXTO */

.hero-content {

    padding: 65px 0;

}


.hero-small-title {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 20px;

}


.hero-small-title span {

    color: var(--dorado);

    padding: 0 8px;

}


.hero h1 {

    font-size: clamp(48px, 6vw, 78px);

    line-height: .95;

    letter-spacing: -4px;

    font-weight: 900;

    text-transform: uppercase;

}


.hero h1 strong {

    display: block;

    color: var(--dorado);

}


.hero-description {

    max-width: 650px;

    margin: 25px 0;

    font-size: 20px;

    line-height: 1.45;

    color: #edf3f8;

}



/* BENEFICIOS */

.hero-benefits {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    margin: 25px 0;

}


.benefit {

    display: flex;

    align-items: center;

    gap: 9px;

}


.benefit-icon {

    font-size: 25px;

}


.benefit strong,

.benefit span {

    display: block;

}


.benefit strong {

    font-size: 12px;

}


.benefit span {

    font-size: 11px;

    color: #c9d4df;

}



/* BOTONES */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 25px;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 16px 23px;

    border-radius: 10px;

    font-size: 13px;

    font-weight: 800;

    transition: .25s;

}


.button:hover {

    transform: translateY(-3px);

}


.button-gold {

    background: var(--dorado);

    color: #11243a;

}


.button-outline {

    border: 1px solid white;

    color: white;

}



/* =====================================================
   HERO - IMAGEN REAL
===================================================== */

.hero-image-container {

    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

}


.hero-image {

    position: relative;

    width: 92%;

    height: 520px;

    overflow: hidden;

    border-radius:
        180px
        180px
        0
        0;

    border:
        7px solid
        rgba(255,255,255,.12);

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.30);

}


.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    transition:
        transform .8s ease;

}


.hero-image:hover img {

    transform:
        scale(1.04);

}


.hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 55%,
            rgba(4,18,35,.55)
        );

    pointer-events: none;

}


.hero-image-overlay {

    position: absolute;

    left: 25px;

    bottom: 25px;

    z-index: 3;

}


.hero-brand-mini {

    width: 100px;

    height: 100px;

    padding: 8px;

    background: rgba(255,255,255,.95);

    border-radius: 15px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.2);

}


.hero-brand-mini img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    transform: none !important;

}



/* =========================================
   PROGRAMAS
========================================= */

.programs {

    position: relative;

    background: var(--gris);

    padding-bottom: 35px;

}


.programs-container {

    position: relative;

    top: -35px;

    z-index: 5;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.program-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 42% 58%;

    min-height: 300px;

    box-shadow:

        0 18px 45px rgba(7,27,53,.13);

}


.program-photo {

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: white;

}


.bachillerato-photo,
.vigilancia-photo {

    background: #173b5c;

}


.program-photo span {

    font-size: 55px;

}


.program-photo small {

    margin-top: 10px;

    font-size: 10px;

    opacity: .8;

}


.program-content {

    padding: 27px 24px;

}


.program-label {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    color: var(--dorado-oscuro);

}


.program-content h2 {

    font-size: 24px;

    line-height: 1.1;

    margin: 7px 0 12px;

}


.program-content h2 strong {

    color: var(--dorado-oscuro);

}


.program-content > p {

    color: var(--texto-suave);

    font-size: 12px;

}


.program-data {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 7px;

    margin: 18px 0;

}


.program-data div {

    font-size: 13px;

}


.program-data span {

    margin-right: 3px;

}


.program-data strong,

.program-data small {

    display: block;

    font-size: 9px;

}


.program-data small {

    color: var(--texto-suave);

    margin-top: 2px;

}


.program-button {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: var(--azul);

    color: white;

    padding: 12px 17px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 800;

}


.program-button.gold {

    background: var(--dorado);

    color: #14253a;

}



/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .navigation {

        gap: 14px;

    }

    .navigation a {

        font-size: 12px;

    }

    .header-button {

        display: none;

    }

}


@media (max-width: 850px) {

    .menu-button {

        display: block;

        margin-left: auto;

    }


    .navigation {

        display: none;

        position: absolute;

        top: 82px;

        left: 0;

        right: 0;

        background: white;

        flex-direction: column;

        align-items: stretch;

        padding: 15px 5%;

        box-shadow: 0 15px 35px rgba(0,0,0,.12);

    }


    .navigation.open {

        display: flex;

    }


    .navigation a {

        padding: 13px 0;

    }


    .navigation a::after {

        bottom: 5px;

    }


    .hero-container {

        grid-template-columns: 1fr;

    }


    .hero-image-container {

        display: none;

    }


    .hero {

        min-height: auto;

    }


    .hero-container {

        min-height: auto;

    }


    .hero-content {

        padding: 75px 0;

    }


    .programs-container {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 600px) {

    .header,
    .header-container {

        height: 72px;

    }


    .logo {

        width: 215px;

    }


    .logo img {

        height: 60px;

    }


    .hero h1 {

        font-size: 49px;

        letter-spacing: -2px;

    }


    .hero-description {

        font-size: 17px;

    }


    .hero-benefits {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 18px;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .button {

        width: 100%;

    }


    .program-card {

        grid-template-columns: 1fr;

    }


    .program-photo {

        min-height: 210px;

    }

}
/* =====================================================
   BARRA DE CONFIANZA
===================================================== */

.trust-bar {

    background: var(--azul);

    color: white;

}


.trust-container {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    padding: 25px 0;

}


.trust-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 55px;

    border-right:
        1px solid
        rgba(255,255,255,.18);

}


.trust-item:last-child {

    border-right: none;

}


.trust-number {

    color: var(--dorado);

    font-size: 24px;

    font-weight: 900;

}


.trust-item strong,
.trust-item small {

    display: block;

}


.trust-item strong {

    font-size: 11px;

}


.trust-item small {

    font-size: 10px;

    color: #b9c7d5;

}



/* =====================================================
   NOSOTROS
===================================================== */

.about {

    background: white;

    padding: 100px 0;

}


.about-container {

    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 70px;

    align-items: center;

}



/* TITULO */

.section-label {

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 800;

    color: var(--texto-suave);

    margin-bottom: 18px;

}


.section-label::before {

    content: "";

    display: inline-block;

    width: 35px;

    height: 3px;

    background: var(--dorado);

    margin-right: 12px;

    vertical-align: middle;

}


.about-content h2 {

    font-size:
        clamp(38px, 4vw, 55px);

    line-height: 1.04;

    letter-spacing: -2px;

    margin-bottom: 22px;

}


.about-content h2 strong {

    display: block;

    color: var(--dorado-oscuro);

}


.about-content > p {

    font-size: 14px;

    color: var(--texto-suave);

    line-height: 1.8;

    margin-bottom: 15px;

    max-width: 540px;

}



/* BOTON */

.about-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    margin-top: 15px;

    padding: 15px 21px;

    border-radius: 9px;

    background: var(--azul);

    color: white;

    font-size: 12px;

    font-weight: 800;

    transition: .25s;

}


.about-button:hover {

    background: var(--azul-3);

    transform: translateY(-3px);

}


.about-button span {

    color: var(--dorado);

    font-size: 18px;

}



/* =====================================================
   TARJETAS
===================================================== */

.about-benefits {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

}


.about-card {

    padding: 28px;

    background: #f7f9fb;

    border:
        1px solid
        #e6ebf0;

    border-radius: 14px;

    transition: .25s;

}


.about-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 18px 35px
        rgba(7,27,53,.09);

    background: white;

}


.about-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        rgba(244,182,47,.15);

    font-size: 23px;

    margin-bottom: 16px;

}


.about-card h3 {

    font-size: 16px;

    margin-bottom: 8px;

}


.about-card p {

    color: var(--texto-suave);

    font-size: 12px;

    line-height: 1.6;

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .trust-container {

        grid-template-columns:
            repeat(3,1fr);

    }


    .trust-item:nth-child(3) {

        border-right: none;

    }


    .about-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}



@media (max-width: 600px) {

    .trust-container {

        grid-template-columns:
            repeat(2,1fr);

        padding: 15px 0;

    }


    .trust-item {

        border-right: none;

        justify-content: flex-start;

        padding: 10px;

    }


    .about {

        padding: 70px 0;

    }


    .about-benefits {

        grid-template-columns: 1fr;

    }

}
/* =====================================================
   SECCIÓN VIGILANCIA
===================================================== */

.security-section {

    background: var(--azul);

    color: white;

    padding: 100px 0;

    overflow: hidden;

}


.security-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}



/* IMAGEN */

.security-image {

    min-height: 500px;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            #102f50,
            #355e7e
        );

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

}


.security-image::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background:

        rgba(244,182,47,.12);

}


.security-image-content {

    position: relative;

    z-index: 2;

    text-align: center;

}


.security-symbol {

    display: block;

    font-size: 100px;

    margin-bottom: 20px;

}


.security-image-content strong {

    display: block;

    font-size: 32px;

    font-weight: 900;

}


.security-image-content small {

    display: block;

    color: var(--dorado);

    font-weight: 800;

    margin-top: 8px;

    letter-spacing: 1px;

}


.security-image-content p {

    font-size: 10px;

    margin-top: 25px;

    opacity: .55;

}



/* TEXTO */

.security-content h2 {

    font-size:
        clamp(38px, 4vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 22px;

}


.security-content h2 strong {

    color: var(--dorado);

    display: block;

}


.security-description {

    color: #b9c8d6;

    font-size: 14px;

    line-height: 1.8;

    max-width: 540px;

}



/* CARACTERISTICAS */

.security-features {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin: 30px 0;

}


.security-features div {

    display: flex;

    align-items: center;

    gap: 10px;

}


.security-features span {

    width: 25px;

    height: 25px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--dorado);

    color: var(--azul);

    font-size: 12px;

    font-weight: 900;

}


.security-features p {

    font-size: 12px;

    color: #d5dfe8;

}


.security-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    background: var(--dorado);

    color: #12243a;

    padding: 16px 23px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 900;

    transition: .25s;

}


.security-button:hover {

    transform: translateY(-3px);

}



/* =====================================================
   BACHILLERATO
===================================================== */

.bachillerato-section {

    background: var(--gris);

    padding: 100px 0;

}


.bachillerato-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.bachillerato-content h2 {

    font-size:
        clamp(38px, 4vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;

}


.bachillerato-content h2 strong {

    color: var(--dorado-oscuro);

    display: block;

}


.bachillerato-content > p {

    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.8;

    max-width: 530px;

}



/* PUNTOS */

.bachillerato-points {

    margin: 30px 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

}


.bachillerato-points div {

    display: flex;

    align-items: center;

    gap: 12px;

    background: white;

    border: 1px solid #e5eaf0;

    padding: 14px;

    border-radius: 9px;

}


.bachillerato-points span {

    color: var(--dorado-oscuro);

    font-weight: 900;

    font-size: 13px;

}


.bachillerato-points p {

    font-size: 11px;

    font-weight: 700;

}



/* BOTON */

.bachillerato-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 16px 23px;

    background: var(--azul);

    color: white;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 900;

    transition: .25s;

}


.bachillerato-button:hover {

    transform: translateY(-3px);

}



/* IMAGEN */

.bachillerato-image {

    min-height: 500px;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            #a5c5d7,
            #47799e
        );

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    position: relative;

}


.bachillerato-image::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background:

        rgba(255,255,255,.12);

}


.bachillerato-image-content {

    position: relative;

    text-align: center;

    color: white;

}


.bachillerato-image-content span {

    display: block;

    font-size: 100px;

    margin-bottom: 20px;

}


.bachillerato-image-content strong {

    display: block;

    font-size: 34px;

    font-weight: 900;

}


.bachillerato-image-content small {

    display: block;

    color: var(--dorado);

    font-size: 20px;

    font-weight: 900;

}


.bachillerato-image-content p {

    margin-top: 25px;

    font-size: 10px;

    opacity: .7;

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 850px) {

    .security-container,
    .bachillerato-container {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .security-image,
    .bachillerato-image {

        min-height: 380px;

    }

}


@media (max-width: 600px) {

    .security-section,
    .bachillerato-section {

        padding: 70px 0;

    }


    .security-features,
    .bachillerato-points {

        grid-template-columns: 1fr;

    }


    .security-image,
    .bachillerato-image {

        min-height: 330px;

    }


    .security-symbol,
    .bachillerato-image-content span {

        font-size: 75px;

    }

}

/* =====================================================
   INSTALACIONES
===================================================== */

.installations {

    background: #f4f7fa;

    padding: 100px 0;

}


.installations-container {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    align-items: center;

}


.installations-content h2 {

    font-size: clamp(38px,4vw,55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;

}


.installations-content h2 strong {

    display: block;

    color: var(--dorado-oscuro);

}


.installations-content > p {

    max-width: 530px;

    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.8;

}


.installation-list {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin: 28px 0;

}


.installation-list div {

    background: white;

    border: 1px solid #e4e9ef;

    border-radius: 8px;

    padding: 13px;

    font-size: 11px;

    font-weight: 700;

}


.installation-list span {

    color: var(--dorado-oscuro);

    font-weight: 900;

    margin-right: 7px;

}


.installation-gallery {

    display: grid;

    grid-template-columns: 1.5fr .7fr;

    gap: 14px;

}


.gallery-main {

    min-height: 470px;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            #173f63,
            #7fa5bb
        );

    display: grid;

    place-items: center;

    color: white;

}


.gallery-main div {

    text-align: center;

}


.gallery-main span {

    display: block;

    font-size: 90px;

}


.gallery-main strong {

    display: block;

    font-size: 28px;

    font-weight: 900;

}


.gallery-main small {

    display: block;

    margin-top: 10px;

    opacity: .8;

}


.gallery-small {

    display: grid;

    gap: 14px;

}


.gallery-small div {

    border-radius: 14px;

    min-height: 228px;

    background:

        linear-gradient(
            145deg,
            #09223c,
            #426784
        );

    display: grid;

    place-items: center;

    text-align: center;

    color: white;

}


.gallery-small span {

    display: block;

    font-size: 45px;

}


.gallery-small small {

    display: block;

    font-weight: 700;

    font-size: 11px;

}



/* =====================================================
   PROCESO
===================================================== */

.process-section {

    padding: 100px 0;

    background: white;

}


.process-heading {

    max-width: 650px;

    margin-bottom: 45px;

}


.process-heading h2 {

    font-size: clamp(38px,4vw,55px);

    line-height: 1.05;

    letter-spacing: -2px;

}


.process-heading h2 strong {

    color: var(--dorado-oscuro);

}


.process-heading > p {

    color: var(--texto-suave);

    font-size: 14px;

    margin-top: 15px;

}


.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 15px;

}


.process-card {

    position: relative;

    border: 1px solid #e4e9ef;

    border-radius: 15px;

    padding: 30px;

    background: white;

    transition: .25s;

}


.process-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 18px 40px
        rgba(7,27,53,.08);

}


.process-number {

    position: absolute;

    right: 20px;

    top: 18px;

    font-size: 28px;

    font-weight: 900;

    color: #e6ebf0;

}


.process-icon {

    font-size: 35px;

    margin-bottom: 20px;

}


.process-card h3 {

    font-size: 16px;

    margin-bottom: 8px;

}


.process-card p {

    color: var(--texto-suave);

    font-size: 12px;

    line-height: 1.6;

}



/* =====================================================
   TESTIMONIOS
===================================================== */

.testimonials {

    padding: 100px 0;

    background: #f4f7fa;

}


.testimonial-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;

}


.testimonial-card {

    background: white;

    border: 1px solid #e4e9ef;

    border-radius: 15px;

    padding: 28px;

}


.testimonial-top {

    display: flex;

    align-items: center;

    gap: 12px;

}


.testimonial-avatar {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: var(--azul);

    color: var(--dorado);

    display: grid;

    place-items: center;

    font-weight: 900;

}


.testimonial-top strong,

.testimonial-top small {

    display: block;

}


.testimonial-top strong {

    font-size: 13px;

}


.testimonial-top small {

    font-size: 10px;

    color: var(--texto-suave);

}


.stars {

    color: var(--dorado);

    letter-spacing: 2px;

    margin: 20px 0;

}


.testimonial-card p {

    color: var(--texto-suave);

    font-size: 13px;

    line-height: 1.7;

}



/* =====================================================
   FAQ
===================================================== */

.faq-section {

    padding: 100px 0;

    background: white;

}


.faq-container {

    display: grid;

    grid-template-columns: .75fr 1.25fr;

    gap: 80px;

    align-items: start;

}


.faq-intro h2 {

    font-size: clamp(38px,4vw,55px);

    line-height: 1.05;

    letter-spacing: -2px;

}


.faq-intro h2 strong {

    color: var(--dorado-oscuro);

}


.faq-intro > p {

    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.7;

    margin: 20px 0 25px;

}


.faq-list {

    display: grid;

    gap: 10px;

}


.faq-list details {

    border: 1px solid #e2e8ee;

    border-radius: 10px;

    background: white;

    padding: 0 20px;

}


.faq-list summary {

    list-style: none;

    cursor: pointer;

    padding: 20px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 13px;

    font-weight: 800;

}


.faq-list summary::-webkit-details-marker {

    display: none;

}


.faq-list summary span {

    color: var(--dorado-oscuro);

    font-size: 22px;

}


.faq-list details p {

    padding: 0 0 20px;

    color: var(--texto-suave);

    font-size: 12px;

    line-height: 1.7;

}



/* =====================================================
   CONTACTO
===================================================== */

.contact-section {

    background: var(--azul);

    color: white;

    padding: 85px 0;

}


.contact-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.section-label.light {

    color: #aebdcb;

}


.contact-content h2 {

    font-size: clamp(38px,4vw,55px);

    line-height: 1.05;

    letter-spacing: -2px;

}


.contact-content h2 strong {

    display: block;

    color: var(--dorado);

}


.contact-content > p {

    color: #b9c7d5;

    margin-top: 15px;

    font-size: 14px;

}


.contact-actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 270px;

}


.whatsapp-button {

    background: var(--dorado);

    color: #10233a;

    padding: 17px 24px;

    border-radius: 10px;

    text-align: center;

    font-size: 13px;

    font-weight: 900;

    transition: .25s;

}


.whatsapp-button:hover {

    transform: translateY(-3px);

}


.contact-email {

    border: 1px solid rgba(255,255,255,.4);

    color: white;

    padding: 16px 24px;

    border-radius: 10px;

    text-align: center;

    font-size: 12px;

    font-weight: 700;

}



/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: #041426;

    color: #b7c5d3;

    padding-top: 60px;

}


.footer-container {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 50px;

}


.footer-brand img {

    width: 260px;

    height: 80px;

    object-fit: contain;

    object-position: left;

    background: white;

    border-radius: 8px;

}


.footer-brand p {

    font-size: 11px;

    line-height: 1.8;

    margin-top: 15px;

}


.footer-column h3 {

    color: white;

    font-size: 14px;

    margin-bottom: 18px;

}


.footer-column a {

    display: block;

    font-size: 12px;

    margin: 10px 0;

    transition: .2s;

}


.footer-column a:hover {

    color: var(--dorado);

}


.footer-column p {

    font-size: 12px;

    margin: 10px 0;

}


.footer-bottom {

    border-top:
        1px solid
        rgba(255,255,255,.1);

    padding: 18px 0;

    font-size: 10px;

    text-align: center;

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .installations-container,
    .faq-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .process-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .testimonial-grid {

        grid-template-columns: 1fr;

    }


    .footer-container {

        grid-template-columns:
            repeat(2,1fr);

    }

}


@media (max-width: 600px) {

    .installations,
    .process-section,
    .testimonials,
    .faq-section {

        padding: 70px 0;

    }


    .installation-list {

        grid-template-columns: 1fr;

    }


    .installation-gallery {

        grid-template-columns: 1fr;

    }


    .gallery-small {

        grid-template-columns: 1fr 1fr;

    }


    .process-grid {

        grid-template-columns: 1fr;

    }


    .contact-container {

        flex-direction: column;

        align-items: flex-start;

    }


    .contact-actions {

        width: 100%;

    }


    .footer-container {

        grid-template-columns: 1fr;

    }

}
/* =====================================================
   IMÁGENES DE PROGRAMAS
===================================================== */

.program-photo {

    position: relative;

    overflow: hidden;

}


.program-photo img {

    width: 100%;

    height: 100%;

    min-height: 300px;

    object-fit: cover;

    display: block;

    transition:
        transform .6s ease;

}


.program-card:hover
.program-photo img {

    transform:
        scale(1.06);

}


.photo-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 20px;

    background:

        linear-gradient(
            180deg,
            transparent 50%,
            rgba(3,17,33,.65)
        );

}


.photo-overlay span {

    font-size: 32px;

}
/* =====================================================
   IMAGEN SEGURIDAD
===================================================== */

.security-image {

    position: relative;

    overflow: hidden;

    min-height: 500px;

}


.security-image > img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .7s ease;

}


.security-image:hover > img {

    transform:
        scale(1.04);

}


.security-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 35%,
            rgba(4,18,35,.75)
        );

}


.security-image-overlay {

    position: absolute;

    left: 30px;

    bottom: 30px;

    z-index: 2;

}


.security-badge {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    color: white;

}


.security-badge span {

    font-size: 42px;

    margin-bottom: 8px;

}


.security-badge strong {

    font-size: 24px;

    font-weight: 900;

}


.security-badge small {

    color: var(--dorado);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}
/* =====================================================
   IMAGEN BACHILLERATO
===================================================== */

.bachillerato-image {

    position: relative;

    overflow: hidden;

    min-height: 500px;

}


.bachillerato-image > img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;

}


.bachillerato-image:hover > img {

    transform:
        scale(1.04);

}


.bachillerato-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            transparent 30%,
            rgba(5,25,47,.75)
        );

}


.bachillerato-image-overlay {

    position: absolute;

    left: 30px;

    bottom: 30px;

    z-index: 2;

    color: white;

}


.bachillerato-image-overlay span {

    font-size: 45px;

    display: block;

}


.bachillerato-image-overlay strong {

    display: block;

    font-size: 28px;

    font-weight: 900;

}


.bachillerato-image-overlay small {

    color: var(--dorado);

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 2px;

}
/* =====================================================
   CORRECCIONES DE NAVEGACIÓN Y POSICIONAMIENTO
   ===================================================== */

/* Evita que las secciones queden ocultas debajo del header */
section[id] {
    scroll-margin-top: 95px;
}

/* El inicio siempre comienza correctamente debajo del header */
#inicio {
    scroll-margin-top: 82px;
}

/* Evita pequeños saltos horizontales */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* El contenido del hero queda por encima del fondo */
.hero-container {
    position: relative;
    z-index: 2;
}

/* El overlay del hero queda detrás del contenido */
.hero-overlay {
    z-index: 0;
}

/* El contenido del hero no debe quedar debajo del header */
.hero-content {
    position: relative;
    z-index: 3;
}

/* La imagen principal queda correctamente posicionada */
.hero-image-container {
    position: relative;
    z-index: 2;
}

/* Mejor separación entre header y hero */
.hero {
    margin-top: 0;
}

/* =====================================================
   MEJORA VISUAL DEL HERO
   ===================================================== */

.hero-image {
    background: rgba(255,255,255,.04);
}

/* Evita que una imagen rota genere un aspecto extraño */
.hero-image img {
    min-width: 0;
}

/* =====================================================
   IMÁGENES DE PROGRAMAS
   ===================================================== */

.program-photo img {
    object-position: center;
}

/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 850px) {

    section[id] {
        scroll-margin-top: 75px;
    }

    .hero-container {
        width: min(1180px, 92%);
    }

}
/* =====================================================
   AJUSTE FINAL - HERO PROTECFOR
===================================================== */

.header {
    height: 82px;
    min-height: 82px;
    z-index: 1000;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.hero-container {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 45px;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 70px 0;
}

.hero-small-title {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 5px;
}

.hero-small-title span {
    color: #ffb31a;
    margin: 0 12px;
}

.hero-content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(58px, 6vw, 88px);
    line-height: .91;
    font-weight: 900;
    letter-spacing: -4px;
}

.hero-content h1 strong {
    display: block;
    color: #ffb31a;
    font-weight: 900;
}

.hero-description {
    max-width: 700px;
    margin: 35px 0;
    color: rgba(255,255,255,.92);
    font-size: 21px;
    line-height: 1.55;
}

/* =====================================================
   HERO IMAGEN
===================================================== */

.hero-image-container {
    width: 100%;
    height: 100%;
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;

    width: 92%;
    height: 560px;

    overflow: hidden;

    border-radius: 210px 210px 0 0;

    border: 6px solid rgba(255,255,255,.13);

    background: #0b3550;

    box-shadow:
        0 30px 70px rgba(0,0,0,.35);
}

.hero-image > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform .7s ease;
}

.hero-image:hover > img {
    transform: scale(1.035);
}

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(2,18,32,.72)
        );

    pointer-events: none;
}

.hero-image-overlay {
    position: absolute;

    left: 25px;
    bottom: 25px;

    z-index: 5;
}

.hero-brand-mini {
    width: 105px;
    height: 105px;

    padding: 8px;

    background: rgba(255,255,255,.96);

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.3);
}

.hero-brand-mini img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: none !important;
}

/* =====================================================
   BENEFICIOS
===================================================== */

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    margin: 30px 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    font-size: 28px;
    width: 42px;
}

.benefit strong,
.benefit span {
    display: block;
}

.benefit strong {
    color: white;
    font-size: 14px;
}

.benefit span {
    color: rgba(255,255,255,.75);
    font-size: 13px;
}

/* =====================================================
   BOTONES HERO
===================================================== */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    min-height: 62px;

    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    border-radius: 14px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-gold {
    background: #ffb31a;
    color: #06243a;

    box-shadow:
        0 12px 30px rgba(255,179,26,.2);
}

.button-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.8);
    background: transparent;
}

/* =====================================================
   PROGRAMAS
===================================================== */

.program-photo {
    position: relative;
    height: 330px;
    overflow: hidden;
}

.program-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.program-card:hover .program-photo img {
    transform: scale(1.06);
}

.photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 22px;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(2,18,32,.7)
        );
}

.photo-overlay span {
    font-size: 34px;
}

/* =====================================================
   CORRECCIÓN DE ANCLAS
===================================================== */

section[id] {
    scroll-margin-top: 95px;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .hero {
        min-height: auto;
    }

    .hero-image-container {
        min-height: 500px;
    }

    .hero-image {
        width: 80%;
        height: 500px;
    }

}

/* =====================================================
   MOVIL
===================================================== */

@media (max-width: 700px) {

    .hero-container {
        width: min(92%, 600px);
    }

    .hero-content {
        padding: 45px 0 25px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 14vw, 68px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-image-container {
        min-height: 420px;
    }

    .hero-image {
        width: 100%;
        height: 430px;
        border-radius: 130px 130px 0 0;
    }

    .program-photo {
        height: 270px;
    }

}
/* =====================================================
   PROTECFOR — SECCIÓN NOSOTROS
===================================================== */

.about {
    position: relative;
    padding: 120px 0;
    background: #f5f8fb;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(255, 179, 26, .08);

    top: -180px;
    right: -120px;
}

.about::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(5, 42, 68, .05);

    bottom: -130px;
    left: -100px;
}

.about-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        .85fr
        1.15fr;

    gap: 80px;

    align-items: center;
}


/* =====================================================
   TEXTO
===================================================== */

.about-content {
    max-width: 560px;
}

.about-content .section-label {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: #d89000;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 3px;
}

.about-content .section-label::before {
    content: "";

    width: 42px;
    height: 3px;

    background: #ffb31a;
}


.about-content h2 {
    margin: 0 0 25px;

    color: #06243a;

    font-size: clamp(42px, 4vw, 62px);

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 900;
}

.about-content h2 strong {
    display: block;

    color: #f2a900;

    font-weight: 900;
}


.about-content > p {
    margin: 0 0 18px;

    color: #52687a;

    font-size: 17px;

    line-height: 1.75;
}


/* =====================================================
   BOTÓN
===================================================== */

.about-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 18px;

    padding: 17px 25px;

    background: #06243a;

    color: white;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.about-button span {
    color: #ffb31a;

    font-size: 20px;

    transition:
        transform .25s ease;
}

.about-button:hover {
    background: #0b3550;

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(6,36,58,.18);
}

.about-button:hover span {
    transform: translateX(5px);
}


/* =====================================================
   TARJETAS
===================================================== */

.about-benefits {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.about-card {
    position: relative;

    padding: 30px 28px;

    background: white;

    border: 1px solid #e4ebf0;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(6,36,58,.06);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.about-card::after {
    content: "";

    position: absolute;

    width: 75px;
    height: 75px;

    border-radius: 50%;

    background: rgba(255,179,26,.08);

    right: -25px;
    bottom: -25px;
}

.about-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255,179,26,.55);

    box-shadow:
        0 20px 45px rgba(6,36,58,.12);
}


/* =====================================================
   ICONOS
===================================================== */

.about-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #06243a;

    border-radius: 14px;

    font-size: 25px;

    box-shadow:
        0 8px 20px rgba(6,36,58,.15);
}


.about-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 10px;

    color: #06243a;

    font-size: 18px;

    font-weight: 900;
}


.about-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #65798a;

    font-size: 14px;

    line-height: 1.65;
}


/* =====================================================
   DESTACAR LA PRIMERA TARJETA
===================================================== */

.about-card:first-child {
    background: #06243a;

    border-color: #06243a;
}

.about-card:first-child h3 {
    color: white;
}

.about-card:first-child p {
    color: rgba(255,255,255,.72);
}

.about-card:first-child .about-icon {
    background: #ffb31a;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .about {
        padding: 90px 0;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-content {
        max-width: 700px;
    }

}


@media (max-width: 600px) {

    .about {
        padding: 70px 0;
    }

    .about-content h2 {
        font-size: 42px;
    }

    .about-benefits {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 25px;
    }

}
/* =====================================================
   AJUSTE FINO - FORMACIÓN ESPECIALIZADA
===================================================== */

.security-section {
    position: relative;
    overflow: hidden;
}

.security-container {
    align-items: center;
}

.security-content {
    padding: 20px 0;
}

.security-content .section-label {
    margin-bottom: 22px;
}

.security-content h2 {
    margin-bottom: 28px;
}

.security-description {
    max-width: 680px;
    margin-bottom: 35px;
}

.security-features {
    row-gap: 18px;
    column-gap: 45px;
}

.security-features > div {
    min-height: 30px;
}

.security-features span {
    flex-shrink: 0;

    width: 32px;
    height: 32px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffb31a;
    color: #06243a;

    font-weight: 900;
}

.security-features p {
    margin: 0;
}

.security-button {
    margin-top: 32px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.security-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(255,179,26,.22);
}


/* =====================================================
   IMAGEN
===================================================== */

.security-image {
    position: relative;
    overflow: hidden;
}

.security-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.security-image:hover img {
    transform: scale(1.025);
}


/* =====================================================
   MOVIL
===================================================== */

@media (max-width: 900px) {

    .security-container {
        gap: 45px;
    }

    .security-content {
        padding: 0;
    }

}

@media (max-width: 600px) {

    .security-features {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   AJUSTE FINO — BACHILLERATO ACELERADO
===================================================== */

.bachillerato-section {
    position: relative;
    overflow: hidden;
}

.bachillerato-container {
    position: relative;
    z-index: 2;
}

.bachillerato-points {
    gap: 16px;
}

.bachillerato-points > div {
    position: relative;

    min-height: 58px;

    display: flex;
    align-items: center;

    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid #e0e8ee;

    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(6,36,58,.04);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.bachillerato-points > div:hover {
    transform: translateY(-3px);

    border-color: rgba(255,179,26,.65);

    box-shadow:
        0 12px 25px rgba(6,36,58,.08);
}

.bachillerato-points > div > span {
    min-width: 38px;

    color: #e79a00;

    font-size: 18px;

    font-weight: 900;
}

.bachillerato-points > div > p {
    margin: 0;

    color: #06243a;

    font-weight: 800;
}


/* =====================================================
   IMAGEN BACHILLERATO
===================================================== */

.bachillerato-image {
    position: relative;

    overflow: hidden;

    box-shadow:
        0 25px 55px rgba(6,36,58,.14);
}

.bachillerato-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.bachillerato-image:hover img {
    transform: scale(1.025);
}


/* =====================================================
   BOTÓN
===================================================== */

.bachillerato-button {
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.bachillerato-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 30px rgba(6,36,58,.18);
}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 700px) {

    .bachillerato-points {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   IMAGEN REAL - INSTALACIONES
===================================================== */

.gallery-main {
    position: relative;
    overflow: hidden;
}

.gallery-main > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-main:hover > img {
    transform: scale(1.04);
}

.gallery-main-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 45px 28px 25px;

    display: flex;
    flex-direction: column;

    background: linear-gradient(
        transparent,
        rgba(3, 25, 42, .9)
    );

    color: white;
}

.gallery-main-overlay strong {
    font-size: 28px;
    font-weight: 900;
}

.gallery-main-overlay span {
    margin-top: 3px;

    color: #ffb31a;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
/* =====================================================
   PROTECFOR — PROCESO DE INSCRIPCIÓN
===================================================== */

.process-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.process-container {
    position: relative;
    z-index: 2;
}


/* =====================================================
   TARJETAS
===================================================== */

.process-grid {
    position: relative;
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* Línea que conecta los pasos */

.process-grid::before {
    content: "";

    position: absolute;

    top: 53px;
    left: 11%;
    right: 11%;

    height: 2px;

    background: linear-gradient(
        90deg,
        #ffb31a,
        #d9e2e8,
        #ffb31a
    );

    z-index: 0;
}


/* =====================================================
   CARD
===================================================== */

.process-card {
    position: relative;

    z-index: 1;

    min-height: 255px;

    padding: 34px 28px 30px;

    background: #ffffff;

    border: 1px solid #dfe7ed;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(6,36,58,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.process-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255,179,26,.65);

    box-shadow:
        0 20px 40px rgba(6,36,58,.11);
}


/* =====================================================
   NÚMERO
===================================================== */

.process-number {
    position: absolute;

    top: 18px;
    right: 20px;

    color: #e8eef2;

    font-size: 38px;

    line-height: 1;

    font-weight: 900;

    transition:
        color .3s ease,
        transform .3s ease;
}

.process-card:hover .process-number {
    color: rgba(255,179,26,.35);

    transform: scale(1.08);
}


/* =====================================================
   ICONO
===================================================== */

.process-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 15px;

    background: #06243a;

    font-size: 28px;

    box-shadow:
        0 10px 20px rgba(6,36,58,.12);

    transition:
        transform .3s ease,
        background .3s ease;
}

.process-card:hover .process-icon {
    background: #ffb31a;

    transform: translateY(-3px);
}


/* =====================================================
   TEXTO
===================================================== */

.process-card h3 {
    margin: 0 0 10px;

    color: #06243a;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 900;
}

.process-card p {
    margin: 0;

    color: #62788a;

    font-size: 14px;

    line-height: 1.65;
}


/* =====================================================
   ÚLTIMO PASO
===================================================== */

.process-card:last-child {
    background: #06243a;

    border-color: #06243a;
}

.process-card:last-child h3 {
    color: #ffffff;
}

.process-card:last-child p {
    color: rgba(255,255,255,.72);
}

.process-card:last-child .process-icon {
    background: #ffb31a;
}

.process-card:last-child .process-number {
    color: rgba(255,179,26,.25);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

}


@media (max-width: 600px) {

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

}
/* =====================================================
   PROTECFOR — TESTIMONIOS
===================================================== */

.testimonials-section {
    position: relative;
    padding: 110px 0;
    background: #f5f8fb;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(255, 179, 26, .07);

    top: -220px;
    right: -120px;
}

.testimonials-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(6, 36, 58, .035);

    bottom: -160px;
    left: -100px;
}

.testimonials-container {
    position: relative;
    z-index: 2;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.testimonials-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.testimonials-header .section-label {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

    color: #527089;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 4px;
}

.testimonials-header .section-label::before {
    content: "";

    width: 43px;
    height: 3px;

    background: #ffb31a;
}

.testimonials-header h2 {
    margin: 0;

    color: #06243a;

    font-size: clamp(44px, 5vw, 68px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 900;
}

.testimonials-header h2 strong {
    color: #f2a000;
}


/* =====================================================
   GRID
===================================================== */

.testimonials-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* =====================================================
   TARJETA
===================================================== */

.testimonial-card {
    position: relative;

    min-height: 330px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #dfe7ed;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(6,36,58,.055);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255,179,26,.55);

    box-shadow:
        0 22px 45px rgba(6,36,58,.12);
}


/* =====================================================
   TARJETA DESTACADA
===================================================== */

.testimonial-card:nth-child(2) {
    background: #06243a;

    border-color: #06243a;

    transform: translateY(-12px);

    box-shadow:
        0 20px 45px rgba(6,36,58,.16);
}

.testimonial-card:nth-child(2):hover {
    transform: translateY(-18px);
}

.testimonial-card:nth-child(2) h3 {
    color: #ffffff;
}

.testimonial-card:nth-child(2) .testimonial-role {
    color: rgba(255,255,255,.62);
}

.testimonial-card:nth-child(2) .testimonial-text {
    color: rgba(255,255,255,.78);
}

.testimonial-card:nth-child(2) .testimonial-quote {
    color: rgba(255,179,26,.18);
}


/* =====================================================
   PERFIL
===================================================== */

.testimonial-profile {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #06243a;

    color: #ffb31a;

    font-size: 21px;

    font-weight: 900;

    border: 3px solid rgba(255,179,26,.25);
}

.testimonial-card:nth-child(2) .testimonial-avatar {
    background: #ffb31a;
    color: #06243a;
}

.testimonial-profile h3 {
    margin: 0;

    color: #06243a;

    font-size: 17px;

    font-weight: 900;
}

.testimonial-role {
    display: block;

    margin-top: 3px;

    color: #7890a0;

    font-size: 12px;

    font-weight: 600;
}


/* =====================================================
   ESTRELLAS
===================================================== */

.testimonial-stars {
    margin-bottom: 24px;

    color: #ffb31a;

    font-size: 19px;

    letter-spacing: 3px;
}


/* =====================================================
   TEXTO
===================================================== */

.testimonial-text {
    position: relative;

    z-index: 2;

    margin: 0;

    color: #557084;

    font-size: 16px;

    line-height: 1.75;
}

.testimonial-quote {
    position: absolute;

    right: 24px;
    bottom: -5px;

    color: rgba(6,36,58,.055);

    font-size: 100px;

    line-height: 1;

    font-family: Georgia, serif;

    pointer-events: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:nth-child(2) {
        transform: none;
    }

    .testimonial-card:nth-child(2):hover {
        transform: translateY(-8px);
    }

}

@media (max-width: 600px) {

    .testimonials-section {
        padding: 75px 0;
    }

    .testimonial-card {
        min-height: auto;
        padding: 28px;
    }

}
/* =====================================================
   LOGO PROTECFOR + TEXTO ANIMADO
===================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 430px;
    max-width: 430px;

    overflow: hidden;
}

/* LOGO PRINCIPAL */

.logo-main {
    flex-shrink: 0;

    display: flex;
    align-items: center;
}

.logo-main img {
    display: block;

    width: 250px;
    height: 76px;

    object-fit: contain;
    object-position: left center;
}


/* CONTENEDOR DEL TEXTO */

.logo-scroll {
    position: relative;

    width: 180px;
    min-width: 180px;

    overflow: hidden;

    white-space: nowrap;

    border-left:
        1px solid
        rgba(6,36,58,.18);

    padding-left: 12px;
}

/* PISTA ANIMADA */

.logo-track {
    display: inline-flex;

    width: max-content;

    animation:
        moverTextoLogo
        18s
        linear
        infinite;
}


/* TEXTO */

.logo-track span {
    display: inline-block;

    margin-right: 35px;

    color: #d89000;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* ANIMACIÓN */

@keyframes moverTextoLogo {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .logo-main img {
        width: 205px;
        height: 62px;
    }

    .logo-scroll {
        width: 120px;
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 850px) {

    .logo {
        gap: 8px;
    }

    .logo-main img {
        width: 200px;
        height: 58px;
    }

    .logo-scroll {
        width: 100px;
        padding-left: 8px;
    }

    .logo-track span {
        font-size: 8px;
        letter-spacing: .8px;
    }

}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .logo-scroll {
        width: 85px;
    }

    .logo-main img {
        width: 190px;
        height: 55px;
    }

}
/* =====================================================
   AJUSTE FINAL LOGO PROTECFOR
===================================================== */

.header .logo {
    width: 430px;
    max-width: 430px;

    display: flex;
    align-items: center;

    gap: 10px;

    overflow: hidden;

    flex-shrink: 0;
}

.header .logo-main {
    flex-shrink: 0;
}

.header .logo-main img {
    width: 250px;
    height: 76px;

    object-fit: contain;
    object-position: left center;

    display: block;
}

.header .logo-scroll {
    width: 170px;
    min-width: 170px;

    overflow: hidden;

    white-space: nowrap;

    padding-left: 12px;

    border-left:
        1px solid
        rgba(6,36,58,.18);
}

.header .logo-track {
    display: inline-flex;

    width: max-content;

    animation:
        moverTextoLogo
        30s
        linear
        infinite;
}

.header .logo-track span {
    display: inline-block;

    margin-right: 35px;

    color: #d89000;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.5px;

    white-space: nowrap;
}
/* =====================================================
   PANTALLA DE BIENVENIDA PROTECFOR
===================================================== */

.welcome-screen {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #0d2c4d 0%,
            #071b35 55%,
            #03101f 100%
        );

    opacity: 1;

    visibility: visible;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}


/* CUANDO DESAPARECE */

.welcome-screen.hide {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =====================================================
   CONTENIDO
===================================================== */

.welcome-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    animation:
        welcomeAppear
        .8s
        ease
        both;
}


/* =====================================================
   LOGO
===================================================== */

.welcome-logo {

    width: 260px;

    height: 150px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background: rgba(255,255,255,.96);

    border-radius: 18px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.35);
}

.welcome-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


/* =====================================================
   LINEA DORADA
===================================================== */

.welcome-line {

    width: 0;

    height: 3px;

    margin-top: 24px;

    background: #ffb31a;

    animation:
        welcomeLine
        .7s
        .25s
        ease
        forwards;
}


/* =====================================================
   TEXTO
===================================================== */

.welcome-content p {

    margin-top: 18px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 5px;

    opacity: 0;

    animation:
        welcomeText
        .5s
        .45s
        ease
        forwards;
}


.welcome-content span {

    margin-top: 8px;

    color: #ffb31a;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    opacity: 0;

    animation:
        welcomeText
        .5s
        .6s
        ease
        forwards;
}


/* =====================================================
   ANIMACIONES
===================================================== */

@keyframes welcomeAppear {

    from {

        opacity: 0;

        transform:
            scale(.88)
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);

    }

}


@keyframes welcomeLine {

    from {

        width: 0;

    }

    to {

        width: 170px;

    }

}


@keyframes welcomeText {

    from {

        opacity: 0;

        transform:
            translateY(8px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .welcome-logo {

        width: 230px;

        height: 135px;

    }

    .welcome-content p {

        font-size: 13px;

        letter-spacing: 4px;

    }

    .welcome-content span {

        font-size: 8px;

        letter-spacing: 1.5px;

    }

}
/* =====================================================
   AJUSTE FINAL DEL HEADER
   LOGO + MENÚ + BOTÓN
===================================================== */

.header-container {
    gap: 14px;
}

/* LOGO */
.header .logo {
    width: 390px;
    max-width: 390px;

    flex-shrink: 1;

    display: flex;
    align-items: center;

    gap: 8px;

    overflow: hidden;
}

/* LOGO PRINCIPAL */
.header .logo-main {
    flex-shrink: 0;
}

.header .logo-main img {
    width: 225px;
    height: 72px;

    object-fit: contain;
    object-position: left center;
}

/* TEXTO EN MOVIMIENTO */
.header .logo-scroll {
    width: 155px;
    min-width: 155px;

    overflow: hidden;

    white-space: nowrap;

    padding-left: 10px;

    border-left:
        1px solid
        rgba(6,36,58,.18);
}

/* MENÚ */
.header .navigation {
    gap: 18px;
}

/* BOTÓN ASESOR */
.header .header-button {
    flex-shrink: 0;

    padding: 14px 18px;

    font-size: 12px;

    white-space: nowrap;
}
/* =====================================================
   IMÁGENES - GALERÍA PEQUEÑA
===================================================== */

.gallery-small-image {
    position: relative;

    min-height: 228px;

    overflow: hidden;

    border-radius: 14px;

    background: #09223c;
}

.gallery-small-image img {
    width: 100%;
    height: 100%;

    min-height: 228px;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.gallery-small-image:hover img {
    transform: scale(1.07);
}


/* OSCURECIMIENTO */

.gallery-small-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 55px 18px 18px;

    background:
        linear-gradient(
            transparent,
            rgba(3,25,42,.92)
        );

    color: #ffffff;
}


/* TEXTO */

.gallery-small-overlay small {
    display: block;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    line-height: 1.3;
}


/* EFECTO DORADO */

.gallery-small-image:hover
.gallery-small-overlay small {
    color: #ffb31a;
}
/* =====================================================
   PROTECFOR - GALERÍA LATERAL
===================================================== */

.gallery-small {
    display: grid !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 14px !important;
}

.gallery-small-image {
    position: relative !important;

    width: 100% !important;
    height: 228px !important;
    min-height: 228px !important;

    overflow: hidden !important;

    border-radius: 14px !important;

    background: #09223c !important;

    display: block !important;
}

/* IMAGEN */
.gallery-small-image > img {
    position: relative !important;

    z-index: 1 !important;

    width: 100% !important;
    height: 100% !important;

    min-height: 228px !important;

    display: block !important;

    object-fit: cover !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none;

    transition: transform .6s ease !important;
}

/* ZOOM */
.gallery-small-image:hover > img {
    transform: scale(1.06) !important;
}

/* OSCURECIMIENTO */
.gallery-small-overlay {
    position: absolute !important;

    z-index: 2 !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    padding: 65px 18px 18px !important;

    background: linear-gradient(
        transparent,
        rgba(3,25,42,.92)
    ) !important;
}

/* TEXTO */
.gallery-small-overlay small {
    display: block !important;

    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 800 !important;
}

.gallery-small-image:hover
.gallery-small-overlay small {
    color: #ffb31a !important;
}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 800px) {

    .gallery-small {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: none !important;
    }

}

@media (max-width: 500px) {

    .gallery-small {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr 1fr !important;
    }

}
/* =====================================================
   EXPERIENCIAS REALES - VIDEOS
===================================================== */

.experiences-section {
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 50%,
            #f4f7fa 100%
        );
    overflow: hidden;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.experiences-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.experiences-heading .section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;
    padding: 8px 16px;

    border: 1px solid rgba(244,182,47,.35);
    border-radius: 50px;

    background: rgba(244,182,47,.08);

    color: #d99a19;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.experiences-heading h2 {
    margin: 0 0 18px;

    color: #071b35;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    font-weight: 400;
}

.experiences-heading h2 strong {
    color: #d99a19;
    font-weight: 800;
}

.experiences-heading p {
    max-width: 650px;
    margin: 0 auto;

    color: #68788d;

    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   GRID
===================================================== */

.experiences-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.experiences-grid-second {
    margin-top: 24px;
}


/* =====================================================
   TARJETA
===================================================== */

.experience-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e9ef;

    border-radius: 22px;

    box-shadow:
        0 15px 45px rgba(7,27,53,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.experience-card:hover {
    transform: translateY(-7px);

    border-color: rgba(244,182,47,.55);

    box-shadow:
        0 25px 60px rgba(7,27,53,.13);
}


/* =====================================================
   VIDEO
===================================================== */

.experience-video {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #071b35;
}

.experience-video video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #071b35;
}


/* =====================================================
   CONTENIDO
===================================================== */

.experience-content {
    padding: 24px 25px 27px;
}

.experience-number {
    display: block;

    margin-bottom: 9px;

    color: #d99a19;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.experience-content h3 {
    margin: 0 0 9px;

    color: #071b35;

    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}

.experience-content p {
    margin: 0;

    color: #68788d;

    font-size: 14px;
    line-height: 1.65;
}


/* =====================================================
   VIDEO DESTACADO
===================================================== */

.experience-featured {
    position: relative;

    margin-top: 70px;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #071b35 0%,
            #0d2c4d 55%,
            #123e67 100%
        );

    box-shadow:
        0 30px 80px rgba(7,27,53,.20);
}


/* =====================================================
   BADGE
===================================================== */

.featured-badge {
    position: absolute;

    top: 24px;
    left: 24px;

    z-index: 5;

    display: inline-flex;
    align-items: center;

    padding: 9px 15px;

    border-radius: 50px;

    background: #f4b62f;

    color: #071b35;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.20);
}


/* =====================================================
   VIDEO DESTACADO
===================================================== */

.featured-video {
    position: relative;

    width: 100%;

    aspect-ratio: 21 / 9;

    background: #020b16;
}

.featured-video video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #020b16;
}


/* =====================================================
   TEXTO DESTACADO
===================================================== */

.featured-content {
    padding: 32px 38px 38px;
}

.featured-content > span {
    display: block;

    margin-bottom: 9px;

    color: #f4b62f;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.featured-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(24px, 3vw, 34px);

    line-height: 1.2;

    font-weight: 800;
}

.featured-content p {
    max-width: 700px;

    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 15px;
    line-height: 1.75;
}


/* =====================================================
   CONTROLES DEL VIDEO
===================================================== */

.experience-video video,
.featured-video video {
    cursor: pointer;
}


/* =====================================================
   EFECTO SUPERIOR
===================================================== */

.experience-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            transparent,
            #f4b62f,
            transparent
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.experience-card:hover::before {
    opacity: 1;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .experiences-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .featured-video {
        aspect-ratio: 16 / 9;
    }

}


/* =====================================================
   MOVIL
===================================================== */

@media (max-width: 650px) {

    .experiences-section {
        padding: 75px 0;
    }

    .experiences-heading {
        margin-bottom: 38px;
    }

    .experiences-heading h2 {
        font-size: 35px;
    }

    .experiences-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .experiences-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experiences-grid-second {
        margin-top: 20px;
    }

    .experience-card {
        border-radius: 18px;
    }

    .experience-content {
        padding: 21px 20px 23px;
    }

    .experience-content h3 {
        font-size: 18px;
    }

    .experience-featured {
        margin-top: 45px;
        border-radius: 20px;
    }

    .featured-badge {
        top: 15px;
        left: 15px;

        padding: 8px 12px;

        font-size: 9px;
    }

    .featured-video {
        aspect-ratio: 16 / 10;
    }

    .featured-content {
        padding: 25px 22px 28px;
    }

    .featured-content h3 {
        font-size: 24px;
    }

}
/* =====================================================
   PROTECFOR - HEADER FINAL
   CORRECCIÓN DEFINITIVA DEL LOGO
===================================================== */

.header {
    height: 86px;
}

.header-container {
    height: 86px;

    display: flex;
    align-items: center;

    gap: 18px;
}


/* =====================================================
   LOGO
===================================================== */

.header .logo {
    width: 330px;
    max-width: 330px;

    height: 86px;

    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    overflow: hidden;
}


/* =====================================================
   LOGO PRINCIPAL
===================================================== */

.header .logo-main {
    width: 88px;
    min-width: 88px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;
}

.header .logo-main img {
    width: 88px;
    height: 82px;

    display: block;

    object-fit: contain;
    object-position: center;
}


/* =====================================================
   TEXTO ANIMADO
===================================================== */

.header .logo-scroll {
    position: relative;

    width: 220px;
    min-width: 220px;

    height: 38px;

    display: flex;
    align-items: center;

    overflow: hidden;

    white-space: nowrap;

    padding-left: 12px;

    border-left:
        1px solid
        rgba(6,36,58,.18);
}


/* =====================================================
   PISTA
===================================================== */

.header .logo-track {
    display: inline-flex;

    width: max-content;

    white-space: nowrap;

    animation:
        moverTextoLogo
        22s
        linear
        infinite;
}


/* =====================================================
   TEXTO
===================================================== */

.header .logo-track span {
    display: inline-block;

    margin-right: 45px;

    color: #d89000;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =====================================================
   ANIMACIÓN
===================================================== */

@keyframes moverTextoLogo {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* =====================================================
   NAVEGACIÓN
===================================================== */

.header .navigation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    flex: 1;

    min-width: 0;
}

.header .navigation a {
    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   BOTÓN ASESOR
===================================================== */

.header .header-button {
    flex-shrink: 0;

    white-space: nowrap;

    padding: 15px 19px;

    font-size: 12px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1200px) {

    .header .logo {
        width: 270px;
        max-width: 270px;
    }

    .header .logo-main {
        width: 78px;
        min-width: 78px;
    }

    .header .logo-main img {
        width: 78px;
        height: 76px;
    }

    .header .logo-scroll {
        width: 175px;
        min-width: 175px;
    }

    .header .navigation {
        gap: 13px;
    }

    .header .navigation a {
        font-size: 11px;
    }

    .header .header-button {
        padding: 13px 15px;
        font-size: 11px;
    }

}


/* =====================================================
   TABLET PEQUEÑA
===================================================== */

@media (max-width: 1000px) {

    .header .logo {
        width: 230px;
        max-width: 230px;
    }

    .header .logo-main {
        width: 72px;
        min-width: 72px;
    }

    .header .logo-main img {
        width: 72px;
        height: 72px;
    }

    .header .logo-scroll {
        width: 145px;
        min-width: 145px;
    }

    .header .navigation {
        gap: 10px;
    }

    .header .navigation a {
        font-size: 10px;
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 850px) {

    .header {
        height: 72px;
    }

    .header-container {
        height: 72px;
    }

    .header .logo {
        width: auto;
        max-width: none;

        height: 72px;

        gap: 8px;
    }

    .header .logo-main {
        width: 70px;
        min-width: 70px;

        height: 68px;
    }

    .header .logo-main img {
        width: 70px;
        height: 68px;
    }

    .header .logo-scroll {
        display: none;
    }

    .header .navigation {
        top: 72px;
    }

}


/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .header .logo-main {
        width: 65px;
        min-width: 65px;

        height: 64px;
    }

    .header .logo-main img {
        width: 65px;
        height: 64px;
    }

}
/* =====================================================
   MENU MOVIL - OCULTO HASTA PRESIONAR LAS RAYITAS
===================================================== */

@media (max-width: 850px) {

    /* MENÚ COMPLETAMENTE OCULTO */
    .header .navigation {
        display: none !important;

        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        width: 100%;

        background: #ffffff;

        padding: 15px 6%;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow: 0 15px 35px rgba(0,0,0,.15);

        z-index: 9999;
    }

    /* SOLO APARECE AL PULSAR ☰ */
    .header .navigation.open {
        display: flex !important;
    }

    /* OPCIONES DEL MENÚ */
    .header .navigation a {
        display: block;

        width: 100%;

        padding: 14px 0;

        font-size: 14px;

        text-align: left;
    }

    /* BOTÓN ☰ SIEMPRE VISIBLE */
    .header .menu-button {
        display: flex !important;

        width: 42px;
        height: 42px;

        margin-left: auto;

        padding: 0;

        border: 0;

        background: transparent;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        cursor: pointer;

        z-index: 10001;
    }

    .header .menu-button span {
        display: block !important;

        width: 25px;
        height: 3px;

        margin: 3px 0;

        background: #071b35;

        border-radius: 3px;
    }
}
/* =====================================================
   ASESOR VIRTUAL PROTECFOR
===================================================== */

.advisor-widget {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 20000;

    font-family: inherit;
}


/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.advisor-float {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;
    height: 58px;

    padding: 0 22px;

    border: 0;

    border-radius: 30px;

    background: #05c878;

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0,0,0,.22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.advisor-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.28);
}

.advisor-float-icon {
    font-size: 24px;
}

.advisor-float-text {
    white-space: nowrap;
}


/* =====================================================
   PANEL
===================================================== */

.advisor-panel {
    position: fixed;
    right: 22px;
    bottom: 92px;

    width: min(480px, calc(100vw - 44px));
    max-height: calc(100vh - 130px);

    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);

    z-index: 9998;

    display: flex;
    flex-direction: column;

    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.advisor-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* =====================================================
   CABECERA
===================================================== */

.advisor-header {
    min-height: 92px;

    padding: 15px 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            #06243a,
            #0a3a59
        );

    color: white;
}

.advisor-header-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.advisor-logo {
    width: 58px;
    height: 58px;

    padding: 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: white;

    border-radius: 50%;

    overflow: hidden;
}

.advisor-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.advisor-header-brand strong {
    display: block;

    font-size: 19px;
}

.advisor-header-brand span {
    display: block;

    margin-top: 3px;

    font-size: 13px;

    opacity: .85;
}

.advisor-close {
    width: 36px;
    height: 36px;

    border: 0;

    background: transparent;

    color: white;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;
}


/* =====================================================
   CUERPO
===================================================== */

.advisor-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.advisor-welcome {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.advisor-message-icon {
    font-size: 27px;

    margin-bottom: 8px;
}

.advisor-welcome h3 {
    margin: 0;

    color: #16263a;

    font-size: 20px;

    line-height: 1.3;
}

.advisor-welcome p {
    margin: 10px 0 20px;

    color: #536274;

    font-size: 15px;

    line-height: 1.5;
}

.advisor-question {
    margin-bottom: 13px;

    color: #1c2b3d;

    font-size: 15px;
}


/* =====================================================
   OPCIONES
===================================================== */

.advisor-option {
    width: 100%;

    min-height: 68px;

    margin-top: 10px;

    padding: 12px 15px;

    display: flex;

    align-items: center;

    gap: 13px;

    border: 0;

    border-radius: 12px;

    color: white;

    text-align: left;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.advisor-option:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.15);
}

.advisor-option-blue {
    background: #0969e8;
}

.advisor-option-green {
    background: #05ad61;
}

.advisor-option-icon {
    width: 35px;

    font-size: 22px;

    text-align: center;

    flex-shrink: 0;
}

.advisor-option strong {
    display: block;

    font-size: 15px;

    line-height: 1.3;
}

.advisor-option small {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    opacity: .9;
}


/* =====================================================
   RESPUESTA
===================================================== */

.advisor-response {
    display: none;

    margin-top: 18px;

    padding: 15px;

    background: #f3f7fb;

    border-left: 4px solid #d89000;

    border-radius: 10px;

    color: #26384a;

    font-size: 14px;

    line-height: 1.5;
}

.advisor-response.active {
    display: block;
}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .advisor-widget {
        right: 14px;
        bottom: 14px;
    }

    .advisor-float {
        min-width: 56px;

        width: 56px;
        height: 56px;

        padding: 0;

        border-radius: 50%;
    }

    .advisor-float-text {
        display: none;
    }

    .advisor-float-icon {
        font-size: 25px;
    }

    .advisor-panel {
        right: 0;

        bottom: 68px;

        width: calc(100vw - 28px);

        max-width: 390px;
    }

    .advisor-header {
        min-height: 82px;
    }

    .advisor-body {
        padding: 20px 17px;
    }
}
/* =====================================================
   WHATSAPP FLOTANTE PROTECFOR
===================================================== */

.whatsapp-widget {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 19999;

    font-family: inherit;
}


/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.whatsapp-float {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;
    height: 58px;

    padding: 0 22px;

    border: 0;
    border-radius: 30px;

    background: #05c878;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0,0,0,.22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.whatsapp-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.28);
}


.whatsapp-icon {
    font-size: 24px;
    line-height: 1;
}


.whatsapp-float-text {
    white-space: nowrap;
}


/* =====================================================
   VENTANA WHATSAPP
   SE ABRE HACIA LA IZQUIERDA
   SIN TAPAR EL ASESOR
===================================================== */

.whatsapp-panel {
    position: absolute;

    right: 210px;
    bottom: 0;

    width: 390px;
    max-width: calc(100vw - 250px);

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .28);

    opacity: 0;

    visibility: hidden;

    transform:
        translateX(20px)
        scale(.96);

    transform-origin:
        right bottom;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}


.whatsapp-panel.active {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(0)
        scale(1);
}


/* =====================================================
   CABECERA
===================================================== */

.whatsapp-header {
    min-height: 92px;

    padding: 15px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            #05c878,
            #00a85a
        );

    color: #ffffff;
}


.whatsapp-header-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.whatsapp-logo {
    width: 58px;
    height: 58px;

    padding: 5px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 50%;

    overflow: hidden;
}


.whatsapp-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.whatsapp-header-brand strong {
    display: block;

    font-size: 19px;
}


.whatsapp-header-brand span {
    display: block;

    margin-top: 3px;

    font-size: 13px;

    opacity: .9;
}


/* =====================================================
   CERRAR
===================================================== */

.whatsapp-close {
    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.15);

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.whatsapp-close:hover {
    background:
        rgba(255,255,255,.28);

    transform: rotate(90deg);
}


/* =====================================================
   CUERPO
===================================================== */

.whatsapp-body {
    padding: 24px 20px 22px;
}


.whatsapp-message {
    display: flex;

    gap: 14px;

    padding: 16px;

    background: #f3f7f5;

    border-radius: 15px;
}


.whatsapp-message-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #05c878;

    color: #ffffff;

    font-size: 20px;
}


.whatsapp-message strong {
    display: block;

    margin-bottom: 6px;

    color: #16263a;

    font-size: 15px;
}


.whatsapp-message p {
    margin: 4px 0;

    color: #536274;

    font-size: 14px;

    line-height: 1.5;
}


/* =====================================================
   BOTÓN ABRIR WHATSAPP
===================================================== */

.whatsapp-open-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;

    margin-top: 18px;

    padding: 14px 18px;

    border-radius: 12px;

    background: #05c878;

    color: #ffffff;

    text-decoration: none;

    font-family: inherit;

    font-size: 15px;

    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}


.whatsapp-open-button:hover {
    transform: translateY(-2px);

    background: #04ae68;
}


/* =====================================================
   ACOMODAR ASESOR + WHATSAPP
===================================================== */

/* =====================================================
   POSICIÓN DE LOS BOTONES FLOTANTES
===================================================== */

.advisor-widget {
    position: fixed;

    right: 22px;
    bottom: 92px;

    z-index: 20000;
}


.whatsapp-widget {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 19999;
}

/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .advisor-widget {
        right: 14px;
        bottom: 82px;
    }


    .whatsapp-widget {
        right: 14px;
        bottom: 14px;
    }


    .whatsapp-float {
        width: 56px;
        min-width: 56px;

        height: 56px;

        padding: 0;

        border-radius: 50%;
    }


    .whatsapp-float-text {
        display: none;
    }


    .whatsapp-icon {
        font-size: 25px;
    }


    .whatsapp-panel {
        right: 0;

        bottom: 68px;

        width:
            calc(100vw - 28px);

        max-width: 390px;
    }


    .whatsapp-header {
        min-height: 82px;
    }


    .whatsapp-body {
        padding: 20px 17px;
    }

}
/* =====================================================
   CHATBOT PROTECFOR
===================================================== */

.protector-chatbot {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1000;
}


/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.chatbot-float {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 190px;
    height: 58px;

    padding: 0 22px;

    border: none;
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #075b91,
            #003b63
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.chatbot-float:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .28);
}


.chatbot-float-icon {
    font-size: 23px;
}


.chatbot-float-text {
    white-space: nowrap;
}


/* =====================================================
   PANEL
===================================================== */

.chatbot-panel {

    position: absolute;

    right: 0;

    bottom: 70px;

    width: 390px;

    max-width:
        calc(100vw - 30px);

    height: 540px;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .28);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px)
        scale(.96);

    transform-origin:
        bottom right;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}


.chatbot-panel.active {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* =====================================================
   CABECERA
===================================================== */

.chatbot-header {

    min-height: 82px;

    padding: 13px 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            #075b91,
            #003b63
        );

    color: #ffffff;
}


.chatbot-header-brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.chatbot-logo {

    width: 52px;
    height: 52px;

    padding: 4px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 50%;

    overflow: hidden;
}


.chatbot-logo img {

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.chatbot-header-brand strong {

    display: block;

    font-size: 17px;
}


.chatbot-header-brand span {

    display: block;

    margin-top: 3px;

    font-size: 12px;

    opacity: .9;
}


/* =====================================================
   CERRAR
===================================================== */

.chatbot-close {

    width: 35px;
    height: 35px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,.15);

    color: #ffffff;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.chatbot-close:hover {

    background:
        rgba(255,255,255,.28);

    transform:
        rotate(90deg);
}


/* =====================================================
   MENSAJES
===================================================== */

.chatbot-messages {

    flex: 1;

    overflow-y: auto;

    padding: 18px;

    background:
        #f5f7f9;
}


/* =====================================================
   MENSAJE BOT
===================================================== */

.chat-message {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 15px;
}


.chat-avatar {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #075b91;

    font-size: 17px;
}


.chat-bubble {

    max-width: 82%;

    padding: 12px 14px;

    border-radius:
        4px 15px 15px 15px;

    background: #ffffff;

    color: #334155;

    font-size: 14px;

    line-height: 1.5;

    box-shadow:
        0 3px 10px rgba(0,0,0,.06);
}


/* =====================================================
   MENSAJE USUARIO
===================================================== */

.chat-message.user {

    justify-content: flex-end;
}


.chat-message.user .chat-bubble {

    border-radius:
        15px 4px 15px 15px;

    background: #075b91;

    color: #ffffff;
}


/* =====================================================
   OPCIONES RÁPIDAS
===================================================== */

.chatbot-quick-options {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 10px;

    padding-left: 43px;
}


.chatbot-quick-options button {

    width: 100%;

    padding: 10px 12px;

    border: 1px solid #d9e2ea;

    border-radius: 10px;

    background: #ffffff;

    color: #075b91;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.chatbot-quick-options button:hover {

    background: #eef6fb;

    border-color: #075b91;

    transform:
        translateX(2px);
}


/* =====================================================
   ÁREA DE ESCRITURA
===================================================== */

.chatbot-input-area {

    display: flex;

    gap: 8px;

    padding: 12px;

    background: #ffffff;

    border-top:
        1px solid #e4e9ee;
}


.chatbot-input-area input {

    flex: 1;

    min-width: 0;

    height: 44px;

    padding:
        0 14px;

    border:
        1px solid #d7e0e8;

    border-radius: 22px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    color: #1f2937;
}


.chatbot-input-area input:focus {

    border-color:
        #075b91;

    box-shadow:
        0 0 0 3px
        rgba(7,91,145,.10);
}


.chatbot-input-area button {

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border: none;

    border-radius: 50%;

    background: #075b91;

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.chatbot-input-area button:hover {

    background: #003b63;

    transform:
        scale(1.05);
}


/* =====================================================
   INDICADOR DE ESCRITURA
===================================================== */

.chatbot-typing {

    display: flex;

    align-items: center;

    gap: 4px;

    padding: 12px 14px;

    background: #ffffff;

    border-radius:
        4px 15px 15px 15px;

    box-shadow:
        0 3px 10px rgba(0,0,0,.06);
}


.chatbot-typing span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #075b91;

    animation:
        chatbotTyping 1s infinite;
}


.chatbot-typing span:nth-child(2) {
    animation-delay: .15s;
}


.chatbot-typing span:nth-child(3) {
    animation-delay: .30s;
}


@keyframes chatbotTyping {

    0%,
    60%,
    100% {
        opacity: .3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .protector-chatbot {

        right: 14px;

        bottom: 150px;
    }


    .chatbot-float {

        width: 56px;
        min-width: 56px;

        height: 56px;

        padding: 0;

        border-radius: 50%;
    }


    .chatbot-float-text {
        display: none;
    }


    .chatbot-float-icon {
        font-size: 24px;
    }


    .chatbot-panel {

        right: 0;

        bottom: 68px;

        width:
            calc(100vw - 28px);

        max-width: 390px;

        height:
            min(540px, 70vh);
    }

}
/* =====================================================
   AJUSTE DE ALTURA DEL CHATBOT PROTECFOR
   ===================================================== */

.protector-chatbot .chatbot-panel {
    max-height: 380px;
    height: 380px;
    overflow: hidden;
}

/* Área interna de mensajes con desplazamiento */
.protector-chatbot .chatbot-messages {
    max-height: 255px;
    overflow-y: auto;
}

/* Mantener el campo de escritura visible */
.protector-chatbot .chatbot-input-area {
    flex-shrink: 0;
}
/* =====================================================
   POSICIÓN FINAL DE LOS BOTONES FLOTANTES
   ===================================================== */

/* CHAT PROTECFOR */
.protector-chatbot {
    position: fixed !important;
    right: 22px !important;
    bottom: 178px !important;
    z-index: 10010 !important;
}

/* BOTÓN DEL CHAT */
.protector-chatbot .chatbot-float {
    position: relative;
    z-index: 10011 !important;
}

/* PANEL DEL CHAT */
.protector-chatbot .chatbot-panel {
    z-index: 10012 !important;
}

/* ASESOR VIRTUAL */
.advisor-widget {
    z-index: 10020 !important;
}

/* WHATSAPP */
.whatsapp-widget {
    z-index: 10030 !important;
}


/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 600px) {

    .protector-chatbot {
        right: 14px !important;
        bottom: 170px !important;
    }

}
/* AJUSTE FINO DEL CHAT PROTECFOR */

.protector-chatbot .chatbot-panel {
    top: auto !important;
    bottom: 55px !important;
}

/* =====================================================
   MODAL COMENTARIOS PROTECFOR
===================================================== */

.comment-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(5, 18, 32, .72);

    backdrop-filter: blur(8px);

}


.comment-modal.active {

    display: flex;

    animation: modalFadeIn .25s ease;

}


@keyframes modalFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =====================================================
   CAJA
===================================================== */

.comment-modal-box {

    width: 100%;

    max-width: 560px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 30px 90px rgba(
            0,
            0,
            0,
            .30
        );

    animation: modalUp .3s ease;

}


@keyframes modalUp {

    from {

        opacity: 0;

        transform:
            translateY(30px)
            scale(.97);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =====================================================
   CABECERA
===================================================== */

.comment-modal-header {

    position: relative;

    padding: 30px 32px 25px;

    background:
        linear-gradient(
            135deg,
            #071d36,
            #0d3155
        );

    color: #ffffff;

    border-radius:
        24px
        24px
        0
        0;

}


.comment-modal-label {

    display: block;

    color: #d6aa4d;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 8px;

}


.comment-modal-header h3 {

    margin: 0;

    font-size: 25px;

    line-height: 1.2;

}


.comment-modal-header p {

    margin: 10px 40px 0 0;

    color: rgba(
        255,
        255,
        255,
        .70
    );

    font-size: 12px;

    line-height: 1.6;

}


/* =====================================================
   CERRAR
===================================================== */

.comment-modal-close {

    position: absolute;

    top: 20px;

    right: 20px;

    width: 36px;

    height: 36px;

    border: 0;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        .10
    );

    color: #ffffff;

    cursor: pointer;

    font-size: 23px;

    line-height: 1;

    transition:
        background .2s ease,
        transform .2s ease;

}


.comment-modal-close:hover {

    background: rgba(
        255,
        255,
        255,
        .20
    );

    transform: rotate(90deg);

}


/* =====================================================
   FORMULARIO
===================================================== */

.comment-modal-body {

    padding: 30px 32px 32px;

}


.comment-modal-form {

    display: grid;

    gap: 18px;

}


.comment-modal-field {

    display: grid;

    gap: 7px;

}


.comment-modal-field label {

    color: #26384a;

    font-size: 11px;

    font-weight: 800;

}


.comment-modal-field input,
.comment-modal-field select,
.comment-modal-field textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dce3ea;

    border-radius: 11px;

    padding: 13px 14px;

    background: #ffffff;

    color: #1c2c3d;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.comment-modal-field textarea {

    min-height: 120px;

    resize: vertical;

}


.comment-modal-field input:focus,
.comment-modal-field select:focus,
.comment-modal-field textarea:focus {

    border-color: #c59a40;

    box-shadow:
        0 0 0 3px rgba(
            197,
            154,
            64,
            .10
        );

}


/* =====================================================
   ESTRELLAS
===================================================== */

.comment-rating {

    display: grid;

    gap: 8px;

}


.comment-rating-label {

    color: #26384a;

    font-size: 11px;

    font-weight: 800;

}


.rating-stars {

    display: flex;

    gap: 7px;

}


.rating-stars button {

    width: 38px;

    height: 38px;

    border: 1px solid #e0e5ea;

    border-radius: 9px;

    background: #f7f9fb;

    color: #c7cdd4;

    cursor: pointer;

    font-size: 20px;

    transition:
        .2s ease;

}


.rating-stars button:hover,
.rating-stars button.active {

    background: #fff8e7;

    border-color: #d6aa4d;

    color: #d6aa4d;

    transform: translateY(-2px);

}


/* =====================================================
   AVISO
===================================================== */

.comment-modal-notice {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 12px 14px;

    border-radius: 10px;

    background: #f5f7f9;

}


.comment-modal-notice span {

    font-size: 15px;

}


.comment-modal-notice p {

    margin: 0;

    color: #6d7986;

    font-size: 10px;

    line-height: 1.6;

}


/* =====================================================
   BOTÓN
===================================================== */

.comment-modal-submit {

    width: 100%;

    border: 0;

    border-radius: 11px;

    padding: 15px;

    background: #0b1f36;

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.comment-modal-submit:hover {

    transform: translateY(-2px);

    background: #123a61;

    box-shadow:
        0 12px 25px rgba(
            7,
            29,
            54,
            .18
        );

}


.comment-modal-submit span {

    color: #d6aa4d;

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .comment-modal {

        padding: 12px;

    }


    .comment-modal-box {

        max-height: 94vh;

        border-radius: 18px;

    }


    .comment-modal-header {

        padding: 25px 22px;

        border-radius:
            18px
            18px
            0
            0;

    }


    .comment-modal-header h3 {

        font-size: 21px;

    }


    .comment-modal-body {

        padding: 23px 20px 25px;

    }


    .rating-stars button {

        width: 35px;

        height: 35px;

    }

}

/* =====================================================
   TARJETAS DE COMENTARIOS PROTECFOR
===================================================== */

.community-comment-card {
    background: #ffffff;
    border: 1px solid rgba(0, 48, 80, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(0, 30, 60, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.community-comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 30, 60, 0.10);
}


/* =====================================================
   ENCABEZADO DEL COMENTARIO
===================================================== */

.community-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}


/* =====================================================
   IDENTIDAD
===================================================== */

.community-comment-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}


/* =====================================================
   AVATAR
===================================================== */

.community-comment-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #00324f;
    color: #ffffff;

    font-size: 19px;
    font-weight: 800;

    text-transform: uppercase;
}


/* =====================================================
   DATOS DEL USUARIO
===================================================== */

.community-comment-identity > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.community-comment-identity strong {
    color: #00324f;
    font-size: 16px;
    line-height: 1.2;
}

.community-comment-identity span {
    color: #718096;
    font-size: 13px;
    line-height: 1.3;
}


/* =====================================================
   ESTRELLAS
===================================================== */

.community-comment-rating {
    color: #f4a300;
    font-size: 17px;
    letter-spacing: 2px;
    white-space: nowrap;
}


/* =====================================================
   TEXTO
===================================================== */

.community-comment-text {
    margin: 0 0 16px;

    color: #334e68;

    font-size: 15px;
    line-height: 1.7;

    font-style: normal;
}


/* =====================================================
   FECHA
===================================================== */

.community-comment-date {
    display: block;

    color: #9aa6b2;

    font-size: 12px;
}


/* =====================================================
   LISTA DE COMENTARIOS
===================================================== */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 700px) {

    .community-comment-card {
        padding: 18px;
        border-radius: 16px;
    }

    .community-comment-header {
        align-items: flex-start;
    }

    .community-comment-rating {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .community-comment-avatar {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .community-comment-identity strong {
        font-size: 15px;
    }

    .community-comment-identity span {
        font-size: 12px;
    }

    .community-comment-text {
        font-size: 14px;
        line-height: 1.6;
    }

}
@media (max-width: 600px) {

    .advisor-panel {
        right: 12px;
        left: 12px;
        bottom: 90px;

        width: auto;
        max-height: calc(100vh - 115px);

        border-radius: 20px;
    }

}

/* =====================================================
   UBICACIÓN PROTECFOR
===================================================== */

.location-section {
    position: relative;
    padding: 100px 20px;
    background:
        linear-gradient(
            135deg,
            #f4f8fb 0%,
            #ffffff 50%,
            #eef6fa 100%
        );
    overflow: hidden;
}

.location-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 119, 182, 0.06);
    top: -180px;
    left: -180px;
    pointer-events: none;
}

.location-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.05);
    bottom: -170px;
    right: -120px;
    pointer-events: none;
}

.location-container {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto;
}

/* ENCABEZADO */

.location-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.location-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #0077b6;
}

.location-heading h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    color: #07304a;
}

.location-heading h2 span {
    color: #0077b6;
}

.location-heading p {
    margin: 18px auto 0;
    max-width: 600px;
    color: #607d8b;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   UBICACIÓN - ESTRUCTURA ORIGINAL
   ========================================================= */

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

/* TARJETA DEL MAPA */

.location-map-card {
    width: 100%;
    height: 500px;
    min-height: 500px;
    padding: 10px;

    background: #ffffff;

    border-radius: 28px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.10);

    border: 1px solid rgba(7, 48, 74, 0.08);

    overflow: hidden;
}

/* CONTENEDOR DEL MAPA */

.location-map {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 480px;

    overflow: hidden;

    border-radius: 21px;

    background: #eaf1f5;
}

/* LEAFLET */

#protectorMap {
    width: 100%;
    height: 480px;
    min-height: 480px;

    border-radius: 21px;

    overflow: hidden;
}

/* EVITAR QUE LEAFLET CAMBIE EL TAMAÑO DEL CONTENEDOR */

#protectorMap .leaflet-container {
    width: 100%;
    height: 100%;
    min-height: 480px;

    border-radius: 21px;

    font-family: inherit;
}

/* ATRIBUCIÓN */

#protectorMap .leaflet-control-attribution {
    font-size: 10px;
}

/* =========================================================
   TARJETA DE INFORMACIÓN
   ========================================================= */

.location-info-card {
    width: 100%;
    min-height: 500px;

    padding: 42px 38px;

    background:
        linear-gradient(
            145deg,
            #07304a 0%,
            #06415e 55%,
            #075477 100%
        );

    color: #ffffff;

    border-radius: 28px;

    box-shadow:
        0 20px 55px rgba(7, 48, 74, 0.18);

    position: relative;

    overflow: hidden;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-map-card {
        height: 480px;
        min-height: 480px;
    }

    .location-info-card {
        min-height: auto;
    }

}

@media (max-width: 600px) {

    .location-map-card {
        height: 400px;
        min-height: 400px;

        padding: 7px;

        border-radius: 22px;
    }

    .location-map {
        min-height: 380px;
        border-radius: 17px;
    }

    #protectorMap {
        height: 380px;
        min-height: 380px;

        border-radius: 17px;
    }

    #protectorMap .leaflet-container {
        min-height: 380px;
        border-radius: 17px;
    }

    .location-info-card {
        padding: 32px 24px;
        border-radius: 22px;
    }

}

/* TARJETA DE INFORMACIÓN */

.location-info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 38px;
    background: #07304a;
    color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 48, 80, 0.20);
}

.location-info-card::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    top: -90px;
    right: -80px;
}

.location-info-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    bottom: -80px;
    left: -70px;
}

.location-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 28px;
}

.location-label {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #8ed8f8;
}

.location-info-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.location-subtitle {
    position: relative;
    z-index: 2;
    margin: 8px 0 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

/* DIRECCIÓN */

.location-address {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.location-address-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.18);
    font-size: 19px;
}

.location-address strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.location-address p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

/* BOTÓN */

.location-directions-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
    padding: 15px 20px;
    border-radius: 13px;
    background: #ffffff;
    color: #07304a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.location-directions-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.18);
    background: #f0faff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .location-section {
        padding: 75px 18px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-map-card {
        min-height: 430px;
    }

    .location-map,
    .location-map iframe {
        min-height: 410px;
    }

    .location-info-card {
        min-height: auto;
    }

}

@media (max-width: 600px) {

    .location-section {
        padding: 65px 14px;
    }

    .location-heading {
        margin-bottom: 35px;
    }

    .location-heading h2 {
        font-size: 32px;
    }

    .location-heading p {
        font-size: 14px;
    }

    .location-map-card {
        padding: 7px;
        border-radius: 20px;
    }

    .location-map,
    .location-map iframe {
        min-height: 330px;
        border-radius: 15px;
    }

    .location-info-card {
        padding: 32px 25px;
        border-radius: 22px;
    }

    .location-info-card h3 {
        font-size: 30px;
    }

}
/* =====================================================
   IDENTIFICADOR PROTECFOR SOBRE EL MAPA
===================================================== */

.location-map {
    position: relative;
}

.location-map-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 15px;

    background: rgba(7, 48, 74, 0.96);
    color: #ffffff;

    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

    pointer-events: none;
}

.location-map-badge > span {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #ffffff;

    font-size: 17px;
}

.location-map-badge strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.location-map-badge small {
    display: block;
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;
}

@media (max-width: 600px) {

    .location-map-badge {
        top: 12px;
        right: 12px;
        padding: 9px 12px;
    }

    .location-map-badge > span {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .location-map-badge strong {
        font-size: 12px;
    }

    .location-map-badge small {
        font-size: 10px;
    }
}
/* =====================================================
   MARCADOR FIJO PROTECFOR EN EL MAPA
===================================================== */

.location-map {
    position: relative;
}

.location-map-marker {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -100%);
    z-index: 30;

    display: flex;
    flex-direction: column;
    align-items: center;

    pointer-events: none;
}

/* PIN ROJO */
.location-marker-pin {
    position: relative;

    width: 38px;
    height: 38px;

    background: #e53935;

    border: 4px solid #ffffff;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.35);
}

/* PUNTO BLANCO DEL PIN */
.location-marker-pin::after {
    content: "";

    position: absolute;

    width: 11px;
    height: 11px;

    top: 9px;
    left: 9px;

    background: #ffffff;

    border-radius: 50%;
}

/* NOMBRE DEL LUGAR */
.location-marker-label {
    margin-top: 2px;

    padding: 8px 13px;

    background: #ffffff;

    color: #07304a;

    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25);

    text-align: center;

    white-space: nowrap;
}

.location-marker-label strong {
    display: block;

    font-size: 14px;
    font-weight: 800;
}

.location-marker-label span {
    display: block;

    margin-top: 2px;

    font-size: 10px;

    color: #607d8b;
}

/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .location-map-marker {
        top: 52%;
    }

    .location-marker-pin {
        width: 32px;
        height: 32px;

        border-width: 3px;
    }

    .location-marker-pin::after {
        width: 9px;
        height: 9px;

        top: 8px;
        left: 8px;
    }

    .location-marker-label {
        padding: 6px 10px;
    }

    .location-marker-label strong {
        font-size: 11px;
    }

    .location-marker-label span {
        font-size: 9px;
    }
}
/* =========================================================
   MAPA PROTECFOR - LEAFLET
   ========================================================= */

.location-map {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    border-radius: 21px;
    background: #eaf1f5;
}

#protectorMap {
    width: 100%;
    height: 480px;
    min-height: 480px;
    border-radius: 21px;
    overflow: hidden;
}

#protectorMap .leaflet-control-attribution {
    font-size: 10px;
}

/* Marcador PROTECFOR */

.protector-map-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.protector-marker-pin {
    position: relative;
    width: 42px;
    height: 42px;

    background: #e53935;

    border: 4px solid #ffffff;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .35);
}

.protector-marker-pin::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: #ffffff;

    border-radius: 50%;
}

.protector-marker-label {
    margin-top: 8px;

    padding: 7px 12px;

    background: #07304a;

    color: #ffffff;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, .22);
}

/* Popup */

.protector-popup {
    text-align: center;
    min-width: 190px;
}

.protector-popup strong {
    display: block;

    font-size: 16px;

    color: #07304a;

    margin-bottom: 5px;
}

.protector-popup span {
    display: block;

    font-size: 13px;

    color: #555;

    line-height: 1.4;
}

.protector-popup small {
    display: block;

    margin-top: 8px;

    color: #0077b6;

    font-weight: 600;
}

/* Móvil */

@media (max-width: 600px) {

    .location-map {
        min-height: 400px;
        border-radius: 18px;
    }

    #protectorMap {
        height: 400px;
        min-height: 400px;
        border-radius: 18px;
    }

    .protector-marker-label {
        font-size: 11px;
        padding: 6px 9px;
    }

}
