:root {
    --accent: #9ba9ab;
    --bg-dark: #9ba9ab;
    --text-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    overflow-x: hidden;
}

/* --- HEADER & NAV --- */
.site-header {
    position: fixed;
    top: 0; width: 100%;
    padding: 30px 50px;
    z-index: 1000;
    display: flex; justify-content: center;
}

.nav-wrapper {
    width: 100%; max-width: 1300px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 12px 25px;
    display: flex; justify-content: space-between; align-items: center;
    position: relative;
}

.brand-container {
    width: 45px; height: 45px;
    border: 1px solid var(--accent);
    border-radius: 8px; overflow: hidden;
}
.brand-img { width: 100%; height: 100%; object-fit: cover; }

.nav-links {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; gap: 40px; list-style: none;
}

.nav-link {
    text-decoration: none; color: #aaa;
    font-size: 1.15rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center; gap: 6px;
    transition: 0.3s;
}
.nav-link:hover { color: var(--accent); }

.arrow { width: 16px; transition: 0.3s; }

/* --- DROPDOWN --- */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 150%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px; list-style: none; border-radius: 8px;
    min-width: 200px; opacity: 0; visibility: hidden; transition: 0.3s;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover .arrow { transform: rotate(180deg); }
.dropdown-menu a { color: white; text-decoration: none; display: block; padding: 10px; transition: 0.2s; }
.dropdown-menu a:hover { background: var(--accent); color: black; border-radius: 4px; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 30%, transparent), 
                url('../imgs/1.jpg');
    background-size: cover;
    background-position: center;
    display: flex; align-items: center;
    padding: 0 10%;
}

.hero-content { text-align: left; max-width: 700px; }
.tagline { color: var(--accent); font-family: 'Space Grotesk'; letter-spacing: 4px; text-transform: uppercase; }
h1 { font-family: 'Space Grotesk'; font-size: 5rem; line-height: 0.9; margin: 20px 0; }
p { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }


/* --- BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none; /* Oculto en PC */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1500;
}
.bar {
    width: 30px; height: 3px; background-color: white; border-radius: 2px;
}

/* --- MENÚ PANTALLA COMPLETA --- */
.mobile-overlay {
    position: fixed;
    top: 90px; /* Lo bajamos para que no tape el header */
    right: 20px; /* Pegado a la derecha */
    width: 250px; /* Ancho fijo, pequeñito */
    height: auto; /* Altura automática según los enlaces */
    
    background-color: rgba(15, 16, 17, 0.95); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    padding: 20px;
    z-index: 2000;
    
    /* Efecto de aparición */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* Empieza un poquito más arriba */
    transition: all 0.3s ease;
}

/* Cuando esta clase está, el menú se ve */
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* --- BOTÓN CRUZ (X) --- */
.close-menu-btn {
    position: absolute;
    top: 10px;
    left: 10px; /* A la izquierda de la cajita */
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
}
.close-menu-btn:hover { color: white; }

/* Enlaces del menú */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Menos espacio entre links */
    text-align: right; /* Alineados a la derecha */
}
.mobile-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem; /* Letra más chica */
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}
.mobile-link:hover {
    color: #9ba9ab;
    border-color: #9ba9ab;
}

/* Responsive */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-links { display: none; }
}

/* --- ESTILO PARA EL ÍTEM SERVICIOS "PARTIDO" --- */

.mobile-split-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alineado a la derecha como el resto */
}

.split-row {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre la palabra SERVICIOS y la flecha */
}

/* Botón de la flecha (Invisible pero clickeable) */
.arrow-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.3s ease;
}

.arrow-btn:hover {
    color: #9ba9ab;
}

/* Rotación al abrir */
.arrow-btn.rotate {
    transform: rotate(180deg);
}

/* --- LISTA DESPLEGABLE --- */
.submenu-hidden {
    display: none; /* Oculto por defecto */
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-right: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.1); /* Línea guía elegante */
    margin-right: 5px;
}

/* Clase para mostrarlo */
.submenu-hidden.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

/* Estilo de los sub-enlaces */
.submenu-hidden a {
    color: #b0b0b0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-align: right;
    transition: 0.2s;
}

