/* ==================================================
    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');

/* =============================================
    EFECTOS DE VERANO CORREGIDOS - SIN RAYOS DE SOL
============================================ */

/* HEADER PRINCIPAL - FIXED PARA QUE SIGA */
.header-principal {
    background-image: linear-gradient(to right, #5a0202, #8a0303);
    box-shadow: none;
    position: fixed; /* SOLO ESTO CAMBIÉ */
    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);
    overflow: visible;
}

/* SOLO EL DESTELLO SOLAR HORIZONTAL (3 SEGUNDOS) - EXACTO */
.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(247, 0, 255, 0.905) 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; /* 3 SEGUNDOS */
    pointer-events: none;
    z-index: 1;
}

@keyframes sunFlash {
    0% {
        left: -150%;
        opacity: 0.5;
    }
    100% {
        left: 150%;
        opacity: 0.7;
    }
    100% {
        left: 150%;
        opacity: 0.5;
    }
}

/* DROPDOWN DEL CATÁLOGO - EXACTO */
.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: 1000;
    border-radius: 4px;
    padding: 0.5rem 0;
}

.dropdown:hover .catalogo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* EFECTOS EN LETRAS DE NAVEGACIÓN - EXACTO */
.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: #ff59e3c6 !important;
    text-shadow: 0 0 8px rgba(255, 0, 170, 0.373);
}

/* SUBRAYADO SOLAR EN ENLACES - EXACTO */
.barra-navegacion a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #ff70e7c8, #d60dbb, #fa70ffe4);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(255, 0, 191, 0.5);
}

.barra-navegacion a:hover::after {
    width: 100%;
}

/* EFECTO EN TEXTO DEL VIDEO - EXACTO */
.video-subtitle {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 0, 170, 0.479);
    animation: 
        glow 8s infinite,
        summerTextGlow 4s infinite alternate;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 10px 15px;
    color: var(--color-hero-title);
    
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 0, 225, 0.6),
        0 0 80px rgba(255, 0, 200, 0.271);
    animation: 
        summerTitleGlow 5s infinite alternate,
        floatSubtle 7s ease-in-out infinite;
    background: linear-gradient(90deg, 
        rgba(255, 0, 204, 0.363) 0%, 
        transparent 15%, 
        transparent 85%, 
        rgba(255, 0, 208, 0.392) 100%);
    border-left: 5px solid #ff70f8;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    padding: 25px;
    line-height: 1.3;
}
@keyframes summerTitleGlow {
    0% {
        text-shadow: 
            3px 3px 8px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(255, 0, 230, 0.5),
            0 0 60px rgba(255, 0, 225, 0.347);
    }
    100% {
        text-shadow: 
            3px 3px 10px rgba(0, 0, 0, 0.8),
            0 0 50px rgba(255, 8, 201, 0.8),
            0 0 100px rgba(255, 1, 221, 0.601);
    }
}
@keyframes floatSubtle {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -52%); }
}
@keyframes summerTextGlow {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(255, 0, 166, 0.379);
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.5),
            0 0 25px rgba(255, 0, 128, 0.389),
            0 0 35px rgba(255, 0, 102, 0.207);
    }
}
/* EFECTO EN "100% PIURANOS" - EXACTO ORIGINAL */
.piuranos-container {
    display: flex;
    align-items: baseline;
    animation: fadeInUp 1.2s ease-out;
    position: absolute;
    bottom: 40px; /* ORIGINAL */
    right: 50px; /* ORIGINAL */
    margin: 0;
    padding: 10px 15px; /* ORIGINAL */
    background: rgba(84, 6, 6, 0.2);
    backdrop-filter: blur(3px);
    border-radius: 6px;
    border: 1px solid rgba(255, 0, 106, 0.337);
}

.cien-por-ciento {
    font-size: clamp(2rem, 6vw, 3rem); /* ORIGINAL */
    font-weight: 800;
    margin-right: 0.5rem;
    color: var(--color-hero-accent);
    animation: 
        float 4s ease-in-out infinite,
        numberSummerGlow 3s infinite alternate;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

@keyframes numberSummerGlow {
    0% {
        color: var(--color-hero-accent);
        text-shadow: 0 0 5px rgba(255, 0, 195, 0.37);
    }
    100% {
        color: #fd70ffae;
        text-shadow: 0 0 10px rgba(255, 0, 242, 0.616);
    }
}

.piuranos-texto {
    font-size: clamp(1.2rem, 4vw, 1.8rem); /* ORIGINAL */
    font-weight: 600;
    animation: 
        shake 8s ease-in-out infinite,
        textSummerPulse 4s infinite alternate;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--color-hero-subtitle);
}

@keyframes textSummerPulse {
    0% {
        color: var(--color-hero-subtitle);
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    }
    100% {
        color: #B52DE0;
        text-shadow: 0 0 8px rgba(255, 0, 242, 0.47);
    }
}
/* LOGO CON BRILLO SUTIL - EXACTO */
.logo img {
    height: 50px; /* ORIGINAL */
    width: auto;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 3px rgba(255, 0, 191, 0.549));
    transition: filter 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 87, 224, 0.796));
}


/* WHATSAPP CON EFECTO VERANIEGO - EXACTO */
.whatsapp-flotante {
    position: fixed;
    bottom: 25px; /* ORIGINAL */
    right: 25px; /* ORIGINAL */
    width: 60px; /* ORIGINAL */
    height: 60px; /* ORIGINAL */
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 0, 123, 0.315);
    z-index: 999;
    transition: var(--transition);
    animation: 
        bounce 2s infinite,
        summerWhatsappGlow 3s infinite;
}

