/* ============================================
   BOXEANDO POR LA PAZ - JCF 2026
   Programa Nacional de Boxeo Comunitario
   ============================================ */

/* --- RESET & BASE --- */
body {
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #FFFFFF 40%, #EFE1CB);
    min-height: 100vh;
}
main {
    max-width: 100%;
    overflow-x: hidden;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
button {
    outline: none;
    border: 0;
    cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
}
p {
    margin-bottom: 0;
}
a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

/* --- COLORES --- */
.texto-guinda { color: #9F2241; }
.texto-verde  { color: #127c12; }
.texto-oro    { color: #BC955C; }
.texto-guinda-subrayado { color: #9F2241; text-decoration: underline; }


/* ============================================
   HEADER / MENÚ JCF (reutilizado)
   ============================================ */
header.gmx {
    height: 116px;
}
nav#menuOficinas {
    display: block;
    background: white;
    width: 100%;
    text-align: center;
    top: 58px;
    height: 60px;
    position: fixed;
    z-index: 999;
}
.topnav {
    max-width: 100% !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    text-align: left;
    height: 60px;
    overflow: visible;
    margin-bottom: 0;
}
.topnav a {
    float: left;
    display: block;
    color: #e43250;
    text-align: center;
    padding: 14px 10px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}
#logojovenes {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px 15px;
    height: 60px;
    border-radius: 0px 0px 20px 0px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    cursor: default;
}
.logojovenes__divider {
    display: inline-block;
    width: 1px;
    height: 30px;
    background-color: #ccc;
    flex-shrink: 0;
}
.logostps {
    height: 40px;
    flex-shrink: 1;
    min-width: 0;
    object-fit: contain;
}
.logojcf {
    height: 40px;
    flex-shrink: 1;
    min-width: 0;
    object-fit: contain;
}
.logowbc {
    height: 40px;
    flex-shrink: 1;
    min-width: 0;
    object-fit: contain;
}
.logobienestar {
    height: 40px;
    flex-shrink: 1;
    min-width: 0;
    object-fit: contain;
}
#btnDer {
    position: relative;
    flex-shrink: 0;
}
.btn_inicio {
    position: relative;
    width: 200px;
    height: 60px;
    padding: 10px;
    text-align: center;
    background-color: #9F2241;
    transition: 1s background;
}
.tit_der {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    margin-bottom: 0;
}
.dos {
    position: absolute;
    background: #9F2241;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    margin: 0 auto;
    width: 45px;
    height: 45px;
    border-radius: 100px;
    transition: 1s background;
}
.img_enlace_dere {
    width: 31px;
    margin-top: 7px;
    transition: transform 1.5s ease-in-out;
}
.btn_inicio:hover,
.btn_inicio:hover .dos {
    background: #691C32;
}
.btn_inicio:hover .img_enlace_dere {
    transform: rotate(360deg);
}

/* ---- Responsivo: menú logos + botón derecho ---- */
@media all and (max-width: 768px) {
    .topnav {
        height: auto;
    }
    #logojovenes {
        gap: 8px;
        padding: 6px 10px;
        height: 50px;
    }
    .logojovenes__divider {
        height: 24px;
    }
    .logostps {
        height: 28px;
    }
    .logobienestar {
        height: 28px;
    }
    .logojcf {
        height: 28px;
    }
    .logowbc {
        height: 28px;
    }
    .btn_inicio {
        width: 120px;
        height: 50px;
        padding: 6px;
    }
    .tit_der {
        font-size: 11px;
        right: 5px;
    }
    .dos {
        left: -15px;
        width: 32px;
        height: 32px;
    }
    .img_enlace_dere {
        width: 16px !important;
        margin-top: 5px;
    }
}

@media all and (max-width: 480px) {
    nav#menuOficinas {
        height: auto;
    }
    .topnav {
        flex-wrap: wrap;
        height: auto;
    }
    #logojovenes {
        gap: 6px;
        padding: 5px 8px;
        height: auto;
        min-height: 40px;
        flex: 1 1 auto;
        border-radius: 0;
    }
    .logojovenes__divider {
        height: 18px;
    }
    .logostps {
        height: 20px;
    }
    .logobienestar {
        height: 20px;
    }
    .logojcf {
        height: 20px;
    }
    .logowbc {
        height: 20px;
    }
    #btnDer {
        flex: 0 0 auto;
    }
    .btn_inicio {
        width: auto;
        min-width: 70px;
        height: 40px;
        padding: 4px 8px;
    }
    .tit_der {
        font-size: 8px;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }
    .dos {
        display: none;
    }
}


