/* ============================================
   RESET Y BASE
   ============================================ */

/* === FUENTE AUTOALOJADA (Inter Variable) === */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/InterVariable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul {
    list-style: none;
}

/* ============================================
   CONTENEDOR
   ============================================ */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   CABECERA
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.7rem 0;
    transition: box-shadow 0.3s ease;
}

.header:hover {
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* LOGO IMAGEN OCULTA PERO PRESENTE PARA SEO */
.logo-img {
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

/* Envuelve la imagen para que tampoco ocupe espacio */
picture {
    display: inline-block;
    width: 0;
    height: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1a1a1a;
}
.logo-text span {
    font-weight: 300;
    color: #6b7a7f;
}

.nav {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    overflow: visible;
    margin-left: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
    color: #2d3a3f;
    line-height: 1.4;
}
.nav-links a:hover {
    border-bottom-color: #000;
    color: #000;
}

/* ============================================
   HEADER RIGHT (menú hamburguesa + botones redes)
   ============================================ */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #000;
    transition: 0.2s;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.floating-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background: #25D366;
}
.whatsapp-btn:hover {
    background: #1da851;
}

.instagram-btn {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.instagram-btn:hover {
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE: MÓVIL
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-right {
        gap: 0.6rem;
        margin-left: 0;
    }

    .header-buttons {
        gap: 0.3rem;
        order: 0;
    }
    .menu-toggle {
        order: 1;
    }
    .floating-buttons {
        gap: 0.5rem;
    }
    .float-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0,0,0,0.04);
        z-index: 200;
        margin-left: 0;
    }
    .nav.open {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        font-size: 1rem;
        flex-wrap: wrap;
        white-space: normal;
    }
}

/* ============================================
   BOTONES (generales)
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 60px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #222222;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}
.btn-outline:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    background: #000;
    color: #fff;
    border-radius: 60px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.btn-small:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
    padding: 5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
}
.section-title strong {
    font-weight: 600;
}

.subtitulo {
    text-align: center;
    font-size: 1.15rem;
    color: #4a5a60;
    margin-bottom: 2.5rem;
}

/* ============================================
   HERO · BANNER FOTOGRÁFICO
   ============================================ */
.hero {
    min-height: 570px;
    padding: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #eee9e1 url('./banner.png') center right / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.91) 28%,
        rgba(255,255,255,0.52) 52%,
        rgba(255,255,255,0.08) 78%,
        rgba(255,255,255,0) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.75));
    pointer-events: none;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-inner {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min(100%, 610px);
    padding: 4rem 0;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: #68736e;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 4.2vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    max-width: 620px;
}

.hero-content h1 strong {
    font-weight: 650;
}

.hero-eslogan {
    font-size: 1.3rem;
    font-weight: 300;
    color: #4a5a60;
    margin-bottom: 0.5rem;
}

.hero-descripcion {
    font-size: 1.05rem;
    color: #46524f;
    max-width: 570px;
    margin: 0 0 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
}

/* ============================================
   HERO · RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        min-height: 520px;
        background-position: 62% center;
    }

    .hero::before {
        background: linear-gradient(90deg,
            rgba(255,255,255,0.97) 0%,
            rgba(255,255,255,0.88) 42%,
            rgba(255,255,255,0.30) 75%,
            rgba(255,255,255,0.05) 100%);
    }

    .hero-inner {
        min-height: 520px;
        text-align: left;
    }

    .hero-content {
        padding: 3.5rem 0;
    }

    .hero-descripcion {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 620px;
        background-position: 68% center;
    }

    .hero::before {
        background: linear-gradient(180deg,
            rgba(255,255,255,0.94) 0%,
            rgba(255,255,255,0.84) 48%,
            rgba(255,255,255,0.55) 100%);
    }

    .hero-inner {
        min-height: 620px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        padding: 3rem 0;
        margin: 0 auto;
    }

    .hero-kicker {
        font-size: 0.7rem;
        letter-spacing: 0.13em;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-descripcion {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* ============================================
   SOBRE NOSOTROS
   ============================================ */
.sobre-texto {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #2d3a3f;
    line-height: 1.9;
}
.sobre-texto p + p {
    margin-top: 1.2rem;
}

/* ============================================
   GALERÍA DE FOTOS - VISOR SIN FONDO (blanco)
   ============================================ */
.galeria-fotos {
    width: 100%;
    max-width: 1120px;
    margin: 2.8rem auto 0;
}

.galeria-fotos-cabecera {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 0 0.15rem;
}

