/* VARIABLES GLOBALES */
:root {

    /* Violeta oficial del manual */
    --brand-violeta: #440669; 
    /* Verde neón oficial del manual */
    --brand-verde: #65c467;
    --bg-dark: #65c467;
  
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
.btn-whatsapp-fixed {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.btn-whatsapp-fixed img {
    width: 35px !important;
    height: 35px !important;
    display: block !important;
}

.btn-whatsapp-fixed:hover {
    transform: scale(1.1) !important;
}
/* Color para el cuerpo de la página */
body {
    background-color: #11041a; /* Tu color específico */
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* Botón flotante de WhatsApp - CORREGIDO Y COMPLETO */

/* Color específico para el footer */
footer {
    display: block !important;
    
    margin-bottom: 0 !important;
    padding-bottom: 20px !important; 
    background-color: #5BCB5F !important;
}
.footer-container {
    display: flex;
    flex-direction: column; /* Esto apila los elementos verticalmente en tablet */
    align-items: center;
}

/* --- FOOTER FLOW: ESTRUCTURA PRINCIPAL --- */
.footer-3-cols-flow {
    background-color: #5BCB5F !important; 
    padding: 60px 5% 0px 5% !important; /* El padding inferior es 0 */
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: hidden !important; 
}

/* 1. Forzar que el footer-wrapper no tenga márgenes que empujen hacia afuera */
.footer-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto 0 auto !important; /* Aseguramos margen inferior 0 */
    padding: 0 5% 0 5% !important;   /* Aseguramos padding inferior 0 */
    gap: 40px !important;
}

/* 2. Limpieza de los bloques internos (Los formularios/listas suelen traer márgenes) */
.footer-block {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. ¡ESTA ES LA CLAVE! Elimina el margen inferior de cualquier párrafo dentro del footer */
.footer-3-cols-flow p, 
.footer-3-cols-flow h3, 
.footer-3-cols-flow form {
    margin-bottom: 0 !important;
}

/* --- BLOQUE 1: LOGO, TEXTO E ICONOS --- */
.brand-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-f-rock {
    height: 120px !important; 
    width: auto !important;
    display: block !important;
    margin: 0 !important; /* Cambiado de -100 a 0 */
    padding: 0 !important;
    object-fit: contain !important;
}

.txt-f {
    margin-top: -30px !important; /* Ajusta este valor si quieres acercar más el texto */
    padding: 8px !important;
}

.txt-f p {
    margin: 0 !important;
    padding: 8px 0 !important; /* Espacio entre las dos direcciones */
    line-height: 1.2 !important;
    color: #440669 !important; /* Aseguramos color */
}

/* --- 1. ICONOS UNIFORMES Y CENTRADOS --- */
.social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
    margin-top: 15px !important;
}

.social-links a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important; 
    height: 40px !important;
    /* Añadimos una transición para que el movimiento sea suave */
    transition: transform 0.2s ease !important; 
}

.social-links a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* --- AÑADE ESTO PARA LA ANIMACIÓN --- */

/* 1. Efecto al pasar el mouse (Salto suave) */
.social-links a:hover {
    transform: scale(1.15) !important;
}

/* 2. Efecto al hacer clic (Efecto apretar) */
.social-links a:active {
    transform: scale(0.9) !important;
}

/* --- 2. COPYRIGHT: FUERZA EL CENTRO --- */
.footer-copy {
    width: 100% !important;
    text-align: center !important;
    margin-top: 0px !important;    /* CAMBIO: Eliminamos el margen superior */
    padding-top: 40px !important;  /* Mantenemos solo el padding */
    padding-bottom: 20px !important; /* CAMBIO: Añadimos padding inferior aquí */
    border-top: 1px solid rgba(68, 6, 105, 0.2) !important;
    color: #440669 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    grid-column: 1 / -1 !important; 
}
/* --- TEXTOS Y TÍTULOS --- */
.h3-f {
    color: #440669 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
}

.txt-f p, .ul-f li a {
    color: #440669 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.6;
}

.ul-f { list-style: none !important; padding: 0 !important; }
.ul-f li { margin-bottom: 10px !important; }

/* --- FORMULARIO DE CONTACTO --- */
/* --- FORMULARIO CORREGIDO --- */
form {
    display: contents !important; /* Mantiene la estructura original del diseño */
    margin: 0 !important;
    padding: 0 !important;
}
.form-f {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important; /* Asegura que no se salga del contenedor */
    max-width: 500px !important; /* Limita el ancho máximo para que no se vea deforme */
    margin: 0 auto !important; /* Centra el formulario */
    padding: 20px !important; /* Espacio interno para que no toque los bordes */
    box-sizing: border-box !important; /* IMPORTANTE: Esto evita que el padding expanda el tamaño */
}

/* Campos de entrada */
.form-f input, 
.form-f textarea {
    width: 100% !important; /* Ocupa el 100% del formulario, no de la pantalla */
    box-sizing: border-box !important; /* Evita que el padding rompa el diseño */
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    padding: 12px !important;
    border-radius: 10px !important;
    color: #440669 !important;
    font-weight: 600 !important;
}

/* BOTÓN CÁPSULA NEGRO */
.form-f button {
    background: #440669 !important;
    color: #39FF14 !important;
    border: none !important;
    padding: 15px !important;
    font-weight: 900 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: 0.3s ease;
}

.form-f button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 12, 79, 0.3);
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 900px) {
    .footer-wrapper {
        flex-direction: column !important;
        text-align: center !important;
        gap: 40px !important;
    }
}
@media (max-width: 900px) {
    /* 1. Centrar toda la columna de marca (Logo, texto, redes) */
    .brand-container {
        align-items: center !important; /* Centra el logo y texto horizontalmente */
        text-align: center !important;
    }

    /* 2. Centrar las redes sociales */
    .social-links {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 3. Asegurar que los títulos (H3) y listas también se centren */
    .footer-block {
        text-align: center !important;
    }
    
    .ul-f {
        padding: 0 !important;
        list-style: none !important;
    }
}

/* NAVEGACIÓN RESPONSIVE */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(48, 13, 71, 0.368); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--verde-neon);
    z-index: 999999 !important; /* Dale un valor extremadamente alto */
}
.header-container {
    max-width: 1400px; margin: 0 auto; height: 80px;
    display: flex; justify-content: space-between; align-items: center; padding: 0 5%;
}
.header-container .logo img { height: 80px; width: auto;display: block;filter: none !important; /* Elimina cualquier filtro que lo esté haciendo negro */
    mix-blend-mode: normal !important;} 