/* ============================================
   BANNER PRINCIPAL
   ============================================ */
.banner-box {
    position: relative;
    min-height: 235px;
    text-align: center;
    padding: 0;
    background-image: url('../img/BannerHomeBox.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* sin border-bottom, la imagen ya trae la franja dorada */
    background-color: #3b0a0a;
}
.banner-box__contenido {
    margin: 0;
    display: flex;
    align-items: stretch;
    min-height: 235px;
}
.banner-box__texto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px 0 25px 50px;
    flex: 0 0 55%;
    max-width: 55%;
}
.banner-box__logo {
    width: 100%;
    max-width: 200px;
    flex-shrink: 0;
}
.banner-box__descripcion {
    width: 100%;
    background: #FFF;
    border-radius: 15px;
    border: 5px solid #BC955C;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.banner-box__parrafo {
    font-size: 12px;
    font-weight: 400;
    color: #4d4d4d;
    text-align: justify;
    line-height: 1.45;
    margin-top: 0;
}
.banner-box__imagen-wrap {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
}
.banner-box__imagen {
    height: 100%;
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    bottom: 0;
    right: 0;
}


/* ============================================
   BARRA DE FILTROS
   ============================================ */
.filtros-box {
    background-color: #F9F7F4;
    padding: 14px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.filtros-box__contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout flex propio */
.filtros-box__row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.filtros-box__col-info {
    flex: 0 0 auto;
}
.filtros-box__col-select {
    flex: 0 1 220px;
    min-width: 150px;
}
.filtros-box__col-limpiar {
    flex: 0 0 auto;
}
.filtros-box__col-buscar {
    flex: 0 0 auto;
}
/* Divisor vertical */
.filtros-box__divider-vertical {
    flex: 0 0 auto;
    width: 2px;
    height: 36px;
    background-color: rgba(128, 128, 128, 0.25);
    border-radius: 31px;
    margin: 0 4px;
}
.filtros-box__col-acciones {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Leyenda info para móvil */
.filtros-box__info-mobile {
    display: none;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #9F1F41;
    border-radius: 8px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}
.filtros-box__info-mobile i {
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Selects */
.filtros-box__select-wrap {
    position: relative;
    width: 100%;
}
.filtros-box__select {
    width: 100%;
    height: 44px;
    padding: 0 36px 0 16px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #4d4d4d;
    background: #fff;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: "Montserrat", sans-serif;
    transition: border-color 0.3s;
}
.filtros-box__select:focus {
    border-color: #9F2241;
}
.filtros-box__chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4d4d4d;
    font-size: 12px;
    pointer-events: none;
}

/* Info tooltip */
.filtros-box__info-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.filtros-box__info-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #9F1F41;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s, background 0.2s;
}
.filtros-box__info-btn i {
    font-size: 16px;
    color: #fff;
}
.filtros-box__info-btn:hover {
    transform: scale(1.1);
    background: #7a1833;
}
.filtros-box__info-btn:hover i {
    color: #fff;
}
.filtros-box__info-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    transform: none;
    width: 280px;
    padding: 12px 14px;
    background: #9F1F41;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 10px;
    text-align: left;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    pointer-events: none;
    align-items: flex-start;
    gap: 10px;
}
.filtros-box__info-tooltip i {
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
}
.filtros-box__info-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 14px;
    transform: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #9F1F41;
}
.filtros-box__info-wrap:hover .filtros-box__info-tooltip,
.filtros-box__info-tooltip.active {
    display: flex;
}

/* Botón limpiar filtros */
.filtros-box__btn-limpiar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 0 12px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    color: #707070;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s;
    flex-shrink: 0;
}
.filtros-box__btn-limpiar i {
    font-size: 12px;
}
.filtros-box__btn-limpiar:hover {
    background: #9F2241;
    border-color: #9F2241;
    color: #fff;
}

/* Acciones derechas - ya integrado en filtros-box__col-acciones */

/* Botón icono búsqueda */
.filtros-box__btn-buscar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
    padding: 0;
}
.filtros-box__btn-buscar img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}
.filtros-box__btn-buscar i {
    color: #707070;
    font-size: 15px;
}
.filtros-box__btn-buscar:hover {
    background: #e8e8e8;
    border-color: #ccc;
}
.filtros-box__btn-buscar:hover i {
    color: #333;
}