.galeria-fotos-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: #6b7a7f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.galeria-fotos-cabecera h3 {
    color: #1a1a1a;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.galeria-fotos-contador {
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e3e9e5;
    border-radius: 999px;
    background: rgba(250, 252, 251, 0.9);
    color: #56656a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.galeria-visor {
    width: 100%;
}

/* CORREGIDO: Eliminadas alturas fijas y ajustado a height auto */
.galeria-foto-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #ffffff;   /* <-- fondo blanco */
    box-shadow: none;
    isolation: isolate;
}

.galeria-foto-backdrop {
    display: none;
}

.galeria-foto-stage::after {
    display: none;
}

/* CORREGIDO: Eliminado padding y height 100% */
.galeria-foto-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 0;
    box-sizing: border-box;
}

/* CORREGIDO: max-height relativo, sombra suavizada */
.galeria-foto-principal {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;  /* Se ajusta al alto de la pantalla sin dejar espacio extra */
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 25, 20, 0.08);
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.22s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.galeria-foto-principal.is-changing {
    opacity: 0.15;
    transform: scale(0.985);
}

/* Botones de navegación (flechas flotantes) */
.galeria-foto-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(20, 30, 25, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.galeria-foto-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.07);
    box-shadow: 0 14px 34px rgba(20, 30, 25, 0.22);
}

.galeria-foto-btn:focus-visible,
.galeria-foto-control:focus-visible {
    outline: 3px solid rgba(67, 91, 82, 0.28);
    outline-offset: 3px;
}

.galeria-foto-prev { left: 20px; }
.galeria-foto-next { right: 20px; }

/* Contador de posición */
.galeria-foto-posicion {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    min-width: 70px;
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(20, 25, 25, 0.55);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-50%);
    pointer-events: none;
}

/* Controles inferiores (Anterior / Siguiente) */
.galeria-foto-controles {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 0.9rem;
}

.galeria-foto-control {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.65rem 0.8rem;
    border: 0;
    background: transparent;
    color: #34443f;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.galeria-foto-control:hover {
    color: #1a1a1a;
    transform: translateY(-1px);
}

.galeria-foto-control-next { justify-self: end; }

.galeria-foto-ayuda {
    margin: 0;
    color: #7a878a;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

/* ============================================
   RESPONSIVE (CORREGIDO)
   ============================================ */
@media (max-width: 768px) {
    .galeria-fotos { margin-top: 2rem; }
    .galeria-foto-stage {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    .galeria-foto-frame { 
        padding: 0;
    }
    .galeria-foto-principal {
        max-height: 75vh;
        border-radius: 11px;
    }
    .galeria-foto-btn { 
        width: 44px; 
        height: 44px;
        display: none;
    }
    .galeria-foto-prev { left: 10px; }
    .galeria-foto-next { right: 10px; }
    .galeria-foto-posicion { bottom: 12px; }
}

@media (max-width: 600px) {
    .galeria-fotos-cabecera { align-items: center; }
    .galeria-fotos-cabecera h3 { font-size: 1.3rem; }
    .galeria-foto-stage {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    .galeria-foto-principal {
        max-height: 70vh;
    }
    .galeria-foto-controles { grid-template-columns: 1fr 1fr; }
    .galeria-foto-ayuda { display: none; }
    .galeria-foto-control-next { justify-self: end; }
}

@media (max-width: 420px) {
    .galeria-fotos-cabecera { gap: 0.75rem; }
    .galeria-fotos-kicker { font-size: 0.65rem; }
    .galeria-fotos-contador { padding: 0.4rem 0.6rem; font-size: 0.68rem; }
    .galeria-foto-stage { 
        height: auto; 
        min-height: 0; 
    }
    .galeria-foto-btn { width: 40px; height: 40px; }
    .galeria-foto-prev { left: 7px; }
    .galeria-foto-next { right: 7px; }
}

/* ============================================
   CLASES
   ============================================ */
.clases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.clase-card {
    background: #ffffff;
    padding: 1.8rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 380px;
    justify-content: flex-start;
}
.clase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
    border-color: #e0e8e5;
}

.clase-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 1;
}

.clase-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #1a1a1a;
}

.clase-desc {
    color: #4a5a60;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    flex: 1 1 auto;
}

.clase-detalles {
    width: 100%;
    font-size: 0.80rem;
    color: #2d3a3f;
    margin-bottom: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #f9fbfa;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
}
.clase-detalles span {
    display: block;
    white-space: normal;
    word-break: break-word;
}
.clase-detalles strong {
    color: #1a1a1a;
}

