* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Arial', sans-serif;
     line-height: 1.6;
     overflow-x: hidden;
 }

 /* Navbar con imagen de fondo */
 .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1001;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.5s ease;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 22px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d30000;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}


 .hamburger {
     display: none;
     cursor: pointer;
     z-index: 1001;
 }

 .hamburger div {
     width: 25px;
     height: 3px;
     background-color: white;
     margin: 5px;
     transition: all 0.3s ease;
 }

 /* Contenido de la página */
 .content {
     margin-top: 80px;
     padding: 40px 20px;
     height: 2000px;
 }

 .hero {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_gpa1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herop {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_pga6.jpg');
     background-size: cover;
     background-position: center;
 }

 .heroc {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/gpa/img_gpa3.jpeg');
     background-size: cover;
     background-position: center;
 }

.herocon {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('https://caisamexico.com/img/oficinas.jpg');
     background-size: cover;
     background-position: center;
 }

 .heropro {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TFR2C-1.PNG');
     background-size: cover;
     background-position: center;
 }

 .herolavado {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/lavado_torre_1_U900.jpg');
     background-size: cover;
     background-position: center;
 }

 .heroba101 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/BA101-AB-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herova2 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/tv2-1-rosarito.jpg');
     background-size: cover;
     background-position: center;
 }

 .herotv6 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TV06-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .herotv4 {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/TV04-2.jpg');
     background-size: cover;
     background-position: center;
 }

 .heropxr {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/Catalitica-101D-2.jpg');
     background-size: cover;
     background-position: center;
 }


 .heromja {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/T89-T80-1.jpg');
     background-size: cover;
     background-position: center;
 }

 .hero8f {
     height: 60vh;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
     background-image: linear-gradient(rgba(0, 0, 0, 0.384), rgba(0, 0, 0, 0.274)),
         url('http://192.168.0.238/GAtzco/img/proyectos/8F1-2.jpg');
     background-size: cover;
     background-position: center;
 }


 .hero h1 {
     font-size: 3rem;
     margin-bottom: 20px;
 }

 /* Media Queries para responsividad */
 @media screen and (max-width: 768px) {
     .nav-links {
         position: absolute;
         right: 0;
         top: 0;
         height: 100vh;
         width: 50%;
         background-color: rgba(0, 0, 0, 0.9);
         flex-direction: column;
         align-items: center;
         justify-content: center;
         transform: translateX(100%);
     }

     .nav-links li {
         margin: 20px 0;
         margin-left: 0;
         opacity: 0;
     }

     .hamburger {
         display: block;
     }

     .navbar.scrolled .nav-links {
         background-color: rgba(0, 0, 0, 0.95);
     }
 }

 /* Animación para el menú móvil */
 .nav-active {
     transform: translateX(0%) !important;
 }

 @keyframes navLinkFade {
     from {
         opacity: 0;
         transform: translateX(50px);
     }

     to {
         opacity: 1;
         transform: translateX(0px);
     }
 }

 /* Efecto de toggle para el ícono hamburguesa */
 .toggle .line1 {
     transform: rotate(-45deg) translate(-5px, 6px);
 }

 .toggle .line2 {
     opacity: 0;
 }

 .toggle .line3 {
     transform: rotate(45deg) translate(-5px, -6px);
 }

 /*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}

.img-fluid1 {
    width: 450px;
    height: 340px;
    object-fit: cover;

}

/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 700px;
    height: 500px;
    object-fit: contain;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}

/*+++++++++++++++++++++++++++ CSS para apmliar imagen +++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* Estilos para la galería */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

.gallery img {
    width: 200px;
    height: 350px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 600px;
    max-height: 120vh;
    margin-top: 4vh;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/***********************************************/


.gradient-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #e90707, #c94e4e, #ebbebe);
    margin: 50px 0;
}

