.elementor-149 .elementor-element.elementor-element-063d3d1{--display:flex;--overflow:hidden;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-149 .elementor-element.elementor-element-a4c1912.elementor-element{--align-self:center;}}/* Start custom CSS for html, class: .elementor-element-a4c1912 *//* --- VARIABLES & RESET GLOBAL --- */
:root {
    --color-principal: #FFFFFF;
    --color-secundario: #FFC107; /* Amarillo */
    --color-texto: #0063B2;      /* Azul */
    --color-enfasis: #000000;    /* Negro */
    
    /* Fuentes */
    --font-teko: 'Teko', sans-serif;
    --font-black-ops: 'Black Ops One', cursive; 
    --font-montserrat: 'Montserrat', sans-serif;
    --font-sora: 'Sora', sans-serif;
}

/* Reset dentro del contenedor para no afectar al resto de Wordpress */
.ironfit-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ironfit-container {
    font-family: var(--font-montserrat);
    background-color: var(--color-principal);
    color: var(--color-enfasis);
    line-height: 1.6;
    width: 100%;
    max-width: 100%; 
    margin: 0 !important; 
    padding: 0 !important; 
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
.ironfit-nav {
    background-color: var(--color-principal);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--color-secundario);
    width: 100%; 
}

.ironfit-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    margin: 0; 
}

.ironfit-nav a {
    text-decoration: none;
    color: var(--color-texto);
    font-family: var(--font-sora);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.ironfit-nav a:hover {
    color: var(--color-secundario);
}

.nav-socios {
    background: var(--color-texto);
    color: var(--color-secundario) !important;
    padding: 5px 12px;
    border-radius: 4px;
}

/* --- SECCIÓN LOGOTIPO --- */
.logo-responsive-container {
    text-align: center;
    padding: 10px 20px 0; /* Espacio mínimo arriba, 0 abajo */
    max-width: 100%;
    margin: 0 auto;
}

.logo-responsive {
    max-width: 90%; 
    height: auto;
    width: 500px; 
    display: block;
    margin: 0 auto; 
}

/* --- SECCIONES (Padding y Ancho) --- */
.ironfit-container section {
    padding: 60px 20px;
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto; 
}

.section-title {
    text-align: center;
    font-family: var(--font-teko);
    font-size: 3rem;
    color: var(--color-texto);
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* --- HERO SECTION (ESPACIO MÍNIMO ABSOLUTO) --- */
.hero {
    text-align: center;
    /* AJUSTE AGRESIVO: Reducir el padding a 0 en desktop/móvil */
    padding-top: 0; 
    padding-bottom: 0; 
    margin-top: 0;
    margin-bottom: 0;
}

.hero h2 {
    font-family: var(--font-sora);
    font-style: italic;
    color: var(--color-texto);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    /* REDUCIDO: Mínimo margen entre h2 y h4 */
    margin-bottom: 5px; 
    line-height: 1.1;
}

.hero h4 {
    font-family: var(--font-montserrat);
    color: var(--color-enfasis);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 800;
    text-transform: uppercase;
    /* MÁRGEN CERO: No debe haber espacio debajo del h4 */
    margin-bottom: 0; 
}

/* --- TARIFAS SECTION --- */
.tarifas {
    text-align: center;
    /* REDUCIDO: Mínimo padding superior para acercar al Hero */
    padding-top: 20px; 
    padding-bottom: 60px;
}

/* Header "SIN MATRICULA" con fuente Black Ops One */
.matricula-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* REDUCIDO: Espacio entre SIN MATRÍCULA y Grid de Tarjetas */
    margin-bottom: 10px; 
    margin-top: 0; /* Asegurar que no haya margen superior */
    flex-wrap: wrap;
}

.word-sin {
    font-family: var(--font-black-ops); 
    font-weight: 400; 
    font-size: clamp(4rem, 10vw, 6rem);
    color: var(--color-enfasis);
    line-height: 1;
}

.word-rest {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-black-ops); 
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-enfasis);
    line-height: 1;
    text-align: left;
}

/* Grid de Tarjetas */
.tarifas-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--color-secundario);
    padding: 20px;
    font-family: var(--font-teko);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-texto);
    text-transform: uppercase;
}

.card-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.price {
    font-family: var(--font-teko);
    font-size: 3.5rem;
    color: #555;
    line-height: 1;
    font-style: italic;
    font-weight: 600;
}

.period {
    color: var(--color-texto);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: block;
}

.features {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    color: #555;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 0.9rem;
    width: 100%;
}

.icon-dumbbell {
    width: 20px;
    height: 20px;
    fill: #555;
    transform: rotate(-45deg);
}

.btn-card {
    background-color: var(--color-texto);
    color: var(--color-secundario);
    padding: 12px 30px;
    font-family: var(--font-montserrat);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    box-shadow: 0 4px 0 #004a85;
    display: inline-block;
}

.btn-card:hover {
    background-color: #004a87;
}

/* --- CONÓCENOS SECTION --- */
.conocenos h3 {
    color: var(--color-texto);
    text-align: center;
    font-family: var(--font-montserrat);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.team-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
}

