    html {
    scroll-behavior: smooth;
    /* Ajusta este valor (80px) al alto real de tu main-header */
    scroll-padding-top: 80px; 
}
        /* --- ESTILOS DEL SIMULADOR PARA EL INDEX --- */
        .simulator-home {
            background-color: #f9f9f9;
            padding: 80px 0;
        }

        .simulator-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }

        .simulator-grid-home {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .sim-card {
            background: #fff;
            padding: 15px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .canvas-layers {
            position: relative;
            display: inline-block;
            line-height: 0;
            border-radius: 12px;
            overflow: hidden;
            width: 100%;
        }

        .layer-mid, .layer-tint {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
        }

        .layer-mid { z-index: 1; }
        .layer-tint { 
            z-index: 2; 
            background-color: black; 
            opacity: 0; 
            transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
        }

        .layer-top {
            position: relative;
            width: 100%;
            height: auto;
            z-index: 3;
        }

        .sim-controls-home {
            margin-top: 35px;
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn-sim {
            padding: 14px 24px;
            border: 2px solid #1a1a1a;
            background: white;
            font-weight: 700;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
            font-size: 13px;
        }

        .btn-sim.active {
            background-color: #780000;
            color: white;
            border-color: #780000;
            box-shadow: 0 5px 15px rgba(120, 0, 0, 0.3);
        }

        .sim-cta-box {
            margin-top: 40px;
        }

        .btn-sim-whatsapp {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: #25d366;
            color: white;
            padding: 18px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 800;
            transition: 0.3s;
            box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
        }

        .btn-sim-whatsapp:hover {
            transform: translateY(-3px);
            background-color: #1eb853;
        }

        @media (max-width: 768px) {
            .simulator-home { padding: 50px 0; }
            .btn-sim { padding: 10px 15px; font-size: 11px; }
        }
/* --- 1. VARIABLES Y BASE --- */
:root {
    --rojo: #780000;
    --negro: #1a1a1a;
    --blanco: #ffffff;
    --gris-oscuro: #2a2a2a;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

/* --- 2. HEADER Y CONTENEDOR --- */
.main-header {
    background-color: var(--blanco);
    color: var(--negro);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--rojo);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* --- 3. LOGO --- */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* --- 4. NAVEGACIÓN PRINCIPAL --- */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--negro);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--rojo);
}
/* Añade este bloque nuevo justo debajo */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--rojo);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}
/* --- 5. MENÚ DESPLEGABLE --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--negro);
    min-width: 280px;
    top: 100%;
    left: 0;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.4);
    padding: 10px 0;
    border-top: 4px solid var(--rojo);
    list-style: none;
    border-radius: 0 0 5px 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    color: var(--blanco) !important; 
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid #2a2a2a;
}

.dropdown-content li a:hover {
    background-color: var(--rojo);
    padding-left: 30px;
    font-weight: 700;
}

.arrow-down {
    border: solid var(--negro);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 8px;
    vertical-align: middle;
}

/* --- 6. BOTÓN DE ACCIÓN --- */
.btn-nav {
    background-color: var(--rojo);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

/* --- 7. SECCIÓN HERO --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--negro);
    padding-bottom: 100px;
}

.hero-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: radial-gradient(circle, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.5) 70%, rgba(18,18,18,0.2) 100%);
}

.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-text-center { max-width: 850px; margin: 0 auto; text-align: center; color: var(--blanco); }
.hero-text-center h1 { font-size: 54px; line-height: 1.1; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.hero-text-center p { font-size: 20px; margin-bottom: 40px; }

.hero-cta { display: flex; justify-content: center; margin-bottom: 40px; }

.btn-whatsapp-overlay {
    background-color: var(--blanco);
    color: var(--negro);
    padding: 8px 25px 8px 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-whatsapp-overlay img {
    height: 35px;
    width: 35px;
    object-fit: contain;
    border-radius: 50%;
}

/* --- 8. BOTONES DE CONFIANZA --- */
.hero-features {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background-color: var(--blanco);
    border-radius: 12px;
    padding: 35px 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 10;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eee;
}

.feature-card:last-child { border-right: none; }
.feature-card img { height: 45px; margin-bottom: 15px; filter: grayscale(1); }
.feature-card h3 { font-size: 14px; color: var(--negro); font-weight: 700; text-transform: uppercase; }

/* --- 9. SECCIÓN ESPECIALIDADES (BALANCE BLANCO/ROJO/NEGRO) --- */
.specialties-section {
    background-color: var(--blanco); /* Volvemos al blanco para claridad */
    padding: 120px 0;
    width: 100%;
}

.container-specialties {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header-center {
    text-align: center;
    width: 100%;
    margin-bottom: 60px;
}

.subtitle-red {
    color: var(--rojo);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header-center h2 {
    font-size: 38px;
    color: var(--negro); /* Título en negro para contraste */
    font-weight: 700;
    text-transform: uppercase;
}

.header-divider {
    height: 4px;
    width: 60px;
    background-color: var(--rojo);
    margin: 20px auto 0 auto;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.specialty-item {
    background-color: #fcfcfc; /* Un gris casi blanco muy sutil */
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.specialty-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--rojo);
}

/* El ítem destacado usa el Rojo de Carvidrios */
.featured-item {
    border: 2px solid var(--rojo);
    background-color: var(--blanco);
}

.icon-minimal {
    height: 70px;
    margin-bottom: 25px;
    /* Quitamos el filtro invert para que se vean en su color original */
    filter: none; 
}

.specialty-item h3 {
    font-size: 22px;
    color: var(--negro);
    margin-bottom: 15px;
}

.specialty-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.link-whatsapp-minimal {
    color: var(--rojo);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-whatsapp-minimal img {
    height: 18px;
    filter: none; /* Icono de whatsapp verde original */
}

/* --- 11. RESPONSIVO --- */
@media (max-width: 768px) {
    .hero { min-height: 70vh; padding-bottom: 150px; }
    .hero-text-center h1 { font-size: 34px; }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        bottom: -100px;
    }
    
    .feature-card { border-bottom: 1px solid #eee; padding: 20px 0; }
    .feature-card:nth-child(even) { border-right: none; }

    .section-header-center h2 { font-size: 32px; }
    .specialties-grid { grid-template-columns: 1fr; }
    .specialty-item { padding: 40px 20px; }
/* --- 10. SECCIÓN TESTIMONIOS --- */
.testimonials-section {
    background-color: #ffffff; /* Fondo blanco para que resalte la sombra del widget */
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.trustindex-widget-container {
    max-width: 1140px; /* Ancho ideal para el slider */
    margin: 40px auto;
    min-height: 250px; /* Evita que el pie de página suba mientras carga el script */
}
}

.cta-reviews-center {
    text-align: center;
    margin-top: 40px;
    font-size: 15px;
    color: var(--negro);
}

.cta-reviews-center a {
    color: var(--rojo);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--rojo);
    transition: 0.3s;
}

.cta-reviews-center a:hover {
    color: var(--negro);
    border-color: var(--negro);
}
/* --- 11. UBICACIÓN --- */
.location-section {
    padding: 60px 0;
    background-color: #fff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Mapa más ancho que la info */
    gap: 30px;
    align-items: stretch;
    margin-top: 30px;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    flex: 1; /* Esto obliga al mapa a rellenar todo el alto de la columna */
}
.location-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Reparte los datos y los botones */
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
/* Responsivo para celulares */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }
    .map-container {
        height: 350px; /* En móvil no necesita ser tan alto */
        min-height: 350px;
    }
}
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-red {
    color: var(--rojo);
    font-size: 24px;
}

.card-label {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.card-value {
    font-weight: 700;
    color: var(--negro);
    margin: 0;
}

.btn-red-maps {
    background-color: #EA4335; /* Color Rojo Google Maps */
    color: #fff;
    padding: 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    display: block;
    text-align: center;
    margin-top: 10px;
    transition: 0.3s;
    border: none;
}

.btn-red-maps:hover {
    background-color: #d33828; /* Un rojo un poco más oscuro al pasar el mouse */
    color: #fff;
    transform: translateY(-2px);
}

.btn-red-maps:hover {
    background-color: var(--negro);
    transform: translateY(-3px);
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}
/* --- 11. FOOTER STYLES (VERSIÓN BLANCA) --- */
/* --- FOOTER: RESTAURACIÓN DE 4 COLUMNAS --- */
/* --- 12. FOOTER ACTUALIZADO --- */
.main-footer.white-footer {
    background-color: #ffffff;
    padding: 70px 0 30px 0;
    border-top: 1px solid #eee;
    width: 100%;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    /* Mantiene las 4 columnas en escritorio */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    display: block;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Títulos de columnas */
.footer-col h3 {
    color: var(--negro);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    width: 35px;
    height: 3px;
    background-color: var(--rojo);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Redes Sociales: Icono Rojo sobre Fondo Claro */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    background-color: #f8f8f8;
    color: var(--rojo); /* #780000 */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #eee;
    font-size: 18px;
}

.social-links a:hover {
    background-color: var(--rojo);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(120, 0, 0, 0.2);
}

/* --- COPYRIGHT CENTRADO --- */
.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
    text-align: center; /* Centra el texto */
    width: 100%;
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .footer-col h3::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    .social-links { 
        justify-content: center; 
    }
    .footer-logo { 
        margin: 0 auto 20px auto; 
    }
/* Ajuste de alineación para la lista de servicios */
.features-list li {
    display: flex;
    align-items: flex-start; /* Alinea el icono con la primera línea de texto */
    gap: 15px;
    margin-bottom: 25px;
}

.features-list i {
    margin-top: 5px; /* Baja un poco el icono para centrarlo con la primera línea */
    min-width: 25px; /* Evita que el icono se encoja */
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-weight: 800;
    color: var(--negro);
    display: block;
}
/* --- ESTILO DEL RECUADRO OSCURO (CTA PREMIUM) --- */
.cta-premium-section {
    background-color: #1a1a1a; 
    padding: 35px 0; 
    color: #fff;
    margin-top: 50px;
    border-radius: 30px 30px 0 0; /* Bordes redondeados arriba */
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.cta-text h2 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 800;
    color: #fff;
}

.cta-text p {
    font-size: 15px;
    color: #aaa;
    margin: 0;
}

.btn-whatsapp-premium {
    background-color: #25d366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.btn-whatsapp-premium:hover {
    background-color: #1eb853;
    transform: translateY(-3px);
}

.cta-info {
    border-left: 1px solid #333;
    padding-left: 25px;
}

.cta-info h4 {
    font-size: 11px;
    color: #ff3333; /* Rojo brillante para que destaque */
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.info-item {
    font-size: 13px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

/* Ajuste para celulares */
@media (max-width: 992px) {
    .cta-wrapper { flex-direction: column; text-align: center; gap: 25px; }
    .cta-info { border-left: none; padding-left: 0; border-top: 1px solid #333; padding-top: 20px; }
}

}
/* =============================================
   4. AJUSTES FINALES Y NAVEGACIÓN
   ============================================= */

/* Activa el deslizamiento suave en todo el sitio */
html {
    scroll-behavior: smooth;
}

/* Evita que el menú tape el título al saltar al contacto */
.location-section {
    scroll-margin-top: 100px;
}

/* --- RECUADRO OSCURO (CTA PREMIUM) --- */
.cta-premium-section {
    background-color: var(--negro) !important;
    padding: 40px 0;
    color: var(--blanco) !important;
    margin-top: 50px;
    border-radius: 30px 30px 0 0;
}

.cta-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: var(--blanco) !important;
}

.cta-text p {
    font-size: 16px;
    opacity: 0.8;
    margin: 0;
}

.btn-whatsapp-premium {
    background-color: #25d366 !important;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-whatsapp-premium:hover {
    background-color: #1eb853 !important;
    transform: translateY(-3px);
}

.cta-info {
    border-left: 1px solid #333;
    padding-left: 25px;
}

.cta-info h4 {
    font-size: 12px;
    color: var(--rojo) !important;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

/* Responsivo para celulares */
@media (max-width: 992px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .cta-info {
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid #333;
    }
}

/* --- ESTILOS ESPECIALES PARA RESEÑAS MANUALES --- */
.reviews-manual-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.review-card:hover { transform: translateY(-5px); }

.review-stars { color: #ffc107; margin-bottom: 15px; font-size: 14px; }

.review-text {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 60px;
}

.review-author { display: flex; align-items: center; gap: 15px; }

/* Círculo con inicial tipo Google */
.author-avatar {
    width: 45px;
    height: 45px;
    background-color: #4285F4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.author-info strong { display: block; font-size: 15px; color: #1a1a1a; }
.author-info span { font-size: 13px; color: #888; }

.google-icon-bg {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    color: #4285F4;
    opacity: 0.2;
}

.reviews-footer { text-align: center; margin-top: 40px; }
.btn-google-link { color: #4285F4; text-decoration: none; font-weight: 700; }
/* --- REDUCCIÓN AGRESIVA DE ALTURA SECCIÓN CONTACTO --- */
.location-section {
    padding: 20px 0 !important; /* Casi eliminamos los espacios arriba/abajo */
}

.location-section .section-header-center {
    margin-bottom: 15px !important; /* Pega el título al mapa */
}

.location-section h2 {
    font-size: 22px !important; /* Título más pequeño */
    margin: 5px 0 !important;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important; /* Estira el mapa hacia abajo */
    border: 0;
    flex: 1;
}

.info-card {
    padding: 8px 15px !important; /* Tarjetas muy delgadas */
    margin-bottom: 5px !important;
}

.info-card p {
    font-size: 13px !important; /* Texto interno más compacto */
    margin: 0;
}
/* --- ESTILOS MÓVIL --- */

/* Escondemos el botón en escritorio */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px; /* Aumenta el área táctil sin cambiar el tamaño visual de las barras */
    z-index: 1100;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--negro);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Mostrar hamburguesa en móvil */
        z-index: 1001;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 80%;
        height: 100vh;
        background-color: var(--blanco);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        padding-top: 80px;
        z-index: 1000;
    }

    .navigation.active {
        right: 0; /* Aparece al activarse */
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        font-size: 18px;
    }

    /* Ajuste Dropdown en Móvil */
    .dropdown-content {
        position: static; /* Ya no flota */
        display: none; /* Se oculta por defecto */
        width: 100%;
        background-color: #f9f9f9;
        box-shadow: none;
        border-top: none;
    }

    .dropdown.open .dropdown-content {
        display: block; /* Se muestra al hacer click */
    }

    .cta-header {
        display: none; /* Escondemos el botón de cita para que no estorbe en el header móvil */
    }

    /* Animación hamburguesa a X */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* Estilo específico para el botón de Waze */
.btn-waze-maps {
    background-color: #0099FF; /* Azul oficial de Waze */
    color: #ffffff;
    padding: 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    display: block;
    text-align: center;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-waze-maps:hover {
    background-color: #007acc; /* Un azul un poco más oscuro al pasar el mouse */
    transform: translateY(-2px);
    color: #ffffff;
}

/* Asegura que el icono de Waze se vea bien */
.btn-waze-maps i {
    font-size: 1.2rem;
}

.btn-waze-maps:hover {
    background-color: var(--negro);
    transform: translateY(-3px);
}
.canvas-layers img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 436;
    content-visibility: auto; /* Esto ayuda a la velocidad de renderizado */
}
/* Ajustes para el submenú de servicios en móviles */
@media (max-width: 768px) {
    .dropdown-content {
        display: none !important; /* Se oculta por defecto */
        background-color: #ffffff;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        border-top: 1px solid #eee;
    }
    /* --- ESTA ES LA REGLA QUE TE FALTA PARA QUE ABRA Y CIERRE --- */
    .dropdown.open .dropdown-content {
        display: block !important;
    }

    /* Clase que se activa con el script al hacer clic */
    .dropdown.open .dropdown-content {
        display: block;
    }

    /* Estilo de los enlaces dentro de Servicios */
    .dropdown-content li a {
        color: #1a1a1a !important; /* Fuerza el color negro para legibilidad */
        padding: 15px 30px !important;
        display: block;
        border-bottom: 1px solid #f4f4f4;
        font-size: 15px;
        text-transform: none;
        font-weight: 500;
    }

    /* Efecto al tocar un servicio */
    .dropdown-content li a:active {
        background-color: #f9f9f9;
        color: #780000 !important; /* Color rojo de tu marca al presionar */
    }
    
    /* Ajuste del icono de la flecha */
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    .dropdown.open .dropdown-toggle i {
        transform: rotate(180deg);
    }
}
@media (max-width: 768px) {
    .service-hero .container {
        display: flex;
        flex-direction: column; /* Apila el texto verticalmente */
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .service-hero h1 {
        font-size: 28px; /* Tamaño más cómodo para el título */
        line-height: 1.2;
        margin-bottom: 15px;
        width: 100%;
    }

    .service-hero p {
        font-size: 16px; /* Tamaño reducido para el subtítulo */
        line-height: 1.4;
        width: 100%;
        max-width: 320px; /* Evita que el texto sea demasiado ancho */
        margin: 0 auto;
    }
}
.btn-sim-whatsapp {
    background-color: #128C7E; /* Un verde más profundo para mejor contraste */
    color: #ffffff;
}