.nav-menu a { color: white; text-decoration: none; font-family: 'Montserrat'; font-size: 0.8rem; margin: 0 15px; letter-spacing: 1px; }
.btn-cta { border: 1px solid var(--verde-neon); padding: 10px 20px; color: var(--verde-neon); text-decoration: none; box-shadow: var(--glow); }
.slider-wrapper {
    width: 100%;
    overflow: hidden; /* Esconde lo que no está en pantalla */
    position: relative;
    padding: 40px 0;
}
/* DISEÑO DEL BOTÓN EN EL HEADER */
.btn-cta-dynamic {
    background: transparent;
    border: 2px solid #39FF14; /* El verde neón de tu marca */
    color: #39FF14;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 4px; /* Bordes sutiles, estilo editorial */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    cursor: pointer;
}

/* EFECTO AL PASAR EL MOUSE (O CLICK) */
.btn-cta-dynamic:hover {
    background: #39FF14; /* Se llena de color */
    color: #11041a; /* Texto en negro para contraste alto */
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.8); /* Brillo neón intenso */
    transform: scale(1.05); /* Pulsa ligeramente hacia afuera */
}

/* RESPONSIVE: Asegurar que el header no se rompa en móviles */
@media (max-width: 768px) {
    .btn-cta-dynamic {
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}
/* Animación de entrada suave y con profundidad */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicamos la animación a los elementos de la sección */
.about-section .about-subtitle,
.about-section .about-title,
.about-section .about-text {
  animation: fadeInUp 1s ease-out forwards;
}

/* Retrasos escalonados para guiar la lectura */
.about-section .about-subtitle { animation-delay: 0.2s; }
.about-section .about-title    { animation-delay: 0.5s; }
.about-section .about-text     { animation-delay: 0.8s; }

/* Aseguramos que empiecen invisibles */
.about-section .about-subtitle,
.about-section .about-title,
.about-section .about-text {
  opacity: 0; 
}
.about-section {
  padding: 80px 10%;
  background-color: #440669; /* Fondo negro para separar secciones */
  text-align: center;
  color: #fff;
}

.about-subtitle {
  color: #5BCB5F; /* Tu verde neón */
  text-transform: uppercase;
  letter-spacing: 8px;
  /* Aumentamos el tamaño base para que sea más protagonista */
  font-size: clamp(1.5rem, 4vw, 2.8rem); 
  font-weight: 800;
  /* Reducimos el margen inferior para acercarlo al título */
  margin-bottom: 5px; 
  display: block;
}

.about-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  /* Mantenemos el margen inferior para no afectar el resto de la web */
  margin-bottom: 30px;
  line-height: 1.1; /* Ajustado ligeramente para mejorar el bloque visual */
  /* Margin-top negativo para cerrar el espacio restante si es necesario */
  margin-top: -10px; 
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 300;
}
.services {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
    background: #000;
    text-align: center;
}

* {
  font-family: 'Montserrat', sans-serif !important;
}

/* Opcional: Si tienes títulos con otra fuente, puedes especificarlo solo para ellos */
h1, h2, h3, h4, .about-title, .about-subtitle {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900; /* Para que todos tus títulos tengan ese peso pesado */
}

/* Pseudo-elemento con ajustes de visibilidad */
/* ==========================================
   ESTRUCTURA DE LA SECCIÓN
========================================== */
/* 1. Limpieza del contenedor padre */
/* 1. Reset al contenedor padre */
.services {
    position: relative;
    padding: 80px 0;
    width: 100%;
    overflow: visible !important;
}
/* 2. El carrusel centrado */
#services-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Configuración exclusiva de la imagen */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Sin opacidad para que la imagen se vea al 100% (o ajusta si prefieres) */
    opacity: 1; 
    z-index: -1; 
    pointer-events: none;
}

/* 3. Asegurar que el contenido tampoco tenga fondo propio */
.flow-services-section, 
.services, 
.owl-container-custom {
    overflow: visible !important; /* IMPORTANTE: Esto permite que las flechas salgan */
}
.services-title {
    text-align: center;
    color: #ffffff !important; /* Forzamos blanco puro */
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 50px;
    
    /* ESTO ES LO QUE TE FALTA */
    position: relative;
    z-index: 9999 !important; /* Obliga a que el título se vea encima de todo */
    display: block !important;
}
/* ==========================================
   CÍRCULOS DE SERVICIO
========================================== */
.service-circle {
    background-color: #440669;
    border-radius: 50% !important;
    /* CAMBIO 1: Reduce un poco el tamaño para que sea más fácil centrar en móvil */
    width: 280px !important;      
    height: 280px !important;     
    flex-direction: column;
    text-align: center;
    padding: 20px;
    overflow: hidden !important;  
    flex-shrink: 0;    
    margin: 0 auto !important; /* Centrado horizontal automático */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;           
    
    /* CAMBIO 2: Añade una transición para que el cambio de tamaño sea suave */
    transition: all 0.4s ease-in-out !important;
}

.service-circle h3 {
        font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-circle p {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
}
/* ==========================================
   CARROUSEL DE SERVICIOS - VERSIÓN LIMPIA
========================================== */
/* 1. Limpieza del contenedor padre */
/* 1. Reset al contenedor padre */
.services {
    position: relative;
    padding: 80px 0;
    width: 100%;
    overflow: visible !important;
}
/* 2. El carrusel centrado */
#services-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Configuración exclusiva de la imagen */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Sin opacidad para que la imagen se vea al 100% (o ajusta si prefieres) */
    opacity: 1; 
    z-index: -1; 
    pointer-events: none;
}

/* 3. Asegurar que el contenido tampoco tenga fondo propio */
.flow-services-section, 
.services, 
.owl-container-custom {
    overflow: visible !important; /* IMPORTANTE: Esto permite que las flechas salgan */
}
.services-title {
    text-align: center;
    color: #ffffff !important; /* Forzamos blanco puro */
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 50px;
    
    /* ESTO ES LO QUE TE FALTA */
    position: relative;
    z-index: 9999 !important; /* Obliga a que el título se vea encima de todo */
    display: block !important;
}
/* ==========================================
   CÍRCULOS DE SERVICIO
========================================== */
.service-circle {
    background-color: #440669;
    border-radius: 50% !important; /* Fuerza la forma circular */
    width: 300px !important;      /* Tamaño fijo */
    height: 300px !important;     /* Tamaño fijo igual al ancho */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 0 auto;               /* Centrado */
    overflow: hidden !important;  /* Importante: oculta cualquier desborde */
    flex-shrink: 0;               /* Evita que el círculo se encoja */
}

