/**
 * Estilos Modulares: Sección de Tours Destacados
 * Espacio de nombres aislado: .ge-featured-tours__*
 */

.ge-featured-tours {
    background-color: #FFFFFF;
    padding: 70px 0 85px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ge-featured-tours__container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. ENCABEZADO DE SECCIÓN
   ========================================================================== */
.ge-featured-tours__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.ge-featured-tours__kicker {
    display: inline-block;
    color: #27B3A5;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.ge-featured-tours__heading {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1E293B !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px;
}

.ge-featured-tours__divider {
    width: 48px;
    height: 3px;
    background-color: #E98219;
    margin: 0 auto 16px auto;
    border-radius: 2px;
}

.ge-featured-tours__subheading {
    font-size: 15.5px !important;
    color: #64748B !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* ==========================================================================
   2. CUADRÍCULA DE TARJETAS (3 COLUMNAS X 2 FILAS EN ESCRITORIO)
   ========================================================================== */
.ge-featured-tours__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.ge-featured-tours__card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    height: 100%;
}

.ge-featured-tours__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

/* ==========================================================================
   3. IMAGEN SUPERIOR
   ========================================================================== */
.ge-featured-tours__media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #0F172A;
}

.ge-featured-tours__media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ge-featured-tours__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.ge-featured-tours__card:hover .ge-featured-tours__image {
    transform: scale(1.03);
}

/* ==========================================================================
   4. CUERPO DE LA TARJETA
   ========================================================================== */
.ge-featured-tours__body {
    padding: 22px 22px 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

.ge-featured-tours__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.ge-featured-tours__title-link {
    color: #1E293B !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ge-featured-tours__title-link:hover,
.ge-featured-tours__title-link:focus {
    color: #27B3A5 !important;
}

.ge-featured-tours__desc {
    font-size: 13.5px !important;
    color: #64748B !important;
    line-height: 1.5 !important;
    margin: 0 0 14px 0 !important;
    flex-grow: 1;
    min-height: 40px;
}

.ge-featured-tours__meta-sep {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 0 0 14px 0;
    width: 100%;
}

/* ==========================================================================
   5. METADATOS (3 LÍNEAS CON ICONOS TURQUESA)
   ========================================================================== */
.ge-featured-tours__meta-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ge-featured-tours__meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.ge-featured-tours__meta-icon {
    color: #27B3A5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ge-featured-tours__meta-text {
    line-height: 1.3;
}

/* ==========================================================================
   6. BOTÓN VISUAL DE WHATSAPP (NO CLICABLE / ESTRICTAMENTE DECORATIVO)
   ========================================================================== */
.ge-featured-tours__whatsapp-badge {
    background-color: #26B3A5;
    color: #FFFFFF !important;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
    user-select: none;
    pointer-events: none;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.ge-featured-tours__card:hover .ge-featured-tours__whatsapp-badge,
.ge-featured-tours__whatsapp-badge:hover {
    background-color: #20998E;
    color: #FFFFFF !important;
}

.ge-featured-tours__whatsapp-badge svg {
    flex-shrink: 0;
    color: #FFFFFF;
    fill: currentColor;
}

/* ==========================================================================
   7. BOTÓN FINAL: VER TODOS LOS TOURS
   ========================================================================== */
.ge-featured-tours__cta-wrap {
    text-align: center;
    margin-top: 50px;
}

.ge-featured-tours__btn-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #FFFFFF;
    color: #E98219 !important;
    border: 2px solid #E98219;
    border-radius: 8px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ge-featured-tours__btn-catalog:hover,
.ge-featured-tours__btn-catalog:focus {
    background-color: #E98219;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 130, 25, 0.28);
}

.ge-featured-tours__btn-catalog:active {
    transform: translateY(0);
}

/* ==========================================================================
   8. RESPONSIVE DESIGN (TABLETS Y MÓVILES)
   ========================================================================== */
@media (max-width: 992px) {
    .ge-featured-tours {
        padding: 55px 0 65px 0;
    }

    .ge-featured-tours__header {
        margin-bottom: 40px;
    }

    .ge-featured-tours__heading {
        font-size: 28px !important;
    }

    .ge-featured-tours__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ge-featured-tours__media {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .ge-featured-tours {
        padding: 45px 0 55px 0;
    }

    .ge-featured-tours__container {
        padding: 0 16px;
    }

    .ge-featured-tours__heading {
        font-size: 24px !important;
    }

    .ge-featured-tours__subheading {
        font-size: 14.5px !important;
    }

    .ge-featured-tours__grid {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 420px;
        margin: 0 auto;
    }

    .ge-featured-tours__media {
        height: 210px;
    }

    .ge-featured-tours__title {
        min-height: auto;
    }

    .ge-featured-tours__desc {
        min-height: auto;
    }

    .ge-featured-tours__btn-catalog {
        width: 100%;
        max-width: 320px;
        padding: 12px 20px;
    }
}