.team-img-placeholder {
    width: 100%;
    height: 250px;
    background-color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-info {
    padding: 20px 25px;
}

.team-name {
    color: var(--color-texto);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-teko);
    letter-spacing: 1px;
}

.team-desc {
    font-size: 1rem;
    color: #000;
    font-weight: 500;
}

/* --- LOCALIZACIÓN --- */
.map-container {
    position: relative;
    overflow: hidden;
    max-width: 800px; 
    margin: 0 auto;
    border: 5px solid var(--color-secundario); 
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- HORARIOS --- */
.horarios-wrapper {
    /* Por defecto en escritorio, permitimos scroll si es necesario (pero suele no serlo) */
    overflow-x: auto; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 0 auto; 
    padding: 0;
    position: relative; 
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse; 
    font-family: var(--font-sora);
    background: white;
    table-layout: auto; 
}

.ver-movil { display: none; }
.ver-pc { display: inline; }

th {
    background-color: var(--color-texto); 
    color: white;
    padding: 15px;
    font-family: var(--font-teko);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-secundario); 
    vertical-align: middle;
}

td {
    border: 1px solid var(--color-secundario); 
    padding: 10px; 
    text-align: center;
    color: var(--color-texto);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #ffffff;
    vertical-align: middle; /* Centrado vertical estándar */
}

/* Caja de sesión por defecto (Escritorio) */
.sesion-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Sticky Column en PC */
.time-col {
    position: sticky;
    left: 0;
    z-index: 10; 
    background-color: var(--color-texto) !important; 
    color: #ffffff !important;
    font-weight: bold;
    font-family: var(--font-teko);
    font-size: 1.2rem;
    border: 1px solid var(--color-secundario);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1); 
}
th.time-col { z-index: 11; }

.break-row td {
    background-color: #e0e0e0;
    height: 15px;
    padding: 0;
}

@media (min-width: 769px) {
    table { min-width: 700px; }
}

/* --- CONTACTO --- */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-header {
    text-align: center; 
    color: var(--color-texto); 
    margin-bottom: 25px; 
    font-family: var(--font-teko); 
    font-size: 2.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-texto);
    font-family: var(--font-teko);
    font-size: 1.3rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-texto);
    border-radius: 5px;
    font-family: var(--font-montserrat);
    font-size: 1rem;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-secundario);
}

.check-label {
    display: flex !important;
    align-items: flex-start;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    font-family: var(--font-montserrat) !important;
    gap: 10px;
    cursor: pointer;
}

.check-label input {
    margin-top: 4px;
}

.submit-btn {
    width: 100%;
    background-color: var(--color-secundario);
    color: var(--color-texto);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    font-family: var(--font-teko);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #e0a800;
}

.ironfit-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    background: #eee;
    margin-top: 50px;
    color: var(--color-enfasis);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    /* Ajustes generales */
    .hero { padding-top: 5px; padding-bottom: 5px; }
    .hero h2 { margin-bottom: 5px; }
    .hero h4 { margin-bottom: 0; }
    .matricula-header { margin-bottom: 5px; margin-top: 10px; flex-direction: row; gap: 10px; }
    .ironfit-container section { padding-top: 40px; padding-bottom: 40px; }
    .ironfit-nav ul { flex-direction: column; align-items: center; gap: 15px; }
    .contact-form-container { padding: 25px 15px; }
    .map-container { border-width: 3px; max-width: 100%; }
    .section-title { font-size: 2.2rem; }

    /* --- CAMBIOS ESPECÍFICOS DE HORARIO PARA MÓVIL --- */
    
    .ver-pc { display: none; }
    .ver-movil { display: inline; }

    /* 1. ELIMINAR SCROLL */
    .horarios-wrapper {
        overflow: visible; /* Asegura que el contenedor no corte contenido */
        overflow-x: visible;
        width: 100%;
    }

    /* 2. FORZAR TABLA A AJUSTARSE A PANTALLA */
    table {
        table-layout: fixed; /* Divide el espacio equitativamente a la fuerza */
        width: 100%;
        min-width: 0; /* Permite comprimirse */
    }

    /* Ancho de columnas: Hora un pelín más ancha, resto igual */
    th:first-child, td:first-child { width: 17%; }
    
    /* Eliminar Sticky en móvil para evitar conflictos de renderizado */
    .time-col {
        position: static;
        box-shadow: none;
    }

    th, td {
        padding: 5px 0; /* Padding lateral 0 para ganar espacio */
        font-size: 0.8rem;
        /* Centrado vertical forzoso en la celda */
        vertical-align: middle !important;
        height: 1px; /* Truco CSS para que las celdas tomen altura del contenido hijo o se igualen */
    }

    /* 3. CAJA AMARILLA: Centrado Perfecto */
    .sesion-box {
        background-color: var(--color-secundario);
        width: 75%; /* Ancho de la caja */
        height: 14px; /* Altura de la caja */
        
        /* Ocultar texto totalmente para que no afecte alineación */
        font-size: 0; 
        color: transparent;
        
        /* Centrado: Block + Margin Auto */
        display: block; 
        margin: 0 auto; 
        border-radius: 3px;
    }
}/* End custom CSS */