@media (max-width: 768px) {
    .gradient-divider {
        height: 1px;
        margin: 30px 0;
    }
}






 /* ===== VARIABLES DE PERSONALIZACIÓN ===== */
        :root {
            --color-primario: #2563eb;      /* Cambia esto por el color primario de tu plantilla */
            --color-secundario: #1e40af;     /* Color secundario / hover */
            --color-fondo: #f8fafc;          /* Fondo de la sección */
            --color-texto: #1e293b;           /* Color de texto principal */
            --color-borde: #e2e8f0;           /* Color de bordes */
            --border-radius: 12px;            /* Radio de bordes consistente */
            --sombra: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        }

        /* ===== ESTILOS BASE (RESPETAN TU PLANTILLA) ===== */
        .contact-section {
            padding: 4rem 2rem;
            background-color: var(--color-fondo);
            font-family: inherit; /* Hereda la fuente de tu plantilla */
        }

        .contact-container {
            max-width: 1280px;
            margin: 0 auto;
        }

        /* Títulos con estilo adaptable */
        .contact-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--color-texto);
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .contact-subtitle {
            font-size: 1.125rem;
            color: #64748b;
            margin-bottom: 3rem;
            border-left: 4px solid var(--color-primario);
            padding-left: 1rem;
        }

        /* ===== GRID PRINCIPAL ===== */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        /* ===== TARJETAS CON ESTILO CONSISTENTE ===== */
        .contact-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            box-shadow: var(--sombra);
            border: 1px solid var(--color-borde);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .contact-card:hover {
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--color-texto);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .card-title i {
            color: var(--color-primario);
        }

        /* ===== MAPA ===== */
        .map-container {
            width: 100%;
            height: 250px;
            border-radius: var(--border-radius);
            overflow: hidden;
            margin-bottom: 1rem;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        .address-detail {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-top: 1rem;
        }

        .address-detail i {
            color: var(--color-primario);
            font-size: 1.25rem;
            margin-top: 0.25rem;
        }

        .address-text {
            color: #475569;
            line-height: 1.6;
        }

        /* ===== DATOS DE EMPRESA ===== */
        .company-data-list {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .company-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px dashed var(--color-borde);
        }

        .company-item:last-child {
            border-bottom: none;
        }

        .company-item i {
            width: 40px;
            height: 40px;
            background: var(--color-fondo);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-primario);
            font-size: 1.25rem;
        }

        .company-item-content {
            flex: 1;
        }

        .company-item-label {
            font-size: 0.875rem;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .company-item-value {
            font-weight: 500;
            color: var(--color-texto);
        }

        /* ===== FORMULARIO DE COTIZACIÓN ===== */
        .quote-form {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--color-texto);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 0.75rem 1rem;
            border: 2px solid var(--color-borde);
            border-radius: calc(var(--border-radius) - 4px);
            font-size: 1rem;
            transition: border-color 0.2s;
            background: white;
            width: 100%;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-primario);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Preferencia de contacto */
        .contact-preference {
            background: var(--color-fondo);
            padding: 1.25rem;
            border-radius: var(--border-radius);
            border: 1px solid var(--color-borde);
        }

        .contact-preference p {
            font-weight: 500;
            margin-bottom: 1rem;
            color: var(--color-texto);
        }

        .radio-group {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .radio-group label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .radio-group input[type="radio"] {
            width: auto;
            accent-color: var(--color-primario);
        }

        /* Botón de envío */
        .btn-submit {
            background: var(--color-primario);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: calc(var(--border-radius) - 4px);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            width: 100%;
        }

        .btn-submit:hover {
            background: var(--color-secundario);
        }

        .btn-submit i {
            font-size: 1.125rem;
        }

        /* Horarios */
        .schedule-info {
            margin-top: 1.5rem;
            padding: 1rem;
            background: var(--color-fondo);
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            gap: 1rem;
            border: 1px solid var(--color-borde);
        }

        .schedule-info i {
            color: var(--color-primario);
            font-size: 1.5rem;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .contact-title {
                font-size: 2rem;
            }
            
            .radio-group {
                gap: 1rem;
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .contact-section {
                padding: 2rem 1rem;
            }
            
            .company-item {
                flex-wrap: wrap;
            }
        }