@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&family=Titillium+Web:wght@300;400;600;700;900&display=swap');

/*
   VARIABLES DE MARCA (BRAND TOKENS)
*/
:root {
    --e-global-color-primary: #cc0000;
    --e-global-color-secondary: #007bff;
    --e-global-color-text: #212121;
    --e-global-color-accent: #cc0000;
    --e-global-color-6f7f93f: #000000;
    --e-global-color-818b0ad: #FFFFFF;
    --e-global-typography-primary-font-family: "Titillium Web", sans-serif;
    --e-global-typography-secondary-font-family: "Titillium Web", sans-serif;
    --e-global-typography-text-font-family: "Roboto Condensed", sans-serif;

    /* BRAND COLORS */
    --gracie-red: #cc0000;
    --gracie-blue: #007bff;

    /* SECTION SPACING CONFIG */
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 15px;
    --section-bg-light: #f4f4f4;
    --section-bg-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    /* Evita el rebote (pudin) en Mac/iOS */
    overflow-x: hidden;
}

body {
    font-family: var(--e-global-typography-text-font-family), sans-serif;
    background-color: #000;
    color: white;
    padding-left: 70px;
    transition: padding 0.3s ease;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior-y: none;
}

/* FLOATING BANNER (DESKTOP) */
.floating-banner {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70px;
    background: #000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.8);
}

.banner-logo {
    padding: 0 10px;
}

.banner-logo img {
    width: 100%;
    height: auto;
}

.banner-nav-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    z-index: 10;
}

.banner-nav-toggle i {
    color: white;
    font-size: 20px;
}

.banner-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    color: white;
    font-size: 1rem;
    /* Ajustado para que quepa bien en el círculo */
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* Opcional: borde transparente para reservar espacio igual que lang-switch si tuviera borde */
    border: 1px solid transparent;
}

