:root{
    --primario:   #000000;
    --secundario: #b95a19;
    --Cboton:     #000000;
    --CbordeI:    white;
    --formulario: #e2e2e2;
    --fuenteH: 'Poppins',sans-serif;
    --fuenteP: 'Montserrat',sans-serif;
}

html{
    scroll-behavior: smooth; 
    box-sizing: border-box;
    font-size: 62.5%; /**   1rem = 10px    **/
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    max-height: 100%;
}
body{
    background-color: white;
}

*, *:before, *:after{
    box-sizing: inherit; 
}


.contenedorh {
    display: grid;
    grid-template-rows: 1fr 1fr; 
    width: 100%;
}

h1,h2,h3,h4{
    font-family: var(--fuenteH);
    line-height: 1.2;
}
h1{
    font-size: 4.8rem;
}
h2{
    font-size: 4rem;
}
h3{
    font-size: 3.2rem;
}
h4{
    font-size: 2.8rem;
}
img{
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none; 
}
.no-margin{
    margin: 0;
}

.no-padding{
    padding: 0;
}

.centrar-texto{
    text-align: center;
}

.contenedor{
    max-width:120rem;
    width: 90%;
    margin: 0 auto;
}
header {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.top-bar {
    font-family: var(--fuenteP);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
    height: 45px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo{
    height: 60px;
    z-index: 2; 
    margin-top: 4.3%;
    margin-left: 11rem;
    transition: all 0.3s ease;
    width: auto;
}



.contact-bar {
    position: absolute;
    right: 8.5rem;
    top: 0;
    height: 100%;
    width: 60%; 
    background-color: #000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50px 100%);
    padding-right: 60px; 
}

.contact-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    z-index: 2;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 5.4rem; 
    margin-left: 9rem;
}

.contact-details span {
    font-size: 14px;
    color: white;
    white-space: nowrap;
}

.separator {
    position: relative;
    height: 30px;
    width: 2px;
    margin: 0 15px;
    background-color: black;
}

.social-media-section {
    display: flex;
    align-items: center;
    margin-left: 1rem; 
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 2rem; 
    position: relative;
}



.social-icons a {
    color: white;
    font-size: 1.7rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secundario);
}

.nav-menu li:last-child a i.fab.fa-whatsapp {
    font-size: 1.5em; 
    vertical-align: middle; 
    margin-top: -0.3rem;
    margin-left: 3.0rem;
}

.nav-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    color: #000;
}



nav {
    font-family: var(--fuenteP);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: white;
    position: relative;
    max-width: 1200px;
    margin-left: 32.45rem;
    margin-top: 1.5rem; 
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li:not(:last-child):not(:nth-last-child(2))::after {
content: "|";
font-size: 3rem;
position: absolute;
top: -1.5rem;
right: -12px;
color: var(--secundario)
}


.nav-menu a {
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 10px;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--secundario);
}

.activo{
    color: var(--secundario);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
    z-index: 3;
    margin-right: 20px;
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-nav-menu {
    list-style: none;
    flex-grow: 1;
    max-width: 30%;
}

.mobile-nav-menu li {
    margin-bottom: 20px;
}

.mobile-nav-menu a {
    font-family: var(--fuenteP);
    color: #333;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 0;
    text-transform: uppercase;
}

.mobile-contact-info {
    font-family: var(--fuenteP);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.mobile-contact-info p {
    margin-bottom: 10px;
    color: #333;
    
}

.mobile-social-icons {
    gap: 15px;
}

.mobile-social-icons a {
    color: #333;
    font-size: 2rem;
}

.overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 100;
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none; 
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


.viewport-lock {
    max-width: 1920px; 
    margin: 0 auto; 
    width: 100%;
}

.fa-instagram{
    margin-left: 1.5rem;
}
.CC-phone-text{
    font-family: var(--fuenteP);
    font-size: 1.4rem;
}
.CC-email-text{
    font-size: 1.55rem;
}
.fa-phone{
    padding-right: 1rem;
}
.fa-envelope{
    padding-right: 0.6rem;
}
.CC-email-text i.fas.fa-envelope {
    position: relative;
    top: 0.7px; 
    margin-right: 5px; 
}

.tituloform {
    display: flex;
    color: white;
    background-color: #403c3c;
    padding: 2rem;
    width: min(80rem, 100%);
    margin: 0 0rem;
    box-sizing: border-box;
}

.formulario {
    background-color: var(--formulario);
    width: min(80rem, 100%);
    font-family: var(--fuenteP);
    font-size: 1.5rem;
    box-sizing: border-box;
    padding: 1rerem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}


.formulario fieldset {
    border: none;
}

.formulario legend {
    text-align: center;
    font-size: rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}

.campos {
    margin-bottom: 1.5rem;
}

.campos textarea {
    height: 15rem;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border: .5rem;
}

.enviar{
    
}
.error-message {
    color: #ff6b6b;
    font-size: 1.2rem;
    display: none;
    margin-top: 0.5rem;
    font-family: var(--fuenteP);
}

#form-messages {
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
    font-size: 1.4rem;
    text-align: center;
}

.success {
    background-color: #ebfbee;
    color: #2b8a3e;
    border: 1px solid #40c057;
}

.error {
    background-color: #fff5f5;
    color: #c92a2a;
    border: 1px solid #ff6b6b;
}

.botonForm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #ccc;
}