.clase-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.70rem;
    color: #6b7a7f;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    width: 100%;
}
.clase-meta span {
    background: #f0f2f1;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.clase-precio {
    background: #e8f0ec !important;
    color: #1a3a2f !important;
    font-weight: 600;
    white-space: nowrap;
}

.clase-acciones {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 0.4rem;
}
.clase-acciones .btn {
    flex: 0 1 auto;
    min-width: 80px;
    max-width: 100%;
    white-space: nowrap;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}
.btn-info {
    background: transparent;
    border: 1px solid #6b7a7f;
    color: #6b7a7f;
}
.btn-info:hover {
    background: #6b7a7f;
    color: #fff;
}

/* ============================================
   ¿QUÉ ACTIVIDAD ES PARA MÍ?
   ============================================ */
.ideal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.ideal-item {
    background: #fafcfb;
    padding: 1.8rem 1.2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eaeaea;
    transition: all 0.2s;
}
.ideal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.ideal-item i {
    font-size: 2.2rem;
    color: #6b7a7f;
    margin-bottom: 0.6rem;
    display: inline-block;
    flex-shrink: 0;
}
.ideal-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.ideal-item p {
    font-size: 0.95rem;
    color: #2d3a3f;
    font-weight: 500;
}
.ideal-item small {
    display: block;
    margin-top: 0.4rem;
    color: #6b7a7f;
    font-size: 0.85rem;
}

/* ============================================
   EQUIPO
   ============================================ */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.equipo-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.25s;
}
.equipo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.equipo-card.placeholder {
    background: #fafcfb;
}
.equipo-foto {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: #f0f2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #b0bcc0;
    flex-shrink: 0;
    overflow: hidden;
}
.equipo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.equipo-foto i {
    font-size: 4rem;
    flex-shrink: 0;
}
.equipo-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}
.equipo-rol {
    font-weight: 500;
    color: #6b7a7f;
    font-size: 0.9rem;
    margin: 0.2rem 0 0.6rem;
}
.equipo-desc {
    color: #4a5a60;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   HORARIOS
   ============================================ */
.horario-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.horario-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    min-width: 400px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.horario-tabla th {
    background: #f8faf9;
    padding: 1rem 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #eaeaea;
    text-align: center;
}
.horario-tabla td {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.horario-tabla td:first-child {
    font-weight: 500;
}
.horario-tabla .cerrado {
    color: #a0aeb5;
    font-weight: 400;
}

.horario-estado {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #4a5a60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
}

.estado-indicador {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.estado-indicador.abierto {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.estado-indicador.cerrado {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

/* Aviso septiembre */
.aviso-septiembre {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f5f0eb;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #c0392b;
}
.aviso-septiembre p {
    margin: 0;
    font-weight: 600;
    color: #c0392b;
}

/* ============================================
   OPINIONES - MEJORADO
   ============================================ */
#opiniones .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* El placeholder que se muestra antes de aceptar cookies */
.third-party-placeholder {
    background: #f8faf9;
    border: 2px dashed #d0d8d5;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.third-party-placeholder .placeholder-text {
    color: #6b7a7f;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.third-party-placeholder .btn {
    margin-top: 0.5rem;
}

/* Mapa */
#google-map-container iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 20px;
}

/* Eliminar bordes y fondos extra en los placeholders cuando no se usan */
#google-map-container.third-party-placeholder,
#gr-widget-container.third-party-placeholder {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    min-height: auto !important;
}

.opiniones-footer {
    text-align: center !important;
    width: 100% !important;
    margin-top: 1.8rem !important;
    color: #4a5a60 !important;
    font-size: 1rem !important;
}

.opiniones-footer strong {
    color: #1a1a1a !important;
}
.opiniones-footer .btn {
    margin-top: 0.8rem;
}

/* ============================================
   TU PRIMERA CLASE
   ============================================ */
.primera-clase-content {
    max-width: 700px;
    margin: 0 auto;
    background: #fafcfb;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #eaeaea;
}
.primera-clase-content p {
    font-size: 1.05rem;
    color: #2d3a3f;
    margin-bottom: 1rem;
}
.primera-clase-content ol {
    list-style: none;
    counter-reset: step;
    margin: 1.5rem 0;
}
.primera-clase-content ol li {
    counter-increment: step;
    padding: 0.6rem 0 0.6rem 2.5rem;
    position: relative;
    font-size: 1rem;
    color: #2d3a3f;
    border-bottom: 1px solid #f0f2f1;
}
.primera-clase-content ol li:last-child {
    border-bottom: none;
}
.primera-clase-content ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.8rem;
    height: 1.8rem;
    background: #000;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 1.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.primera-clase-content .btn {
    margin-top: 1rem;
}

/* ============================================
   YOGA EN VILLAVICIOSA
   ============================================ */
.yoga-local-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #2d3a3f;
    line-height: 1.9;
}
.yoga-local-content ul {
    list-style: disc;
    margin: 1rem 0 1.5rem 1.5rem;
}
.yoga-local-content ul li {
    margin-bottom: 0.4rem;
}
.yoga-local-content .btn {
    margin-top: 1rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: #d0d8d5;
}

.faq-pregunta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    transition: background 0.2s;
}
.faq-pregunta:hover {
    background: #fafcfb;
}
.faq-pregunta .faq-icon {
    transition: transform 0.3s ease;
    color: #6b7a7f;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.faq-pregunta[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}
.faq-respuesta.open {
    max-height: 500px;
    padding: 0 1.5rem 1.2rem;
}
.faq-respuesta p {
    color: #4a5a60;
    line-height: 1.7;
}
.faq-respuesta strong {
    color: #1a1a1a;
}
.faq-respuesta a {
    color: #000;
    text-decoration: underline;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
}

.contacto-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #2d3a3f;
}
.contacto-info a {
    color: inherit;
    transition: color 0.2s;
}
.contacto-info a:hover {
    color: #000;
}