.submenu-hidden a:hover {
    color: #9ba9ab;
    transform: translateX(-5px); /* Pequeño movimiento al pasar mouse */
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CONTENEDOR DE SECCIONES */
.add-pro-content {
    padding: 40px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.add-pro-row {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.add-pro-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0; /* Eliminamos el gap para que la imagen toque el borde virtual si prefieres */
}

/* Alternancia de posición */
.row-reverse .add-pro-container {
    flex-direction: row-reverse;
}

/* Lado de Imagen */
.add-pro-image-side {
    flex: 1;
    display: flex;
    /* Pegamos la imagen al borde izquierdo o derecho según la fila */
    justify-content: flex-start; 
}

.row-reverse .add-pro-image-side {
    justify-content: flex-end;
}

.add-pro-square {
    width: 90%; /* Dejamos un pequeño margen del texto, pero pegado al borde exterior */
    aspect-ratio: 1 / 1;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 30px; /* Bordes redondeados profesionales */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Lado de Texto */
.add-pro-text-side {
    flex: 1;
    padding: 0 60px;
}

.add-pro-tag {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: #2d2d34;
    margin-bottom: 15px;
    display: block;
}

.add-pro-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.add-pro-title span {
    color: #666;
    font-weight: 400;
}

.add-pro-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
}

/* Imágenes de ejemplo (Sustituir por tus rutas locales) */
.img-plasma { background-image: url('../imgs/plasma.png'); }
.img-soldadura { background-image: url('../imgs/soldadura.png'); }
.img-arcspray { background-image: url('../imgs/arcspray.jpeg'); }
.img-fabricacion { background-image: url('../imgs/fabricacion.png'); }
.img-pinturaenpolvo { background-image: url('../imgs/pinturaenpolvo.png'); }
.img-pinturaindustrial { background-image: url('../imgs/pinturaindustrial.png'); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .add-pro-container {
        flex-direction: column !important;
        padding: 0 20px;
    }
    .add-pro-image-side {
        width: 100%;
        justify-content: center !important;
        margin-bottom: 40px;
    }
    .add-pro-square {
        width: 100%;
        max-width: 400px;
    }
    .add-pro-text-side {
        padding: 0;
        text-align: center;
    }
    .add-pro-title { font-size: 2.2rem; }
}

/* ANIMACIONES */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.05); background-color: #128c7e; }
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float span { font-weight: 600; font-size: 0.9rem; }

@media (max-width: 600px) {
    .whatsapp-float span { display: none; } /* En móvil solo el icono */
    .whatsapp-float { padding: 15px; border-radius: 50%; }
}
/* Botón sutil */
.service-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #232325;
    color: #232325;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-radius: 50px; /* Botón burbuja */
    transition: 0.3s ease;
}

.service-btn:hover {
    background-color: #232325;
    border-color: #232325;
    color: white;
}

:root {
    --dark: #ffffff;
    --texte: #0f0f0f;
    --texty: #212121;
    --acc: #9ba9ab; /* Azul Tech */
    --accentw: rgba(59, 130, 246, 0.3);
}

.bubble-feature-section {
    background-color: var(--dark);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.feature-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad imagen, mitad texto */
    align-items: center;
    gap: 80px;
}

/* --- 1. LA FOTO TIPO BURBUJA --- */
.image-column {
    position: relative;
    display: flex;
    justify-content: center;
}

.bubble-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

.bubble-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ESTA ES LA FORMA DE BURBUJA ORGÁNICA */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    /* Animación de "respiración" de la forma */
    animation: bubble-morph 8s ease-in-out infinite;
    box-shadow: 0 0 40px var(--accentw);
    transition: all 0.5s ease;
}

/* Animación que hace que la burbuja se mueva */
@keyframes bubble-morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Badge flotante (el circulito con texto) */
.floating-badge {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background: var(--acc);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
}

.floating-badge span { font-weight: 800; font-size: 1.2rem; display: block; }
.floating-badge small { font-size: 0.8rem; opacity: 0.9; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- 2. TEXTO PROLIJO --- */
.text-column {
    font-family: 'Inter', sans-serif;
}

.sub-title {
    color: var(--acc);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Space Grotesk', sans-serif; /* Tu fuente industrial */
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--texte);
    margin-bottom: 30px;
}

.description {
    color: var(--texty);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--texte);
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list li i {
    color: var(--acc);
    width: 20px;
}

/* Botón Smooth */
.cta-bubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #3f3b3b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px; /* Bordes redondos suaves */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .feature-container {
        grid-template-columns: 1fr; /* Una columna en móvil */
        text-align: center;
        gap: 50px;
    }

    .image-column { order: 1; } /* Imagen primero */
    .text-column { order: 2; }
    
    .bubble-wrapper { width: 300px; height: 300px; margin: 0 auto; }
    
    .feature-list li { justify-content: center; }
    .main-title { font-size: 2.5rem; }
}