@keyframes summerWhatsappGlow {
    0%, 100% {
        box-shadow: 
            0 4px 10px rgba(0, 0, 0, 0.2),
            0 0 15px rgba(255, 0, 149, 0.321);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.3),
            0 0 25px rgba(255, 0, 128, 0.4);
    }
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 0, 204, 0.622);
}

.whatsapp-flotante img {
    width: 35px; /* ORIGINAL */
    height: 35px; /* ORIGINAL */
}


/* =============================================
    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;
    --color-hero-title: #f5efef;
    --color-hero-accent: #dda97c;
    --color-hero-subtitle: #f5efef;
    --shadow: 0 4px 6px rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --container-padding: clamp(1rem, 5vw, 5%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

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;
    padding-top: 80px; /* SOLO ESTO AGREGUE PARA EL HEADER FIXED */
}

/* Asegurar que todos los elementos usen Montserrat */
h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, input, textarea, select, label, figcaption, blockquote, th, td {
    font-family: 'Montserrat', sans-serif;
}

/* Mejora de legibilidad para Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #080808;
}

/* =============================================
    ESTILOS PARA TODOS LOS ELEMENTOS H2
============================================ */

h2 {
    color: #540606 !important;
}

.quienes-somos-title,
.section-title,
.clientes-titulo,
.lomas-vendido h2,
.nuestros-servicios h2,
.catalogo-section h2,
.clientes-section h2 {
    color: #540606 !important;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff;
}

/* 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, 124, 181, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(221, 124, 169, 0.8), 0 0 30px rgba(221, 169, 124, 0.6);
    }
}

/* ===================================================
    HEADER MEJORADO - MENÚ TOGGLE PROFESIONAL 
================================================== */

.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;
}

.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: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%;
}

.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);
}

/* ===========================================
  WhatsApp flotante con animación
========================================== */

.whatsapp-flotante {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E, #25D366);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 242, 0.5),
        0 0 70px rgba(255, 0, 217, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: 
        summerWhatsappFloat 3.5s ease-in-out infinite,
        summerWhatsappGlow 5s infinite alternate,
        rotateSlow 20s linear infinite;
    overflow: hidden;
}

.whatsapp-flotante::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(45deg);
    animation: whatsappShine 4s infinite;
}

.whatsapp-flotante img {
    width: 45px;
    height: 45px;
    filter: 
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4))
        brightness(1.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.whatsapp-flotante:hover {
    transform: scale(1.2) rotate(10deg);
    animation-play-state: paused;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgb(251, 0, 255),
        0 0 120px rgba(255, 0, 225, 0.8);
}

.whatsapp-flotante:hover img {
    transform: scale(1.15) rotate(-10deg);
}

/* Agregas estas animaciones nuevas: */
@keyframes summerWhatsappFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    75% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes summerWhatsappGlow {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(255, 0, 195, 0.5),
            0 0 70px rgba(255, 0, 187, 0.3);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.5),
            0 0 60px rgba(255, 60, 219, 0.8),
            0 0 100px rgba(255, 0, 166, 0.6);
    }
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes whatsappShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}
/* =============================================================================
    VIDEO HERO CON EFECTOS DE TEXTO - MODIFICADO PARA ALINEACIÓN IZQUIERDA
============================================================================ */

.video-responsive {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
}

.video-responsive video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 var(--container-padding);
}

.video-subtitle {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 8s infinite;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 10px 15px;
    color: var(--color-hero-title);
}

.piuranos-container {
    display: flex;
    align-items: baseline;
    animation: fadeInUp 1.2s ease-out;
    position: absolute;
    bottom: 40px;
    right: 50px;
    margin: 0;
    padding: 10px 15px;
    /* Agregas esto: */
    background: rgba(84, 6, 6, 0.15); /* 15% de opacidad */
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 215, 0, 0.3);
    padding: 20px 30px;
    animation: fadeInUp 1.5s ease-out 0.8s both;

}

.cien-por-ciento {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    margin-right: 0.5rem;
    color: var(--color-hero-accent);
    animation: float 4s ease-in-out infinite;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #CA51E0, #B52DE0, #e022ba, #e55bc9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: 
        numberSummerGlow 3s infinite alternate,
        gradientFlow 4s ease-in-out infinite,
        pulseGold 2.5s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 0, 85, 0.5);
}

.piuranos-texto {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
    animation: shake 8s ease-in-out infinite;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--color-hero-subtitle);
}

/* ==================================================================
                SECCIÓN QUIÉNES SOMOS CON EFECTOS - FONDO CAMBIADO A BLANCO
            ================================================================= */

.quienes-somos-section {
    padding: 5rem var(--container-padding);
    background: #ffffff;
    color: #333;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.quienes-somos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.quienes-somos-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quienes-somos-left-column {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
    animation: fadeInUp 1s ease-out;
}

.quienes-somos-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quienes-somos-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: #333;
    margin-right: 1rem;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.quienes-somos-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.quienes-somos-header:hover .quienes-somos-title::after {
    transform: scaleX(1);
}

.logo-quienes-somos {
    height: 60px;
    width: auto;
    animation: pulse 4s infinite;
}

