 /* =======================================================
        Importación y configuración de Montserrat
    ======================================================= */
 
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
 /* =======================================================
        Reinicio y estilos base mejorados
    ======================================================= */
 
 :root {
     --color-primary: #540606;
     --color-secondary: #dda97cdd;
     --color-accent: #3498db;
     --color-light: #f5efef;
     --color-dark: #540606;
     --color-texto-claro: #f5efef;
     --color-secundario: #dda97cdd;
     --color-principal: #540606;
     --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
     --transition: all 0.3s ease;
     --transition-slow: all 0.6s ease;
     --container-padding: clamp(1rem, 5vw, 5%);
     --header-height: 80px;
 }
 
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 html {
     scroll-behavior: smooth;
 }
 
 body {
     font-family: 'Montserrat', sans-serif;
     line-height: 1.6;
     color: #333;
     overflow-x: hidden;
     background: #ffffff;
     font-weight: 400;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
 }
 /* Mejora de legibilidad para Montserrat */
 
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
     letter-spacing: -0.02em;
     line-height: 1.2;
     color: #333;
 }
 
 p {
     margin-bottom: 1.5rem;
     font-family: 'Montserrat', sans-serif;
     font-weight: 400;
     line-height: 1.7;
     color: #333;
 }
 /* Contenedor general para control de anchos */
 
 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 var(--container-padding);
 }
 /* ============================================
        ANIMACIONES Y EFECTOS DE MOVIMIENTO
    ============================================ */
 
 @keyframes float {
     0%,
     100% {
         transform: translateY(0);
     }
     50% {
         transform: translateY(-10px);
     }
 }
 
 @keyframes pulse {
     0%,
     100% {
         transform: scale(1);
     }
     50% {
         transform: scale(1.05);
     }
 }
 
 @keyframes bounce {
     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateY(0);
     }
     40% {
         transform: translateY(-20px);
     }
     60% {
         transform: translateY(-10px);
     }
 }
 
 @keyframes typewriter {
     from {
         width: 0;
     }
     to {
         width: 100%;
     }
 }
 
 @keyframes blink {
     from,
     to {
         border-color: transparent;
     }
     50% {
         border-color: var(--color-secondary);
     }
 }
 
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }
 
 @keyframes shake {
     0%,
     100% {
         transform: translateX(0);
     }
     10%,
     30%,
     50%,
     70%,
     90% {
         transform: translateX(-5px);
     }
     20%,
     40%,
     60%,
     80% {
         transform: translateX(5px);
     }
 }
 
 @keyframes glow {
     0%,
     100% {
         text-shadow: 0 0 5px rgba(221, 169, 124, 0.5);
     }
     50% {
         text-shadow: 0 0 20px rgba(221, 169, 124, 0.8), 0 0 30px rgba(221, 169, 124, 0.6);
     }
 }
 /* ======================================================= 
        HEADER MEJORADO - Corrección del menú hamburguesa   
    ======================================================= */
 
 .header-principal {
     background-image: linear-gradient(to right, #5a0202, #8a0303);
     box-shadow: none;
     position: sticky;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     padding: 0.8rem var(--container-padding);
     display: flex;
     justify-content: space-between;
     align-items: center;
     transition: var(--transition);
     animation: none;
 }
 
 .header-principal.scrolled {
     padding: 0.5rem var(--container-padding);
     background-image: linear-gradient(to bottom, rgba(84, 6, 6, 0.95), rgba(84, 6, 6, 0.8));
     backdrop-filter: blur(10px);
 }
 
 .logo {
     display: flex;
     align-items: center;
 }
 
 .logo img {
     height: 50px;
     width: auto;
     transition: var(--transition);
     animation: pulse 2s infinite;
 }
 
 .header-principal.scrolled .logo img {
     height: 40px;
     animation: none;
 }
 /* Botón del menú hamburguesa MEJORADO */
 
 .menu-toggle {
     display: none;
     flex-direction: column;
     justify-content: space-between;
     width: 35px;
     height: 30px;
     background: transparent;
     border: none;
     cursor: pointer;
     padding: 0;
     z-index: 1001;
     position: relative;
 }
 
 .menu-toggle span {
     width: 100%;
     height: 4px;
     background-color: var(--color-light);
     border-radius: 5px;
     transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
     position: relative;
     transform-origin: center;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 }
 
 .menu-toggle.active span:nth-child(1) {
     transform: rotate(45deg) translate(8px, 8px);
     background-color: var(--color-secondary);
 }
 
 .menu-toggle.active span:nth-child(2) {
     opacity: 0;
     transform: translateX(-10px);
 }
 
 .menu-toggle.active span:nth-child(3) {
     transform: rotate(-45deg) translate(8px, -8px);
     background-color: var(--color-secondary);
 }
 /* Mostrar navegación normal en pantallas grandes */
 
 .barra-navegacion ul {
     display: flex;
     list-style: none;
     align-items: center;
     flex-wrap: wrap;
 }
 
 .barra-navegacion li {
     position: relative;
     margin: 0 0.8rem;
 }
 
 .barra-navegacion a {
     text-decoration: none;
     color: var(--color-light);
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
     padding: 0.5rem 0;
     position: relative;
     transition: var(--transition);
     white-space: nowrap;
 }
 
 .barra-navegacion a:after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: 0;
     left: 0;
     background-color: var(--color-secondary);
     transition: var(--transition);
 }
 
 .barra-navegacion a:hover:after {
     width: 100%;
 }
 
 .barra-navegacion a.active:after {
     width: 100%;
     background-color: var(--color-secondary);
 }
 
 .dropdown {
     position: relative;
 }
 
 .catalogo-dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     background: rgba(84, 6, 6, 0.95);
     min-width: 200px;
     box-shadow: var(--shadow);
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px);
     transition: var(--transition);
     z-index: 100;
     border-radius: 4px;
     padding: 0.5rem 0;
 }
 
 .catalogo-dropdown a {
     display: block;
     padding: 0.8rem 1.5rem;
     color: var(--color-light);
     transition: var(--transition);
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
 }
 
 .catalogo-dropdown a:hover {
     background: var(--color-primary);
     color: var(--color-secondary);
     padding-left: 2rem;
 }
 
 .dropdown:hover .catalogo-dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }
 /* =============================================
   EFECTOS DE DESTELLO SOLAR Y ANIMACIONES DE LETRAS 
   (TRANSFERIDOS DESDE EL APARTADO DE INICIO)
============================================= */