.social-icon:hover {
    color: var(--e-global-color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-switch {
    color: white;
    font-size: 0.8rem;
    /* Un pelín más pequeño para que EN no se vea enorme */
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    font-family: var(--e-global-typography-text-font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    /* Transparente para igualar a los otros iconos */
    border-radius: 50%;
    margin-bottom: 0;
    /* Eliminado el margen que causaba la desalineación */
    padding: 0;
    line-height: normal;
}

.lang-switch:hover {
    color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.belt-section {
    position: absolute;
    bottom: 150px;
    left: 0;
    width: 100%;
}

.belt-stripe-complex {
    width: 100%;
    height: 155px;
    background: linear-gradient(to bottom, #fff 0px, #fff 8px, #a00000 8px, #a00000 85px, #fff 85px, #fff 93px, #a00000 93px, #a00000 99px, #fff 99px, #fff 107px, #a00000 107px, #a00000 113px, #fff 113px, #fff 121px, #a00000 121px, #a00000 127px, #fff 127px, #fff 135px, #a00000 135px, #a00000 147px, #fff 147px, #fff 155px);
}

/* 
   ELEMENTOS GLOBALES DE SECCIÓN
*/
.section-divider {
    position: relative;
    height: 4px;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, var(--e-global-color-secondary) 0%, var(--e-global-color-primary) 50%, var(--e-global-color-secondary) 100%);
    background-size: 200% 100%;
    animation: gradientMove 6s ease-in-out infinite;
    z-index: 5;
}

@keyframes gradientMove {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

.section-container {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--e-global-color-text);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.section-subtitle {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--e-global-color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PROGRAMAS SECTION */
.programas-section {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/Wallpaper calendario/jiu-jitsu-tenerife-gracie-barra-contacto.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--e-global-color-text);
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.programa-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Sombra suave y profunda para dar efecto de elevación "premium" */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Transición suavizada (ease-out-cubic) para un hover orgánico */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.programa-card:hover {
    transform: translateY(-10px);
    /* Eleva la tarjeta al pasar el mouse para feedback visual */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    /* Aumenta la sombra para reforzar la sensación de altura */
}

.programa-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.programa-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.programa-card:hover img {
    transform: scale(1.1);
    /* Efecto de zoom sutil en la imagen al hacer hover en la tarjeta completa */
}

.programa-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.programa-content h3 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--e-global-color-text);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.programa-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.programa-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.programa-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f0f0f0;
    color: #444;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    position: relative;
}

.programa-tag::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--e-global-color-primary);
}

.tag-defense::before {
    content: "\f3ed";
    /* fa-shield-alt */
}

.tag-competition::before {
    content: "\f091";
    /* fa-trophy */
}

.tag-values::before {
    content: "\f004";
    /* fa-heart */
}

.tag-motor-skills::before {
    content: "\f1ae";
    /* fa-child */
}

.tag-intensive::before {
    content: "\f0e7";
    /* fa-bolt */
}

.tag-schedule::before {
    content: "\f017";
    /* fa-clock */
}

.programa-btn {
    width: 100%;
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 14px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.programa-card:hover .programa-btn {
    background-color: #a00000;
    transform: scale(1.02);
}

/* BENEFITS SECTION (DIFERENCIACIÓN) */
.benefits-section {
    background-color: var(--section-bg-light);
    color: var(--e-global-color-text);
}

/* --- ORIGINAL BENEFITS SECTION (Top) --- */
.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 50px 60px;
    border-radius: 12px;
    position: relative;
    border-left: 5px solid var(--e-global-color-primary);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateX(100px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-content h3 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--e-global-color-text);
}

.benefit-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.benefit-content strong {
    color: #222;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .benefits-grid {
        gap: 60px;
    }

    .benefit-card {
        width: 80%;
    }

    .benefit-card:nth-child(odd) {
        align-self: flex-start;
    }

    .benefit-card:nth-child(even) {
        align-self: flex-end;
    }
}


/* --- NEW EXPERIENCE SECTION (Blue, Bottom) --- */
/*
   Esta sección "Beneficios BJJ" se diseño para destacar con un fondo azul
   sólido y tarjetas blancas limpias, siguiendo la referencia visual.
*/

.experience-section {
    /* Usamos el azul corporativo pero con un gradiente sutil para darle profundidad y modernidad */
    background-color: #3065AC;
    background: linear-gradient(135deg, #2b5c9b 0%, #3065ac 100%);

    /* Padding amplio arriba y abajo para que la sección "respire" */
    color: white;
    overflow: hidden;
}

/* Clases de utilidad para textos en esta sección oscura */
.text-white {
    color: white !important;
}

.text-light-blue {
    /* Un tono azul muy claro para el subtítulo, para que contraste pero no compita con el título principal */
    color: #cbdcf7 !important;
    font-weight: 600;
    letter-spacing: 2px;
    /* Espaciado para elegancia */
}

/* CONTENEDOR GRID (Cuadrícula) */
.experience-grid {
    display: grid;
    /* Grid de 2 columnas iguales (1fr 1fr) para escritorio */
    grid-template-columns: repeat(2, 1fr);

    /* Espacio entre las tarjetas */
    gap: 30px;

    /* Ancho máximo para que no se estire demasiado en pantallas gigantes */
    max-width: 1200px;
    margin: 40px auto 0 auto;
    /* Centrado horizontal */
    padding: 0 20px;
}

/* TARJETAS DE EXPERIENCIA (Las cajas blancas) */
.experience-card {
    background: white;
    border-radius: 16px;
    /* Bordes muy redondeados para un look moderno y amigable */
    padding: 40px 30px;

    /* Sombra suave inicial */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Transición suave para el efecto hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Contenido alineado a la izquierda para mejor lectura */
    justify-content: flex-start;
    height: 100%;
    /* Para que todas las tarjetas tengan la misma altura visual */

    /* Configuración inicial para la animación de entrada (scroll) */
    opacity: 0;
    transform: translateY(30px);
    border-left: none;
    /* Limpiamos estilos heredados si los hubiera */
}

/* Estado visible (se activa con JS al hacer scroll) */
.experience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* EFECTO HOVER (Al pasar el ratón) */
.experience-card:hover {
    /* La tarjeta "flota" hacia arriba 8px */
    transform: translateY(-8px);
    /* La sombra se hace más grande y difusa para dar sensación de elevación */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ICONOS (Los círculos con símbolos) */
.experience-icon {
    font-size: 2.5rem;
    /* Tamaño grande del icono */
    color: var(--e-global-color-primary);
    /* Rojo corporativo */
    margin-bottom: 20px;

    /* Fondo circular muy suave (rojo al 8% de opacidad) detrás del icono */
    background: rgba(204, 0, 0, 0.08);
    width: 60px;
    height: 60px;

    /* Centrado perfecto del icono usando Flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    /* Cuadrado con bordes redondeados (squircle) */
}

/* TÍTULOS DE LAS TARJETAS */
.experience-content h3 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.5rem;
    font-weight: 800;
    /* Texto muy grueso (Bold) */
    color: #222;
    /* Casi negro para máximo contraste sobre blanco */
    margin-bottom: 15px;
    text-transform: capitalize;
}

/* TEXTO DE LAS TARJETAS */
.experience-content p {
    font-size: 1rem;
    line-height: 1.6;
    /* Altura de línea cómoda para leer */
    color: #555;
    /* Gris medio para no cansar la vista */
    margin: 0;
}


/* RESPONSIVE: Mobile & Tablet */
@media (max-width: 900px) {
    .experience-section {
        padding: 60px 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        /* 1 Columna en móvil/tablet vertical */
        gap: 20px;
        margin-top: 30px;
    }

    .experience-card {
        padding: 30px 20px;
    }

    .experience-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .experience-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .experience-section .section-title {
        font-size: 1.8rem !important;
    }

    .experience-section .section-subtitle {
        font-size: 1rem !important;
        letter-spacing: 1px;
    }
}

/* Responsive Benefits */
@media (max-width: 768px) {
    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-content h3 {
        font-size: 1.5rem;
    }

    .benefit-marker {
        top: 40px;
        /* En móvil, ponerlo arriba */
        transform: none;
        left: -22px;
    }
}

/* =========================================
   SECCIÓN INSTRUCTORES (Updated Refactor)
   ========================================= */

/* FONDO Y CONTENEDOR PRINCIPAL
   -----------------------------------
   Usamos la misma lógica que en 'Programas' para mantener consistencia:
   1. Un gradiente blanco semitransparente (70% opacidad).
   2. La imagen del calendario fija de fondo (efecto parallax).
*/
.instructores-section {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/Wallpaper calendario/jiu-jitsu-tenerife-gracie-barra-contacto.png");
    background-size: cover;
    /* Cubre todo el espacio sin deformarse */
    background-position: center;
    /* Centra la imagen */
    background-attachment: fixed;
    /* Efecto: la imagen se queda quieta al hacer scroll */
    padding-bottom: 100px;
}

/* 1. PROFESOR DESTACADO (Top Center)
   -----------------------------------
   Esta es la tarjeta grande de arriba (J. Maria Nieto).
   Usamos Flexbox para centrarla horizontalmente.
*/
.instructor-featured-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    /* Separación con el carrusel de abajo */
}

/* Estilo específico para la tarjeta destacada */
.instructor-card.featured {
    transform: scale(1.1);
    /* Hacemos esta tarjeta un 10% más grande que las demás */
    box-shadow: 0 20px 40px rgba(204, 0, 0, 0.15);
    /* Una sombra rojiza difuminada para darle importancia */
    z-index: 5;
    /* Asegura que esté por encima */
}

/* Interacción hover en la destacada */
.instructor-card.featured:hover {
    transform: scale(1.1) translateY(-5px);
    /* Mantenemos el tamaño grande y la elevamos un poco */
}

/* 2. ESTILO GENERAL DE TARJETAS (CARD)
   -----------------------------------
   Configuración base para TODAS las tarjetas de instructores.
*/
.instructor-card {
    background: #fff;
    border-radius: 12px;
    /* Bordes redondeados modernos */
    overflow: hidden;
    /* Recorta la imagen si se sale de los bordes redondeados */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Sombra suave por defecto */
    transition: all 0.3s ease;
    /* Suaviza todas las animaciones (hover, etc.) */
    text-align: center;
    border: 1px solid #e0e0e0;
    /* Borde gris sutil y limpio */
    width: 300px;
    /* ANCHO FIJO: Importante para que el carrusel calcule bien */
    position: relative;
    flex-shrink: 0;
    /* Evita que se aplasten si falta espacio */
}

/* Efecto al pasar el ratón por cualquier tarjeta */
.instructor-card:hover {
    border-color: var(--e-global-color-primary);
    /* El borde se vuelve ROJO (#cc0000) */
    transform: translateY(-5px);
    /* La tarjeta "flota" hacia arriba */
}

/* CONTENEDOR DE IMAGEN
   --------------------
   Define las proporciones de la foto del instructor.
*/
.instructor-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    /* Ligeramente rectangular vertical (casi cuadrado) */
    overflow: hidden;
    background-color: #f8f8f8;
}