.service-circle h3 {
        font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-circle p {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================
   ESTILO DE OWL CAROUSEL (CÍRCULO CENTRAL)
========================================== */
/* Efecto de escala: los laterales se ven pequeños y transparentes */
/* 1. Estilo para TODOS los elementos (los laterales) */
.owl-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0;              /* Espacio vertical para evitar cortes */
    transition: all 0.5s ease;
    transform: scale(0.7);        /* Laterales pequeños */
    opacity: 0.5;
}

/* 2. Estilo para el elemento central (El que tú quieres ver como círculo) */
.owl-item.center {
    transform: scale(1);          /* Centro completo */
    opacity: 1;
}

/* 3. Opcional: Si quieres que los laterales no se vean como círculos sólidos, 
   puedes quitarles el fondo o el borde aquí */
.owl-item:not(.center) .service-circle {
    background: transparent !important; /* Los laterales pierden el fondo sólido */
    border: 1px solid rgba(255,255,255,0.1);
}


/* Asegurar que el contenedor sea visible */
/* ==========================================
   CORRECCIÓN DE FLECHAS Y CENTRADO
========================================== */

/* 1. Contenedor que limita el ancho del carrusel */
.owl-carousel {
    max-width: 1000px !important; /* Limita el ancho para que los botones no se vayan a los bordes de la pantalla */
    margin: 0 auto !important;    /* Centra el carrusel en la pantalla */
    overflow: visible !important;
}

/* 2. Flechas: Posicionamiento relativo al bloque central, no a la pantalla */
.owl-nav {
    position: absolute !important;
    top: 50% !important;
    left: -50px !important;       /* Mueve el botón izquierdo hacia afuera */
    right: -50px !important;      /* Mueve el botón derecho hacia afuera */
    width: calc(100% + 100px) !important; /* El ancho del carrusel + el espacio de los botones */
    display: flex !important;
    justify-content: space-between !important;
    pointer-events: none; 
    z-index: 9999 !important;
    transform: translateY(-50%);
}

.owl-nav button {
    pointer-events: auto !important;
    background: white !important;
    color: black !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* 3. Flechas: Posición dentro del carrusel, no fuera */
.owl-theme .owl-nav {
    display: flex !important;
    justify-content: space-between !important;
    position: absolute !important;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none; /* Permite clic */
    z-index: 999;
}

.owl-theme .owl-nav button {
    pointer-events: auto !important;
    background: #ffffff !important;
    color: #000 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 !important; /* Quita márgenes extraños */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* 4. Jerarquía (Zoom al centro) */
.owl-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(0.7);
    opacity: 0.5;
}

.owl-item.center {
    transform: scale(1.1);
    opacity: 1;
}
/* 3. Asegurar que los items tengan el mismo tamaño y no se corten */
.owl-item {
    transition: all 0.5s ease;
    opacity: 0.4; 
    transform: scale(0.6); 
    filter: blur(1px);
}

.owl-item.center {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(0px);
    z-index: 10;
}
/* --- CSS DE SERVICIOS --- */

/* ESTILOS PARA ESCRITORIO (Se aplican por defecto) */
.servicios-container {
    display: flex !important;
    justify-content: center !important; /* Centra el carrusel en escritorio */
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important; /* Limita el ancho para que no se estire demasiado */
    margin: 0 auto !important;    /* Centra el contenedor en la pantalla */
}

/* AJUSTES SOLO PARA MÓVIL/TABLET (Menos de 1024px) */
@media (max-width: 1024px) {
    .servicios-container {
        flex-direction: column !important; /* Apilado solo en móvil */
    }

    .servicio-item {
        width: 90% !important;
        margin: 10px auto !important;
        display: block !important;
    }
}


/* Contenedor que mantiene la proporción 16:9 */
.vimeo-responsive-container {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.vimeo-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   ESTILOS DE LA SECCIÓN MANIFIESTO
========================================== */


.manifesto-section {
  background-color: #5BCB5F; /* Ese tono gris claro/azulado de tu imagen */
  padding: 100px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  box-sizing: border-box;
}


.manifesto-container {
  max-width: 1100px;
  margin: 0 auto;
}
@keyframes glitchEffect {
  0% { transform: translate(0); opacity: 1; }
  2% { transform: translate(-5px, 2px); color: #ff00ee; } /* Magenta neón */
  4% { transform: translate(5px, -2px); color: #00FFFF; } /* Cian neón */
  6% { transform: translate(0); opacity: 1; color: #440669; }
  100% { transform: translate(0); opacity: 1; color: #440669; }
}

.animated-column {
  animation: glitchEffect 2s infinite;
  transition: all 0.2s ease;
}

/* Escalonamiento para que no glitcheen todas a la vez */
.manifesto-columns .animated-column:nth-child(2) { animation-delay: 1.5s; }
.manifesto-columns .animated-column:nth-child(3) { animation-delay: 3s; }
/* Subtítulo Rojo con línea ondulada */
.manifesto-subtitle {
  color: #ffffff; /* Rojo rosado vibrante */
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: inline-block;
  /* El truco para la línea ondulada en CSS puro */
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #5BCB5F;
  text-underline-offset: 12px;
  text-decoration-thickness: 2px;
}

/* Tipografía gigante estilo editorial */
.manifesto-title {
  color: #440669; /* Negro intenso */
  font-size: 5rem; /* Tamaño gigante */
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 40px 0 60px 0;
  letter-spacing: -2px; /* Junta un poco las letras para dar robustez */
}

/* Ajuste de los asteriscos */
.manifesto-title .asterisk {
  font-size: 6rem;
  vertical-align: middle;
  line-height: 0;
  display: inline-block;
  transform: translateY(10px); /* Los baja un poquito para alinearlos al texto */
}
/* Animación de "latido" o salto para llamar la atención */
@keyframes attentionPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  5% { transform: translateY(-10px) scale(1.02); } /* Salto rápido hacia arriba */
  10% { transform: translateY(0) scale(1); }      /* Vuelve a su sitio */
}


/* Aplicamos la animación a los elementos de la columna */
.column-item {
  animation: attentionPulse 3s ease-in-out infinite;
  /* El retraso escalonado hace que no salten todas a la vez, se ve más pro */
}

/* Retrasos para que el "salto" sea orgánico y no todas juntas */
.manifesto-columns .column-item:nth-child(2) {
  animation-delay: 1s; /* La segunda salta 1 segundo después */
}
.manifesto-columns .column-item:nth-child(3) {
  animation-delay: 2s; /* La tercera salta 2 segundos después */
}
/* Contenedor de las 3 columnas */
.manifesto-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-top: 50px;
  padding: 0 50px;
}

.column-item {
  flex: 1;
}

.column-item p {
  color: #440669;
  font-size: 1.1rem;
  font-weight: 800; /* Texto bien gordito y fuerte */
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .manifesto-section {
    padding: 60px 20px !important;
  }

  .manifesto-title {
    font-size: 2.2rem !important;
    letter-spacing: -1px;
    margin: 20px 0 30px 0 !important; /* Ajuste de márgenes para móvil */
  }

  .manifesto-subtitle {
    font-size: 1.5rem !important;
    text-underline-offset: 8px; /* Ajuste de la línea ondulada */
  }

  .manifesto-columns {
    display: flex !important;
    flex-direction: column !important; /* Apila las columnas */
    align-items: center !important;    /* ESTO CENTRA TODO HORIZONTALMENTE */
    justify-content: center !important;
    gap: 30px !important;
    padding: 0 !important;             /* Eliminamos el padding lateral */
    width: 100% !important;
  }

  .column-item {
    width: 100% !important;
    max-width: 400px !important;       /* Limita el ancho para que el texto sea legible */
    text-align: center !important;     /* Centra el texto dentro del párrafo */
  }

  .column-item p {
    padding: 0 10px !important;
    font-size: 1rem !important;
  }
}
/* --- SECCIÓN ESPECIALIZACIÓN (2x2) --- */
.blob-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea las 2 columnas */
    gap: 25px; 
    max-width: 1000px;
    margin: 40px auto 0;
}

.blob {
    background: rgba(26, 26, 26, 0.6);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blob h4 {
    color: #39FF14; /* Color verde Flow para los títulos */
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.blob:hover {
    transform: translateY(-5px);
    border-color: #39FF14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

/* 1. Ajustes generales de diseño (Grid) */
@media (max-width: 768px) {
    .blob-container {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }
}

/* 2. Estilos de los enlaces del menú (Funcionan en escritorio y móvil) */
.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
}

.nav-menu a:hover {
    color: #39FF14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #39FF14;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 3. Lógica del Menú Hamburguesa en Celular */
@media (max-width: 768px) {
    /* Ocultamos el menú por defecto en móvil */
    .nav-menu {
        display: none !important; 
        flex-direction: column !important;
        position: absolute;
        top: 80px; /* Ajusta este valor según la altura de tu header */
        left: 0;
        width: 100%;
        background: #11041a; /* Fondo oscuro */
        text-align: center;
        padding: 20px 0;
        z-index: 9999;
    }

    /* Esta clase la activa el JavaScript al hacer clic */
    .nav-menu.active {
        display: flex !important;
    }

    /* Aseguramos que el botón de hamburguesa sea visible */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 10px;
    }
    /* Dale forma al botón hamburguesa */
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s;
}
}

/* En escritorio, forzamos que el menú siempre esté visible */
@media (min-width: 769px) {
    .nav-menu { display: flex !important; }
    .menu-toggle { display: none !important; }
}

/* ANIMACIÓN: Movimiento suave en diagonal */
@keyframes smoothBackgroundMove {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(25px, 25px); /* Movimiento ligero */
    }
    100% {
        transform: translate(0, 0);
    }
}

/* CAMBIA ESTO */
.slider-container {
    /* BORRA EL GRID Y EL GAP */
    /* display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; */
    
    /* USA ESTO EN SU LUGAR */
    display: block; 
    width: 90%; 
    z-index: 10;
    overflow: hidden; /* Esto es vital para que no se vea el resto del slider */
}

/* ASEGURA QUE EL TRACK SE COMPORTE BIEN */
.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
    width: 100%; /* El track debe ser el ancho total */
}

.slide-card {
    min-width: 100%; /* Cada tarjeta ocupa el 100% del contenedor padre */
    box-sizing: border-box;
    padding: 0 10%;
}

.slide-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.slide-info {
    position: absolute;
    bottom: 40px;
    left: 13%;
    text-align: left;
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-left: 4px solid #39FF14;
    border-radius: 0 10px 10px 0;
}

.pilar-tag { color: #39FF14; font-size: 0.7rem; letter-spacing: 2px; }
.slide-info h3 { font-size: 2rem; margin: 5px 0; color: #fff; }
/* HERO SECTION - ADAPTABLE */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.watermark { position: absolute; font-size: 15vw; font-weight: 900; opacity: 0.05; color: var(--verde-neon); }
.slider-container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    width: 90%; z-index: 10;
}
.slide { background: rgba(77, 21, 142, 0.366); padding: 30px; border: 1px solid rgba(57,255,20,0.1); transition: 0.5s; }
.slide.active { border-color: var(--verde-neon); box-shadow: var(--glow); }
.progress-bar { width: 100%; height: 2px; background: #333; margin-top: 15px; }
.active .fill { height: 100%; background: var(--verde-neon); width: 0; animation: load 3s linear infinite; }
@keyframes load { to { width: 100%; } }
/* Sección General */
.method {
    background: var(--negro);
    padding: 100px 0%;
    display: flex;
    justify-content: center; /* Centra todo el bloque */
    align-items: center;
}

/* Contenedor que reparte el espacio */
.method-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-around; /* Reparte 01, 02 y 03 con espacio igual entre ellos */
    flex-wrap: wrap; /* Si no hay espacio (celular), los baja uno tras otro */
    gap: 40px;
}

/* Cada Item Individual */
.method-item {
    text-align: center; /* Centra el texto dentro de su propio bloque */
    flex: 1; /* Hace que todos midan lo mismo */
    min-width: 250px; /* Evita que se amontonen en tablets */
}

/* Estilo de los Números (Outline Neón) */
.num-outline {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--verde-neon);
    display: block;
    line-height: 1;
    opacity: 0.4;
}

/* Etiquetas (Data, Beats, Impact) */
.method-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 4px;
    margin: 10px 0;
    color: #fff;
}

/* El número que sube solo */
.counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--verde-neon);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    display: block;
}

