

/* --- RESPONSIVE (MÓVIL) --- */
@media (max-width: 991px) {
    .mobile-nav-toggler {
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: #28a745;
    }

    .desktop-only { display: none; } /* Ocultamos el botón original */
    .mobile-only { display: block; }

    /* Menú lateral (Slide) */
    .menu-side {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease-in-out;
        padding-top: 80px;
    }

    .menu-side.active { right: 0; } /* Se muestra */

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-panel-mobile {
        background: #28a745;
        color: white !important;
        padding: 12px 40px;
        border-radius: 10px;
    }
}

@media (min-width: 992px) {
    .mobile-nav-toggler { display: none; }
}       /* --- Estilo Marcas --- */
        .brand-one-modern {
    padding: 30px 0;
    background-color: #f5f7f75c;
}

.brand-title-wrapper {
    margin-bottom: 50px;
}

.brand-title-wrapper .sub-title {
    color: #28a745;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.brand-title-wrapper .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #28a745;
    margin: 15px auto;
    border-radius: 10px;
}

/* Grilla de Marcas */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-item {
    padding: 20px;
}

.brand-inner {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    filter: grayscale(100%); /* Efecto gris inicial */
    opacity: 0.6;
}

.brand-item {
    flex: 0 1 auto; /* No permite que se estiren al 100% */
    width: 200px; /* Ancho fijo para cada logo */
    text-align: center;
}

.brand-inner {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
    filter: grayscale(100%);
    opacity: 0.6;
}

.brand-inner img {
    width: auto !important;
    max-width: 180px !important; /* Antes estaba en 100px o 120px */
    height: 70px !important;    /* Forzamos una altura más visible */
    object-fit: contain !important; /* Evita que el logo se estire feo */
    margin-bottom: 15px;
}

/* Hover */
.brand-inner:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    border-color: #28a745;
}