/* Comportamiento de la foto dentro del marco */
.instructor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Rellena el hueco sin deformar la cara */
    transition: transform 0.5s ease;
    /* Animación lenta para el zoom */
}

/* Efecto Zoom en la foto al pasar el mouse */
.instructor-card:hover img {
    transform: scale(1.05);
    /* La foto crece un 5% suavemente */
}

/* INFO DEL INSTRUCTOR (Texto debajo de la foto)
   --------------------------------------------- */
.instructor-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructor-role {
    color: var(--e-global-color-primary);
    /* Rojo corporativo */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.instructor-name {
    font-family: var(--e-global-typography-primary-font-family);
    /* Tipografía Titillium Web */
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--e-global-color-text);
    margin-bottom: 5px;
    line-height: 1.2;
}

.instructor-rank {
    font-size: 0.85rem;
    color: #777;
    /* Gris medio para info secundaria */
    margin-bottom: 15px;
    font-weight: 600;
}

/* 3. SISTEMA DE CINTURONES (BELT BAR)
   -----------------------------------
   Recreación visual de un cinturón de BJJ con CSS puro.
*/

/* Base negra del cinturón */
.instructor-belt-bar {
    width: 100%;
    height: 12px;
    /* Altura de la barra */
    background: #000;
    /* Color negro cinturón */
    margin-top: auto;
    /* Empuja la barra al final de la tarjeta */
    position: relative;
    border-radius: 2px;
}

