/* Variables y estilos personalizados extraídos del diseño original */
:root {
    --rosa: #E6007E;
    --azul: #00AEEF;
    --verde: #8DC63F;
    --negro: #000000;
    --blanco: #ffffff;
    --dark: #0F172A; /* NUEVA: color oscuro general */
}

/* Utilidades nuevas para que no fallen text-dark / bg-dark / border-dark */
.text-dark { color: var(--dark); }
.bg-dark { background-color: var(--dark); }
.border-dark { border-color: var(--dark); }

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

body { font-family: 'Poppins', sans-serif; overflow-x: hidden; }
.text-rosa { color: var(--rosa); }
.bg-rosa { background-color: var(--rosa); }
.text-azul { color: var(--azul); }
.bg-azul { background-color: var(--azul); }
.text-verde { color: var(--verde); }
.bg-verde { background-color: var(--verde); }
.border-rosa { border-color: var(--rosa); }

.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.3) 100%);
}

/* Texto gigante que rompe móvil */
.display-title {
    font-size: clamp(2rem, 8vw, 4rem) !important;
    line-height: 1;
}

/* Imágenes fluidas */
img, video {
    max-width: 100%;
    height: auto;
}

/* Hero más estable en móvil */
@media (max-width: 768px) {
    .carousel-container, .hero-slider-container {
        height: 45vh !important;
    }
}

/* Bento Grid arreglado en móvil */
@media (max-width: 768px) {
    .bento-grid {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .bento-item {
        width: 100% !important;
        height: auto !important;
        overflow: hidden;
    }
}

/* Botones ocupan ancho completo en móvil */
@media (max-width: 768px) {
    .btn-partner-center,
    .btn-arco {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        border-radius: 2rem;
    }
}

/* Menú móvil usable */
#mobile-menu {
    max-height: 100vh;
    overflow-y: auto;
    pointer-events: auto !important;
}

.image-glow-rosa {
    box-shadow: 0 0 30px rgba(230, 0, 126, 0.2);
}
.image-glow-azul {
    box-shadow: 0 0 30px rgba(0, 174, 239, 0.2);
}
.image-glow-verde {
    box-shadow: 0 0 30px rgba(141, 198, 63, 0.2);
}

/* Banner Ancho Completo Proporcional */
.full-width-banner {
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.full-width-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.full-width-banner:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Ajuste para móviles para que no sea demasiado delgado */
@media (max-width: 768px) {
    .full-width-banner {
        height: auto;
    }
}



/* Oculto por defecto en móvil */
#mobile-menu {
    display: none;
}

/* Cuando tu script añade la clase .active, se muestra */
#mobile-menu.active {
    display: block !important;
}


/* Auras de color sutiles para profundidad ambiental */
.aura-azul {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.03) 0%, transparent 70%);
    z-index: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.aura-rosa {
    position: absolute;
    top: 20%;
    left: 80%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(230, 0, 126, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Botón con degradado central */
.btn-partner-center {
    background: var(--rosa);
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.btn-partner-center::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--azul), var(--rosa));
    z-index: -1;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.btn-partner-center:hover::after {
    width: 300%;
    height: 300%;
}
.btn-partner-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 174, 239, 0.4);
}

/* Variante de color para el botón de cotización */
.btn-quote-gradient {
    background: linear-gradient(90deg, var(--dark) 0%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.text-glow-azul {
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.1);
}

.cta-gradient-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animación para el menú móvil */
#mobile-menu {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    pointer-events: none;
}

#mobile-menu.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
}

/* Altura del carrusel */
.carousel-container {
    height: 75vh;
}

@media (max-width: 768px) {
    .carousel-container { height: 60vh; }
}

/* Contenedor del Slider */
.hero-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.mainHeroSwiper {
    width: 100%;
    height: 100%;
}

/* Animación Ken Burns (Zoom suave) */
.swiper-slide-active img {
    animation: kenburns 6s ease-out forwards;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Personalización de Controles */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
    background: rgba(0,0,0,0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    after: none; /* Quita el estilo por defecto */
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5rem !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--rosa) !important;
    opacity: 1;
}

/* Banner Totalmente Limpio: Sin espacios, márgenes ni fondos */
.full-width-banner {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

.full-width-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.full-width-banner:hover img {
    transform: scale(1.02);
}

/* Tipografía Gigante para impacto */
.display-title {
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
}

/* Estilo Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover {
    transform: scale(0.98);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 300px);
    }
}

@media (max-width: 640px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .bento-item { height: 350px; }
}

/* Efecto de Vidrio para elementos flotantes */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 174, 239, 0.1);
}

.hero-image-mask {
    clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0% 100%);
}