/* Ajuste para Móviles: Si se ven muy apretados, aquí los dejamos en 2 por fila */
@media (max-width: 768px) {
    .brand-grid-horizontal {
        justify-content: space-around;
    }
    .brand-item {
        width: 45%; /* Dos logos por fila en celular */
        margin-bottom: 10px;
    }
}
        
        /* --- Estilo About --- */
        .about-one-modern { padding: 20px 0; }
        
        .about-one__img-box { position: relative; }
        .about-one__img-main img {
            border-radius: 30px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }
        
        .about-one__experience-badge {
            position: absolute;
            bottom: -30px;
            right: 20px;
            background: #1e3c72;
            padding: 30px;
            border-radius: 20px;
            color: white;
            text-align: center;
            box-shadow: 0 15px 30px rgba(30, 60, 114, 0.3);
        }
        .about-one__experience-badge h3 { font-size: 2.5rem; font-weight: 900; margin: 0; }
        
        .about-features { margin: 35px 0; }
        .feature-item {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }
        .feature-icon {
            width: 50px;
            height: 50px;
            background: #f0f4ff;
            color: #1e3c72;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        .feature-text h4 { font-size: 1.1rem; font-weight: 800; color: #1e3c72; margin-bottom: 5px; }
        .feature-text p { font-size: 0.95rem; color: #666; margin: 0; }
        
        .thm-btn-impact {
            background: #1e3c72;
            color: white;
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: 700;
            text-transform: uppercase;
            display: inline-block;
            transition: all 0.3s;
        }
        .thm-btn-impact:hover { background: #28a745; transform: translateY(-3px); }
    
    
     /* Canchas */
        /* --- Sección General --- */
.explore-canchas-modern {
    padding: 20px 0;
    background-color: #f4f7fa; /* Fondo grisáceo muy suave para contraste */
}

/* --- Títulos --- */
.section-title__tagline_modern {
    display: block;
    color: #1e3c72;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title__title_modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 50px;
}

/* --- La Tarjeta (Card) --- */
.explore-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.15);
}

/* --- Imagen y Logo --- */
.explore-card__img {
    height: 180px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.explore-card__img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.explore-card:hover .explore-card__img img {
    transform: scale(1.1);
}

/* --- Contenido --- */
.explore-card__content {
    padding: 25px;
}

.explore-card__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.explore-card__title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.explore-card__title a:hover {
    color: #1e3c72;
}

.explore-car__location {
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0 20px;
}

.explore-car__location i {
    color: #1e3c72;
    margin-right: 5px;
}

/* --- Etiquetas de Servicios --- */
.explore-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    min-height: 60px; /* Mantiene la simetría */
}

.service-tag {
    background: #f0f4f8;
    color: #1e3c72;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.service-tag:hover {
    background: #1e3c72;
    color: #fff;
}

/* --- Footer y Botón Invertido --- */
/* --- Estilo del Botón de Reserva --- */
.thm-btn-impact-restyle-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    /* Gradiente elegante usando el azul de tu marca */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    
    padding: 14px 20px;
    border-radius: 12px; /* Redondeado suave a juego con las burbujas */
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

/* --- Efecto Hover (Inversión y Elevación) --- */
.thm-btn-impact-restyle-sm:hover {
    background: #ffffff;
    color: #1e3c72;
    transform: translateY(-3px); /* Se eleva un poco */
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    outline: 2px solid #1e3c72; /* Borde sutil al invertir */
}

/* --- Animación de la Flecha --- */
.thm-btn-impact-restyle-sm i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.thm-btn-impact-restyle-sm:hover i {
    transform: translateX(5px); /* La flecha se mueve a la derecha al pasar el mouse */
}

/* --- Ajuste del Footer de la Tarjeta --- */
.explore-card__footer {
    margin-top: auto; /* Empuja el botón siempre al fondo */
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
/* Contenedor de las burbujas */
.explore-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;           /* Espacio entre cada burbuja */
    margin: 15px 0 25px; /* Margen superior e inferior */
}

/* La Burbuja Individual */
.service-bubble {
    background-color: #f5f7fa; /* Fondo gris suave */
    padding: 12px 20px;        /* Espacio interno para dar forma cuadrada-suave */
    border-radius: 15px;       /* Redondeado de las esquinas (Soft UI) */
    display: flex;
    align-items: center;
    gap: 10px;                 /* Espacio entre el check y el texto */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* El Icono de Check (Azul) */
.service-bubble i {
    color: #1e3c72;            /* Tu azul principal */
    font-size: 1.1rem;
}

/* El Texto del Servicio */
.service-bubble span {
    color: #333;
    font-weight: 700;          /* Texto en negrita para que resalte */
    font-size: 0.9rem;
}

/* Efecto al pasar el mouse */
.service-bubble:hover {
    background-color: #ffffff;
    border-color: #1e3c72;     /* Borde azul fino al resaltar */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
    
     /* Information */
        .how-it-works-modern {
            padding: 50px 0;
            background-color: #fcfdfe;
            position: relative;
        }
        
        .section-title__tagline_modern {
            color: #28a745;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }
        
        .section-title__title_modern {
            font-size: 2.5rem;
            font-weight: 900;
            color: #1e3c72;
            margin-top: 10px;
            margin-bottom: 60px;
        }
        
        .steps-container {
            position: relative;
        }
        
        /* Tarjeta de Paso */
        .step-card {
            background: #fff;
            padding: 50px 30px;
            border-radius: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            position: relative;
            transition: all 0.4s ease;
            border: 1px solid #f0f0f0;
            z-index: 1;
        }
        
        .step-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(30, 60, 114, 0.1);
            border-color: #1e3c72;
        }
        
        /* Paso Central Resaltado */
        .active-step {
            background: #fff;
            border: 2px solid #28a745;
        }
        
        /* Número de fondo masivo */
        .step-number {
            position: absolute;
            top: -20px;
            right: 30px;
            font-size: 5rem;
            font-weight: 900;
            color: rgba(30, 60, 114, 0.05); /* Muy sutil */
            line-height: 1;
        }
        
        .step-icon-box {
            width: 100px;
            height: 100px;
            background: #f8fbff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            transition: all 0.4s;
        }
        
        .step-card:hover .step-icon-box {
            background: #1e3c72;
            transform: rotateY(180deg);
        }
        
        .step-icon-box img {
            max-width: 60px;
            height: auto;
        }
        
        .step-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: #1e3c72;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .step-text {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
        }
        
        /* Conectores visuales (solo para desktop) */
        @media (min-width: 992px) {
            .step-item:not(:last-child):after {
                content: "\f061"; /* Icono de flecha de FontAwesome */
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                position: absolute;
                top: 50%;
                right: -15px;
                transform: translateY(-50%);
                font-size: 2rem;
                color: #e0e0e0;
                z-index: 0;
            }
        }
        
        @media (max-width: 991px) {
            .step-item {
                margin-bottom: 40px;
            }
        }
    
    
    
    
        .search-hero-impact {
            position: relative;
            z-index: 110;
            margin-top: -120px; /* Sube agresivamente hacia el banner */
            padding: 0 15px;
        }
        
        .search-card-ultra {
            background: #ffffff;
            border-radius: 30px; /* Bordes redondeados pero no circulares */
            padding: 40px; /* Mucho más aire interno para ganar altura */
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
            max-width: 1100px;
            margin: 0 auto;
            border-bottom: 6px solid #1e3c72; /* Detalle de color en la base */
        }
        
        .search-grid-impact {
            display: flex;
            align-items: center;
            gap: 30px;
        }
        
        /* Bloques de contenido */
        .search-block {
            flex: 1;
            padding: 15px 25px;
            border-radius: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
            position: relative;
            display: block;
        }
        
        .search-block:hover {
            background: #f4f8ff;
            border-color: #e0e9f5;
        }
        
        .block-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .block-header i {
            font-size: 1.5rem;
            color: #1e3c72;
        }
        
        .block-header span {
            font-size: 0.9rem;
            font-weight: 800;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .block-body input {
            border: none;
            background: transparent;
            font-size: 1.8rem; /* FUENTE MUY GRANDE */
            font-weight: 900;
            color: #1a1a1a;
            width: 100%;
            outline: none;
            padding: 0;
            cursor: pointer;
            position: relative;
            z-index: 1;
        }
        .block-header, .block-header i, .block-header span {
            pointer-events: none; 
        }
        
        .block-footer {
            margin-top: 8px;
            font-size: 0.8rem;
            color: #bbb;
            margin-bottom: 0;
        }
        
        /* Divisor Visual Alto */
        .v-divider-impact {
            width: 2px;
            height: 100px; /* Divisor mucho más alto */
            background: linear-gradient(to bottom, transparent, #eee, transparent);
        }
        
        /* Botón de Impacto */
        .search-action-impact {
            flex: 1.2;
        }
        
        .btn-ultra-impact {
            width: 100%;
            height: 110px; /* BOTÓN MUY ALTO */
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            border: none;
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .btn-content {
            display: flex;
            flex-direction: column;
            text-align: left;
        }
        
        .btn-main-text {
            font-size: 1.4rem;
            font-weight: 900;
            letter-spacing: 1px;
        }
        
        .btn-sub-text {
            font-size: 0.85rem;
            opacity: 0.8;
            font-weight: 400;
        }
        
        .btn-ultra-impact i {
            font-size: 1.8rem;
            transition: transform 0.3s;
        }
        
        .btn-ultra-impact:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 20px 40px rgba(30, 60, 114, 0.3);
        }
        
        .btn-ultra-impact:hover i {
            transform: translateX(10px);
        }
        
        /* --- RESPONSIVE --- */
        @media (max-width: 991px) {
            .search-grid-impact { gap: 15px; }
            .block-body input { font-size: 1.4rem; }
            .btn-ultra-impact { padding: 0 25px; height: 90px; }
        }
        
        @media (max-width: 768px) {
            .search-hero-impact { margin-top: -150px; }
            .search-card-ultra { padding: 30px 20px; border-radius: 25px; }
            .search-grid-impact { flex-direction: column; gap: 10px; }
            .search-block { width: 100%; background: #f8f9fa; margin-bottom: 5px; }
            .v-divider-impact { display: none; }
            .btn-ultra-impact { height: 80px; }
        }
        
        
        /* este es para el principal */

        .main-slider-restyle {
            position: relative;
            overflow: hidden;
        }
        
        /* Capa de oscurecimiento degradada (mejor que un color plano) */
        .image-layer-overlay-modern {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
            z-index: 1;
        }
        
        .main-slider__content-impact {
            position: relative;
            z-index: 2;
            padding-top: 150px;
            padding-bottom: 250px; /* Espacio extra para que la tarjeta de búsqueda flote aquí */
        }
        
        /* Subtítulo pequeño pero fuerte */
        .slide-subtitle {
            color: #28a745; /* Verde deportivo */
            font-size: 1.1rem;
            font-weight: 800;
            letter-spacing: 4px;
            margin-bottom: 20px;
            text-transform: uppercase;
        }
        
        /* Título Gigante */
        .slide-title {
            color: #fff;
            font-size: 5.5rem; /* Tamaño masivo */
            font-weight: 900;
            line-height: 1;
            margin-bottom: 25px;
            text-transform: uppercase;
        }
        
        .slide-title span {
            color: transparent;
            -webkit-text-stroke: 1px #fff; /* Efecto de contorno moderno */
        }
        
        .slide-text {
            color: rgba(255,255,255,0.9);
            font-size: 1.4rem;
            max-width: 700px;
            margin: 0 auto 40px;
            font-weight: 400;
        }
        
        /* Botón del Slider */
        .thm-btn-main {
            background: #28a745;
            color: #fff;
            padding: 18px 40px;
            border-radius: 50px;
            font-weight: 800;
            text-transform: uppercase;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
        }
        
        .thm-btn-main:hover {
            background: #fff;
            color: #1e3c72;
            transform: translateY(-3px);
        }
        
        /* Navegación Refinada */
        .slider-nav-custom {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 40px;
            z-index: 10;
            transform: translateY(-50%);
        }
        
        .nav-btn {
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .nav-btn:hover {
            background: #28a745;
            transform: scale(1.1);
        }
        
        /* Responsive para que no se rompa en móvil */
        @media (max-width: 768px) {
            .slide-title { font-size: 3rem; }
            .slide-text { font-size: 1.1rem; }
            .main-slider__content-impact { padding-top: 100px; padding-bottom: 200px; }
            .slider-nav-custom { display: none; } /* Ocultar flechas en móvil */
        }
        /* Forzar que las diapositivas que no tienen la clase 'active' sean invisibles */
        .swiper-slide {
            opacity: 0 !important;
            transition: opacity 0.6s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .swiper-slide-active {
            opacity: 1 !important;
        }
        
        /* Evitar que el contenido se desborde */
        .main-slider-restyle {
            height: 80vh; /* Ajusta la altura a tu gusto */
            min-height: 600px;
        }
        
        .image-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
        }

        /* Contenedor de imagen */
.about-one__img-wrapper {
    position: relative;
    padding: 20px;
}

.about-one__img-main img {
    transition: transform 0.5s ease;
}

.about-one__img-wrapper:hover .about-one__img-main img {
    transform: scale(1.02);
}

/* Badge con efecto cristal */
.glass-morphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-one__experience-badge {
    position: absolute;
    bottom: 40px;
    right: 0;
    padding: 25px;
    text-align: center;
    animation: floating 3s ease-in-out infinite;
}

.about-one__experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #28a745; /* Verde pasto */
    margin: 0;
}
.about-one__experience-badge p {
    color: #28a745; /* Verde pasto */
    margin: 0;
}

/* Títulos y Gradientes */
.text-gradient {
    background: linear-gradient(90deg, #1a1a1a, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-pill {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Tarjetas de características */
.about-features-grid {
    display: grid;
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon-circle {
    min-width: 55px;
    height: 55px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}

/* Botones */
.btn-impact-primary {
    background: #1a1a1a;
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
}

.btn-impact-primary:hover {
    transform: translateY(-3px);
}

/* Ajustes Móvil */
@media (max-width: 768px) {
    .about-one__experience-badge {
        bottom: -20px;
        right: 20px;
        padding: 15px;
    }
    
    .about-one__experience-badge h3 {
        font-size: 1.8rem;
    }

    .display-5 {
        font-size: 2.2rem;
    }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.space{
    margin-top: 6%;
}