/* Overlay de búsqueda expandible */
.filtros-box__busqueda-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 130px;
}
.filtros-box__busqueda-overlay.active {
    display: flex;
}
.filtros-box__busqueda-inner {
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.filtros-box__busqueda-inner .filtros-box__input {
    width: 100%;
    height: 54px;
    padding: 0 55px 0 22px;
    border: 2px solid #9F2241;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 400;
    color: #4d4d4d;
    background: #fff;
    outline: none;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.filtros-box__busqueda-inner .filtros-box__input::placeholder {
    color: #aaa;
    font-weight: 400;
}
.filtros-box__busqueda-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #707070;
    transition: background 0.2s;
}
.filtros-box__busqueda-close:hover {
    background: #e0e0e0;
}

/* Botón Inscríbete */
.filtros-box__btn-inscribete {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #235B4E;
    border: none;
    cursor: pointer;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    flex-shrink: 0;
    text-decoration: none;
}
.filtros-box__btn-icono {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.filtros-box__btn-inscribete-texto {
    text-align: left;
    line-height: 1.3;
    font-size: 10px;
}
.filtros-box__btn-inscribete-texto b {
    font-weight: 700;
    font-size: 12px;
}
.filtros-box__btn-inscribete i {
    font-size: 13px;
}
.filtros-box__btn-inscribete:hover {
    background: #10312B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 91, 78, 0.35);
    color: #fff;
}
.filtros-box__btn-inscribete:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(35, 91, 78, 0.25);
}

/* Botón Sesión */
.filtros-box__btn-sesion {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #9F2241;
    border: none;
    cursor: pointer;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    flex-shrink: 0;
    text-decoration: none;
}
.filtros-box__btn-sesion-texto {
    text-align: left;
    line-height: 1.3;
    font-size: 10px;
}
.filtros-box__btn-sesion-texto b {
    font-weight: 700;
    font-size: 12px;
}
.filtros-box__btn-sesion i {
    color: #fff;
    font-size: 16px;
}
.filtros-box__btn-sesion:hover {
    background: #691C32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(159, 34, 65, 0.35);
    color: #fff;
}
.filtros-box__btn-sesion:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(159, 34, 65, 0.25);
}


/* ============================================
   DIRECTORIO - CARRUSEL DE CARDS
   ============================================ */
.directorio-box {
    padding: 10px 0 10px;
    background: transparent;
}
.directorio-box__contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* Sin resultados */
.directorio-box__vacio {
    text-align: center;
    padding: 60px 20px;
}
.directorio-box__vacio-img {
    width: 80px;
    margin-bottom: 15px;
    opacity: 0.4;
}
.directorio-box__vacio p {
    font-size: 16px;
    color: #707070;
    font-weight: 500;
}


/* ============================================
   CARD DE GIMNASIO
   ============================================ */