.contacto-icon {
    width: 1.4rem;
    color: #6b7a7f;
    font-size: 1rem;
    flex-shrink: 0;
    text-align: center;
}

.contacto-mapa {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.mapa-acciones {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-como-llegar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1.5px solid #1a1a1a;
}
.btn-como-llegar:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.btn-como-llegar i {
    font-size: 1rem;
}

.dropdown-compartir {
    position: relative;
    display: inline-block;
}

.btn-compartir {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.6rem;
    background: #1a1a1a;
    color: #fff;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1.5px solid #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.btn-compartir:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.btn-compartir i {
    font-size: 1rem;
}

.dropdown-menu {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 220px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.5rem 0;
    z-index: 999999 !important;
    display: none !important;
    overflow: visible !important;
}
.dropdown-menu.open {
    display: block !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
}
.dropdown-item:hover {
    background: #f5f7f6;
}
.dropdown-item i {
    width: 1.2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #6b7a7f;
    flex-shrink: 0;
}
.dropdown-item[data-share="whatsapp"] i { color: #25D366; }
.dropdown-item[data-share="twitter"] i { color: #000; }
.dropdown-item[data-share="telegram"] i { color: #0088cc; }
.dropdown-item[data-share="facebook"] i { color: #1877f2; }
.dropdown-item[data-share="email"] i { color: #ea4335; }
.dropdown-item[data-share="copiar"] i { color: #6b7a7f; }

.copiar-mensaje {
    display: block;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    background: #f9fbfa;
    border-top: 1px solid #eaeaea;
}
.copiar-mensaje.visible {
    opacity: 1;
}

/* ============================================
   FOOTER (simplificado, centrado)
   ============================================ */
.footer {
    background: #fafcfb;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #eaeaea;
    margin-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
    justify-items: center;
    text-align: center;
}

.footer-col-center {
    max-width: 700px;
    width: 100%;
}

.logo-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
    justify-content: center;
}

/* Logo footer oculto */
.logo-footer-img {
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-footer-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}
.logo-footer-text span {
    font-weight: 300;
    color: #6b7a7f;
}

.footer-desc {
    color: #4a5a60;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 0.5rem;
}

.footer-legal {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #eaeaea;
    font-size: 0.85rem;
    color: #6b7a7f;
}
.footer-legal a {
    color: #6b7a7f;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}
.footer-legal .separator {
    margin: 0 0.6rem;
    color: #d0d8d5;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #6b7a7f;
}
.footer-bottom span {
    font-weight: 500;
    color: #1a1a1a;
}

/* ============================================
   BOTÓN CONTACTO - RESERVA TU CLASE
   ============================================ */
.contacto-info .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    padding: 1rem 2.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    min-width: 220px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.contacto-info .btn-primary:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
    .contacto-info .btn-primary {
        font-size: 1rem !important;
        padding: 0.9rem 1.8rem !important;
        min-width: 100%;
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}
.cookie-banner a {
    color: #a0d0c0;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.cookie-banner .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}
.cookie-banner .btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
}
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .cookie-buttons {
        justify-content: center;
    }
}

/* ============================================
   PÁGINAS LEGALES (placeholder)
   ============================================ */
.legal-section {
    padding: 4rem 0 6rem;
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #2d3a3f;
    line-height: 1.8;
}
.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}
.legal-content p {
    margin-bottom: 1.2rem;
}
.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}
.legal-content ul li {
    margin-bottom: 0.5rem;
}
.legal-content a {
    color: #000;
    text-decoration: underline;
}
.legal-content a:hover {
    color: #6b7a7f;
}
.legal-content em {
    color: #6b7a7f;
    font-size: 0.9rem;
}

/* ============================================
   ANIMACIONES FADE-IN
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MODAL "MÁS INFO"
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-container {
    background: #ffffff;
    max-width: 480px;
    width: 100%;
    border-radius: 28px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7a7f;
    transition: color 0.2s;
    padding: 0.2rem 0.5rem;
}
.modal-close:hover {
    color: #1a1a1a;
}

.modal-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.modal-content p {
    font-size: 1.05rem;
    color: #4a5a60;
    line-height: 1.6;
    margin: 1rem 0 1.8rem;
}

.modal-btn {
    width: 100%;
    justify-content: center;
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .modal-container {
        padding: 2rem 1.2rem 1.5rem;
        border-radius: 20px;
    }
    .modal-content h3 {
        font-size: 1.4rem;
    }
    .modal-content p {
        font-size: 0.95rem;
    }
}

/* ============================================
   BLOQUEADORES DE TERCEROS - REFORZADO
   ============================================ */
.third-party-placeholder {
    background: #f8faf9;
    border: 2px dashed #d0d8d5;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.third-party-placeholder .placeholder-text {
    color: #6b7a7f;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.third-party-placeholder .btn {
    margin-top: 0.5rem;
}

#google-map-container iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 20px;
}

/* GR Widget: dejar que el widget gestione su propio diseño y responsive */
#gr-widget-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#gr-widget-container .grwidget-embed {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* ============================================
   BOTÓN CONFIGURAR COOKIES
   ============================================ */
#configurar-cookies {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   ELIMINAR CUADRADO GRIS DE GRWIDGET Y MAPA
   ============================================ */
#google-map-container.third-party-placeholder,
#gr-widget-container.third-party-placeholder {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    min-height: auto !important;
}

/* ============================================
   RESPONSIVE PARA BLOQUEADORES
   ============================================ */
@media (max-width: 768px) {
    .third-party-placeholder {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    .third-party-placeholder .placeholder-text {
        font-size: 0.9rem;
    }

}

/* ============================================
   RESPONSIVE (resto)
   ============================================ */
@media (max-width: 1024px) {
    .ideal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav {
        margin-left: 1.2rem;
    }
    .nav-links {
        gap: 1.4rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-col-center {
        max-width: 100%;
    }
    .footer-desc {
        font-size: 0.95rem;
    }

    .horario-tabla {
        font-size: 0.9rem;
        min-width: 100%;
    }
    .horario-tabla th,
    .horario-tabla td {
        padding: 0.6rem 0.3rem;
    }

    .dropdown-menu {
        min-width: 280px !important;
        max-width: 90vw !important;
    }

    .clases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .ideal-grid {
        grid-template-columns: 1fr 1fr;
    }
    .equipo-grid {
        grid-template-columns: 1fr 1fr;
    }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .primera-clase-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 660px;
        background-position: 70% center;
    }

    .hero-inner {
        min-height: 660px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .clases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
    .logo-img {
        height: 40px;
    }
    .logo-text {
        font-size: 1.2rem;
    }

    .footer-desc {
        font-size: 0.9rem;
    }

    .mapa-acciones {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-como-llegar,
    .btn-compartir {
        justify-content: center;
        width: 100%;
    }

    .dropdown-item {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }

    .clase-meta {
        font-size: 0.75rem;
        gap: 0.3rem;
        margin-top: 0.6rem;
    }
    .clase-meta span {
        padding: 0.15rem 0.6rem;
    }
    .btn-small {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .ideal-grid {
        grid-template-columns: 1fr;
    }
    .equipo-grid {
        grid-template-columns: 1fr;
    }
    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }
    .primera-clase-content {
        padding: 1rem;
    }
    .primera-clase-content ol li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }
    .primera-clase-content ol li::before {
        width: 1.5rem;
        height: 1.5rem;
        line-height: 1.5rem;
        font-size: 0.75rem;
    }
}