/* ==========================================================================
   1. FUENTES Y VARIABLES
   ========================================================================== */
/* Registro de Proxima Nova - Regular */
@font-face {
    font-family: 'Proxima Nova';
    src: url('../assets/fonts/Proxima-Nova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Registro de Proxima Nova - Bold (Usando Semibold local) */
@font-face {
    font-family: 'Proxima Nova';
    src: url('../assets/fonts/Proxima-Nova-Semibold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Registro de Proxima Nova - Black */
@font-face {
    font-family: 'Proxima Nova';
    src: url('../assets/fonts/Proxima-Nova-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Registro de Proxima Nova - Light */
@font-face {
    font-family: 'Proxima Nova';
    src: url('../assets/fonts/Proxima-Nova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

:root {
    --primary-color: #fd4b00;
    /* Naranja corporativo */
    --text-color: #606060;
    /* Texto oscuro */
    --text-light: #4a4a4a;
    /* Gris profesional */
    --bg-color: #ffffff;
    --wa-color: #25d366;
    /* Verde WhatsApp */
    --wa-hover: #128c7e;
    --nav-padding-desk: 15px 15%;
    /* Reducido a 15px para emparejar matemáticamente el nuevo bloque de 90px del logo */
    --nav-padding-mob: 15px 20px;
}

/* ==========================================================================
   2. RESET Y ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Bug Fix: "scroll-behavior: smooth" omitido para compatibilidad táctil */
    scroll-padding-top: 120px;
    overscroll-behavior-y: none;
    /* Destruir el efecto liga/rebote que desencaja elementos en iPhone */
}

body {
    font-family: 'Proxima Nova', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-top: 120px;
    /* Espacio exacto de la cabecera */
    overscroll-behavior-y: none;
    /* Destruir rebote de safari */
}

main {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: bold;
    letter-spacing: -0.5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. BOTONES Y COMPONENTES REUTILIZABLES
   ========================================================================== */
button {
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-nav-wa {
    background-color: var(--wa-color) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 20px;
    transition: background 0.3s;
}

.btn-nav-wa:hover {
    background-color: var(--wa-hover) !important;
}

/* Botón Flotante WhatsApp */
.wa-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    /* En lugar de bottom, usamos top calculado para evadir el salto provocado cuando se esconde la barra de direcciones del celular */
    top: calc(100svh - 100px);
    right: 40px;
    background-color: var(--wa-color);
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.wa-flotante img {
    width: 35px;
}

.wa-flotante:hover {
    transform: scale(1.1);
}

/* Botón del Slider y General */
.btn-slider {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-slider:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   4. ENCABEZADO Y NAVEGACIÓN (ESCRITORIO)
   ========================================================================== */
header {
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    height: 120px;
    /* Altura matemáticamente rígida */
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Sutil sombra para separar del contenido */
    box-sizing: border-box;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15%;
    /* Solo padding horizontal */
    height: 100%;
    /* Forzamos que use toda la altura disponible */
}

@media (max-width: 1400px) {
    header nav {
        padding: 0 5%;
    }
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    display: block;
    height: 90px;
    /* Espacio sólido definitivo, equivalente exacto al antiguo 50px escalado al 180% */
    width: auto;
    object-fit: contain;
    transform: none;
    transition: height 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 8px 8px;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active-link {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   5. MENU HAMBURGUESA (MÓVIL)
   ========================================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1002;
    padding: 0;
    margin: 0;
    transform: scale(0.8);
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: none;
}

/* Animación a X al abrir el menú */
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ==========================================================================
   6. SECCIÓN HERO Y SLIDER
   ========================================================================== */
#hero {
    padding: 80px 5%;
    text-align: center;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.slider-container {
    width: 80%;
    max-width: 1800px;
    height: calc(100% - 40px);
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: block;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    width: 80%;
    text-align: center;
}

.caption h1,
.caption h2 {
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 0.9;
    margin-bottom: 5px;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

.caption p {
    font-weight: normal;
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 15px;
    opacity: 1;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.4);
}

/* Controles del Slider */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    transition: 0.3s;
    font-size: 1.2rem;
    line-height: 0;
}

.prev:hover,
.next:hover {
    background: rgba(253, 75, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Puntos indicadores del Slider */
.dots-container {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* ==========================================================================
   X. SECCIÓN NOSOTROS
   ========================================================================== */
.seccion-nosotros {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.nosotros-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.nosotros-video {
    flex: 1.25;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: transparent;
    /* Suavizado (anti-aliasing) para bordes de iframe */
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-poster {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-poster:hover .img-poster {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(253, 75, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: #ff5e1a;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* Se activa con JS */
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Fondo negro con transparencia */
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 1280px;
    /* HD aprox */
    background: #000;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.video-container-hd {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-container-hd iframe,
#youtube-player-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: -10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.nosotros-texto {
    flex: 1;
}

.nosotros-texto h2 {
    font-size: 3.4rem;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 900;
}

.nosotros-texto p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.2;
}

.seccion-slogan-grande {
    background-color: var(--bg-color);
    padding: 80px 20px;
    width: 100%;
}

.nosotros-slogan-wrapper {
    width: 100%;
    text-align: center;
}

.nosotros-slogan {
    font-size: 6.5vw;
    font-weight: 900;
    line-height: 1.15;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Base de animación inyectada por JavaScript */
.slogan-line {
    display: inline-block;
    padding: 15px 25px;
    /* Borde blando en 4 lados para evitar cortes en la 'Ñ' arriba y cortes en letras anchas o picudas como la 'A' a los lados */
    margin: -15px -25px;
    /* Emparejamiento virtual negativo para no destrozar ni separar el párrafo publicitario */

    /* El degradado debe estar nativo en la línea para que inline-block y transform no lo vuelvan invisible */
    background: linear-gradient(90deg, #ff5100 0%, #e61d62 50%, #9b00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    opacity: 0;
    transform: translateY(80px);
    /* Comienza hundido */
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
    /* Reacción inmediata al nivel de scroll */
    will-change: opacity, transform;
}

/* ==========================================================================
   7. SECCIÓN SERVICIOS
   ========================================================================== */
.seccion-servicios {
    padding: 0;
    width: 100%;
    margin: 0;
    max-width: none;
}

.franja-servicios {
    background-color: var(--primary-color);
    padding: 20px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.titulo-seccion {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.grid-servicios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 260px 20px;
    /* Más espacio de descanso antes de la siguiente sección */
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.tarjeta {
    position: relative;
    padding: 0;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: transform 0.3s ease;
    text-align: center;
    background: #fff;
    height: 100%;
    min-height: auto;
    /* Altura mínima garantizada */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.img-tarjeta {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    transition: transform 0.5s ease;
}

.tarjeta:hover .img-tarjeta {
    transform: scale(1.1);
}

/* Logotipo circular enmascarado y montado sobre la foto */
.tarjeta-logo {
    position: absolute;
    top: 214px;
    right: 20px;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
    border: 4px solid #ffffff;
    transition: transform 0.3s ease;
}

.tarjeta-logo img {
    width: 110%;
    height: 110%;
    object-fit: contain;
}

.tarjeta:hover .tarjeta-logo {
    transform: translateY(-50%) scale(1.08);
}

.tarjeta-cuerpo {
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

/* Solo para las tarjetas con logotipo en las páginas de subservicios (Team Building, etc.) */
.seccion-subservicios .tarjeta-cuerpo {
    padding-top: 65px;
}

.seccion-subservicios .tarjeta {
    text-align: left;
}

.seccion-subservicios .tarjeta h3 {
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

.tarjeta h3 {
    margin-bottom: 10px;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-color);
    line-height: 1.1;
}

.tarjeta p {
    color: var(--text-light);
    line-height: 1.4;
}

.enlace-tarjeta {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ==========================================================================
   Y. SECCIÓN CLIENTES
   ========================================================================== */
.seccion-clientes {
    padding: 0 0 80px 0;
    width: 100%;
}

.franja-clientes {
    background-color: #f9f9f9;
    padding: 20px 20px;
    width: 100%;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
}

.franja-clientes .titulo-seccion {
    color: var(--text-color);
    font-size: 2rem;
}

/* Riel de Logos */
.logo-rail {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: transparent;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(224px * 60);
    /* Ancho de item * cantidad total (30 logos + 30 duplicados) */
    animation: scrollLogos 60s linear infinite;
}

.logo-item {
    width: 224px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.circulo-placeholder {
    width: 182px;
    height: 182px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.circulo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover .circulo-placeholder {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(253, 75, 0, 0.15);
    transform: translateY(-5px);
}

.logo-item:hover .circulo-placeholder img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-224px * 30));
    }

    /* Mitad del total */
}

/* Testimonios */
.testimonios-container {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}

.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.testimonio-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cita {
    font-style: italic;
    font-size: 0.98rem;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    flex-grow: 1;
}

.cita::before {
    content: '"';
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.autor {
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 0.95rem;
    margin-top: auto;
}

.empresa {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ver-video {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-ver-video:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 75, 0, 0.2);
}

.btn-ver-video svg {
    transition: transform 0.3s ease;
}

.btn-ver-video:hover svg {
    transform: scale(1.2);
}

@media (max-width: 1100px) {
    .grid-testimonios {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-testimonios {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   X. PÁGINAS INTERNAS DE SERVICIOS
   ========================================================================== */
.hero-interna {
    position: relative;
    width: 100%;
    height: 48vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000;
}

.hero-interna img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.contenido-interna {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    text-align: left;
}

.contenido-interna h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contenido-interna p {
    font-size: 1.4rem;
    max-width: 600px;
    line-height: 1.2;
    margin: 0;
}

.seccion-subservicios {
    padding: 80px 5%;
}

.grid-subservicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .grid-subservicios {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-interna {
        height: 40vh;
    }

    .grid-subservicios {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #eaeaea;
    color: var(--text-light);
    font-weight: 300;
}

/* ==========================================================================
   Z. SECCIÓN METODOLOGÍA (GLOBAL / PC)
   ========================================================================== */
.seccion-metodologia {
    padding: 0;
    background-color: #fdfdfd;
    width: 100%;
}

.contenedor-meto-boleado {
    width: 100%;
    margin: 0;
    position: relative;
}

.meto-imagen-wrapper {
    position: relative;
    width: 100%;
    height: 750px;
    border-radius: 0;
    /* Borde a borde laterales */
    overflow: visible;
}

.img-meto-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.metodologia-card-flotante {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 30px 40px;
    /* Reducción de padding vertical */
    border-radius: 30px;
    /* Regresamos a un boleado más contenido */
    width: 35%;
    max-width: 1200px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 20;
}

.titulo-meto {
    font-size: 2.6rem;
    /* Ajuste para que no desborde verticalmente */
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.subtitulo-meto {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 25px;
    opacity: 0.8;
}

.lista-activas {
    list-style: none;
}

.lista-activas li {
    margin-bottom: 12px;
    font-size: 1.2rem;
    /* Tamaño optimizado para el espacio */
    line-height: 1.2;
    color: var(--text-color);
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.lista-activas li strong {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    font-size: 1.6rem;
    /* Aumentado 1 punto */
    margin-bottom: 1px;
}

.letra-black {
    font-weight: 900;
}

/* Responsividad de Metodología */
@media (max-width: 1100px) {
    .metodologia-card-flotante {
        width: 80%;
    }
}

@media (max-width: 992px) {
    .seccion-metodologia {
        padding: 40px 20px;
    }

    .meto-imagen-wrapper {
        height: auto;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .img-meto-principal {
        border-radius: 30px;
        height: 260px;
        object-fit: cover;
        width: 100%;
    }

    .metodologia-card-flotante {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        margin-top: -50px;
        padding: 35px 25px;
        border-radius: 30px;
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }
}

/* ==========================================================================
   9. RESPONSIVE (MÓVILES Y TABLETs)
   ========================================================================== */
@media (max-width: 1150px) {
    html {
        scroll-padding-top: 86px;
    }

    body {
        padding-top: 86px;
        /* Espacio exacto para móvil */
    }

    header {
        height: 86px;
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    /* Navegación Móvil */
    .menu-toggle {
        display: flex;
    }

    header nav {
        padding: 0 20px;
        align-items: center;
        height: 100%;
    }

    .logo img {
        height: 56px;
        /* Equivalente inmutable a 40px al 140% */
        transform: none;
        /* Extracción quirúrgica final de la orden de aumento */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100svh;
        /* 100svh = (Small Viewport Height). El menú no saltará cuando ocultes la URL del celular */
        background-color: var(--bg-color);
        z-index: 1000;
        padding-top: 100px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 4px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
        padding: 10px;
    }

    .nav-links a.btn-nav-wa {
        display: inline-block;
        width: auto;
    }

    .nav-links a.active-link {
        font-weight: 900;
    }
}

@media (max-width: 768px) {

    /* Tipografía Hero */
    #hero h1 {
        font-size: 2rem;
    }

    /* Secciones Generales */
    .seccion-nosotros {
        padding: 30px 20px;
    }

    .nosotros-container {
        flex-direction: column;
        gap: 30px;
    }

    .nosotros-video {
        width: calc(100% + 10px);
        margin-left: -15px;
        margin-right: -15px;
    }

    .nosotros-texto h2 {
        font-size: 2.2rem;
        line-height: 1;
    }

    .seccion-slogan-grande {
        padding: 50px 10px;
    }

    .nosotros-slogan {
        font-size: 11vw;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    /* (Estilos de metodología movidos a la sección global) */

    .seccion-servicios {
        padding: 0 !important;
    }

    .franja-servicios {
        padding: 15px 15px;
    }

    .titulo-seccion {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .grid-servicios-container {
        padding: 20px 10px 40px 10px;
    }

    .grid-servicios {
        grid-template-columns: 1fr;
        padding: 0;
    }

    /* Estilo de botones móviles (Regreso al diseño original con padding) */
    .tarjeta {
        padding: 25px;
        min-height: auto;
        /* Reset de la altura de escritorio */
    }

    .tarjeta h3 br {
        display: none;
    }

    .img-tarjeta {
        border-radius: 10px;
        margin-bottom: 15px;
        height: 180px;
    }

    .tarjeta-cuerpo {
        padding: 0;
    }

    /* Slider Móvil */
    #hero-slider {
        height: 83vh;
        padding-top: 5px !important;
        /* Acercando la diapo al borde inferior del nav */
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .slider-container {
        width: 95%;
        border-radius: 20px;
        height: calc(100% - 40px);
    }

    .slide img {
        object-position: center;
        object-fit: cover;
    }

    .caption {
        width: 90%;
        top: 55%;
    }

    .caption h1,
    .caption h2 {
        font-size: 2.5rem;
        letter-spacing: 0;
    }

    .caption p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .prev,
    .next {
        display: none !important;
    }

    .dots-container {
        margin-top: 15px;
    }

    .dot {
        height: 14px;
        width: 14px;
        margin: 0 8px;
    }
}

/* ==========================================================================
   INTERNA: ESCAPE GAME
   ========================================================================== */
.escape-game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 80px 20px;
}

.escape-hero {
    text-align: center;
    padding: 20px 20px 10px 20px;
    background-color: #ffffff;
}

.escape-hero-logo {
    max-width: 125px;
    width: 100%;
    margin: 0 auto;
}

.escape-como-funciona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 60px;
}

.orange-info-box {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orange-info-box h2 {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.orange-info-box p {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.orange-info-box h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: none;
}

.orange-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.orange-info-box ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
}

.orange-info-box ul li strong {
    color: #ffffff;
    font-weight: bold;
    display: inline;
}

.collage-escape-wrapper {
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
}

.collage-escape-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

.tematicas-exclusivas-seccion {
    margin-top: 20px;
    margin-bottom: 60px;
}

.tematicas-exclusivas-seccion h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.tematicas-exclusivas-texto {
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--text-light);
    max-width: 960px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.font-black {
    font-weight: 900;
    color: #1a1a1a;
}

.tematicas-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 840px;
    margin: 0 auto;
}

.tematica-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    cursor: pointer;
}

.tematica-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tematica-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsividad para Escape Game */
@media (max-width: 992px) {
    .escape-como-funciona-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        height: auto;
    }

    .tematicas-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .escape-game-container {
        padding: 20px 15px 60px 15px;
    }

    .escape-hero {
        padding: 40px 15px;
    }

    .orange-info-box {
        padding: 30px 20px;
    }

    .orange-info-box h2 {
        font-size: 1.8rem;
    }

    .tematicas-exclusivas-seccion h2 {
        font-size: 2rem;
    }

    .tematicas-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MODAL TEMÁTICA AIVA
   ========================================================================== */
.aiva-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aiva-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.aiva-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2501;
}

.aiva-modal-container {
    position: relative;
    z-index: 2502;
    width: 90%;
    max-width: 1056px;
    background-color: #080720;
    background-image: url('../assets/AIVA-fondo.webp');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(139, 92, 246, 0.2);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aiva-modal-container.virus-container-bg {
    background-image: url('../assets/VIRUS-fondo.webp') !important;
}

.aiva-modal-container.mapa-container-bg {
    background-image: url('../assets/MAPA-fondo.webp') !important;
}

.aiva-modal.active .aiva-modal-container {
    transform: scale(1);
}

.aiva-modal-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 38px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    z-index: 2510;
}

.aiva-modal-close:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.aiva-modal-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 520px;
}

.aiva-modal-left {
    width: 290px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.aiva-modal-right {
    flex-grow: 1;
    padding: 50px 55px 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aiva-text-container {
    margin-bottom: 25px;
}

.aiva-title {
    font-size: 1.8rem;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.aiva-title-bold {
    font-weight: 900;
}

.aiva-description {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.aiva-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aiva-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1.1 / 1;
    background: #0d0c2b;
}

.aiva-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.aiva-gallery-item img:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Responsividad Modal AIVA */
@media (max-width: 900px) {
    .aiva-modal-right {
        padding: 40px;
    }

    .aiva-title {
        font-size: 1.6rem;
    }

    .aiva-gallery {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .aiva-modal-container {
        background-image: url('../assets/AIVA-fondo-movil.webp') !important;
        background-position: center center !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        background-attachment: local !important;
    }

    .aiva-modal-container.virus-container-bg {
        background-image: url('../assets/VIRUS-fondo-movil.webp') !important;
        background-position: center center !important;
    }

    .aiva-modal-container.mapa-container-bg {
        background-image: url('../assets/MAPA-fondo-movil.webp') !important;
        background-position: center center !important;
    }

    .aiva-modal-content {
        flex-direction: column;
        min-height: auto;
    }

    .aiva-modal-left {
        width: 100%;
        height: 220px;
    }

    .aiva-modal-right {
        width: 100%;
        padding: 30px 25px;
    }

    .aiva-text-container {
        background-color: rgba(0, 0, 0, 0.8) !important;
        padding: 18px 20px;
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .aiva-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .aiva-subtitle-separator {
        display: none !important;
    }

    .aiva-subtitle-text {
        display: block !important;
        margin-top: 4px;
    }

    .aiva-description {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .aiva-gallery {
        gap: 10px;
        margin-top: 5px;
    }

    .aiva-gallery-item {
        border-radius: 15px;
    }

    .aiva-gallery-item img {
        border-radius: 15px;
    }

    .pc-only-break {
        display: none !important;
    }
}

/* Fondo específico para el modal de Virus Zombie */

/* Botón de video temático rojo para Virus Zombie */
.virus-btn-video {
    background: linear-gradient(90deg, #e60000 0%, #990000 100%) !important;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4) !important;
}

.virus-btn-video:hover {
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.6), 0 0 10px rgba(153, 0, 0, 0.4) !important;
}

.modal-left-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0) !important;
    z-index: 100 !important;
    white-space: nowrap;
    pointer-events: auto !important;
}

.modal-left-btn:hover {
    transform: translate(-50%, -2px) !important;
}

/* Fondo específico para el modal de El Legado del Mapa Perdido */

/* Botón de video temático dorado para El Legado del Mapa Perdido */
.mapa-btn-video {
    background: linear-gradient(90deg, #d4af37 0%, #aa7c11 100%) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

.mapa-btn-video:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6), 0 0 10px rgba(170, 124, 17, 0.4) !important;
}

/* Estilos para el botón y modal de Video de AIVA (YouTube Short) */
.aiva-button-container {
    margin-bottom: 25px;
    text-align: left;
}

.aiva-btn-video {
    background: linear-gradient(90deg, #8b5cf6 0%, #d946ef 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiva-btn-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6), 0 0 10px rgba(217, 70, 239, 0.4);
}

.aiva-play-icon {
    font-size: 0.8rem;
}

.aiva-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 Aspect Ratio para Shorts */
    border-radius: 20px;
    overflow: hidden;
}

.aiva-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Close button for video modals floating in top-right corner */
.aiva-video-close-btn {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 2600 !important;
    font-size: 45px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    line-height: 1 !important;
}

.aiva-video-close-btn:hover {
    color: #ffffff !important;
    transform: scale(1.15) !important;
}

/* Container for video modals to prevent loading descriptive background images */
.aiva-video-container {
    position: relative;
    z-index: 2502;
    width: 90%;
    max-width: 380px;
    background-color: #000000 !important;
    background-image: none !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aiva-modal.active .aiva-video-container {
    transform: scale(1) !important;
}

/* Botón de retorno a Team Building (solo texto) */
.back-link-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
}

.back-to-team-building {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.back-to-team-building:hover {
    color: #b33500;
    transform: translateX(-5px);
}

/* ==========================================================================
   INTERNA: CASE ENIGMA
   ========================================================================== */
.enigma-game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 80px 20px;
}

.enigma-hero {
    text-align: center;
    padding: 30px 20px 20px 20px;
    background-color: #ffffff;
}

.enigma-hero-logo {
    max-width: 140px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Banner con texto encima */
.enigma-banner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 60px;
    height: 500px;
}

.enigma-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.enigma-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5% 8%;
    color: #ffffff;
}

.enigma-banner-overlay h2 {
    font-size: 50pt;
    font-weight: 900;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}

.enigma-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 10px;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(253, 75, 0, 0.3);
    display: inline-block;
    line-height: 1.35;
}

/* Sección 2: Dos columnas (Resolverlo) */
.enigma-resolverlo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.enigma-resolverlo-texto h2 {
    font-size: clamp(2.16rem, 3.6vw, 3.0rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.enigma-resolverlo-texto p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-light);
}

.enigma-resolverlo-img {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.enigma-resolverlo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sección 3: Collage + Tarjeta Negra */
.enigma-como-funciona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

.enigma-collage-wrapper {
    border-radius: 25px;
    overflow: hidden;
}

.enigma-collage-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

/* Caja Negra Informativa */
.enigma-black-box {
    background-color: #0b0b0b;
    background-image: linear-gradient(rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0.95)), url('../assets/case-enigma/case-enigma-04.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 40px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.enigma-black-box-content h2 {
    font-size: clamp(2.16rem, 3.6vw, 3.0rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.enigma-black-box-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.enigma-black-box-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
}

.enigma-black-box-content ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 15px;
    position: relative;
}

.enigma-black-box-content ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.enigma-video-btn-wrapper {
    display: flex;
    justify-content: flex-start;
}

.enigma-btn-video {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 75, 0, 0.3);
}

.enigma-btn-video:hover {
    background-color: #ff5e1a;
    transform: translateY(-2px);
}

/* Responsividad para Case Enigma */
@media (max-width: 992px) {
    .enigma-resolverlo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .enigma-como-funciona-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .enigma-banner {
        aspect-ratio: auto;
        height: 320px;
    }

    .enigma-banner-overlay h2 {
        font-size: 36pt;
        max-width: 100%;
        line-height: 1.15;
    }
}

@media (max-width: 768px) {
    .enigma-game-container {
        padding: 20px 15px 60px 15px;
    }

    .enigma-hero {
        padding: 20px 15px;
    }

    .enigma-banner {
        height: 260px;
    }

    .enigma-banner-overlay {
        padding: 20px;
        align-items: center;
        text-align: center;
        background: none;
    }

    .enigma-banner-overlay h2 {
        font-size: 24pt;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .enigma-black-box {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   INTERNA: SURVIVOR CORPORATIVO
   ========================================================================== */
.survivor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 80px 20px;
}

.survivor-banner-container {
    padding-bottom: 0;
}

.survivor-hero {
    text-align: center;
    padding: 30px 20px 20px 20px;
    background-color: #ffffff;
}

.survivor-hero-logo {
    max-width: 140px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Banner con texto encima */
.survivor-banner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 65px;
    height: 500px;
}

.survivor-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.survivor-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5% 8%;
    color: #ffffff;
}

.survivor-banner-overlay h2 {
    font-size: 50pt;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

.survivor-banner-subtitle {
    font-size: 20pt;
    font-weight: bold;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.4);
}

/* Franja Degradada */
.survivor-gradient-ribbon {
    background: linear-gradient(90deg, #ff5100 0%, #e61d62 50%, #9b00ff 100%);
    padding: 25px 0;
    margin-bottom: 60px;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.survivor-gradient-ribbon-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.survivor-gradient-ribbon p {
    font-size: 1.50rem;
    line-height: 1.5;
    font-weight: bold;
    margin: 0;
}

/* Sección 2: Dos columnas (Aprender Haciendo) */
.survivor-aprender-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.survivor-aprender-texto h2 {
    font-size: clamp(2.16rem, 3.6vw, 3.0rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.survivor-aprender-texto h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.survivor-aprender-texto p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 20px;
}

.survivor-combina-titulo {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 10px !important;
}

.survivor-combina-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.survivor-combina-lista li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-light);
    padding-left: 15px;
    position: relative;
}

.survivor-combina-lista li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.survivor-combina-footer {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Columna de Collage */
.survivor-aprender-collage {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.survivor-aprender-collage img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.survivor-durante-box {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.survivor-durante-titulo {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.survivor-durante-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.survivor-durante-lista li {
    margin-bottom: 8px;
    font-size: 1.02rem;
    line-height: 1.4;
    color: var(--text-light);
    padding-left: 15px;
    position: relative;
}

.survivor-durante-lista li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Sección 3: Diseño de Experiencias (Campamento fogata) */
.survivor-diseno-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.survivor-diseno-img img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.survivor-diseno-texto h2 {
    font-size: clamp(2.16rem, 3.6vw, 3.0rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.survivor-check-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.survivor-check-lista li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-light);
}

.survivor-check-lista li strong {
    color: var(--text-color);
    font-weight: bold;
}

.survivor-check-lista .check-icon {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1;
    margin-top: 2px;
}

/* Banner Inferior */
.survivor-bottom-banner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    height: 500px;
}

.survivor-bottom-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.survivor-bottom-banner-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: flex-start;
    padding: 5% 8%;
    color: #ffffff;
}

.survivor-bottom-banner-overlay h2 {
    font-size: 38pt;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

.survivor-bottom-banner-overlay p {
    font-size: 1.35rem;
    font-weight: bold;
    max-width: 800px;
    line-height: 1.45;
    color: var(--primary-color);
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsividad para Survivor */
@media (max-width: 992px) {
    .survivor-aprender-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .survivor-diseno-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .survivor-banner {
        height: 320px;
    }

    .survivor-banner-overlay h2 {
        font-size: 36pt;
    }

    .survivor-bottom-banner {
        height: 380px;
    }

    .survivor-bottom-banner-overlay h2 {
        font-size: 28pt;
    }
}

@media (max-width: 768px) {
    .survivor-container {
        padding: 20px 15px 60px 15px;
    }

    .survivor-banner-container {
        padding-bottom: 0;
    }

    .survivor-hero {
        padding: 20px 15px;
    }

    .survivor-banner {
        height: 260px;
    }

    .survivor-banner-overlay {
        padding: 20px;
        align-items: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.55);
    }

    .survivor-banner-overlay h2 {
        font-size: 24pt;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .survivor-banner-subtitle {
        font-size: 14pt;
    }

    .survivor-gradient-ribbon {
        padding: 20px 0;
        margin-bottom: 40px;
        border-radius: 0;
    }

    .survivor-gradient-ribbon-content {
        padding: 0 15px;
    }

    .survivor-gradient-ribbon p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .survivor-aprender-collage {
        gap: 20px;
    }

    .survivor-durante-box {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .survivor-bottom-banner {
        height: 280px;
    }

    .survivor-bottom-banner-overlay {
        padding: 20px;
        align-items: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.65);
    }

    .survivor-bottom-banner-overlay h2 {
        font-size: 20pt;
        margin-bottom: 15px;
    }

    .survivor-bottom-banner-overlay p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* ==========================================
   NUEVO FOOTER COMPLETO (RICH FOOTER)
   ========================================== */
.site-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 60px 20px 30px 20px;
    font-family: inherit;
    border-top: 1px solid #222222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    color: #bbbbbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbbbbb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color, #fd4b00);
}

/* Caja de contacto gris */
.footer-contact-box {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #2d2d2d;
}

.footer-contact-box p {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-contact-box p a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact-box p a:hover {
    color: var(--primary-color, #fd4b00);
}

/* Iconos de Redes Sociales */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    background-color: #2d2d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #3d3d3d;
}

/* Colores de marca en hover para darles importancia */
.footer-social-icons a.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.footer-social-icons a.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.footer-social-icons a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
}

.footer-social-icons a.tiktok:hover {
    background-color: #000000;
    border-color: #ff0050;
    color: #00f2fe;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(255, 0, 80, 0.4);
}

.footer-social-icons a.youtube:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Barra inferior del footer */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #222222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom .trademark {
    color: #888888;
    font-size: 0.9rem;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 25px;
}

.footer-bottom .legal-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-bottom .legal-links a::before {
    content: '>';
    margin-right: 6px;
    font-weight: 600;
    color: #555555;
}

.footer-bottom .legal-links a:hover {
    color: #ffffff;
}

/* Adaptabilidad móvil del footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .legal-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================
   SECCIÓN DE CONTACTO Y FORMULARIO
   ========================================== */
.seccion-contacto {
    padding: 60px;
    background-color: #f9f9f9;
    border-radius: 35px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.contacto-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #222222;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
}

.contacto-info h2 span {
    color: var(--primary-color, #fd4b00);
}

.contacto-info p {
    color: #666666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contacto-detalles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
}

.contacto-item .icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(253, 75, 0, 0.1);
    color: var(--primary-color, #fd4b00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-item h4 {
    margin: 0;
    font-size: 0.85rem;
    color: #888888;
    text-transform: uppercase;
    font-weight: 700;
}

.contacto-item p {
    margin: 0;
    font-size: 1.05rem;
    color: #222222;
    font-weight: 600;
}

.contacto-item p a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-item p a:hover {
    color: var(--primary-color, #fd4b00);
}

/* Formulario */
.contacto-formulario {
    background: #ffffff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eeeeee;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #dddddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #222222;
    background-color: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color, #fd4b00);
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(253, 75, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-contacto {
    background-color: var(--primary-color, #fd4b00);
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 15px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(253, 75, 0, 0.3);
    width: 100%;
    letter-spacing: 0.5px;
}

.btn-contacto:hover {
    background-color: #e24200;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 75, 0, 0.4);
}

/* Adaptabilidad */
@media (max-width: 992px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .seccion-contacto {
        padding: 40px 15px;
        margin: 20px auto;
        border-radius: 20px;
    }
    .contacto-formulario {
        padding: 25px 20px;
        border-radius: 20px;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}