/* Acordeón FAQs */
.faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.4s ease;
}
.faq-header {
    cursor: pointer;
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.8s ease-in;
    padding-bottom: 3rem;
}
.faq-icon {
    transition: transform 0.4s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--rosa);
}

/* Decoración de círculos suaves */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    z-index: -1;
}

.text-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.organic-card {
    background: #ffffff;
    border-radius: 4rem;
    transition: all 0.5s ease;
    border: 1px solid rgba(15, 23, 42, 0.03);
}
.organic-card:hover {
    border-color: var(--azul);
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    z-index: -1;
}

/* Tipografía Gigante para impacto (repetida, no afecta) */
.display-title {
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
}

.text-glow-azul {
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.1);
}

.cta-gradient-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.aura-rosa {
    position: absolute;
    top: 20%;
    left: 80%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(230, 0, 126, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Botón con degradado central (versión extendida) */
.btn-partner-center {
    background: var(--rosa);
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    border-radius: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.btn-partner-center::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--azul), var(--rosa));
    z-index: -1;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.btn-partner-center:hover::after {
    width: 300%;
    height: 300%;
}
.btn-partner-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 174, 239, 0.4);
    color: white;
}

 /* Cards */
        .organic-card {
            background: #ffffff;
            border-radius: 4rem;
            transition: all 0.5s ease;
            border: 1px solid rgba(15,23,42,0.03);
        }
        .organic-card:hover {
            border-color: var(--azul);
            box-shadow: 0 50px 100px -20px rgba(15,23,42,0.1);
            transform: translateY(-5px);
        }

        .underline-dynamic {
            background-image: linear-gradient(transparent 70%, rgba(0, 174, 239, 0.2) 70%);
            background-repeat: no-repeat;
        }

        /* Estilos Bento Grid mejorados */
        .bento-box {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.05);
            border-radius: 3rem;
            padding: 2.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .bento-box:hover {
            transform: scale(0.98);
            background: var(--dark);
            color: white;
        }
        .bento-box:hover .icon-pill {
            background: var(--azul);
            color: white;
        }
        .icon-pill {
            width: 3rem;
            height: 3rem;
            border-radius: 1rem;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.4s ease;
        }

          /* Estilos para la sección de Compromiso */
        .feature-item {
            padding: 2rem;
            border-radius: 2rem;
            background: white;
            border: 1px solid #f1f5f9;
            transition: all 0.3s ease;
        }
        .feature-item:hover {
            border-color: var(--verde);
            box-shadow: 0 15px 30px rgba(141, 198, 63, 0.1);
        }

        .display-title {
    font-size: clamp(3.5rem, 12vw, 8.5rem);
    line-height: 0.8;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-transform: uppercase;
}

 /* Tipografía Hero Ultra-Impacto */
        .display-title {
            font-size: clamp(3.5rem, 6vw, 8.5rem);
            letter-spacing: -0.06em;
            font-weight: 900;
            text-transform: uppercase;
        }

        .text-outline-dark {
            color: transparent;
            -webkit-text-stroke: 1.5px var(--dark);
        }

        .layer-offset {
            position: relative;
            display: inline-block;
        }
        .layer-offset::before {
            content: attr(data-text);
            position: absolute;
            top: 4px; left: 4px;
            color: var(--azul);
            opacity: 0.15;
            z-index: -1;
        }

            }
        .chart-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            height: 350px;
            max-height: 400px;
            background: #fff;
            border-radius: 2rem;
            padding: 1rem;
        }
        .info-card {
            background: var(--white);
            border: 1px solid #E2E8F0;
            border-radius: 2.5rem;
            padding: 2.5rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .info-card:hover {
            transform: translateY(-8px);
            border-color: var(--azul);
            box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
        }
        .btn-arco {
            background: var(--dark);
            color: white;
            padding: 1.25rem 3.5rem;
            border-radius: 1.25rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 1rem;
        }
        .btn-arco:hover {
            background: var(--rosa);
            transform: scale(1.02);
        }

        /* Tarjetas tecnología */
.tech-card {
    background: var(--white);
    border: 1px solid #F1F5F9;
    border-radius: 2.5rem;
    padding: 2.5rem;
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
}
.tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--azul);
}

.bg-texture-pink {
        background-color: #fdf2f8; /* Pink 50 de Tailwind */
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 Atem%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    }
    .tech-card-custom {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        transition: all 0.4s ease;
    }
    .tech-card-custom:hover {
        background: white;
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(219, 39, 119, 0.1);
    }
    
    .bg-story-texture {
        background-color: #f8fafc; /* Slate 50 */
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    }



    