/* Excepción para cinturón marrón */
.brown-belt {
    background: #5D4037;
    /* Color marrón específico */
}

/* PUNTA ROJA (Red Tip) */
.belt-red-tip {
    position: absolute;
    right: 12px;
    /* Dejamos 12px a la derecha para simular el cierre negro del cinturón */
    top: 0;
    height: 100%;
    width: 25%;
    /* Ocupa un cuarto del cinturón */
    background: #cc0000;
    /* Rojo Gracie Barra */
    border-left: 4px solid white;
    /* Borde blanco grueso a la izquierda */
    border-right: 4px solid white;
    /* Borde blanco grueso a la derecha */

    /* Configuración Flex para los grados (stripes) */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Alineamos los grados a la DERECHA */
    gap: 5px;
    /* Espacio de 5px entre cada grado */
    padding-right: 8px;
    /* Margen de seguridad con el borde final */
}

/* LOS GRADOS (Stripes)
   Son divs simples en el HTML. Aquí les damos forma. */
.belt-stripe {
    width: 4px;
    /* Grosor de la línea */
    height: 100%;
    /* Altura completa de la punta roja */
    background: white;
}

/* 4. OVERLAY 'FANTASMA' (Hover Effect)
   ------------------------------------
   Capa oscura con info detallada que aparece al pasar el ratón.
*/
.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.96);
    /* Casi negro, muy opaco (96%) para leer bien el texto */
    color: white;

    /* Centrado perfecto del contenido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Estado inicial: Invisible */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 30px;
    border: 1px solid var(--e-global-color-primary);
    /* Borde rojo fino elegante */
}

/* Al hacer hover en la tarjeta, el overlay se vuelve visible */
.instructor-card:hover .instructor-overlay {
    opacity: 1;
}

/* Animación del contenido interno (sube ligeramente al aparecer) */
.overlay-content {
    text-align: center;
    transform: translateY(20px);
    /* Empieza desplazado abajo */
    transition: transform 0.3s ease;
}

.instructor-card:hover .overlay-content {
    transform: translateY(0);
    /* Se coloca en su sitio suavemente */
}

/* Tipografía del Overlay */
.overlay-name {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1;
}

.overlay-divider {
    width: 40px;
    height: 3px;
    background: var(--e-global-color-primary);
    /* La línea roja característica */
    margin: 0 auto 15px auto;
}

.overlay-detail {
    font-size: 0.95rem;
    color: #ccc;
    /* Gris claro para texto secundario sobre fondo oscuro */
    margin-bottom: 4px;
}

/* 5. CARRUSEL Y SCROLL (Nativo)
   -----------------------------
   Usamos scroll nativo CSS para mejor experiencia en móvil.
*/
.team-carousel-container {
    padding: 0 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.team-track-wrapper {
    overflow-x: auto;
    /* Habilita el scroll horizontal */
    padding: 20px 0 40px 0;
    /* Espacio abajo reservado para la barra de scroll */
    scroll-behavior: smooth;
    /* Desplazamiento suave al clicar botones */
    -webkit-overflow-scrolling: touch;
    /* Inercia nativa en iOS */
    width: 100%;
}

/* Personalización de la BARRA DE SCROLL (Scrollbar) */
.team-track-wrapper::-webkit-scrollbar {
    height: 8px;
    /* Altura de la barra */
}

.team-track-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    /* Fondo gris claro de la pista */
    border-radius: 4px;
    margin: 0 20px;
}