.botonForm{
    color: white;
}

#form-messages.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content {
    flex: 1; 
    padding-bottom: 2rem; 
}
.slogan-gracias{
    color: black;
    font-weight: bold;
    font-size: 9rem;
    background-color: rgba(255, 255, 255, 0.789);
    border-radius: 20px;
    padding-left: 5rem;
    padding-right: 5rem;
}
.verdeT{
    color: green;
}
.contenedorGraciasT{
    display: flex;
    flex-direction: column;
    width: 70%;
    align-items: center;
    justify-content: center;
}
.logo-gracias{
    margin-top: 2rem;
    padding-top: 0rem;
    top: 0%;
}
@media screen and (max-width: 768px) and (orientation: landscape) {
    .slogan-gracias {
        font-size: 2.5rem;
        padding: 0.5rem;
    }
}

@media screen and (max-width: 992px) and (orientation: landscape) {
    .slogan-gracias {
        font-size: 3.5rem;
        padding: 0.8rem;
    }
}

@media (max-width: 768px) {
    .contact-bar {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .whatsapp-icon {
        display: none;
    }

    nav {
        display: none;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu-header .logo {
        z-index: 104; 
    }

    .logo {
    height: 50px;
    margin-left: auto; 
    margin-right: auto;
    padding-left: 2rem;
    display: block;     
    margin-top: 1rem;
    margin-bottom: 1rem;
    right: -19px;
    }
    .mobile-contact-info{
        margin-bottom: 10rem;
    }
    .mobile-social-icons {
        margin-top: 8rem;
    }
    .fa-instagram{
        margin-left: 1.5rem;
    }
    .mobile-phone-text{
        font-size: 1.4rem;
    }
    .mobile-email-text{
        font-size: 1.47rem;
        
    }
    .fa-phone{
        padding-right: 1rem;
    }
    .fa-envelope{
        padding-right: 0.6rem;
    }
    .mobile-email-text i.fas.fa-envelope {
        position: relative;
        top: 2px; 
        margin-right: 5px; 
    }
}


.mobile-menu.active + .overlay {
    display: block;
    transition: all 0.3s ease;
}


.logo {
    position: relative;
    z-index: 02;
}


@media (min-width: 1440px) {
    .viewport-lock {
        max-width: 1440px; 
    }

} 


@media (max-width: 1200px) {
    .top-bar {
        max-width: 95%;
    }
    
    nav {
        margin-left: 15rem;
    }
}


@media (max-width: 992px) {
    .slogan-gracias {
        font-size: 5rem;
        padding: 1rem;
    }
    .top-bar{
        padding: 3.5rem;
    }
    .contact-bar {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .whatsapp-icon {
        display: none;
    }

    nav {
        display: none;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 0%;
    }

    .logo {
    height: 50px;
    width: auto;
    margin-left: auto;  
    margin-right: auto;
    display: block;     
    margin-top: 0.3rem;
    }
    
}

@media (max-width: 768px){
    @media (max-width: 768px) {
        .slogan-gracias {
            font-size: 3.5rem;
            padding: 0.8rem;
        }
    }    
    .logo{
        padding-right: 6rem;
    }
}


/*Resposibidad horizontal*/

@media screen and (max-width: 1200px) and (orientation: landscape) {
    .slogan-gracias {
        font-size: 4.5rem;
        padding: 1rem;
    }
    .close-menu-btn {
        position: absolute;
        right: 15px; 
        top: 50%;
        transform: translateY(-50%);
    }
    .hero--logo{
        height: auto;
    }
    .contact-bar {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .whatsapp-icon {
        display: none;
    }

    nav {
        display: none;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 0%;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: center; 
        align-items: center; 
        width: 100%;
        padding: 10px 0; 
        position: relative; 
    }
    .mobile-menu-header.logo {
        margin: 0 auto; 
        height: 50px; 
        width: auto;
        display: block;
        z-index: 104;
    }

    .logo {
        height: 70px;
        width: auto;
        margin: 0 auto;
        display: block;
        position: relative;
    }

    .top-bar{
        padding: 3.85rem;
    }
    .mobile-contact-info {
        position: absolute;
        display: flex;
        flex-direction: column-reverse;
        right: 3%;
        bottom: 19%;
        align-items: flex-end;
    }
    .mobile-social-icons {
        margin-top: 8rem;
    }
    .fa-instagram{
        margin-left: 1.5rem;
    }
    .mobile-phone-text{
        font-size: 1.4rem;
    }
    .mobile-email-text{
        font-size: 1.47rem;
        
    }
    .fa-phone{
        padding-right: 1rem;
    }
    .fa-envelope{
        padding-right: 0.6rem;
    }
    .mobile-email-text i.fas.fa-envelope {
        position: relative;
        top: 2px; 
        margin-right: 5px; 
    }
    .hero--logo{
    
        width: auto;
    }
    .mobile-menu {
        width: 80.4%;
        max-width: 620px;
        transition: all 0.3s ease;
    }
    .formulario {
        width: 90%;
        margin: 0 auto;
    }
    .tituloform {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .BloqueFinal {
        grid-template-columns: 1fr;
    }
    
    .contenedorpqTrex {
        flex-direction: row; 
        
    }

    .mobile-menu.active {
        transition: all 0.3s ease;
    }


    @media (max-height: 500px) {
        .mobile-menu {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: flex-start;
            padding: 20px;
        }
        
        .mobile-nav-menu {
            max-width: none;
            width: 50%;
            padding-right: 20px;
        }
        
        .mobile-contact-info {
            position: static;
            width: 50%;
            border-top: none;
            border-left: 1px solid #eee;
            padding-left: 20px;
            margin-top: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        
        .mobile-social-icons {
            margin-top: 95px;
        }
        
        .mobile-menu-header {
            width: 100%;
            order: -1;
            padding: 0;
            margin-bottom: 20px;
        }
        
        .mobile-menu-header .logo {
            margin: 0 auto;
            height: 50px;
        }
    }


}


.hero {
    position: relative;
    overflow: hidden; 
    height: 700px;
    margin-top: 1.3rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/Foto-Trexsa-ia-v2.jpg); 
    background-size: cover;
    background-position: center;
    filter: brightness(0.5); 
    z-index: -1; 
}

.contenido--hero{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 8%;
    z-index: 1; 
    margin-top: 0rem;
}
@media (min-width: 2160px){
    .contenido--hero{
        margin-left: 12%;
    }
}

.hero--logo {
    height: 188px;
    width: 500px;
    margin-top: 15rem;
    position: relative;
    z-index: 1;
    margin-left: -6.8rem;
}

.slogan{
    font-family: var(--fuenteH);
    font-size: 2rem;
    color: white;
    margin-top: 2.5rem;
    z-index: 1; 
    letter-spacing: 0.5rem;
}

.boton {
    display: inline-block;
    font-family: var(--fuenteP);
    color: var(--primario);
    padding: 1rem 3rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    z-index: 1;
    margin-right: 0.7rem;
    cursor: pointer;
    background-color: var(--Cboton);
    transition: all 0.3s ease;
}

.boton:hover {
    color: var(--secundario); 
    background-color: #555;
}


.boton-primario{
    background-color: white;
}

.enviar .boton {
    color: white;
    transition: all 0.3s ease;
}


.enviar .boton:hover {
    color: var(--secundario);
    background-color: rgb(165, 163, 163); 
}



.POV{

}
.contenedorPOV{
    display:  flex;
    flex-direction: row;
    justify-content:center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto; 
    margin-top: -14rem;
}

.itemPov{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 33%;
    box-sizing: border-box;
}

.imagenitem{
    width: 280px;
    height: 280px;
    max-width: 500px;
    border-radius: 90%;
    border: 5px solid var(--CbordeI);
    object-fit: cover;
    margin: 0;
    padding: 0; 
}

.textoitem{
    font-family:var(--fuenteP);
    margin-top: 1rem;
    color: var(--primario);
    font-size: 1.7rem;
    text-align: center;
    color: #555;
}



.contenedorQS {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px; 
    width: 100%; 
    margin: 0 auto; 
    padding: 0 20px; 
    margin-top: 15rem;
    margin-bottom: 10rem;
}

.contenedorTexto {
    width: 50%; 
    padding-right: 20px; 
}

.imgQS {
    width: 50%; 
    object-fit: cover; 
    border-top-left-radius:  5rem; 
    border-top-right-radius: 5rem; 
    border-bottom-left-radius:  5rem; 
    border-bottom-right-radius: 5rem;
}

.hQS {
    margin: 0; 
}

.somosc {
    color: var(--secundario);
}

.textoQS {
    font-family: var(--fuenteP);
    font-size: 2rem;
    line-height: 1.5; 
    color: #555;
}



.presenciaNVN{
    margin-bottom: 8rem;
}
.contenedorNVN{
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    background-size: cover;
    max-height: 420px;
    max-width: 1920px;
    margin: 0 auto;

}
.NVN--P1{
    width: 50%;
    background-image: url(/img/black-map.png);
}

.NVNTrailer{
    height: 580px;
    width: auto;
    margin-left: calc(37% - 300px);
    margin-top: -15rem;
    
}

.NVN--P2 {
    width: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    background-position: center;
    position: relative; 
}

.NVN--P2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/Fondo---Presencia-a-nivel-nacional.jpg);
    background-size: cover;
    background-position: center;
    filter: brightness(0.5); 
    z-index: -1; 
}

.NVNMapa {
    z-index: 2;
    height: 80%;
    width: auto;
}

.NVNTitulo{
    font-family: var(--fuenteH);
    font-size: 4rem;
    color: white;
}

.NVNParrafo{
    color: white;
    font-family: var(--fuenteP);
    font-size: 2rem;
    margin: 0 8rem;
}

@media (max-width: 992px) {
    
    .card {
        flex: 0 0 50%;
    }
    .contenedorNVN{
        margin-bottom: 0rem;
    }
 
    .control-btn{
        width: 10px;
        height: 13px;
    }
    .NVNTrailer{
        height: 100%;
    }
}

@media (max-width: 576px) {
    .slider-container {
        max-width: 400px;
    }
    .contenedorNVN{
        margin-bottom: 0rem;
    }
}


.CB{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    z-index: -1;
}
.CB * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

@media screen and (min-height: 2160px) {
    .CB {
        min-height: 10vh; 
    }
}

.card-wrapper{
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.card-list .card-item{
    list-style: none;
    height: 100%;
    display: flex;
}

.card-title, .badge {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-list .card-item .card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    user-select: none;
    background-color: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.card-list .card-item .card-link:hover{
    border-color: gray;
}
 
.card-list .card-link  {
    height: 100%;
    min-height: 320px; 
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.card-image {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 8px;
}

.card-list .card-link .badge {
    color: #fff;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 1.8rem;
    margin: 16px 0 18px;
    background: gray;
    width: fit-content;
    border-radius: 50px;
}


.card-list .card-link .card-title{
    font-size: 1.5rem;
    color: #000;
}
.card-title{
    font-weight: 600;
    font-size: 3rem;
    font-family: var(--fuenteP);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.badge, .card-link{
    font-family: var(--fuenteH);
}

.card-list .card-link .card-button{
    height: 35px;
    width: 35px;
    color: grey;
    border-radius: 50%;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    border: 2px solid grey;
    transform: rotate(-45deg);
    transition: 0.4s ease;
}

.card-list .card-link:hover .card-button{
    color: #fff;
    background: gray;
}

.card-title, .badge {
    max-width: 100%; 
    word-wrap: break-word; 
}

.badge{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Para las flechas de navegación */
.swiper-button-next, 
.swiper-button-prev {
  color: #000 !important;
}

/* Para los bullets de paginación */
.swiper-pagination-bullet-active {
  background: #000 !important;
}

@media (max-width: 768px) {

    .card-list .card-link .badge{
        font-size: 1.5rem;
    }
    .card-list .card-link .card-title{
        font-size: 1.2rem;
    }
    .CB{
        margin-top: -10rem;
    }
}

.BloqueFinal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    max-width: 1920px;
    margin: 0 auto;
}

.PQTexTitulo {
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 2rem;
}

.contenedorpqTrex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    margin: 0;
    font-family: var(--fuenteP);
    font-size: 2rem;
    gap: 1rem;
    width: 40;
}

.pqTrexIMG {
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.contenedorPQTex {
    color: gray;
    width: 37%;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-sizing: border-box;
    padding: 1rem;
}

.main-content {
    position: relative;
    z-index: 1;
}




@media (max-width: 1024px) {
    .hero {
        height: 600px;
    }
    
    .contenido--hero {

    }
    
    .hero--logo {
        width: 400px;
        height: auto;
        margin-left: -4rem;
    }
    
    .contenedorPOV {
        flex-wrap: wrap;
        margin-top: -8rem;
    }
    
    .itemPov {
        width: 45%;
        margin-bottom: 3rem;
    }
    
    .contenedorQS {
        flex-direction: column;
        margin-top: 8rem;
    }
    
    .contenedorTexto, .imgQS {
        width: 100%;
        padding: 0;
    }
    
    .imgQS {
        margin-top: 3rem;
    }
    
    .contenedorNVN {
        flex-direction: column;
        max-height: none;
    }
    
    .NVN--P1, .NVN--P2 {
        width: 100%;
    }
    
    .NVNTrailer {
        margin-left: auto;
        margin-top: 0;
        width: 100%;
    }
    .NVNMapa{
        width: 100%;
    }
    
    .NVNParrafo {
        margin: 0 3rem 2rem;
    }
    
    .slider-container {
        width: 90%;
        height: auto;
    }
    
    .BloqueFinal {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contenedorpqTrex {
        justify-content: center;
        max-width: 100%;
        padding: 0 2rem;
    }
    .enviar{
        align-items: center;
    }
}


@media (max-width: 768px) {
    .hero {
        height: 500px;
        margin-top: 0;
    }
    
    .contenido--hero {
        margin-left: 0.7%;
        margin-top: 4.2rem;
        align-items: center;
        text-align: center;
    }
    
    .hero--logo {
        width: 300px;
        height: auto;
        margin: 10rem 0 0 0;
    }
    
    .slogan {
        font-size: 1.6rem;
        letter-spacing: 0.3rem;
        margin-top: 1.5rem;
    }
    
    .contenedor-botones {
        flex-direction: column;
        align-items: center;
    }
    
    .boton {
        text-align: center;
        
    }
    
    .contenedorPOV {
        margin-top: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .itemPov {
        width: 80%;
    }
    
    .imagenitem {
        width: 200px;
        height: 200px;
    }
    
    .hQS {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .textoQS {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .NVNTitulo {
        font-size: 3rem;
    }
    
    .NVNParrafo {
        font-size: 1.6rem;
        margin: 0 1.5rem 2rem;
    }
    
    .slider-container {
        width: 95%;
        margin: 8rem auto;
    }
    
    .slide {
        min-width: 100%;
    }
    
    .contenedorpqTrex {
        flex-direction: column;
    }
    
    .pqTrexIMG, .contenedorPQTex {
        width: 90%;
    }
    
    .PQTParrafo {
        text-align: center;
    }
    
    .tituloform {
        font-size: 1.6rem;
        padding: 1.5rem;
        justify-content: center;
    }
    
    .formulario {
        padding: 1.5rem;
    }

}

@media (max-width: 480px) {
    .slogan-gracias {
        font-size: 2.5rem;
        padding: 0.5rem;
    }
    .hero {
        height: 400px;
    }
    
    .hero--logo {
        width: 250px;
        height: auto;
        margin-top: 8rem;
    
    }
    
    .slogan {
        font-size: 1.4rem;
        letter-spacing: 0.2rem;
    }
    
    .itemPov {
        width: 90%;
    }
    
    .imagenitem {
        width: 180px;
        height: 180px;
    }
    
    .textoitem {
        font-size: 1.5rem;
    }
    
    .hQS {
        font-size: 2.4rem;
    }
    
    .NVNTitulo {
        font-size: 2.4rem;
    }
    
    .NVNParrafo {
        font-size: 1.4rem;
    }
    
    .PQTexTitulo {
        font-size: 2.4rem;
    }
    
    .input-text {
        padding: 1.2rem;
    }
    
    .botonForm {
        padding: 1.2rem 2rem;
    }
    .contenido--hero{
        margin-left: 0.85%;
    }
}






.NosotrosContenedor {
    max-width: 100%;
    overflow-x: hidden;
}


.hero-nosotros {
    position: relative;
    overflow: hidden;
    height: 700px; 
    margin-top: 1.3rem;
}

.hero-nosotros-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/Header-nosotros2.jpg);
    background-size: cover;
    background-position: center;
    filter: brightness(0.5); 
    z-index: -1;
}

.contenidoNosotros {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 1;
}

.logoNosotros {
    height: 188px;
    width: auto;
    max-width: 500px;
}


.contenedorNosotrosTexto {
    font-family: var(--fuenteP);
    padding: 3rem 10%;
    text-align: center;
    background: white;
}

.NSTT {
    font-family: var(--fuenteH);
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 700;
}

.NSTP {
    font-family: var(--fuenteP);
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
   margin-left: 4rem;
   margin-right: 4rem;
}
.NSTP1{
    font-size: 2rem;
}


.Aboutus {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0rem;
    padding: 0;
}

.NosotrosItem1, .NosotrosItem2{
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    padding: 4rem;
    padding-bottom: 7.5rem;
}

.NosotrosItem1 .NSTT,
.NosotrosItem2 .NSTT {
    width: 100%;
    text-align: center;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
    position: relative;
}


.NosotrosItem1::before, 
.NosotrosItem2::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
    z-index: -1;
}

.NosotrosItem1::before {
    background-image: url(/img/Mision.jpg);
}

.NosotrosItem2::before {
    background-image: url(/img/Valores.jpg);
}



.fuenteBlnaca{
    color:white;
}


.valores {
    background-color: #f8f9fa; 
    padding: 4rem 2rem;
    text-align: center;
}

.tituloValor {
    font-family: var(--fuenteH);
    color: #333;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
}




.contenedorListas {
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contenedorListas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.contenedorListas li {
    font-family: var(--fuenteP);
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    padding: 0.8rem 1.2rem;
}

/* Icono check */
.icono-check {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .contenedorListas {
        flex-direction: column;
        align-items: center;
        gap:0rem
    }

    .contenedorListas li {
        font-size: 1.5rem;
        margin-bottom: auto;
    }
    
    .contenedorListas ul {
        width: 100%;
        max-width: 350px;
    }
    .tituloValor {
        font-size: 2rem;
    }
}

@media screen and (max-width: 1200px) and (orientation: landscape) {
    .logoNosotros{
        margin-top: -15%;
    }
}

@media (max-width: 992px) {
    .tituloValor {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .tituloValor {
        font-size: 2rem;
    }
    
}

@media (max-width: 576px) {
    .valores {
        padding: 3rem 1rem;
    }
    .tituloValor {
        font-size: 2.3rem;
        left: 1.2%;
    }
}





@media (max-width: 1200px) {
    .contenidoNosotros {
        padding-top: 12%;
    }
    .logoNosotros{
        height: auto;
    }
    
}

@media (max-width: 992px) {
    .contenedorNosotrosTexto {
        padding: 2rem 8%;
    }
    .NSTT {
        font-size: 1.8rem;
    }
    .NosotrosItem1, .NosotrosItem2 {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .contenedorNosotros {
        height: 50vh;
        min-height: 350px;
    }
    .contenidoNosotros {
        padding-top: 15%;
    }
    .logoNosotros,
    .hero--logo {
        height: 9rem;
        width: auto;
        margin-right: 1.8rem;

    }
    .boton-primario{
        height: auto;
        width: 20rem;
    }
    .slogan{
        font-size: 1rem;
    }
    .Aboutus {
        flex-direction: column;
    }
    .NosotrosItem1, .NosotrosItem2 {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .contenedorNosotros {
        height: 40vh;
        min-height: 300px;
    }
    .contenidoNosotros {
        padding-top: 20%;
    }
    .logoNosotros,
    .hero--logo{
        width: auto;
        height: 7rem;
    }
    .NSTT {
        font-size: 1.5rem;
    }
    .NSTP {
        font-size: 1rem;
    }
    .NosotrosItem1, .NosotrosItem2{
        padding: 1.5rem;
        min-height: 250px;
    }
    .boton-primario{
        font-size: 1.5rem;
    }
}




.hero-servicios {
    position: relative;
    overflow: hidden;
    height: 700px;
    margin-top: 1.3rem;
}

.hero-servicios-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Header-nosotros1.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: -1;
}

.contenido-hero-servicios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 1;
}

.logo-hero-servicios {
    height: 188px;
    width: auto;
    max-width: 500px;
}


@media (max-width: 1024px) {
    .hero-servicios,
    .hero-nosotros{
        height: 600px;
    }
    
    .logo-hero-servicios,
    .logoNosotros{
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-servicios,
    .hero-nosotros{
        height: 500px;
        margin-top: 0;
    }
    
    .contenido-hero-servicios,
    .contenidoNosotros{
        text-align: center;
    }
    
    .logo-hero-servicios,
    .logoNosotros{
        max-width: 300px;
        margin: -8% 0 0 0;
        height: auto;
        width: auto;
    }
    .logoNosotros{
        margin: -22.9% 0 0 0;
    }
}


@media (max-width: 480px) {
    .hero-servicios,
    .hero-nosotros{
        height: 400px;
    }
    
    .logo-hero-servicios,
    .logoNosotros{
        width: 250px;
        height: auto;
    }
    .logoNosotros{
        margin: -27.9% 0 0 0;
    }
}

.serviciosContenedor {
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 2rem;
}

.NServTxtA{
    font-size: 2rem;
    font-family: var(--fuenteP);
}

.NServTituloA{
    font-family: var(--fuenteH);
    font-size: 4rem;
    text-align: center
}

.contenedor-articulo {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 15rem;
  }
  
  .imagen-contenedor {
    flex: 1;
  }
  
  .texto-contenedor {
    flex: 1;
  }
  

  .alternado.contenedor-articulo {
    flex-direction: row-reverse;
  }

  .cotizacionServ{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15rem;
  }
  
  /* Responsive para móviles */
  @media (max-width: 768px) {
    .contenedor-articulo {
      flex-direction: column !important; 
      margin-bottom: 10rem;
    }
    
    .imagen-contenedor,
    .texto-contenedor {
      width: 100% !important;
      max-width: 100% !important;
    }
    
    .alternado .contenedor-articulo .texto-contenedor {
      order: 2;
    }
    
    .alternado .contenedor-articulo .imagen-contenedor {
      order: 1;
    }
    .tituloLinea {
        display: block;
      }
  }

.mobile-menu-btn {
    transition: opacity 0.3s ease;
    
}
.footer {
    background-color: var(--Cboton);
    color: white;
    font-family: var(--fuenteP);
    width: 100%;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
  }
  
 
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.9rem;
  }
  

  .footer p, .footer .powered-by {
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1.5;
  }
  
  .footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: inline;
  }
  
  .footer a:hover {
    color: var(--secundario);
  }
  

  @media (max-width: 1200px) {
    .footer-content {
      padding: 1.2rem 1.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .footer-content {
      font-size: 1.5rem;
      padding: 1rem 1.2rem;
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
    .footer-content {
      font-size: 1.2rem;
      padding: 0.8rem 1rem;
      overflow-x: auto;
      scrollbar-width: none; 
    }
    
    .footer-content::-webkit-scrollbar {
      display: none; 
    }
  }
  
  @media (max-width: 480px) {
    .footer-content {
      font-size: 1rem;
      padding: 0.6rem 0.8rem;
      
    }
}