.quienes-somos-text-container {
    flex: 2;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quienes-somos-paragraphs p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #000000;
}

.quienes-somos-paragraphs p:nth-child(1) {
    animation-delay: 0.2s;
}

.quienes-somos-paragraphs p:nth-child(2) {
    animation-delay: 0.4s;
}

.quienes-somos-paragraphs p:nth-child(3) {
    animation-delay: 0.6s;
}


/* ======================================================= 
                SECCIÓN CNC CON ANIMACIONES - FONDO CAMBIADO 
            ====================================================== */

.video-overlay-cnc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: left;
    padding: 0 var(--container-padding);
    padding-left: 5%;
}

.titulo-cnc {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    animation: fadeInUp 1s ease-out, pulse 3s infinite 1s;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}
.descripcion-cnc {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.8;
    max-width: 600px;
    animation: fadeInUp 1.2s ease-out;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-align: left;
}


/* ========================================================
                SERVICIOS INTERACTIVOS - FONDO CAMBIADO A BLANCO
            ======================================================= */

.nuestros-servicios {
    padding: 5rem var(--container-padding);
    background: #ffffff;
    color: #333;
    position: relative;
}

.nuestros-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #333;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    z-index: 2;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--color-secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.section-title:hover:after {
    width: 120px;
}

.servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.servicio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.servicio-card-link:hover .servicio-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--color-secondary);
}

.servicio-card-link:hover .card-image-wrapper img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.servicio-card-link:hover .card-image-wrapper::after {
    opacity: 1;
}

.servicio-card-link:hover .card-image-wrapper::before {
    opacity: 1;
}

.servicio-card-link:hover h3 {
    color: var(--color-secondary);
    background: rgba(84, 6, 6, 0.9);
}

.servicio-card {
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    border: 1px solid rgba(221, 169, 124, 0.3);
}

.servicio-card:nth-child(1) {
    animation-delay: 0.2s;
}

.servicio-card:nth-child(2) {
    animation-delay: 0.4s;
}

.servicio-card:nth-child(3) {
    animation-delay: 0.6s;
}

.servicio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--color-secondary);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image-wrapper::after {
    content: none !important;
    display: none !important;
}

.card-image-wrapper:hover::after {
    content: none !important;
    display: none !important;
}

.servicio-card-link:hover .card-image-wrapper::after {
    content: none !important;
    display: none !important;
}

.card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(84, 6, 6, 0.3);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.card-image-wrapper:hover::before {
    opacity: 1;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servicio-card:hover .card-image-wrapper img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.servicio-card h3 {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #333;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    background: #f0f0f0;
}

.servicio-card:hover h3 {
    color: var(--color-secondary);
    background: #e0e0e0;
}


/* ===================================================
                CARRUSEL MEJORADO - ESTILO PROFESIONAL BLANCO
            ================================================== */

.lomas-vendido {
    padding: 5rem var(--container-padding);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.lomas-vendido h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #333;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.lomas-vendido h3 {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #666;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1.2s ease-out;
    font-family: 'Montserrat', sans-serif;
}


/* Contenedor del carrusel mejorado */

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 4);
    padding: 0 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}


/* Tarjetas del carrusel - Estilo completamente blanco */

.carousel-slide .servicio-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.carousel-slide:hover .servicio-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.carousel-slide .card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
}

.carousel-slide .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.carousel-slide .servicio-card h3 {
    padding: 1.2rem 1rem;
    text-align: center;
    color: #333;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    background: #ffffff;
    margin: 0;
    line-height: 1.4;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide:hover .servicio-card h3 {
    color: #540606;
    background: #ffffff;
}


/* Botones de navegación mejorados */

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.carousel-button:hover {
    background: #540606;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(84, 6, 6, 0.3);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}


/* Indicadores de posición */

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #540606;
    transform: scale(1.2);
}


/* Estilos para slides clonados (para el efecto infinito) */


/*  
.carousel-slide.cloned {
    /* Puedes agregar estilos específicos para slides clonados si es necesario */


/*} */


/* Asegurar que la transición sea suave */

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}


/* Mejorar el rendimiento en dispositivos móviles */

@media (max-width: 768px) {
    .carousel-track {
        transition: transform 0.4s ease;
    }
}


/* Responsive para el carrusel */

@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(100% / 3);
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 50px;
    }
    .carousel-slide {
        flex: 0 0 calc(100% / 2);
    }
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        padding: 0 40px;
    }
    .carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-slide .card-image-wrapper {
        height: 180px;
    }
}

/* ==========================================================================================
                ESTILOS MODIFICADOS PARA LA SECCIÓN "NUESTROS CLIENTES" - RESPONSIVE
            ========================================================================================= */

.clientes-section {
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
}

.clientes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c41e3a, #e74c3c, #c41e3a);
}

.titulo {
    text-align: center;
    margin-bottom: 40px;
}

.titulo h2 {
    font-size: 2rem;
    color: #c41e3a !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.titulo .highlight {
    color: #c41e3a;
    font-weight: 700;
}

/* CONTENEDOR DEL CARRUSEL MEJORADO Y RESPONSIVE */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1200px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
    gap: 40px;
    padding: 0 60px; /* Espacio para los botones */
}

/* LOGOS COMPLETAMENTE SIN MARCO - INCLUSO AL HOVER */
.cliente-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    min-width: 200px;
    height: 120px;
    border: none;
}