.team-track-wrapper::-webkit-scrollbar-thumb {
    background: var(--e-global-color-secondary);
    /* AZUL CORPORATIVO (#007bff) */
    border-radius: 4px;
}

.team-track-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
    /* Azul más oscuro al interactuar */
}

.team-track {
    display: flex;
    gap: 30px;
    /* Separación entre tarjetas */
    width: max-content;
    /* El contenedor crece lo que necesiten las tarjetas */
}

.carousel-nav .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(204, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-nav .nav-btn:hover {
    background: #a00000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav .prev {
    left: -10px;
}

.carousel-nav .next {
    right: -10px;
}

/* Responsive */
@media (max-width: 768px) {
    .instructor-card.featured {
        transform: none;
        width: 100%;
        max-width: 320px;
    }

    .team-track {
        gap: 20px;
    }

    .carousel-nav .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-nav .prev {
        left: 0;
    }

    .carousel-nav .next {
        right: 0;
    }
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 177.78vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    pointer-events: none;
    border: none;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    padding: 0 20px;
    text-align: center;
}

.hero-header {
    position: absolute;
    top: 30px;
    left: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    z-index: 10;
}

.header-brand {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.header-location {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.hero-title {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--e-global-color-primary);
    text-transform: uppercase;
    margin-bottom: -5px;
}

.hero-subtitle {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-family: var(--e-global-typography-text-font-family);
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    background: var(--e-global-color-secondary);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.video-play-button {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: rgba(204, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-play-button::after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.video-play-button.stop-state::after {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border: none;
    margin-left: 0;
}



.mouse-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    animation: mouse-pulse 2s infinite ease-in-out;
}

.mouse-wheel {
    position: absolute;
    top: 10px;
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    animation: mouse-wheel 2s infinite;
}

@keyframes mouse-pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

@keyframes mouse-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* MOBILE TAP INDICATOR (ANIMATED PHONE) */
.mobile-tap-indicator {
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
}

.mobile-phone {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 4px;
    position: relative;
    animation: phone-drag 2s infinite ease-in-out;
}

.mobile-screen {
    position: absolute;
    top: 4px;
    left: 2px;
    width: 16px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.mobile-finger {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: finger-drag 2s infinite ease-in-out;
}

.mobile-button {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

@keyframes phone-drag {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-5px);
    }

    75% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes finger-drag {
    0% {
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    20% {
        transform: translate(-50%, -50%);
        opacity: 0.8;
    }

    80% {
        transform: translate(-50%, 50%);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 1024px) {
    body {
        padding-left: 0;
        padding-top: 60px;
    }

    .floating-banner {
        height: 60px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .banner-logo img {
        height: 35px;
        width: auto;
    }

    .banner-nav-toggle {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .banner-social {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;

        width: auto;
        height: 100%;
        /* Ocupa toda la altura de la barra para centrar hijos */

        display: flex;
        flex-direction: row;
        align-items: center;
        /* Centra verticalmente los iconos */
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .belt-section {
        display: none;
    }

    .hero-section {
        height: calc(100vh - 60px);
    }
}

@media screen and (max-width: 768px) {
    .video-play-button {
        top: 30px;
        right: 30px;
        left: auto;
        bottom: auto;
        width: 60px;
        height: 60px;
        position: absolute;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 4.5rem;
    }

    .mobile-tap-indicator {
        display: flex;
    }

    .mouse-scroll-indicator {
        display: none;
    }

    .programa-image-wrapper {
        height: 180px;
    }

    /* Instructores Tablet */
    .instructores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Optimización Móvil: Quitar fondos pesados */
    .programas-section,
    .instructores-section {
        background-image: none !important;
        background: #f8f8f8;
        /* Fondo gris claro neutro */
    }
}

@media screen and (max-width: 480px) {
    .hero-header {
        top: 20px;
        left: 15px;
    }

    .header-brand {
        font-size: 1.1rem;
    }

    .header-location {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 40px) !important;
        margin-bottom: 0px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(34px, 11vw, 46px) !important;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 15px;
        max-width: 85%;
        opacity: 0.85;
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    /* Play Button in Top-Right Corner of Hero */
    .video-play-button {
        top: 20px;
        right: 20px;
        left: auto;
        bottom: auto;
        width: 45px;
        height: 45px;
        position: absolute;
    }

    .video-play-button::after {
        border-width: 8px 0 8px 14px;
    }



    .content-overlay {
        justify-content: center;
        padding-bottom: 80px;
        /* Spacer for bottom buttons */
    }

    /* Programas Section Mobile */
    .section-container {
        padding: var(--section-padding-mobile);
    }

    .programas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .programa-image-wrapper {
        height: 180px;
    }

    .programa-image-wrapper {
        height: 180px;
    }

    /* Instructores Mobile */
    .instructores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* DEV PREVIEW TOOLS */
.dev-preview {
    display: none;
    /* Oculto por defecto */
    padding: 40px;
    background: #111;
    color: white;
    text-align: center;
}

.brand-preview {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/*
    ===================================================================================
    ESTILOS DEL PIE DE PÁGINA (FOOTER) - Migrado de contact-footer.css
    ===================================================================================
*/
:root {
    --footer-bg: #000000;
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #cccccc;
    --footer-accent: #cc0000;
    --footer-hover: #ffffff;
}

.contact-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-secondary);
    padding: 60px 0 0;
    font-size: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 160px;
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 1.2rem;
    color: var(--footer-text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: 80px;
}

.footer-column {
    margin-bottom: 40px;
}

.footer-column h4 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--footer-text-primary);
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--footer-accent);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--footer-hover);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 40px;
        order: -1;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column h4 {
        margin-bottom: 15px;
    }
}

/*
    ===================================================================================
    ESTILOS DE LA SECCIÓN DE UBICACIÓN Y RESEÑAS - Migrado de location-reviews-light.css
    ===================================================================================
*/
.location-reviews-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #317DC3, #1a5a9e);
}

.location-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.map-section-2 {
    width: 55%;
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.map-button-container {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.map-button {
    display: inline-block;
    background-color: var(--gracie-red, #cc0000);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-button:hover {
    background-color: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.reviews-container {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #ffb400;
    font-size: 1.3rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 12px;
    font-style: italic;
}

.reviewer {
    font-weight: 600;
    color: #333;
    text-align: right;
}

@media (max-width: 992px) {
    .location-reviews-container {
        flex-direction: column;
    }

    .map-section-2,
    .reviews-container {
        width: 100%;
    }

    .map-container iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .location-reviews-section {
        padding: 40px 0;
    }

    .review-card {
        padding: 20px;
    }

    .stars {
        font-size: 1.2rem;
    }

    .review-content p {
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 350px;
    }
}


/* 
   -----------------------------------------------------------------------------------
   ESTILOS DE LA SECCIÓN DE CONTACTO "MODERNA" - Migrado de modern-contact-section.css
   -----------------------------------------------------------------------------------
*/

:root {
    /* 
       COLORES PRINCIPALES - CONTACTO
    */
    --gracie-red-contact: #cc0000;
    --gracie-blue-contact: #2d8cff;
    --gracie-white-contact: #ffffff;
    --gracie-dark-contact: #212529;
    --gracie-light-contact: #f8f9fa;
    --gracie-gray-contact: #6c757d;

    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;
}

.modern-contact-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('images/Wallpaper calendario/jiu-jitsu-tenerife-gracie-barra-contacto.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%;
}

.modern-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.modern-contact-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.modern-contact-title h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--e-global-color-text);
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-contact-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--gracie-red-contact);
    transform: translateX(-50%);
    transition: width var(--transition-medium) ease;
}

.modern-contact-title.animate h2::after {
    width: 80px;
}

.modern-contact-title p {
    font-size: 1.2rem;
    color: var(--gracie-dark-contact);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium) ease;
}

.modern-contact-title.animate p {
    opacity: 1;
    transform: translateY(0);
}

.modern-contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.contact-form-wrapper {
    grid-column: span 7;
    background: var(--gracie-white-contact);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-medium) ease 0.2s;
}

.contact-form-wrapper.animate {
    transform: translateY(0);
    opacity: 1;
}

.contact-info-wrapper {
    grid-column: span 5;
    background: var(--gracie-red-contact);
    border-radius: 16px;
    padding: 40px;
    color: var(--gracie-white-contact);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-medium) ease 0.4s;
}

.contact-info-wrapper.animate {
    transform: translateY(0);
    opacity: 1;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-slow) ease;
}

.contact-info-wrapper:hover::before {
    transform: scale(1.2);
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modern-form-group {
    position: relative;
    margin-bottom: 5px;
}

.modern-form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--gracie-gray-contact);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-fast) ease;
    background: transparent;
    padding: 0 5px;
}

.modern-form-group input,
.modern-form-group textarea,
.modern-form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: transparent;
    transition: all var(--transition-fast) ease;
    color: var(--gracie-dark-contact);
}

