@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
body {
    font-family: "Lato",Arial, sans-serif;
}

:root {
    --primary-color: #1558A4;
    --secondary-color:#E1251B;
}
.title-h2 {font-weight: 800;margin-bottom: 1rem;}

.header{
    padding: 5px 0px;
}
.header img{
    max-width:150px ;
}
.hero {
    background: url('assets-lp/bgk-hero.jpg') no-repeat center center/cover;
    color: white;
    padding-top: 20px;
    margin-bottom: 50px;
}
.hero .bg-primary{
    background-color: var(--primary-color) !important;
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 12px;
}
.hero h1{
    color: #000000;
    font-weight: 800;
    padding: 15px 0px;
    font-size: 2.3rem;
    line-height: 2.8rem;
}
.hero p{
    color: black;
    font-size: 10px;
}
.hero img{
    width: 100%;
    height: 100%; /* TamaÃƒÂ±o uniforme */
    object-fit: cover; /* Recorte responsivo */
    margin-bottom: -6%;
    margin-top: 0;
}
.formulario {
    background: white; /* Fondo blanco */
    padding: 60px 0;
}
.form-message {
    display: none; /* Oculto por defecto */
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}
/* Estilos del spinner */
.spinner-border {
    margin-left: 10px;
    vertical-align: middle;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.form-container {
    background: #F5F5F5; /* Color gris claro */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0px;
    border-bottom: solid 1px #C4C4C4;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}
.formulario h4 {
    font-size: 24px;
    font-weight: 600;
}
.text-primary{
    color:var(--primary-color) !important;
}

@media (max-width: 768px) {    
    .formulario h4 {
        margin-top:40px;
    }
}
/* SecciÃƒÂ³n Nuevo Zumpango */
.nuevo-zumpango {
    background: var(--primary-color);
    padding: 60px 0;
    margin-bottom: 70px;
}
.img-offset-b{
    margin-bottom: -22%;
}

.nuevo-zumpango .logo-nz {
    max-width: 220px;
    margin-bottom: 20px;
}

.nuevo-zumpango h3 {
    font-weight: bold;
}

.nuevo-zumpango .btn-warning,
.creditos .btn-warning{
    background-color: #FFCB00;
    border: none;
    padding: 8px 30px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
}

.nuevo-zumpango .btn-warning:hover,
.creditos .btn-warning:hover{
    background-color: #E0A800;
}
@media (max-width: 768px) {
    .img-offset-b{
        margin-bottom: 0px;
        margin-top: 40px;
    }
    .nuevo-zumpango {
        margin-bottom: 0px;
    }
    
    .nuevo-zumpango .logo-nz {
        margin: 30px auto;
    }
    .nuevo-zumpango .text-white{
        text-align: center;
    }
}

/* SecciÃƒÂ³n UbicaciÃƒÂ³n */
.ubicacion {
    background: white;
    padding: 80px 0;
}

.ubicacion h2 {
    font-weight: bold;
}

.ubicacion h4 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 20px;
}

.ubicacion .contacto a{
    text-decoration:none;
    color:#000;
}

.ubicacion .contacto .icon-fa {
    background-color: #d32f2f;
    border: none;
    padding: 3px 6px;
    font-weight: bold;
    border-radius: 5px;
    color: white;
    margin-right: 5px;
}

.ubicacion .contacto .icon-fa:hover {
    background-color: #b71c1c;
}

/* ÃƒÆ’Ã‚Âconos */
.ubicacion .contacto i {
    font-size: 14px;
}

/* SecciÃƒÂ³n GalerÃƒÆ’Ã‚Â­a */
.galeria {
    background: white;
    padding: 40px 0;
}

.galeria .row {
    display: flex;
    justify-content: center;
}
.galeria .col-6{
    padding:0;
}
.galeria img {
    width: 100%;
    height: 100%; /* TamaÃƒÂ±o uniforme */
    object-fit: cover; /* Recorte responsivo */
    border-radius: 0px;
    transition: transform 0.3s ease-in-out;
}

.galeria img:hover {
    transform: scale(1.05);
}

/* SecciÃƒÂ³n Modelos */
.modelos {
    background: white;
    padding: 60px 0;
}

.logo-modelos {
    max-width: 200px;
    margin-bottom: 20px;
}
.modelos .row{
    row-gap: 20px;
}
/* Tarjetas de los modelos */
.modelo-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.modelo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.modelo-card:hover img {
    transform: scale(1.05);
}

/* Texto sobre imagen */
.modelo-text {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

/* Enlace sin estilos de texto */
.modelo-link {
    text-decoration: none;
}

/* SecciÃƒÂ³n CrÃƒÂ©ditos */
.creditos {
    background: #E1251B; /* Rojo intenso */
    padding: 60px 0;
    margin-bottom: 8%;
}

.logos-creditos {
    display: flex;
    justify-content: unset;
    gap: 30px;
    margin-bottom: 20px;
}

.logo-credito {
    max-width: 120px;
}

.creditos h3 {
    font-weight: bold;
}

.creditos p {
    font-size: 1.2rem;
}


/* Ajuste responsivo para mÃƒÂ³viles */
@media (max-width: 768px) {
    .logos-creditos {
        flex-direction: row;
        justify-content: center;
    }

    .logo-credito {
        max-width: 100px;
    }

    .creditos .row {
        text-align: center;
    }
}
/* SecciÃƒÂ³n Equipamiento */
.equipamiento {
    background: white;
    padding: 60px 0;
}

.equipamiento-item {
    text-align: center;
    margin-bottom: 20px;
}

.equipamiento-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.equipamiento-item:hover img {
    transform: scale(1.05);
}

.equipamiento-item p {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .equipamiento-item img {
        height: 120px;
    }
}

/* SecciÃƒÂ³n Equipamiento */
.equipamiento {
    background: white;
    padding: 60px 0;
}

.equipamiento-item {
    text-align: center;
    margin-bottom: 20px;
}

.equipamiento-item img {
    width: 100%;
    height: 100%; /* Ajuste para uniformidad */
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.equipamiento-item:hover img {
    transform: scale(1.05);
}

.equipamiento-item p {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Responsividad */
@media (min-width: 992px) {
    .equipamiento .col-lg-2 {
        width: 20%;
    }
}
@media (max-width: 768px) {
    .equipamiento-item img {
        height: 100%;
    }
}

/* SecciÃƒÂ³n Cifras */
.cifras {
    background: #135BA2;
    color: white;
    padding: 60px 0;
}

.cifras h2 {
    font-weight: bold;
    margin-bottom: 30px;
}

.cifras h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

.cifras p {
    font-size: 1rem;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .cifras h3 {
        font-size: 2rem;
    }

    .cifras p {
        font-size: 1rem;
    }
}

/* Footer con fondo difuminado */
.footer {
    position: relative;
    background: url('https://nuestrohogarcommx.b-cdn.net/royal8000iztac-43.jpg') no-repeat center center/cover;
    color: black;
    padding: 80px 0;
}

/* Capa semitransparente */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 88%); /* Capa blanca con 70% de transparencia */
    z-index: 1;
}

/* Contenido del footer */
.footer .container {
    position: relative;
    z-index: 2; /* Coloca el contenido encima de la capa */
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enlace del aviso de privacidad */
.footer-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Redes Sociales */
.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: black;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 5px;
    justify-content: flex-end;
}

.social-link i {
    font-size: 1.2rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }

    .footer .col-md-3 {
        margin-top: 15px;
    }
    
    .social-link {
    justify-content: center;
    }
}