/* EFECTO HOVER SIN MARCO - SOLO TRANSFORMACIÓN DE LA IMAGEN */
.cliente-logo:hover {
    transform: translateY(-5px) scale(1.05);
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cliente-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
}

.cliente-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* BOTONES DE NAVEGACIÓN MEJORADOS */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
    font-weight: bold;
    color: #c41e3a3c;
}

.nav-button:hover {
    background: #c41e3a2f;
    color: rgba(255, 255, 255, 0);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.client-prev {
    left: 10px;
}

.nav-button.client-next {
    right: 10px;
}

/* Indicadores de puntos */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #c41e3a;
    transform: scale(1.2);
}

/* ==========================================================================================
                MEDIA QUERIES PARA DISPOSITIVOS MÓVILES
            ========================================================================================= */

/* Tablets */
@media (max-width: 1024px) {
    .clientes-section {
        padding: 30px 15px;
    }
    
    .titulo h2 {
        font-size: 1.8rem;
    }
    
    .carousel-track {
        gap: 30px;
        padding: 0 50px;
    }
    
    .cliente-logo {
        min-width: 180px;
        height: 100px;
    }
    
    .nav-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .clientes-section {
        padding: 25px 10px;
    }
    
    .titulo {
        margin-bottom: 30px;
    }
    
    .titulo h2 {
        font-size: 1.6rem;
    }
    
    .carousel-track {
        gap: 25px;
        padding: 0 45px;
    }
    
    .cliente-logo {
        min-width: 150px;
        height: 80px;
        padding: 10px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .nav-button.client-prev {
        left: 5px;
    }
    
    .nav-button.client-next {
        right: 5px;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .clientes-section {
        padding: 20px 5px;
    }
    
    .titulo {
        margin-bottom: 25px;
    }
    
    .titulo h2 {
        font-size: 1.4rem;
    }
    
    .carousel-track {
        gap: 20px;
        padding: 0 40px;
    }
    
    .cliente-logo {
        min-width: 120px;
        height: 70px;
        padding: 8px;
    }
    
    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .dots-container {
        margin-top: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 375px) {
    .carousel-track {
        gap: 15px;
        padding: 0 35px;
    }
    
    .cliente-logo {
        min-width: 100px;
        height: 60px;
    }
}

/* ==========================================================================================
                SECCIÓN DE ESTADÍSTICAS MEJORADA
            ========================================================================================= */

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 80px auto 60px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    border: 1px solid rgba(236, 240, 241, 0.8);
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #e74c3c, #c41e3a);
    border-radius: 20px 20px 0 0;
}

.stats::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    max-width: 200px;
}

.stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 15px 35px rgba(196, 30, 58, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat:nth-child(1) {
    animation-delay: 0.2s;
}

.stat:nth-child(2) {
    animation-delay: 0.4s;
}

.stat:nth-child(3) {
    animation-delay: 0.6s;
}

.stat .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #c41e3a;
    display: block;
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(196, 30, 58, 0.2);
    background: linear-gradient(135deg, #c41e3a, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 10px;
}

.stat:hover .number {
    transform: scale(1.15);
    text-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

.stat .label {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.stat .label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c41e3a, #e74c3c);
    transition: width 0.3s ease;
}

.stat:hover .label {
    color: #c41e3a;
}

.stat:hover .label::after {
    width: 60%;
}

/* Iconos decorativos para cada stat */
.stat::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.stat:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

/* Animación mejorada */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de pulso para los números */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.stat .number.animating {
    animation: pulse 0.6s ease;
}

/* ==========================================================================================
                RESPONSIVE PARA ESTADÍSTICAS
            ========================================================================================= */

/* Tablets */
@media (max-width: 1024px) {
    .stats {
        gap: 50px;
        margin: 60px 20px 40px;
        padding: 50px 30px;
    }
    
    .stat .number {
        font-size: 3rem;
    }
    
    .stat .label {
        font-size: 1rem;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .stats {
        gap: 40px;
        margin: 50px 15px 30px;
        padding: 40px 25px;
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        max-width: 250px;
        width: 100%;
        margin-bottom: 10px;
        padding: 25px 20px;
    }
    
    .stat .number {
        font-size: 2.8rem;
    }
    
    .stat .label {
        font-size: 0.95rem;
    }
    
    .stat:hover {
        transform: translateY(-5px);
    }
}

/* Móviles */
@media (max-width: 576px) {
    .stats {
        gap: 30px;
        margin: 40px 10px 20px;
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .stat {
        padding: 20px 15px;
        max-width: 220px;
    }
    
    .stat .number {
        font-size: 2.5rem;
    }
    
    .stat .label {
        font-size: 0.9rem;
    }
    
    .stats::before {
        height: 3px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 375px) {
    .stats {
        padding: 25px 15px;
    }
    
    .stat {
        padding: 15px 10px;
    }
    
    .stat .number {
        font-size: 2.2rem;
    }
    
    .stat .label {
        font-size: 0.85rem;
    }
}
/* ==========================================
                CATÁLOGO - FONDO CAMBIADO 
            ========================================= */

.catalogo-section {
    padding: 5rem var(--container-padding);
    background: #f8f8f8;
    color: #333;
    position: relative;
}

.catalogo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem 2rem;
    max-width: 1900px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
}

.catalogo-grid p {
    color: #000000;
}

.catalogo-item {
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.catalogo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.catalogo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.catalogo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.catalogo-item:nth-child(4) {
    animation-delay: 0.4s;
}

.catalogo-item:nth-child(5) {
    animation-delay: 0.5s;
}

.catalogo-item:nth-child(6) {
    animation-delay: 0.6s;
}

.catalogo-item:hover {
    transform: translateY(-5px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.catalogo-circulo {
    width: clamp(120px, 25vw, 200px);
    height: clamp(120px, 25vw, 200px);
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--color-primary);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.catalogo-circulo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(221, 169, 124, 0.2);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.catalogo-item:hover .catalogo-circulo::before {
    opacity: 1;
}

.catalogo-item:hover .catalogo-circulo {
    border-color: var(--color-secondary);
    animation: pulse 1s;
    box-shadow: 0 8px 25px rgba(221, 169, 124, 0.3);
}

.catalogo-circulo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.catalogo-item:hover .catalogo-circulo img {
    transform: scale(1.1);
}

.catalogo-item p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0.5rem;
    background: transparent;
    border-radius: 0;
    display: inline-block;
}

.catalogo-item:hover p {
    color: var(--color-secondary);
    animation: shake 0.5s;
    background: transparent;
}


/* ======================================================================
                FRASE DESTACADA CON EFECTO DE MAQUINA DE ESCRIBIR - MODIFICADA
            ===================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.312), rgba(0, 0, 0, 0.241)), url('../img/Fondo dia de la mujer.jpeg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    color: white;

    
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 2rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 
        0 2px 4px rgba(135, 4, 133, 0.5),
        0 0 10px rgb(206, 51, 180);
    animation: titleFlicker 2s infinite alternate;
}

@keyframes titleFlicker {
    0% {
        text-shadow: 
            0 2px 4px rgba(135, 4, 133, 0.5),
            0 0 10px rgb(206, 51, 180);
    }
    100% {
        text-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 15px rgb(206, 51, 180),
            0 0 25px rgba(135, 4, 133, 0.5);
    }
}

h2 {
    color: white !important;
    /* Added to make all h2 elements white */
}

.hero-button {
    background: linear-gradient(135deg, #B52DE0, #f6cdf3);
    color: rgb(0, 0, 0);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
}

.hero-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(45deg);
    transition: left 0.5s ease;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button {
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 1.5rem;
    }
    .hero-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding: 0 1rem;
    }
}


/* Estilos generales del 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;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-columna {
        flex-basis: 100%;
        text-align: center;
    }
    .footer-info,
    .footer-enlaces ul,
    .footer-contacto {
        text-align: center;
    }
    .footer-social h3,
    .footer-contacto h3 {
        text-align: center;
    }
    .social-icons {
        display: flex;
        justify-content: center;
    }
}


/* ================================================
                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;
}


/* ===================================================
                RESPONSIVE DESIGN MEJORADO - MENÚ TOGGLE
            ================================================== */

@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%;
    }
    .carousel-slide {
        flex: 0 0 calc(100% / 2);
    }
    .servicios-container {
        grid-template-columns: 1fr;
    }
    .frase-texto {
        font-size: 1.6rem;
        font-weight: 600;
    }
    .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;
    }
    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .video-overlay-cnc {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    .video-subtitle {
        font-size: 1.5rem;
        font-weight: 700;
        top: 35%;
    }
    .cien-por-ciento {
        font-size: 1.8rem;
        font-weight: 800;
    }
    .piuranos-texto {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .quienes-somos-title {
        font-size: 1.6rem;
        font-weight: 700;
    }
    .section-title {
        font-size: 1.8rem;
        font-weight: 700;
    }
    .titulo-cnc {
        font-size: 2.2rem;
        font-weight: 800;
    }
    .catalogo-circulo {
        width: 120px;
        height: 120px;
    }
    .frase-texto {
        font-size: 1.4rem;
        font-weight: 600;
        white-space: normal;
    }
    .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;
    }
    .catalogo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .carousel-container {
        padding: 0 20px;
    }
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .footer-columna {
        padding: 0;
    }
}


/* 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;
    }
}

.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;
}

@media (max-width: 768px) {
    .mapa-ubicacion-footer iframe {
        height: 150px;
    }
}

/* ===================================================================
                NUEVO: ESTILOS PARA EL AVISO DE CAMPAÑA
                (AGREGADO AL FINAL SIN MODIFICAR NADA DEL CÓDIGO EXISTENTE)
=================================================================== */

/* Contenedor principal del aviso */
.campaign-alert {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.campaign-alert.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    display: block;
}

/* El resto de estilos (colores, bordes, etc.) se mantienen exactamente igual */
.alert-container {
    position: relative;
    background: linear-gradient(145deg, 
        #5a0254 0%, 
        #8a0366 30%, 
        #5a023e 70%,
        #3a0124 100%);
    border-radius: 18px;
    padding: 20px;
    min-width: 280px;
    max-width: 320px;
    border: 3px solid;
    border-color: #ce1dea;
    box-shadow: 
        0 15px 35px rgba(90, 2, 2, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.2),
        inset 0 -2px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Efecto de brillo solar alrededor */
.alert-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at center, 
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 140, 0, 0.1) 30%,
        transparent 70%);
    border-radius: 25px;
    animation: sunPulse 3s infinite alternate;
    z-index: -1;
}

@keyframes sunPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.98);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Encabezado del aviso */
.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.alert-close {
    background: rgba(255, 208, 238, 0.9);
    color: #5a0202;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.alert-close:hover {
    background: #ff5976;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 208, 238, 0.9);
}

/* Icono con efecto solar */
.alert-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, 
        #ec81ff 0%, 
        #B52DE0 50%, 
        #ec81ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconGlow 2s infinite alternate;
    box-shadow: 
        0 0 20px rgba(255, 208, 238, 0.9),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes iconGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(255, 208, 238, 0.9),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 208, 238, 0.9),
            0 0 40px rgba(255, 0, 136, 0.634),
            inset 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