/* AJUSTE PARA CELULARES */
@media (max-width: 768px) {
    .method-container {
        flex-direction: column; /* En celular van hacia abajo */
        gap: 60px;
    }
    .num-outline { font-size: 4rem; }
    .counter { font-size: 2.5rem; }
}


/* CASOS DE ÉXITO - SCROLL SNAP */
.cases-snap {
    height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory;
}
.case-card {
  height: 100vh;
  scroll-snap-align: start;
  background-size: contain; /* CAMBIO AQUÍ: antes estaba 'cover' */
  background-repeat: no-repeat; /* AÑADE ESTO */
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-overlay { background: rgba(53, 10, 84, 0.413); padding: 40px; border-radius: 15px; text-align: center; }
.kpi { font-size: 3rem; font-weight: 900; color: var(--verde-neon); text-shadow: var(--glow); display: block; }
.success-section {
    padding: 100px 5% 50px;
    background: #5BCB5F;
}

.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-header .subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #39FF14; /* Tu verde neón */
    font-size: 0.8rem;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 0;
}

.header-line {
    width: 80px;
    height: 4px;
    background: #39FF14;
    margin: 20px auto 0;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
}
/* BLOBS SERVICIOS */
.blob-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 5%; }
.blob {
    background: var(--gris); padding: 50px 30px; text-align: center;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    border: 1px solid rgba(57,255,20,0.2); transition: 0.4s;
}
.blob:hover { border-color: var(--verde-neon); box-shadow: var(--glow); transform: translateY(-10px); }
/* Añade esto a tu contenedor padre para que los elementos se vean detrás */