/* ESTILOS FOOTER - VERSIÓN METAL & ACERO */
.site-footer {
    background-color: #0f1011; /* Fondo oscuro sutilmente azulado/gris */
    color: #b0b0b0; /* Texto gris claro para buena lectura */
    padding-top: 4rem;
    font-family: 'Inter', sans-serif;
    border-top: 3px solid #9ba9ab; /* Tu color principal (Borde superior) */
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.footer-logo span { 
    color: #9ba9ab; /* Acento en el logo */
}

.footer-col h4 {
    color: #e6e6e6; /* Títulos casi blancos */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 2px solid #9ba9ab; /* Pequeño detalle de diseño */
    padding-left: 10px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col ul li a { 
    color: #888888; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

/* Efecto Hover en Enlaces */
.footer-col ul li a:hover { 
    color: #9ba9ab; /* Color acero al pasar el mouse */
    padding-left: 5px; 
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

/* Iconos de contacto */
.contact-list li svg {
    color: #9ba9ab; /* Iconos en tu color */
    width: 18px;
    height: 18px;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9ba9ab; /* Icono del color principal */
    background: rgba(155, 169, 171, 0.1); /* Fondo muy sutil con tu color */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    transition: 0.3s;
    border: 1px solid rgba(155, 169, 171, 0.2);
}

/* Hover en Redes Sociales */
.social-links a:hover { 
    background: #9ba9ab; /* Fondo sólido al hover */
    color: #0f1011; /* Icono oscuro para contraste */
    border-color: #9ba9ab;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #080809; /* Fondo final más oscuro */
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    border-top: 1px solid #1f2124;
    color: #666;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}
/* ESTILOS STATS */
.stats-section {
    background-color: #0a0a0a;
    padding: 4rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    color: #8e8080; 
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.stat-item h3::after {
    content: '+';
    color: #ffffff;
    font-size: 1.5rem;
    vertical-align: super;
}

.stat-item p {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; }
}

/* ESTILOS CTA */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../imgs/2.jpeg'); /* Usa una de tus imágenes de fondo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    padding: 5rem 1rem;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-cta, .btn-secondary-cta {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-primary-cta {
    background-color: #9ba9ab; 
    color: white;
}

.btn-secondary-cta {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-primary-cta:hover, .btn-secondary-cta:hover {
    transform: translateY(-5px);
}

/* CLASES PARA ANIMACIÓN SCROLL */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* BARRA DE CONFIANZA */
.trust-bar {
    background-color: #ecf0f1;
    padding: 3rem 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-title {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6; /* Sutil por defecto */
    transition: opacity 0.3s;
}

.logos-grid:hover { opacity: 1; }

.trust-logo {
    height: 60px; /* Tamaño uniforme */
    width: auto;
    filter: grayscale(100%) brightness(0.8); /* Efecto metalizado */
    transition: all 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%) brightness(1); /* Color original al hover */
    transform: scale(1.1);
}

/* Diferenciar certificaciones si quieres */
.trust-logo.cert {
    height: 50px;
}

/* =========================================
   RESPONSIVE OPTIMIZATION (Móvil y Tablet)
   ========================================= */

@media (max-width: 992px) {
    /* 1. HEADER & HERO AJUSTADO */
    .site-header { padding: 15px 20px; }
    
    .hero { padding: 0 5%; text-align: center; justify-content: center; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero h1 { font-size: 3rem; margin: 15px 0; }
    .hero p { font-size: 1rem; padding: 0 10px; }

    /* 2. SECCIÓN TRAYECTORIA (BUBBLE) */
    .feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .image-column { order: 1; margin-bottom: 20px; }
    .text-column { order: 2; padding: 0 20px; }
    
    .bubble-wrapper {
        width: 280px; height: 280px;
        margin: 0 auto;
    }
    
    .floating-badge {
        width: 90px; height: 90px;
        padding: 10px;
        bottom: 10px; right: 0;
    }
    .floating-badge span { font-size: 1rem; }
    
    .feature-list li { justify-content: center; }
    
    /* 3. SERVICIOS (ADD PRO ROW) */
    .add-pro-row { padding: 40px 0; }
    
    .add-pro-container, 
    .row-reverse .add-pro-container {
        flex-direction: column !important; /* Fuerza columna siempre */
        gap: 30px;
    }

    .add-pro-image-side, 
    .row-reverse .add-pro-image-side {
        width: 100%;
        justify-content: center !important;
        margin: 0;
    }

    .add-pro-square {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16/9; /* Más panorámico en móvil para no ocupar tanto alto */
        border-radius: 15px;
    }

    .add-pro-text-side {
        padding: 0 20px;
        text-align: center;
    }

    .add-pro-title { font-size: 2rem; }
    .add-pro-desc { font-size: 1rem; }

    /* 4. BARRA DE CONFIANZA (LOGOS) */
    .logos-grid { gap: 2rem; }
    .trust-logo { height: 40px; }
    .trust-bar { padding: 2rem 0; }
}

@media (max-width: 768px) {
    /* 5. ESTADÍSTICAS */
    .stats-container {
        grid-template-columns: 1fr 1fr; /* 2 columnas en vez de 1 */
        gap: 30px;
    }
    
    .stat-item {
        border-right: none;
        padding: 0;
        border-bottom: none; /* Quitamos bordes para limpiar */
    }

    /* 6. CTA FINAL */
    .cta-section { padding: 3rem 1rem; }
    .cta-content h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-primary-cta, .btn-secondary-cta { width: 100%; justify-content: center; }
    
    /* 7. FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-col h4 {
        border-left: none; /* Quitamos la línea lateral decorativa */
        border-bottom: 2px solid #9ba9ab;
        display: inline-block;
        padding-bottom: 5px;
        padding-left: 0;
    }
    
    .contact-list li { justify-content: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    /* Ajustes finales para pantallas muy pequeñas */
    .hero h1 { font-size: 2.5rem; }
    .stats-container { grid-template-columns: 1fr; } /* 1 sola columna */
    
    .bubble-wrapper { width: 100%; height: auto; aspect-ratio: 1/1; }
    
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 12px; border-radius: 50%; }
}

/* SECCIÓN MAPA SATELITAL (LEAFLET) */
.location-section {
    padding: 60px 20px;
    background: #ffffff; /* Fondo oscuro para resaltar el satélite */
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 550px; /* Un poco más alto para mayor impacto */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* El contenedor del mapa Leaflet */
#satellite-map {
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #0f1011; /* Color de fondo mientras carga */
}

/* Tarjeta Flotante (Estilo Glass oscuro) */
.map-info-card {
    position: absolute;
    top: 40px; left: 40px;
    background: rgba(10, 10, 10, 0.85); /* Semitransparente */
    backdrop-filter: blur(12px); /* Efecto borroso detrás */
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #9ba9ab;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 1000;
    max-width: 320px;
}

.map-info-card h3 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.map-info-card .address, 
.map-info-card .hours {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    line-height: 1.5;
}

.map-info-card i {
    color: #9ba9ab;
    min-width: 20px;
}

/* Botón "Cómo llegar" */
.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    padding: 12px 25px;
    background: #9ba9ab;
    color: #0f1011;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-directions:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .map-wrapper {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
    }
    #satellite-map { height: 400px; }
    .map-info-card {
        position: relative; top: 0; left: 0;
        max-width: 100%; border-radius: 0;
        background: #111; /* Sólido en móvil */
    }
}

/* --- ACORDEÓN FOOTER --- */
.footer-accordion-btn {
    background: none;
    border: none;
    color: #888888; /* Mismo color de los links del footer */
    font-family: inherit;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Efecto hover igual al de los otros links */
.footer-accordion-btn:hover {
    color: #9ba9ab;
    padding-left: 5px; 
}

.footer-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Girar flecha cuando está abierto */
.footer-accordion-btn.open .footer-arrow {
    transform: rotate(180deg);
}

/* Lista de sub-servicios oculta */
.footer-submenu {
    display: none; /* Oculto por defecto */
    flex-direction: column;
    padding-left: 15px !important; /* Indentación para que se note que es un submenú */
    margin-top: 10px;
    border-left: 1px solid rgba(155, 169, 171, 0.2); /* Línea decorativa sutil */
}

.footer-submenu.show {
    display: flex;
    animation: slideDownFooter 0.3s ease;
}

.footer-submenu li {
    margin-bottom: 8px !important;
}

.footer-submenu li a {
    font-size: 0.9rem; /* Letra un poquito más chica */
    color: #666 !important;
}

.footer-submenu li a:hover {
    color: #9ba9ab !important;
}

@keyframes slideDownFooter {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- CORRECCIÓN ACORDEÓN FOOTER EN CELULARES --- */
@media (max-width: 768px) {
    /* 1. Centra el botón de Servicios y la flecha */
    .footer-accordion-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* 2. Centra también la lista desplegable y le quita la sangría */
    .footer-submenu {
        padding-left: 0 !important;
        align-items: center;
    }
}