.alert-icon i {
    font-size: 24px;
    color: #5a0202;
    z-index: 2;
}

/* Rayos de sol alrededor del icono */
.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, 
        transparent 40%, 
        rgba(255, 0, 149, 0.3) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: rotateRays 20s linear infinite;
}

@keyframes rotateRays {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Cuerpo del aviso */
.alert-body {
    text-align: center;
    margin-bottom: 20px;
}

.alert-title {
    color: #ffa9b7;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 0, 144, 0.5);
    animation: titleFlicker 2s infinite alternate;
}

@keyframes titleFlicker {
    0% {
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 10px rgb(155, 41, 83);
    }
    100% {
        text-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 15px rgba(255, 208, 238, 0.9),
            0 0 25px rgba(255, 0, 106, 0.5);
    }
}

.alert-text {
    color: #ffcee1;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Timer visual */
.alert-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.alert-timer span {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timer-dot {
    width: 8px;
    height: 8px;
    background: #ec81ff;
    border-radius: 50%;
    animation: timerPulse 1.5s infinite;
    box-shadow: 0 0 8px #c800ff;
}

@keyframes timerPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Botón principal */
.alert-button {
    background: linear-gradient(135deg, 
        #ec81ff 0%, 
        #B52DE0 50%, 
        #ec81ff 100%);
    color: #ffa9b7;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 5px 15px rgba(240, 0, 84, 0.666),
        0 0 20px rgba(255, 0, 102, 0.4);
    z-index: 2;
}

.alert-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(255, 53, 123, 0.912),
        0 0 30px rgba(255, 0, 89, 0.7);
    letter-spacing: 1.5px;
}

.alert-button:active {
    transform: translateY(-1px);
}

.alert-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 94, 143, 0.729), 
        transparent);
    transition: left 0.7s ease;
}