/* 1. Definimos el espacio exterior para TODAS las secciones importantes */
.marquee-section {
    position: relative;
    width: 100%;
    
    /* ESTO CREA EL ESPACIO ENTRE SECCIONES */
    margin: 80px 0; /* 80px arriba y abajo. Ajusta si quieres más o menos */
    
    padding: 60px 0; /* Espacio interno para que el contenido no pegue con el borde */
    overflow: hidden;
    
    /* Tu fondo */
    background-image: url('../assets/img/fondo_concreto.jpg');
    background-size: cover;
    background-position: center;
}

/* 2. La capa de desenfoque (debe ser estricta) */
.marquee-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(68, 6, 105, 0.6); /* Color violeta */
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    z-index: 0;
}

/* 3. Aseguramos que el contenido fluya y no se aplaste */
.marquee-section > * {
    position: relative;
    z-index: 1;
}

/* Aseguramos que el contenido esté por encima del desenfoque */
.section-title, .marquee {
    position: relative;
    z-index: 1;
}/* Continuar con .marquee, .marquee-content, etc... */
/* Ajusta tu clase .marquee así: */
.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    
    /* ESTO SOLUCIONA EL CORTE: */
    padding: 30px 0; /* Agregamos 30px arriba y abajo para que el logo crezca */
    margin: -30px 0;  /* Compensamos el margen para que no mueva la sección */
}
.marquee-content {
    display: flex;
    align-items: center;
    animation: scroll-logos 50s linear infinite;
}

.brand-logo-img {
    /* 1. Define un tamaño constante para la caja */
    height: 80px;  /* Ajusta esta altura al gusto */
    width: 150px;  /* Ajusta este ancho al gusto */
    
    /* 2. La magia para que no se deformen */
    object-fit: contain; 
    
    /* 3. Espaciado y otros estilos */
    padding: 10px; 
    margin: 0 40px;
    filter: grayscale(1) brightness(2);
    opacity: 0.6;
    transition: 0.4s ease;
    
    /* Evita el recorte en hover */
    user-select: none;
    -webkit-user-select: none;
}


/* Efecto: Cuando pasas el mouse, el logo cobra vida */
.brand-logo-img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Animación infinita suave */
@keyframes scroll-logos {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Se mueve la mitad para el loop perfecto */
}

/* Ajuste para Celulares (Logos más pequeños) */
@media (max-width: 768px) {
    .brand-logo-img {
        height: 35px;
        margin: 0 30px;
    }
}
/* --- TRATAMIENTO DE IMÁGENES EN CASOS DE ÉXITO --- */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cuadros alineados */
    gap: 20px;
    padding: 0 5%;
}

.work-card {
    position: relative;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.1); /* Borde neón sutil */
    overflow: hidden; /* Corta la imagen sobrante */
    cursor: pointer;
    transition: all 0.5s ease;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la foto se estire */
    filter: grayscale(1) brightness(0.6); /* Imagen oscura/blanco y negro inicial */
    transition: 0.8s ease;
}

/* --- EFECTO AL PASAR EL MOUSE (HOVER) --- */
.work-card:hover {
    border-color: #39FF14; /* El borde neón cobra vida */
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    transform: translateY(-10px);
}

.work-card:hover img {
    filter: grayscale(0) brightness(1.2); /* La foto cobra color y brillo */
    transform: scale(1.1); /* Zoom suave */
}


/* El texto sobre la imagen (como en tu captura) */
.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 5;
    text-align: left;
}