.modern-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.modern-form-group input:focus,
.modern-form-group textarea:focus,
.modern-form-group select:focus,
.modern-form-group input:not(:placeholder-shown),
.modern-form-group textarea:not(:placeholder-shown) {
    border-color: var(--gracie-red-contact);
    outline: none;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.1);
}

.modern-form-group input:focus+label,
.modern-form-group textarea:focus+label,
.modern-form-group select:focus+label,
.modern-form-group input:not(:placeholder-shown)+label,
.modern-form-group textarea:not(:placeholder-shown)+label,
.modern-form-group select:valid+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--gracie-red-contact);
    background: var(--gracie-white-contact);
}

.modern-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.modern-form-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
}

.modern-form-checkbox input[type="checkbox"]:checked {
    background-color: var(--gracie-red-contact);
    border-color: var(--gracie-red-contact);
}

.modern-form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.modern-form-checkbox label {
    font-size: 0.9rem;
    color: var(--gracie-gray-contact);
}

.modern-form-checkbox a {
    color: var(--gracie-red-contact);
    font-weight: 600;
}

.modern-submit-btn {
    background: var(--gracie-red-contact);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.modern-submit-btn:hover {
    background: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.contact-info-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast) ease;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-info-item i {
    font-size: 1.5rem;
}

.contact-info-item a {
    color: var(--gracie-white-contact);
    text-decoration: none;
}

.contact-social-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gracie-white-contact);
    font-size: 1.2rem;
    transition: all var(--transition-fast) ease;
    text-decoration: none;
}