/* DESTELLO HORIZONTAL EN HEADER (EFECTO SOLAR) */
.header-principal::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.04) 20%, 
        rgba(255, 215, 0, 0.5) 50%,
        rgba(255, 255, 255, 0.04) 80%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: sunFlash 3.5s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes sunFlash {
    0% {
        left: -150%;
        opacity: 0.5;
    }
    50% {
        left: 150%;
        opacity: 0.7;
    }
    100% {
        left: 150%;
        opacity: 0.5;
    }
}

/* EFECTOS MEJORADOS EN ENLACES DE NAVEGACIÓN */
.barra-navegacion a {
    text-decoration: none;
    color: var(--color-light) !important;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
}

.barra-navegacion a:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* SUBRAYADO SOLAR ANIMADO EN ENLACES */
.barra-navegacion a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #FFD700, #FF8C00, #FFD700);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.barra-navegacion a:hover::after {
    width: 100%;
}

/* EFECTO EN LOGO */
.logo img {
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.2));
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* ANIMACIÓN DE PULSO PARA LOGO */
@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    }
}

.logo img {
    animation: pulseLogo 2s infinite;
}

/* MEJORA DROPDOWN CON EFECTOS SOLARES */
.catalogo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(84, 6, 6, 0.95);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-radius: 4px;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.catalogo-dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-light);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.1);
}