.card-overlay h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; margin: 8px 0; }
.card-overlay p { font-size: 0.7rem; color: #ccc; margin-bottom: 12px; }
.card-pilar { color: #92e084; font-size: 0.6rem; letter-spacing: 2px; }


/* La barrita neón que carga al hacer hover */
.neon-line {
    width: 30px;
    height: 3px;
    background: #39FF14;
    box-shadow: 0 0 10px #39FF14;
    transition: 0.5s ease;
}

.work-card:hover .neon-line { width: 100%; }

/* EQUIPO GENERAL */
.team-section { padding: 100px 5%; background: #11041a; }
.section-title { font-family: 'Montserrat'; font-size: 2.5rem; text-align: center; margin-bottom: 50px; letter-spacing: 5px; color: #fff; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en PC */
    gap: 40px;
    margin-bottom: 100px;
}

.member { text-align: center; transition: 0.4s; }
.member:hover { transform: translateY(-10px); }

.member-img-wrap {
    width: 160px; height: 160px; margin: 0 auto 20px;
    border-radius: 50%; border: 2px solid var(--verde-neon);
    overflow: hidden; box-shadow: var(--glow);
}
.member-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.5s; }
.member:hover img { filter: grayscale(0); }

.member h5 { font-family: 'Montserrat'; font-size: 1rem; margin-bottom: 5px; color: #fff; }
.member .role { font-size: 0.7rem; color: #666; letter-spacing: 2px; margin-bottom: 15px; }

.skill-mini-bar { width: 60px; height: 3px; background: #111; margin: 0 auto; overflow: hidden; }

/* SECCIÓN THE HOST */
.host-box {
    background: #5BCB5F; border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 60px; border-radius: 20px; max-width: 1000px; margin: 0 auto;
}
.host-title { font-family: 'Montserrat'; color: var(--verde-neon); text-align: center; margin-bottom: 40px; letter-spacing: 10px; }
.host-content { display: flex; align-items: center; gap: 60px; }

.host-img { width: 300px; border-radius: 10px; border: 1px solid var(--verde-neon); box-shadow: var(--glow); }

.host-text h3 { font-family: 'Montserrat'; font-size: 2.5rem; margin-bottom: 10px; }
.host-tag { color: var(--verde-neon); font-size: 0.8rem; letter-spacing: 3px; display: block; margin-bottom: 30px; }

.skill-item { margin-bottom: 25px; }
.skill-info { display: flex; justify-content: space-between; font-family: 'Montserrat'; font-size: 0.8rem; margin-bottom: 10px; }
.skill-bar { width: 100%; height: 6px; background: #1a1a1a; border-radius: 10px; overflow: hidden; }

/* LA CARGA NEÓN */
.fill { 
    height: 100%; background: var(--verde-neon); 
    width: 0%; /* Empieza en 0 para la animación */
    box-shadow: 0 0 15px var(--verde-neon);
    transition: width 2s cubic-bezier(0.17, 0.67, 0.83, 0.67); 
}
/* --- ESTILO DE CÍRCULOS NEÓN (CYPHER TEAM) --- */

.member-img-wrap {
    width: 160px; /* Tamaño del círculo */
    height: 160px;
    margin: 0 auto 15px;
    border-radius: 50%; /* Esto hace que sea un círculo perfecto */
    border: 2px solid #39FF14; /* Tu verde neón */
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6); /* El brillo neón exterior */
    overflow: hidden;
    position: relative;
    background: #000; /* Fondo negro por si la foto tarda en cargar */
}

.member-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que las fotos de tu equipo se deformen */
    transition: 0.5s ease;
    filter: grayscale(0.5); /* Efecto cinemático inicial */
}

/* Efecto al pasar el mouse sobre el integrante */
.member:hover .member-img-wrap {
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.9);
    transform: scale(1.05);
}

.member:hover img {
    filter: grayscale(0); /* La foto cobra color al pasar el mouse */
}

/* La barrita de indicador debajo del nombre */
.skill-mini-bar {
    width: 40px; 
    height: 3px;
    background: #111;
    margin: 12px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #39FF14;
    box-shadow: 0 0 10px #39FF14;
    width: 0; /* Se llena con el JavaScript que ya tenemos */
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1);
}
/* Contenedor de Skills del Miembro */
.member-skills {
    margin-top: 20px;
    padding: 0 15px;
    text-align: left;
}

.skill-mini-item {
    margin-bottom: 12px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* La barrita de carga */
.skill-mini-bar {
    width: 100%;
    height: 3px;
    background: #111;
    border-radius: 2px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #39FF14; /* Tu verde neón */
    width: 0; /* Empieza en 0 para la animación */
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
    transition: width 2s cubic-bezier(0.1, 0.5, 0.5, 1);
}

/* Círculo Neón para la foto */
.member-img-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid #39FF14;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    overflow: hidden;
}
.team-grid {
    display: grid;
    /* Crea 4 columnas iguales en PC */
    grid-template-columns: repeat(4, 1fr); 
    gap: 50px 30px;
    max-width: 1200px;
    margin: 50px auto;
}

/* Ajuste para tablets: 2 por fila */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ajuste para celulares: 1 por fila */
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* RESPONSIVE */
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .host-content { flex-direction: column; text-align: center; }
    .host-img { width: 100%; }
}


/* MEDIA QUERIES - CELU Y TABLET */
@media (max-width: 1024px) { /* TABLET */
    .slider-container { grid-template-columns: 1fr 1fr; }
    .host-content { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) { /* CELULAR */
    .slider-container { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .logo img { height: 38px; }
    .kpi { font-size: 2rem; }
    .host-img { width: 100%; }
}

.slider-container {
    width: 100%;
    overflow: hidden; /* Esconde los cuadros que no están en turno */
    position: relative;
    padding: 20px 0;
}

.slider-track {
    display: flex; /* Pone los cuadros en una fila infinita */
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.work-card {
    min-width: 100%; /* Por defecto muestra 1 cuadro grande (puedes cambiarlo a 25% para ver 4) */
    box-sizing: border-box;
    padding: 0 10px;
}

/* Estilo neón de tus capturas */
.work-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 15px;
    filter: brightness(0.7);
}
/* CENTRADO DE ESPECIALIZACIÓN ORGÁNICA */
.services {
    text-align: center; /* Centra el título */
    padding: 100px 5%;
}

.blob-container {
    display: flex;
    justify-content: center; /* CENTRA LOS BLOQUES HORIZONTALMENTE */
    align-items: center;
    flex-wrap: wrap; /* Permite que bajen si no caben */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenedor completo */
}

.blob {
    background: rgba(65, 13, 82, 0.647);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 40px;
    border-radius: 20px;
    width: 250px; /* Tamaño fijo para simetría */
    text-align: center;
    transition: 0.4s;
}

.blob:hover {
    border-color: #39FF14;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
}
.success-slider-section {
    padding: 100px 0;
    background: var(--negro);
}

.scroll-hint {
    color: var(--verde-neon);
    font-size: 0.8rem;
    text-align: right;
    margin-bottom: 10px;
    font-family: 'Montserrat';
    opacity: 0.6;
}

.slider-wrapper {
    width: 100%;
    overflow-x: auto; /* Habilita el scroll horizontal manual */
    scroll-snap-type: x mandatory; /* Hace que los cuadros se "ajusten" al centro */
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
}

/* Esconder la barra de scroll para estética senior */
.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 20px; /* Espacio entre casos */
    padding-bottom: 20px;
}

.slide-card {
    min-width: 85%; /* En móvil se ve el siguiente cuadro asomándose */
    scroll-snap-align: center; /* Centra el cuadro al dejar de scrollear */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #11041a;
}

.slide-card img, .video-container video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.6);
    display: block;
}