.contact-social-link:hover {
    background: var(--gracie-white-contact);
    color: var(--gracie-red-contact);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .modern-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        grid-column: span 12;
    }

    .contact-info-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .modern-contact-section {
        padding: 40px 0;
    }

    .modern-contact-title h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px 20px;
    }
}

/* HOME BLOG SECTION - MATCHING SITE DESIGN */
#blog-promo-section {
    background-color: var(--section-bg-light, #f5f5f5);
    padding: 60px 0;
}

#blog-promo-section .section-title {
    color: var(--e-global-color-text, #333);
}

#blog-promo-section .section-subtitle {
    color: var(--e-global-color-primary, #D32F2F);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

/* BLOG CARD - Based on .programa-card */
.home-blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.home-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE WRAPPER */
.home-blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.home-blog-card:hover .home-blog-image {
    transform: scale(1.05);
}

/* CONTENT AREA */
.home-blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* DATE */
.home-blog-date {
    font-size: 0.85rem;
    color: var(--e-global-color-primary, #D32F2F);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TITLE */
.home-blog-title {
    font-family: var(--e-global-typography-primary-font-family, 'Roboto Condensed', sans-serif);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--e-global-color-text, #222);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* EXCERPT */
.home-blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* READ MORE LINK */
.home-blog-link {
    color: var(--e-global-color-primary, #D32F2F);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.home-blog-card:hover .home-blog-link {
    gap: 12px;
}

/* FULL BLOG BUTTON */
.home-blog-full-link-container {
    text-align: center;
    margin-top: 40px;
}

.home-blog-full-link-container .gb-program-btn {
    background-color: var(--e-global-color-primary, #D32F2F);
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.home-blog-full-link-container .gb-program-btn:hover {
    background-color: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    #blog-promo-section {
        padding: 40px 0;
    }

    .home-blog-image {
        height: 180px;
    }

    .home-blog-title {
        font-size: 1.1rem;
    }
}

/* GALLERY CATEGORY LABELS */
.category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Colors */
.category-label.label-training {
    background-color: #205FA6;
    /* GB Blue */
}

.category-label.label-seminar {
    background-color: #000000;
    /* Black */
}

.category-label.label-competition {
    background-color: #ED1C24;
    /* GB Red */
}

/* Ensure gallery item has positioning context */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Video Overlay Icon */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.9;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .video-overlay {
    opacity: 0;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}