.gym-card {
    position: relative;
    padding-top: 65px;
    margin-top: 10px;
    height: calc(100% - 10px);
}
.gym-card__inner {
    border-radius: 20px;
    border: 5px solid #FFF;
    background: #F9F7F4;
    box-shadow: 0 0 2px 0 #808080;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}
.gym-card__inner:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Imagen circular */
.gym-card__circulo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.gym-card__circulo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cuerpo de la card */
.gym-card__body {
    padding: 70px 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Nombre del gym */
.gym-card__nombre {
    color: #333;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

/* ---- Dividers ---- */
.gym-card__divider {
    border: none;
    height: 4px;
    border-radius: 31px;
    margin: 6px auto;
    width: 85%;
}
.gym-card__divider--main {
    border: 2px solid #707070;
    background: #212529;
    opacity: 1;
}
.gym-card__divider--secondary {
    border: 2px solid #808080;
    background: #212529;
    opacity: 0.25;
}

/* ---- Dato con icono ---- */
.gym-card__dato {
    text-align: center;
    margin-bottom: 6px;
}

/* Labels genéricos (icono + titulo) */
.gym-card__dato-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    margin-bottom: 4px;
}
.gym-card__dato-label img,
.gym-card__dato-label i {
    width: 13px;
    height: 13px;
    font-size: 12px;
}

/* Colores de labels */
.gym-card__dato-label--ubicacion {
    color: #BC955C;
}
.gym-card__dato-label--entrenador {
    color: #9F2241;
}
.gym-card__dato-label--disponibilidad {
    color: #127C12;
}

/* Texto de ubicación */
.gym-card__dato-valor {
    color: #555;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    padding: 0 5px;
}

/* Texto de entrenador */
.gym-card__dato-valor--entrenador {
    color: #555;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}

/* Disponibilidad: numero */
.gym-card__alumnos {
    color: #127C12;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}
.gym-card__alumnos b {
    font-weight: 900;
}

/* Tabla de horarios */
.gym-card__horarios {
    margin-top: 6px;
    padding: 0 12px;
}
.gym-card__horario-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-style: normal;
    font-weight: 500;
    line-height: 13px;
}
.gym-card__horario-dia {
    text-align: left;
    flex: 1;
}
.gym-card__horario-hora {
    text-align: right;
}

/* Barra inferior (distancia) */
.gym-card__footer {
    margin-top: auto;
    border-radius: 0 0 20px 20px;
    padding: 10px 16px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.gym-card__footer b {
    font-weight: 800;
}

/* Alternancia de colores para la barra inferior */
.gym-card__footer--guinda {
    background: linear-gradient(90deg, #9F2241 30%, #691C32 100%);
}
.gym-card__footer--verde {
    background: linear-gradient(90deg, #235B4E 30%, #10312B 100%);
}


/* ============================================
   CONTROLES DEL CARRUSEL
   ============================================ */
.carousel-controles {
    position: relative;
    width: auto;
    max-width: 400px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.carousel-indicators {
    position: relative;
    flex: 0 1 auto;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper overrides */
.gymSwiper {
    position: relative;
    overflow: hidden;
    padding-top: 2em;
    padding-bottom: 10px;
    padding-left: 8px;
    padding-right: 8px;
}
.gymSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.gymSwiper .swiper-slide {
    height: auto;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: '';
}
.swiper-button-next,
.swiper-button-prev {
    position: relative;
    top: auto;
    width: 40px;
    height: 40px;
    margin-top: 0;
    z-index: 10;
    background: transparent;
    border-radius: 50%;
    transition: all .5s ease;
    flex-shrink: 0;
}
.swiper-button-next img,
.swiper-button-prev img {
    width: 40px;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #f0f0f0;
    box-shadow: 0px 0px 10px -3px rgba(0,0,0,0.3);
}

.swiper-pagination-bullet {
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    border-radius: 30px;
    background-color: #bc955c;
    opacity: 0.4;
    margin: 0 3px !important;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    width: 12px;
    height: 12px;
    background-color: #9F2241;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: 0;
}

/* Paginación fracción */
.swiper-pagination-fraction {
    position: relative;
    bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #bc955c;
}


/* ============================================
   MENSAJE INFO POR DEFECTO (en barra de filtros)
   ============================================ */
.filtros-box__info-default {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    color: #9F2241;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    padding: 4px 0;
}
.filtros-box__info-default i {
    font-size: 18px;
    color: #9F2241;
    flex-shrink: 0;
}


/* ============================================
   VISTA PREVIA - AVISOS
   ============================================ */
.vista-previa {
    padding: 20px 0 10px;
    background: transparent;
}
.vista-previa__contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.vista-previa__imagen {
    width: 100%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease;
}
.vista-previa__btn-directorio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, #9F2241 0%, #691C32 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(159, 34, 65, 0.3);
}
.vista-previa__btn-directorio i {
    font-size: 16px;
}
.vista-previa__btn-directorio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(159, 34, 65, 0.4);
    background: linear-gradient(135deg, #b12a4e 0%, #7a1f38 100%);
}
.vista-previa__btn-directorio:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(159, 34, 65, 0.3);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   FILTROS DEL DIRECTORIO (centrados)
   ============================================ */
.filtros-directorio {
    padding: 14px 0;
    background-color: #F9F7F4;
    animation: fadeInUp 0.4s ease;
}
.filtros-directorio__contenedor {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.filtros-directorio__titulo {
    text-align: center;
    margin-bottom: 12px;
}
.filtros-directorio__titulo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6B6B6B;
    letter-spacing: 0.3px;
    margin: 0;
    line-height: 1.4;
}
.filtros-directorio__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.filtros-box__col-cancelar {
    flex: 0 0 auto;
}
.filtros-box__btn-cancelar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #9F2241;
    cursor: pointer;
    color: #9F2241;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}
.filtros-box__btn-cancelar i {
    font-size: 13px;
}
.filtros-box__btn-cancelar:hover {
    background: #9F2241;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(159, 34, 65, 0.25);
}
.filtros-box__btn-cancelar:active {
    transform: translateY(0);
}


/* ============================================
   DIVISOR SUTIL DIRECTORIO
   ============================================ */
.divisor-directorio {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}
.divisor-directorio__linea {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #BC955C 50%, transparent);
    opacity: 0.4;
    margin: 4px 0;
    border-radius: 2px;
}


/* ============================================
   FOOTER CARD: ICONO ESTADO
   ============================================ */
.gym-card__footer-estado-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    background: rgba(255,255,255,0.2);
    padding: 2px;
}


/* ============================================
   FOOTER TEXTO
   ============================================ */
.footer-box {
    text-align: center;
    padding: 25px 15px 30px;
    border-top: 1px solid #e8e8e8;
    background-color: transparent;
}
.footer-box__texto {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
}
.footer-box__actualizacion {
    font-size: 12px;
    color: #707070;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* ---------- Tablet landscape / desktop pequeño ---------- */
@media all and (max-width: 992px) {
    /* Banner: apilar verticalmente */
    .banner-box {
        min-height: auto;
    }
    .banner-box__contenido {
        flex-direction: column;
        min-height: auto;
    }
    .banner-box__texto {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 25px 30px;
        align-items: center;
    }
    .banner-box__descripcion {
        width: 70%;
        max-width: 580px;
    }
    .banner-box__logo {
        max-width: 170px;
    }
    .banner-box__imagen-wrap {
        flex: 0 0 auto;
        max-width: 100%;
        max-height: 280px;
        justify-content: center;
        overflow: hidden;
    }
    .banner-box__imagen {
        max-height: 260px;
        object-position: bottom center;
    }
    /* Carrusel */
    .carousel-controles {
        width: 100%;
    }
    /* Filtros: permite wrap */
    .filtros-box__row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .filtros-box__col-select {
        flex: 1 1 180px;
    }
    .filtros-box__col-acciones {
        flex: 1 1 100%;
        justify-content: flex-end;
        margin-top: 4px;
    }
    .filtros-box__divider-vertical {
        display: none;
    }
    /* Info default responsive */
    .filtros-box__info-default {
        flex: 1 1 100%;
        order: -1;
        margin-bottom: 4px;
    }
    /* Filtros directorio responsive */
    .filtros-directorio__row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ---------- Tablet portrait ---------- */
@media all and (max-width: 768px) {
    /* Banner: más compacto */
    .banner-box__texto {
        padding: 20px 15px;
    }
    .banner-box__descripcion {
        width: 85%;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .banner-box__logo {
        max-width: 180px;
    }
    .banner-box__parrafo {
        font-size: 11px;
    }
    .banner-box__imagen-wrap {
        max-height: 240px;
    }
    /* Filtros */
    .filtros-box__select {
        height: 40px;
        font-size: 12px;
    }
    .filtros-box__col-select {
        flex: 1 1 calc(50% - 12px);
        min-width: 130px;
    }
    .filtros-box__col-acciones {
        justify-content: center;
        margin-top: 6px;
    }
    .filtros-box__btn-sesion,
    .filtros-box__btn-inscribete {
        padding: 0 12px;
        font-size: 10px;
        height: 40px;
    }
    .filtros-box__btn-sesion-texto,
    .filtros-box__btn-inscribete-texto {
        font-size: 9px;
    }
    .filtros-box__btn-sesion-texto b,
    .filtros-box__btn-inscribete-texto b {
        font-size: 10px;
    }
    .filtros-box__info-tooltip {
        left: 0;
        transform: none;
    }
    .filtros-box__info-tooltip::before {
        left: 14px;
    }
    /* Info default */
    .filtros-box__info-default {
        font-size: 10px;
    }
    /* Vista previa */
    .vista-previa__btn-directorio {
        font-size: 13px;
        padding: 12px 24px;
    }
    /* Cards */
    .gym-card__nombre {
        font-size: 15px;
    }
}

/* ---------- Móvil ---------- */
@media all and (max-width: 576px) {
    header.gmx {
        height: auto;
        min-height: 100px;
    }
    nav#menuOficinas {
        height: auto;
        position: fixed;
    }

    /* ---- Banner: ocultar boxeadores, texto 100% ---- */
    .banner-box__contenido {
        flex-direction: column;
    }
    .banner-box__texto {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px 16px;
        align-items: center;
    }
    .banner-box__descripcion {
        width: 92%;
        padding: 14px 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .banner-box__logo {
        max-width: 130px;
    }
    .banner-box__imagen-wrap {
        display: none;
    }

    /* ---- Filtros: reorganizar para móvil ---- */
    /* Contenedor flex-column para reordenar nota arriba */
    .filtros-box__contenedor {
        display: flex;
        flex-direction: column;
    }
    .filtros-box__info-default {
        font-size: 10px;
        order: -1;
        margin-bottom: 8px;
    }
    .filtros-box__row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .filtros-box__col-info {
        display: none;
    }
    .filtros-box__divider-vertical {
        display: none;
    }

    /* Estado: fila completa */
    .filtros-box__col-select {
        flex: 1 1 100%;
        order: 1;
    }
    /* Municipio + Buscar: misma fila — el segundo select se ajusta */
    .filtros-box__col-select + .filtros-box__col-select {
        flex: 1 1 0;
        min-width: 0;
        order: 2;
    }
    .filtros-box__col-limpiar {
        order: 2;
    }
    .filtros-box__col-buscar {
        flex: 0 0 auto;
        order: 3;
    }
    .filtros-box__col-cancelar {
        flex: 1 1 100%;
        order: 4;
        text-align: center;
    }
    .filtros-box__btn-cancelar {
        width: 100%;
        justify-content: center;
    }
    /* Sesión + Inscríbete: misma fila */
    .filtros-box__col-acciones {
        flex: 1 1 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        order: 4;
        margin-top: 4px;
    }
    .filtros-box__btn-sesion,
    .filtros-box__btn-inscribete {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        justify-content: center;
        padding: 0 10px;
        height: 42px;
    }
    .filtros-box__btn-sesion-texto,
    .filtros-box__btn-inscribete-texto {
        font-size: 9px;
        line-height: 1.2;
    }
    .filtros-box__btn-sesion-texto b,
    .filtros-box__btn-inscribete-texto b {
        font-size: 10px;
    }

    /* Vista previa móvil */
    .vista-previa__imagen {
        border-radius: 10px;
    }
    .vista-previa__btn-directorio {
        font-size: 12px;
        padding: 12px 20px;
    }
    /* Filtros directorio móvil */
    .filtros-directorio__row {
        flex-wrap: wrap;
    }

    /* ---- Cards ---- */
    .gym-card__circulo {
        width: 100px;
        height: 100px;
        top: 5px;
    }
    .gym-card {
        padding-top: 55px;
    }
    .gym-card__body {
        padding-top: 58px;
    }
    .gym-card__nombre {
        font-size: 14px;
        line-height: 17px;
    }
    .gym-card__dato-valor {
        font-size: 11px;
    }
    .gym-card__dato-valor--entrenador {
        font-size: 12px;
    }
    .gym-card__horario-row {
        font-size: 10px;
    }
}


/* ============================================
   MODAL VIDEO BIENVENIDA
   ============================================ */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.video-modal.active {
    opacity: 1;
    visibility: visible;
}
.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}
.video-modal__contenedor {
    position: relative;
    width: 400px;
    max-width: 92vw;
    height: auto;
    max-height: 90vh;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
    transform: scale(0.9);
    transition: transform 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal.active .video-modal__contenedor {
    transform: scale(1);
}
.video-modal__cerrar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(159, 34, 65, 0.85);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.video-modal__cerrar:hover {
    background: rgba(159, 34, 65, 1);
    transform: scale(1.1);
}

/* Wrapper responsivo para el iframe de YouTube Shorts */
.video-modal__ig-wrap {
    position: relative;
    width: 100%;
    /* Aspect ratio vertical tipo short/reel (9:16) */
    padding-bottom: 177.78%;
    overflow: hidden;
    background: #000;
}
.video-modal__ig-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Botón toggle sonido (sobre el video, estilo HTML5) */
.video-modal__sound-toggle {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: auto;
}
.video-modal__sound-toggle:hover {
    background: rgba(0, 0, 0, 0.75);
}
.video-modal__sound-toggle.active {
    background: rgba(0, 0, 0, 0.55);
}

/* Responsive modal video */
@media all and (max-width: 768px) {
    .video-modal__contenedor {
        width: 360px;
        max-width: 90vw;
        border-radius: 10px;
    }
    .video-modal__cerrar {
        width: 34px;
        height: 34px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
    .video-modal__sound-toggle {
        width: 34px;
        height: 34px;
        font-size: 15px;
        bottom: 12px;
        right: 12px;
    }
}
@media all and (max-width: 576px) {
    .video-modal__contenedor {
        width: 100%;
        max-width: 94vw;
        border-radius: 8px;
    }
    .video-modal__cerrar {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }
    .video-modal__sound-toggle {
        width: 30px;
        height: 30px;
        font-size: 13px;
        bottom: 10px;
        right: 10px;
    }
}