.alert-button:hover::before {
    left: 100%;
}

.alert-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.alert-button:hover i {
    transform: translateY(3px);
}

/* Partículas solares flotantes */
.sun-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, 
        rgba(255, 0, 115, 0.8) 0%, 
        rgba(255, 159, 204, 0.936) 70%, 
        transparent 100%);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 15%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 85%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 25%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    width: 3px;
    height: 3px;
    top: 30%;
    left: 75%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    width: 7px;
    height: 7px;
    top: 10%;
    left: 50%;
    animation-duration: 15s;
    animation-delay: 4s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Responsive para el aviso */
@media (max-width: 768px) {
    .campaign-alert {
        bottom: 90px;
        right: 20px;
        left: 20px;
    }
    
    .alert-container {
        min-width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .alert-title {
        font-size: 1.2rem;
    }
    
    .alert-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .campaign-alert {
        bottom: 80px;
        right: 15px;
        left: 15px;
    }
    
    .alert-container {
        padding: 15px;
    }
    
    .alert-title {
        font-size: 1.1rem;
    }
    
    .alert-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Asegurar que no se solape con el WhatsApp en móviles */
@media (max-width: 480px) {
    .campaign-alert {
        bottom: 100px;
    }
}
/* ===================================================================
                NUEVO: MEJORAS PARA VIDEOS EN MÓVILES
                (AGREGADO AL FINAL SIN MODIFICAR NADA DEL CÓDIGO EXISTENTE)
=================================================================== */

/* Estilos específicos para videos en dispositivos móviles */
@media (max-width: 768px) {
    .video-responsive {
        height: 70vh;
        min-height: 500px;
        max-height: 700px;
        position: relative;
    }
    
    .video-responsive video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* Prevenir interacción con el video */
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Overlay móvil para forzar reproducción */
    .mobile-video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(90, 2, 2, 0.7), rgba(138, 3, 3, 0.8));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 5;
        backdrop-filter: blur(3px);
    }
    
    .mobile-video-overlay .overlay-content {
        text-align: center;
        padding: 20px;
        max-width: 300px;
    }
    
    .mobile-video-overlay p {
        color: #FFD700;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 20px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        font-family: 'Montserrat', sans-serif;
    }
    
    .mobile-video-overlay .play-button {
        background: linear-gradient(135deg, #FFD700, #FF8C00);
        border: none;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        color: #5a0202;
        font-size: 1.8rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 215, 0, 0.4);
        animation: pulsePlayButton 2s infinite;
    }
    
    @keyframes pulsePlayButton {
        0%, 100% {
            transform: scale(1);
            box-shadow: 
                0 5px 15px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 215, 0, 0.4);
        }
        50% {
            transform: scale(1.1);
            box-shadow: 
                0 8px 20px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 215, 0, 0.6);
        }
    }
    
    .mobile-video-overlay .play-button:hover {
        transform: scale(1.15);
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            0 0 35px rgba(255, 215, 0, 0.7);
    }
    
    /* Ajustar texto sobre video para móviles */
    .video-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        padding: 15px;
        text-align: center;
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(90, 2, 2, 0.6);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 2px solid rgba(255, 215, 0, 0.3);
    }
    
    .piuranos-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
        padding: 15px;
        background: rgba(90, 2, 2, 0.7);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 215, 0, 0.4);
    }
    
    .cien-por-ciento {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
    
    .piuranos-texto {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }
    
    /* Ajustes para video CNC en móviles */
    .video-overlay-cnc {
        padding: 0 5%;
        justify-content: flex-start;
        padding-top: 60px;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    }
    
    .titulo-cnc {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        text-align: center;
        width: 100%;
    }
    
    .descripcion-cnc {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        max-width: 100%;
        text-align: center;
        background: rgba(90, 2, 2, 0.5);
        padding: 15px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
}

/* Estilos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-responsive {
        height: 80vh;
        max-height: 900px;
    }
    
    .video-subtitle {
        font-size: clamp(1.4rem, 3vw, 2rem);
        width: 80%;
    }
    
    .piuranos-container {
        right: 30px;
        bottom: 30px;
    }
}

/* Ocultar completamente los controles nativos del video */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

video::-webkit-media-controls-timeline {
    display: none !important;
}

video::-webkit-media-controls-current-time-display {
    display: none !important;
}

video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

video::-webkit-media-controls-timeline-container {
    display: none !important;
}

video::-webkit-media-controls-volume-slider-container {
    display: none !important;
}

video::-webkit-media-controls-volume-slider {
    display: none !important;
}

video::-webkit-media-controls-mute-button {
    display: none !important;
}

video::-webkit-media-controls-toggle-closed-captions-button {
    display: none !important;
}

video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Para Firefox */
video::-moz-media-controls {
    display: none !important;
}

/* Para otros navegadores */
video {
    -webkit-media-controls: none !important;
    media-controls: none !important;
}

/* Prevenir acciones por defecto en móviles */
.video-responsive {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.video-responsive video {
    -webkit-tap-highlight-color: transparent;
}

/* Optimización de rendimiento para videos en móviles */
@media (max-width: 768px) {
    .video-responsive video {
        /* Optimizar para móviles */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
    
    /* Mejorar visibilidad de contenido sobre video */
    .video-overlay,
    .video-overlay-cnc {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    }
}

/* Corrección para iOS específica */
@supports (-webkit-touch-callout: none) {
    .video-responsive video {
        /* Forzar reproducción inline en iOS */
        -webkit-playsinline: true;
        playsinline: true;
    }
    
    /* Mejorar visibilidad en iOS */
    .video-subtitle,
    .piuranos-container {
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }
}
/* =============================================
    ANIMACIÓN DE SOBRE DE SAN VALENTÍN - PROFESIONAL
    AGREGAR AL FINAL DEL ARCHIVO CSS
============================================ */

/* Overlay para la animación del sobre */
.envelope-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(5px);
}

.envelope-animation-overlay.visible {
    opacity: 1;
}

.envelope-animation-overlay.fade-out {
    opacity: 0;
}

/* Contenedor del sobre */
.envelope-container {
    position: relative;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope-container.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.envelope-container.fade-out {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
}

/* El sobre */
.envelope {
    position: relative;
    width: 280px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

/* Parte frontal del sobre */
.envelope-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f0f0 100%);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(90, 2, 2, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 112, 137, 0.2);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Corazón en el sobre */
.envelope-front .heart {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff5976 0%, #d60d30 100%);
    position: relative;
    transform: rotate(45deg);
    animation: heartBeat 1.5s ease-in-out infinite;
    box-shadow: 
        0 0 25px rgba(255, 89, 118, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.envelope-front .heart:before,
.envelope-front .heart:after {
    content: '';
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff5976 0%, #d60d30 100%);
    border-radius: 50%;
    position: absolute;
}

.envelope-front .heart:before {
    top: -25px;
    left: 0;
}

.envelope-front .heart:after {
    top: 0;
    left: -25px;
}

@keyframes heartBeat {
    0%, 100% { 
        transform: rotate(45deg) scale(1);
        box-shadow: 0 0 25px rgba(255, 89, 118, 0.4);
    }
    50% { 
        transform: rotate(45deg) scale(1.1);
        box-shadow: 0 0 35px rgba(255, 89, 118, 0.6);
    }
}

/* Parte trasera del sobre */
.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f0f0 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Carta dentro del sobre */
.letter {
    position: absolute;
    width: 90%;
    height: 85%;
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(120px);
    z-index: 0;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 200, 210, 0.3);
}

/* Animación de apertura del sobre */
.envelope.open .envelope-front {
    transform: rotateX(180deg);
    box-shadow: 
        0 -10px 30px rgba(0, 0, 0, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.8);
}

.envelope.open .letter {
    transform: translate(-50%, -50%) translateY(0);
    z-index: 3;
}

/* Animación de cierre del sobre */
.envelope.close .envelope-front {
    transform: rotateX(0deg);
    transition: transform 0.4s ease;
}

.envelope.close .letter {
    transform: translate(-50%, -50%) translateY(120px);
    transition: transform 0.4s ease;
}

/* Animación de flotación para la tarjeta de ofertas */
.campaign-alert.animated-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.campaign-alert.visible.animated-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.campaign-alert.floating {
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Responsive para el sobre */
@media (max-width: 768px) {
    .envelope {
        width: 240px;
        height: 170px;
    }
    
    .envelope-front .heart {
        width: 40px;
        height: 40px;
    }
    
    .envelope-front .heart:before,
    .envelope-front .heart:after {
        width: 40px;
        height: 40px;
    }
    
    .envelope-front .heart:before {
        top: -20px;
    }
    
    .envelope-front .heart:after {
        left: -20px;
    }
    
    .campaign-alert.floating {
        animation: gentleFloatMobile 4s ease-in-out infinite;
    }
    
    @keyframes gentleFloatMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }
}

@media (max-width: 576px) {
    .envelope {
        width: 200px;
        height: 140px;
    }
    
    .envelope-front .heart {
        width: 35px;
        height: 35px;
    }
    
    .envelope-front .heart:before,
    .envelope-front .heart:after {
        width: 35px;
        height: 35px;
    }
    
    .envelope-front .heart:before {
        top: -17.5px;
    }
    
    .envelope-front .heart:after {
        left: -17.5px;
    }
}
/* ===================================================
    NUEVA SECCIÓN: LÁMINAS HORIZONTALES PARA QUIÉNES SOMOS
    IMAGEN FRAGMENTADA CON ANIMACIÓN STAGGERED
================================================== */

/* Reestructuración del layout para 3 columnas */
.quienes-somos-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contenedor de las láminas */
.quienes-somos-laminas {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    position: relative;
    perspective: 1000px;
}

/* Estilo base de cada lámina */
.lamina {
    width: 100%;
    height: 100px; /* Altura fija para efecto alargado */
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 
        0 8px 20px rgba(90, 2, 2, 0.25),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(221, 169, 124, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateX(60px);
    animation: slideInLamina 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo tipo melamina */
.lamina::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.lamina:hover::after {
    left: 100%;
}

.lamina:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(90, 2, 2, 0.35),
        inset 0 2px 8px rgba(255, 255, 255, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
    border-color: var(--color-secondary);
}

/* Animación de entrada secuencial */
@keyframes slideInLamina {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Delays progresivos para cada lámina */
.lamina[data-index="1"] { animation-delay: 0.1s; }
.lamina[data-index="2"] { animation-delay: 0.2s; }
.lamina[data-index="3"] { animation-delay: 0.3s; }
.lamina[data-index="4"] { animation-delay: 0.4s; }
.lamina[data-index="5"] { animation-delay: 0.5s; }
.lamina[data-index="6"] { animation-delay: 0.6s; }

/* Efecto de profundidad 3D al hacer hover en el contenedor */
.quienes-somos-laminas:hover .lamina:not(:hover) {
    opacity: 0.7;
    filter: blur(1px);
    transform: translateX(10px) scale(0.98);
}

/* ===================================================
    RESPONSIVE PARA LÁMINAS
================================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .quienes-somos-content {
        grid-template-columns: 1.2fr 1.8fr 1.2fr;
        gap: 1.5rem;
    }
    
    .lamina {
        height: 85px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .quienes-somos-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quienes-somos-left-column {
        text-align: center;
        padding-right: 0;
    }
    
    .quienes-somos-header {
        justify-content: center;
    }
    
    .quienes-somos-text-container {
        max-width: 100%;
    }
    
    .quienes-somos-laminas {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .lamina {
        height: 120px;
        animation-name: slideInLaminaMobile;
        transform: translateY(40px);
    }
    
    @keyframes slideInLaminaMobile {
        0% {
            opacity: 0;
            transform: translateY(40px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Ajustar delays para mobile */
    .lamina[data-index="1"] { animation-delay: 0.1s; }
    .lamina[data-index="2"] { animation-delay: 0.15s; }
    .lamina[data-index="3"] { animation-delay: 0.2s; }
    .lamina[data-index="4"] { animation-delay: 0.25s; }
    .lamina[data-index="5"] { animation-delay: 0.3s; }
    .lamina[data-index="6"] { animation-delay: 0.35s; }
}

/* Mobile grande */
@media (max-width: 576px) {
    .quienes-somos-laminas {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lamina {
        height: 100px;
    }
    
    /* Recalcular delays para 2 columnas */
    .lamina[data-index="1"] { animation-delay: 0.1s; }
    .lamina[data-index="2"] { animation-delay: 0.15s; }
    .lamina[data-index="3"] { animation-delay: 0.2s; }
    .lamina[data-index="4"] { animation-delay: 0.25s; }
    .lamina[data-index="5"] { animation-delay: 0.3s; }
    .lamina[data-index="6"] { animation-delay: 0.35s; }
}

/* Mobile pequeño */
@media (max-width: 375px) {
    .quienes-somos-laminas {
        grid-template-columns: 1fr;
    }
    
    .lamina {
        height: 90px;
    }
    
    /* Delays secuenciales para 1 columna */
    .lamina[data-index="1"] { animation-delay: 0.1s; }
    .lamina[data-index="2"] { animation-delay: 0.2s; }
    .lamina[data-index="3"] { animation-delay: 0.3s; }
    .lamina[data-index="4"] { animation-delay: 0.4s; }
    .lamina[data-index="5"] { animation-delay: 0.5s; }
    .lamina[data-index="6"] { animation-delay: 0.6s; }
}

/* ===================================================
    EFECTO DE CARGA INICIAL (OPCIONAL)
================================================== */
@media (prefers-reduced-motion: reduce) {
    .lamina {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Mejora de rendimiento para dispositivos de bajos recursos */
.lamina {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}