.video-card {
    background: #000;
}

/* Desktop: Ajuste para pantallas grandes */
@media (min-width: 1024px) {
    .slide-card {
        min-width: 45%; /* Se ven dos casos y medio en PC */
    }
}

.success-slider-section {
    padding: 100px 0;
    background: #11041a;
}

.scroll-hint {
    color: #39FF14;
    font-family: 'Montserrat';
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-align: right;
    margin-bottom: 20px;
    opacity: 0.8;
}

.slider-wrapper {
    width: 100%;
    overflow-x: auto; /* Scroll manual activado */
    scroll-snap-type: x mandatory; /* El cuadro se "pega" al centro al soltarlo */
    padding-bottom: 30px;
}

/* Ocultar barra de scroll para limpieza visual */
.slider-wrapper::-webkit-scrollbar { display: none; }

.slider-track {
    display: flex;
    gap: 30px; /* Espacio elegante entre casos */
    padding-left: 5%; /* Para que el primer caso no pegue al borde */
}

.slide-card {
    min-width: 90%; /* En móvil ocupa casi todo el ancho */
    height: 650px;  /* Altura aumentada para que no se corte el texto */
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: center;
    border: 1px solid rgba(57, 255, 20, 0.1);
}

.slide-card img, .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Oscurecemos para que el texto resalte */
}

.slide-info {
    position: absolute;
    bottom: 50px;
    left: 40px;
    right: 40px; /* Asegura que el texto no se salga del cuadro */
    z-index: 5;
}

.slide-info h3 {
    font-size: 2.5rem;
    font-family: 'Montserrat';
    margin: 10px 0;
    color: #fff;
}

.slide-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.kpi {
    display: inline-block;
    padding: 10px 20px;
    background: #39FF14;
    color:#5BCB5F;
    font-weight: 900;
    border-radius: 5px;
    font-size: 1rem;
}

/* PC: Mostrar los casos un poco más pequeños pero igual de claros */
@media (min-width: 1024px) {
    .slide-card {
        min-width: 70%; /* Tamaño "Senior" en escritorio */
        height: 700px;
    }
}

.news-section {
    width: 100%;
    padding: 20px 0; /* Eliminamos padding lateral para evitar desbordes */
    background: #11041a;
    overflow: hidden;
}

.news-wrapper {
    width: 90%;      /* Ajusta el ancho total del slider */
    margin: 0 auto;  /* Centra el contenedor principal */
    overflow: hidden;
    border-radius: 50px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    position: relative;
}

.news-track {
    display: flex;
    width: 100%;
    /* Quitamos cualquier margen aquí */
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.news-slide {
    min-width: 100%; /* Cada slide ocupa el 100% del wrapper */
    height: 80vh;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    box-sizing: border-box; /* Fundamental: el padding no suma ancho */
}

.cases-section { padding: 100px 0; background: #11041a; }
.cases-container { 
    width: 100%; overflow-x: auto; /* Scroll manual */
    scroll-snap-type: x mandatory; 
    padding: 0 5%;
}
.cases-container::-webkit-scrollbar { display: none; } /* Ocultar barra */

.cases-scroll-track { display: flex; gap: 40px; }

/* 1. Mantenemos la estructura para el Scroll */
.case-item {
  min-width: 85%;
  height: 600px; /* Mantenemos altura para que el scroll funcione */
  position: relative;
  scroll-snap-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Importante para que nada se salga */
}

.case-item img {
  width: 100%;
  height: 100%;
  /* Mantenemos contain para que no se corte la imagen */
  object-fit: contain; 
  background-color: #11041a;
  display: block; 
}

.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Unificamos el estilo del video */
.responsive-video {
  width: 100%;
  max-height: 100%; /* Importante para que no se desborde */
  object-fit: contain; 
}

.video-item .case-text {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
}
/* --- CORRECCIÓN ESPECÍFICA PARA SECCIÓN CASOS EN MÓVIL --- */
/* --- CSS BLINDADO: SOLO PARA CASOS (Solución 1) --- */
@media (max-width: 768px) {
    #casos #cases-carousel.owl-carousel,
    #casos .cases-container {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    #casos .case-item, 
    #casos .owl-item {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 30px !important;
        float: none !important;
        /* Efecto para que se asome la siguiente tarjeta */
        transition: transform 0.3s ease;
        transform: scale(0.95); 
    }

    /* La tarjeta central activa se verá normal */
    #casos .owl-item.center {
        transform: scale(1);
    }

    #casos .caso-imagen, 
    #casos .video-container {
        width: 100% !important;
        height: 250px !important;
        overflow: hidden !important;
        border-radius: 15px; /* Mejora visual */
    }

    #casos .caso-imagen img, 
    #casos .video-container iframe {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}
/* --- INDICADOR DE DESLIZAR (Móvil y Tablet) --- */
/* Cambiamos 768px por 1024px para cubrir ambos */
@media (max-width: 1024px) {
    .swipe-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px; /* Un poco más de espacio en tablet */
        color: var(--brand-verde);
        font-family: sans-serif;
        font-size: 14px; /* Un poco más grande para tablet */
        font-weight: bold;
        letter-spacing: 2px;
    }

    .swipe-icon {
        width: 40px; /* Un poco más grande para tablet */
        height: 40px;
        border: 2px solid var(--brand-verde);
        border-radius: 50%;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: swipeAnim 1.5s infinite;
    }

    .swipe-icon span {
        width: 10px; /* Un poco más grande */
        height: 10px;
        background: var(--brand-verde);
        border-radius: 50%;
    }

    @keyframes swipeAnim {
        0% { transform: translateX(-15px); opacity: 0.5; }
        50% { transform: translateX(15px); opacity: 1; }
        100% { transform: translateX(-15px); opacity: 0.5; }
    }
}

/* Ocultar solo cuando sea pantalla grande (escritorio) */
@media (min-width: 1025px) {
    .swipe-indicator { display: none; }
}
/* ========================================= */
/* CORRECCIONES FINALES FLOW */
/* ========================================= */