.catalogo-dropdown a:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    color: #FFD700 !important;
    padding-left: 2rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.dropdown:hover .catalogo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* EFECTO BRILLO EN BOTÓN HAMBURGUESA */
.menu-toggle span {
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

.menu-toggle.active span {
    background-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}
 /* =================================
        SECCIONES DE LA PÁGINA 
    =============================== */
 
 .hero-nosotros {
     background: linear-gradient(180deg, rgba(84, 6, 6, 0.58) 0%, rgba(84, 6, 6, 0.45) 100%), url('../img/nuestroservicio6.jpg');
     height: 80vh;
     min-height: 400px;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: var(--color-texto-claro);
     position: relative;
     padding-top: var(--header-height);
 }
 
 .hero-title {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(2rem, 8vw, 5rem);
     margin: 0;
     color: var(--color-light);
     text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.573);
     font-weight: 700;
 }
 
 .hero-subtitle {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(0.9rem, 3vw, 1.5rem);
     margin: clamp(0.8rem, 2vw, 1rem) 0 0;
     max-width: 800px;
     color: var(--color-light);
     font-weight: 400;
 }
 /* Sección "Nuestra Empresa" */
 
 .nuestra-empresa {
     background: #ffffff;
     padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
     color: #333;
     text-align: center;
     position: relative;
 }
 
 .empresa-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: clamp(1.5rem, 3vw, 2rem);
     max-width: 1200px;
     margin: 0 auto;
 }
 
 .empresa-item {
     background-color: #f8f9fa;
     border-radius: 10px;
     padding: clamp(2rem, 4vw, 3rem);
     min-height: 350px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border: 1px solid rgba(221, 169, 124, 0.3);
     color: #333;
 }
 
 .empresa-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
     background-color: #ffffff;
 }
 
 .section-title {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(2rem, 5vw, 3.5rem);
     margin-bottom: clamp(1rem, 2vw, 1.5rem);
     text-transform: uppercase;
     font-weight: 700;
     color: #540606;
 }
 
 .section-subtitle {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(1.5rem, 4vw, 2.5rem);
     margin-bottom: clamp(0.8rem, 2vw, 1rem);
     text-transform: uppercase;
     font-weight: 600;
     color: var(--color-secundario);
 }
 
 .empresa-item p {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(1rem, 2.2vw, 1.3rem);
     line-height: 1.7;
     font-weight: 400;
     margin-top: 1rem;
     color: #333;
 }
 
 .empresa-icon {
     width: clamp(70px, 16vw, 90px);
     height: clamp(70px, 16vw, 90px);
     margin-bottom: clamp(1rem, 2vw, 1.5rem);
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     background-color: rgba(221, 169, 124, 0.2);
 }
 
 .empresa-icon svg {
     width: clamp(35px, 9vw, 45px);
     height: clamp(35px, 9vw, 45px);
     fill: var(--color-secundario);
 }
 /* Sección "Conoce a Nuestro Equipo" */
 
 .galeria-equipo {
     background: #ffffff;
     padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
     text-align: center;
     color: #333;
 }
 
 .equipo-grid {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: clamp(1.5rem, 3vw, 2rem);
     max-width: 1200px;
     margin: 0 auto;
 }
 
 .miembro-equipo {
     display: flex;
     flex-direction: column;
     align-items: center;
     border-radius: 15px;
     padding: clamp(1.5rem, 3vw, 2rem);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     width: 100%;
     max-width: 350px;
     background-color: #f8f9fa;
     color: #333;
 }
 
 .miembro-equipo:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }
 
 .miembro-equipo img {
     width: clamp(120px, 25vw, 150px);
     height: clamp(120px, 25vw, 150px);
     border-radius: 50%;
     object-fit: cover;
     border: 3px solid var(--color-secundario);
     margin-bottom: clamp(0.8rem, 2vw, 1rem);
 }
 
 .miembro-equipo h3 {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(1.2rem, 3vw, 1.5rem);
     margin: clamp(0.3rem, 1vw, 0.5rem) 0 clamp(0.2rem, 0.5vw, 0.2rem);
     font-weight: 600;
     color: #333;
 }
 
 .miembro-equipo p {
     font-family: 'Montserrat', sans-serif;
     font-style: italic;
     color: #333;
     margin: 0;
     font-weight: 400;
     font-size: clamp(0.9rem, 2vw, 1rem);
 }
 /* Sección "Valores que Nos Impulsan" */
 
 .nuestros-valores {
     background: #ffffff;
     padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
     text-align: center;
     color: #333;
     position: relative;
 }
 
 .valores-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: clamp(1.5rem, 3vw, 2rem);
     max-width: 1000px;
     margin: 0 auto;
 }
 
 .valor-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     background-color: #f8f9fa;
     border-radius: 15px;
     padding: clamp(1.5rem, 3vw, 2rem);
     transition: transform 0.3s ease;
     border: 1px solid rgba(221, 169, 124, 0.3);
     width: 100%;
     max-width: 350px;
     color: #333;
 }
 
 .valor-item:hover {
     transform: translateY(-5px);
     background-color: #ffffff;
 }
 
 .valor-icon {
     font-size: clamp(2.5rem, 6vw, 3rem);
     color: var(--color-secundario);
     margin-bottom: clamp(0.8rem, 2vw, 1rem);
 }
 
 .valor-item h3 {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(1.4rem, 3.5vw, 1.8rem);
     margin: 0;
     font-weight: 600;
     color: #333;
 }
 
 .valor-item p {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(0.9rem, 2vw, 1.1rem);
     line-height: 1.6;
     text-align: center;
     color: #333;
 }
 
 .cta-nosotros {
     position: relative;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     padding: 3rem 2rem;
     background: linear-gradient(135deg, #540606 0%, #3d0404 50%, #540606 100%);
     overflow: hidden;
 }
 /* Efecto de partículas flotantes */
 
 .cta-nosotros::before {
     content: '';
     position: absolute;
     width: 400px;
     height: 400px;
     background: radial-gradient(circle, rgba(221, 169, 124, 0.2) 0%, transparent 70%);
     border-radius: 50%;
     top: -200px;
     right: -200px;
     animation: float 8s ease-in-out infinite;
 }
 
 .cta-nosotros::after {
     content: '';
     position: absolute;
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(221, 169, 124, 0.15) 0%, transparent 70%);
     border-radius: 50%;
     bottom: -150px;
     left: -150px;
     animation: float 10s ease-in-out infinite reverse;
 }
 
 @keyframes float {
     0%,
     100% {
         transform: translate(0, 0) scale(1);
     }
     50% {
         transform: translate(30px, 30px) scale(1.1);
     }
 }
 
 .cta-content {
     position: relative;
     z-index: 2;
     max-width: 900px;
     text-align: center;
 }
 
 .cta-icon {
     font-size: 5rem;
     margin-bottom: 1.5rem;
     animation: pulse 2s ease-in-out infinite;
     filter: drop-shadow(0 5px 15px rgba(221, 169, 124, 0.5));
 }
 
 @keyframes pulse {
     0%,
     100% {
         transform: scale(1);
         opacity: 0.8;
     }
     50% {
         transform: scale(1.1);
         opacity: 1;
     }
 }
 
 .cta-title {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(2.5rem, 7vw, 4.5rem);
     font-weight: 800;
     color: var(--color-light);
     margin-bottom: 1.5rem;
     text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
     letter-spacing: -1px;
     line-height: 1.2;
 }
 
 .cta-title span {
     background: linear-gradient(135deg, #dda97c 0%, #f4c89d 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }
 
 .cta-text {
     font-family: 'Montserrat', sans-serif;
     font-size: clamp(1.1rem, 3vw, 1.5rem);
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 3rem;
     line-height: 1.6;
     font-weight: 300;
 }
 
 .whatsapp-button-container {
     position: relative;
     display: inline-block;
 }
 
 .whatsapp-button {
     position: relative;
     display: inline-flex;
     align-items: center;
     gap: 1rem;
     background: linear-gradient(135deg, #dda97c 0%, #c4915e 100%);
     color: #540606;
     padding: 1.5rem 3rem;
     border-radius: 60px;
     text-decoration: none;
     font-family: 'Montserrat', sans-serif;
     font-size: 1.3rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     box-shadow: 0 10px 40px rgba(221, 169, 124, 0.4);
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     overflow: hidden;
 }
 
 .whatsapp-button::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
     transition: left 0.5s;
 }
 
 .whatsapp-button:hover::before {
     left: 100%;
 }
 
 .whatsapp-button:hover {
     transform: translateY(-8px) scale(1.05);
     box-shadow: 0 20px 60px rgba(221, 169, 124, 0.6);
     background: linear-gradient(135deg, #f4c89d 0%, #dda97c 100%);
 }
 
 .whatsapp-button:active {
     transform: translateY(-4px) scale(1.02);
 }
 /* Icono de WhatsApp animado */
 
 .whatsapp-icon {
     width: 40px;
     height: 40px;
     position: relative;
     animation: bounce 2s ease-in-out infinite;
 }
 
 @keyframes bounce {
     0%,
     100% {
         transform: translateY(0);
     }
     50% {
         transform: translateY(-10px);
     }
 }
 /* Mano presionando */
 
 .hand-icon {
     position: absolute;
     bottom: -20px;
     right: -15px;
     font-size: 2rem;
     animation: tap 1.5s ease-in-out infinite;
     filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
 }
 
 @keyframes tap {
     0%,
     100% {
         transform: translate(0, 0) rotate(-10deg);
     }
     50% {
         transform: translate(-5px, -5px) rotate(-15deg);
     }
 }
 /* Ondas de pulso alrededor del botón */
 
 .pulse-ring {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 100%;
     height: 100%;
     border: 3px solid #dda97c;
     border-radius: 60px;
     opacity: 0;
     animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
 }
 
 .pulse-ring:nth-child(2) {
     animation-delay: 0.5s;
 }
 
 .pulse-ring:nth-child(3) {
     animation-delay: 1s;
 }
 
 @keyframes pulseRing {
     0% {
         transform: translate(-50%, -50%) scale(0.8);
         opacity: 0.8;
     }
     100% {
         transform: translate(-50%, -50%) scale(1.5);
         opacity: 0;
     }
 }
 /* Elementos decorativos CNC */
 
 .cnc-pattern {
     position: absolute;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
     opacity: 0.05;
     background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(221, 169, 124, 0.1) 35px, rgba(221, 169, 124, 0.1) 70px);
     pointer-events: none;
 }
 /* Responsive */
 
 @media (max-width: 768px) {
     .whatsapp-button {
         padding: 1.2rem 2rem;
         font-size: 1.1rem;
         gap: 0.8rem;
     }
     .whatsapp-icon {
         width: 35px;
         height: 35px;
     }
     .hand-icon {
         font-size: 1.5rem;
         bottom: -15px;
         right: -10px;
     }
     .cta-text {
         padding: 0 1rem;
     }
 }
 /* Detalles adicionales */
 
 .features {
     display: flex;
     gap: 2rem;
     justify-content: center;
     margin-top: 3rem;
     flex-wrap: wrap;
 }
 
 .feature-item {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     color: rgba(255, 255, 255, 0.9);
     font-family: 'Montserrat', sans-serif;
     font-size: 1rem;
     font-weight: 400;
 }
 
 .feature-item svg {
     width: 24px;
     height: 24px;
     fill: #dda97c;
 }
 /* ==================
        FOOTER
    ================= */
 
 .footer-principal {
     background-color: #f8f8f8;
     color: #333;
     padding: 30px 20px;
     font-family: 'Montserrat', sans-serif;
     text-align: center;
 }
 
 footer p {
     font-family: 'Montserrat', sans-serif;
     color: black;
 }
 
 .footer-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-around;
     align-items: flex-start;
     max-width: 1500px;
     margin: 0 auto;
 }
 
 .footer-columna {
     flex-basis: 30%;
     padding: 20px;
 }
 
 .footer-info {
     text-align: left;
 }
 
 .footer-container h3 {
     color: #dda97cdd;
     font-size: 1.2rem;
     margin-bottom: 15px;
     font-weight: bold;
     font-family: 'Montserrat', sans-serif;
 }
 
 .footer-enlaces ul {
     list-style: none;
     padding: 0;
     margin: 0;
     text-align: left;
 }
 
 .footer-enlaces li {
     margin-bottom: 10px;
 }
 
 .footer-enlaces a {
     color: #000000;
     text-decoration: none;
     transition: color 0.3s ease;
     font-family: 'Montserrat', sans-serif;
 }
 
 .footer-enlaces a:hover {
     color: #dda97cdd;
 }
 
 .footer-contacto {
     text-align: left;
     color: #dda97cdd;
 }
 
 .footer-contacto p {
     margin-bottom: 10px;
     font-family: 'Montserrat', sans-serif;
     color: black;
 }
 
 .footer-contacto i {
     margin-right: 8px;
     color: #dda97cdd;
 }
 
 .footer-social h3 {
     margin-top: 20px;
     text-align: left;
 }
 
 .social-icons a {
     color: #555;
     font-size: 1.5rem;
     margin-right: 15px;
     transition: color 0.3s ease;
 }
 
 .social-icons a:hover {
     color: #dda97cdd;
 }
 
 .mapa-ubicacion-footer iframe {
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     margin-top: 15px;
 }
 
 .copyright {
     text-align: left;
     margin-top: 30px;
     font-size: 0.8rem;
     color: #888;
     font-family: 'Montserrat', sans-serif;
 }
 
 .mapa-ubicacion-footer {
     width: 100%;
     margin-top: 1.5rem;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
 }
 
 .mapa-ubicacion-footer iframe {
     width: 100%;
     height: 200px;
     display: block;
 }
 /* =======================================================
                WhatsApp flotante y Volver Arriba
            ======================================================= */
 
 .whatsapp-flotante,
 .back-to-top {
     position: fixed;
     bottom: 25px;
     right: 25px;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     z-index: 999;
     transition: transform 0.3s ease, background-color 0.3s ease;
 }
 
 .whatsapp-flotante {
     background: #25D366;
     animation: bounce 2s infinite;
 }
 
 .whatsapp-flotante:hover {
     transform: scale(1.1);
     animation: none;
 }
 
 .whatsapp-flotante img {
     width: 35px;
     height: 35px;
 }
 
 @keyframes bounce {
     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateY(0);
     }
     40% {
         transform: translateY(-10px);
     }
     60% {
         transform: translateY(-5px);
     }
 }
 /* =======================================================
                RESPONSIVE DESIGN - Menú hamburguesa centrado
            ======================================================= */
 
 @media (max-width: 768px) {
     /* Botón del menú hamburguesa */
     .menu-toggle {
         display: flex;
     }
     /* Navegación para móviles - CENTRADA */
     .barra-navegacion {
         position: fixed;
         top: 0;
         right: -100%;
         width: 100%;
         height: 100vh;
         background: linear-gradient(to bottom, #380101, #5f0000);
         transition: right 0.3s ease;
         z-index: 999;
         overflow-y: auto;
         padding: 80px 20px 20px;
         box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
         display: flex;
         justify-content: center;
         align-items: center;
     }
     .barra-navegacion.visible {
         right: 0;
     }
     .barra-navegacion ul {
         flex-direction: column;
         align-items: center;
         justify-content: center;
         width: 100%;
         text-align: center;
     }
     .barra-navegacion li {
         margin: 15px 0;
         width: 100%;
     }
     .barra-navegacion a {
         display: block;
         padding: 15px 0;
         font-size: 20px;
         font-weight: 600;
         border-bottom: 1px solid rgba(255, 255, 255, 0.1);
         width: 100%;
         font-family: 'Montserrat', sans-serif;
     }
     .barra-navegacion a:after {
         display: none;
     }
     /* Dropdown en móviles */
     .catalogo-dropdown {
         position: static;
         opacity: 1;
         visibility: visible;
         transform: none;
         display: none;
         background: rgba(84, 6, 6, 0.7);
         margin-top: 10px;
         padding-left: 0;
         box-shadow: none;
         width: 100%;
         text-align: center;
     }
     .catalogo-dropdown.visible {
         display: block;
     }
     .catalogo-dropdown a {
         padding: 12px 0;
         font-size: 18px;
         border-bottom: 1px solid rgba(255, 255, 255, 0.1);
         font-family: 'Montserrat', sans-serif;
     }
     /* Ajustes para el menú de usuario */
     .barra-navegacion .dropdown .catalogo-dropdown {
         position: static;
         display: none;
         background: rgba(84, 6, 6, 0.7);
         margin-top: 10px;
         padding-left: 0;
         box-shadow: none;
         width: 100%;
         text-align: center;
     }
     .barra-navegacion .dropdown .catalogo-dropdown.visible {
         display: block;
     }
     /* Header y Navegación */
     .header-principal {
         padding: 0.8rem 3%;
     }
     .empresa-grid {
         grid-template-columns: 1fr;
     }
     .empresa-item {
         min-height: 300px;
         padding: clamp(1.5rem, 3vw, 2.5rem);
     }
     .empresa-item p {
         font-size: clamp(0.9rem, 2vw, 1.2rem);
     }
     /* Footer */
     .footer-container {
         flex-direction: column;
         align-items: center;
         text-align: center;
     }
     .footer-columna {
         margin-bottom: 2rem;
     }
     .footer-columna ul {
         display: flex;
         flex-direction: column;
         align-items: center;
     }
     .footer-contacto p {
         justify-content: center;
     }
     .social-icons {
         display: flex;
         justify-content: center;
     }
     .social-icons a {
         animation: none;
     }
 }
 /* Para pantallas más grandes, asegurar que el dropdown funcione con hover */
 
 @media (min-width: 769px) {
     .catalogo-dropdown {
         position: absolute;
         top: 100%;
         left: 0;
         background: rgba(84, 6, 6, 0.95);
         min-width: 200px;
         box-shadow: var(--shadow);
         opacity: 0;
         visibility: hidden;
         transform: translateY(10px);
         transition: var(--transition);
         z-index: 100;
         border-radius: 4px;
         padding: 0.5rem 0;
         display: block !important;
     }
     .dropdown:hover .catalogo-dropdown {
         opacity: 1;
         visibility: visible;
         transform: translateY(0);
     }
     /* Asegurar que la navegación sea visible */
     .barra-navegacion {
         display: block !important;
     }
 }
 
 @media (max-width: 576px) {
     .header-principal {
         padding: 0.8rem 1rem;
     }
     .logo img {
         height: 35px;
     }
     .whatsapp-flotante {
         width: 50px;
         height: 50px;
         bottom: 20px;
         right: 20px;
     }
     .whatsapp-flotante img {
         width: 30px;
         height: 30px;
     }
     .section-title {
         font-size: clamp(1.8rem, 6vw, 2.5rem);
     }
     .hero-nosotros {
         height: 50vh;
         min-height: 350px;
     }
 }
 /* =======================================================
                Mejoras de Accesibilidad y Performance
            ======================================================= */
 
 @media (prefers-reduced-motion: reduce) {
     * {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
     }
     .reveal {
         opacity: 1;
         transform: none !important;
     }
 }
 
 @media (prefers-contrast: high) {
     .empresa-item,
     .miembro-equipo,
     .valor-item {
         border-width: 2px;
         border-color: #fff;
     }
     .section-title,
     .hero-title {
         text-shadow: 2px 2px 5px #000;
     }
 }
 /* =================================================
                ANIMACIONES AL HACER SCROLL (Reveal)
            ================================================ */
 
 .reveal {
     position: relative;
     opacity: 0;
     transition: all 1s ease;
 }
 
 .reveal.active {
     opacity: 1;
 }
 
 .reveal.fade-left {
     transform: translateX(-50px);
 }
 
 .reveal.fade-right {
     transform: translateX(50px);
 }
 
 .reveal.fade-bottom {
     transform: translateY(50px);
 }
 
 .reveal.fade-left.active {
     transform: translateX(0);
 }
 
 .reveal.fade-right.active {
     transform: translateX(0);
 }
 
 .reveal.fade-bottom.active {
     transform: translateY(0);
 }
 /* ================================================
        ESTILOS PARA LIBRO DE RECLAMACIONES
==================================================== */
 
 .libro-reclamaciones {
     color: #fffefbc0 !important;
     font-weight: 700 !important;
     position: relative;
     font-family: 'Montserrat', sans-serif;
 }
 
 .libro-reclamaciones::before {
     content: "";
     background-image: url('../img/libro-reclamaciones.png');
     background-size: contain;
     background-repeat: no-repeat;
     display: inline-block;
     width: 150px;
     height: 150px;
     margin-right: 8px;
     vertical-align: middle;
 }
 
 .libro-reclamaciones:hover {
     color: #ecc44ec0 !important;
     transform: translateX(5px);
 }
 
 .libro-reclamaciones::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     bottom: -2px;
     left: 0;
     /*background-color: #ecc44ec0;*/
     transition: width 0.3s ease;
 }
 
 .libro-reclamaciones:hover::after {
     width: 100%;
 }
 
 @keyframes attention {
     0%,
     100% {
         transform: scale(1);
     }
     50% {
         transform: scale(1.05);
     }
 }
 
 .libro-reclamaciones {
     animation: attention 2s ease-in-out infinite;
 }
 /* ===========================================
        ESTILOS PARA EL MAPA EN EL FOOTER
 ============================================== */
 
 .mapa-ubicacion-footer {
     width: 100%;
     margin-top: 1.5rem;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
 }
 
 .mapa-ubicacion-footer iframe {
     width: 100%;
     height: 200px;
     /* Puedes ajustar esta altura */
     display: block;
 }
 /* Adaptación para pantallas más pequeñas */
 
 @media (max-width: 768px) {
     .mapa-ubicacion-footer iframe {
         height: 150px;
         /* Reduce la altura en móviles para mejor visualización */
     }
     
 }
 /* =============================================
   PARTÍCULAS DE VERANO PARA HEADER
============================================= */
.summer-particles-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.summer-particles-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%);
    animation: particleGlow 4s ease-in-out infinite alternate;
}

@keyframes particleGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* =============================================
   RESPONSIVE: AJUSTES PARA MÓVILES
============================================= */
@media (max-width: 768px) {
    .header-principal::after {
        animation-duration: 5s;
        opacity: 0.4;
    }
    
    .summer-particles-header {
        display: none; /* Ocultar en móviles para rendimiento */
    }
    
    .barra-navegacion a {
        text-shadow: 0 0 2px rgba(255, 215, 0, 0.1);
    }
    
    .barra-navegacion a:hover {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
}