/* 1. HEADER (Logo grande, Menú Montserrat y Blanco) */
.header-container .logo img { height: 150px !important; }
.nav-menu a {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* 2. NOTICIAS (Hacer el slider más pequeño) */
.news-slide { height: 55vh !important; }

/* 3. MÉTODO (Números visibles en blanco para que resalten) */
.num-outline {
    color: #ffffff !important;
    -webkit-text-stroke: 1px var(--verde-neon) !important;
}

/* 4. SERVICIOS (Fondo claro, 2x2, Textos Montserrat Blancos) */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/background-semitono.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* CAMBIOS CLAVE */
    opacity: 0.9 !important; /* Subimos de 0.15 a 0.6 para que se note */
    filter: none !important; /* Quitamos cualquier blur que borre los puntos */
    mix-blend-mode: normal !important; /* 'normal' asegura que la imagen se vea tal cual es */
    z-index: 1;
.custom-arrow::after {
  font-size: 1.5rem !important;
  background: #222;
  padding: 15px;
  border-radius: 50%;
  border: 1px solid #444;
  transition: all 0.3s ease;
}
.custom-arrow:hover::after {
  border-color: #5BCB5F;
  color: #5BCB5F;
}
.blob p {
    font-family: 'Montserrat', sans-serif !important;
    color: #ffffff !important;
}
.blob-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Obliga a que sean 2 cajas por fila */
    gap: 30px !important;
}
.logo-f-rock {
    height: 150px !important;
    filter: none !important; /* Quita el filtro oscuro para que se vea tu logo original */
    margin-bottom: 5px !important; /* Acerca la dirección al logo */
}
/* Cambia todos los textos y títulos del footer al color corporativo */
.h3-f, .txt-f p, .txt-f strong, .ul-f li a {
    color: #440669 A !important;
}
/* TIPOGRAFÍA MONTSERRAT PARA EL FOOTER */
/* 3. Evitar que el wrapper genere espacio */
.footer-3-cols-flow {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.footer-3-cols-flow, 
.footer-3-cols-flow p, 
.footer-3-cols-flow a, 
.footer-3-cols-flow h3,
.footer-3-cols-flow input,
.footer-3-cols-flow textarea,
.footer-3-cols-flow button {
    font-family: 'Montserrat', sans-serif !important;
}
/* 2. Ajuste específico para los títulos (MENÚ y ¿SUBIMOS EL VOLUMEN?) */
.h3-f {
    font-weight: 900 !important; /* Extra negrita para que resalte */
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* 3. Ajuste para los textos de dirección (Sucre y Santa Cruz) */
.txt-f p {
    font-weight: 400;
    line-height: 1.6;
}
.txt-f p strong {
    font-weight: 900;
}
/* 4. Ajuste para los enlaces del menú */
.ul-f li a {
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
/* 5. Ajuste para los placeholders del formulario */
.form-f input::placeholder, 
.form-f textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
}
/* 6. El botón de envío */
.form-f button {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* --- SECCIÓN MARCAS: LÍNEAS INFINITAS DE BORDE A BORDE --- */
.marquee-section {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #220330;
    padding: 60px 0;
    overflow: hidden;

    /* LÍNEAS HORIZONTALES (ARRIBA Y ABAJO) */
    border-top: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.marquee {
    display: flex;
    width: 100%;
    padding: 20px 0;
}
.marquee-content {
    display: flex;
    align-items: center;
    animation: scrollMarquee 35s linear infinite; /* Un poco más lento para que sea elegante */
}
/* LÍNEAS VERTICALES (ENTRE CADA LOGO) */
.brand-logo-img {
    height: 55px; /* Tamaño ideal para que no se vea desproporcionado */
    width: auto;
    padding: 0 70px; /* Espacio interno de cada "celda" */
    border-right: 1.5px solid rgba(255, 255, 255, 0.2) !important; 
    filter: grayscale(100%) brightness(200%);
    object-fit: contain;
}

/* EFECTO INFINITO SIN SALTOS */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* TÍTULO AJUSTADO A LAS LÍNEAS */
.marquee-section .section-title {
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.marquee-section h2.section-title {
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
}
/* Esto aplica Montserrat a toda la web de forma global */
* {
  font-family: 'Montserrat', sans-serif !important;
}
/* --- RESPONSIVE: AJUSTE PARA MÓVILES --- */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column !important; /* Pone las columnas una debajo de otra */
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .brand-container {
        align-items: center !important; /* Centra logo y texto en móvil */
    }

    .footer-block {
        width: 100% !important;
    }

    .form-f {
        width: 90% !important;
        margin: 0 auto !important;
    }
}
/* Opcional: Si tienes títulos con otra fuente, puedes especificarlo solo para ellos */
h1, h2, h3, h4, .about-title, .about-subtitle {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900; /* Para que todos tus títulos tengan ese peso pesado */
}
/* Esto es el "seguro de vida" para que nada se salga de la pantalla */
img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
}
/* --- SOLUCIÓN DE EMERGENCIA: ANULACIÓN DE ESPACIO FINAL --- */
/* 1. Blindaje contra márgenes externos */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}
/* 2. Forzamos al footer a no permitir nada debajo */
footer {
    display: block !important;
    margin: 0 !important;
    padding-bottom: 30px !important; /* Ajusta este valor si necesitas un poco de aire */
    background-color: #5BCB5F !important;
    position: relative !important;
    z-index: 100 !important;
}
/* 3. Eliminamos cualquier espacio residual que el navegador genere después del footer */
body::after {
    display: none !important;
    content: none !important;
}
/* 4. Si el espacio persiste, forzamos el cierre de la página al final del footer */
#footer, .footer-3-cols-flow, footer {
    margin-bottom: 0 !important;
}
/* --- BLOQUEO DE DESBORDE PARA MÓVILES --- */
* {
    max-width: 100vw !important; /* Nada puede ser más ancho que la pantalla */
    box-sizing: border-box !important;
}

/* Forzar que el grid de equipo se ajuste automáticamente */
.team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; 
    gap: 20px !important;
    padding: 0 15px !important;
}
/* Ocultar elementos inicialmente */
.animar-seccion, .method, .about-section, .member {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out !important;
}

/* Mostrar cuando el script añade 'active' */
.animar-seccion.active, .method.active, .about-section.active, .member.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Barras de habilidad desde 0% */
.member .fill {
    transition: width 1.5s ease-out !important;
    width: 0% !important;
}