/* ==========================================
   EXPERTS SECTION - RESPONSIVE
   Desktop: Grid | Mobile: Carrusel Swipe
   ========================================== */

/* TABLET */
@media (max-width: 1100px) {
    .experts-section {
        padding: 60px 20px;
    }
    
    .experts-headline {
        font-size: 42px;
        margin-bottom: 50px;
    }
    
    .experts-pill-button-wrapper {
        width: 75px;
        height: 55px;
    }
    
    .experts-pill-button-bg {
        width: 75px;
        height: 35px;
    }
    
    .experts-pill-button-isotipo {
        width: 36px;
        height: 36px;
    }
    
    .experts-grid {
        gap: 25px;
    }
    
    .experts-description {
        font-size: 16px;
    }
    
    .experts-btn-book {
        padding: 18px;
        font-size: 13px;
    }
}

/* ==========================================
   MOBILE - CARRUSEL CON SCROLL SNAP
   ========================================== */
@media (max-width: 768px) {
    
    .experts-section {
        padding: 40px 0;
        max-width: 100%;
        background-color: #fff;
    }
    
    /* --- HEADER --- */
    
    .experts-headline {
        font-size: 32px;
        margin-bottom: 20px;
        letter-spacing: -1px;
        padding: 0 20px;
    }
    
    .experts-pill-button-wrapper {
        width: 55px;
        height: 40px;
        margin: 0 5px;
    }
    
    .experts-pill-button-bg {
        width: 55px;
        height: 26px;
    }
    
    .experts-pill-button-isotipo {
        width: 25px;
        height: 25px;
        top: -3px;
    }
    
    /* --- TEXTO Y BOTÓN (solo mobile) --- */
    
    .experts-subtitle-mobile {
        display: block;
        font-size: 15px;
        color: var(--gray-text);
        line-height: 1.5;
        padding: 0 40px;
        margin-bottom: 30px;
        font-family: 'Domi', sans-serif;
    }
    
    .experts-cta-wrapper {
        display: block;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .experts-btn-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        background-color: var(--orange-bright);
        color: white;
        text-decoration: none;
        padding: 18px;
        border-radius: 40px;
        font-weight: 700;
        font-size: 14px;
        font-family: 'Domi', sans-serif;
        transition: transform 0.2s ease;
    }
    
    .experts-arrow {
        font-size: 18px;
    }
    
    /* --- OCULTAR DESKTOP --- */
    
    .experts-grid {
        display: none !important;
    }
    
    /* --- CARRUSEL CON SCROLL SNAP --- */
    
    .experts-carousel-container {
        display: block;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 40px;
        scrollbar-width: none; /* Firefox */
        -webkit-overflow-scrolling: touch;
    }
    
    .experts-carousel-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .experts-carousel-track {
        display: flex;
        gap: 15px;
        width: max-content;
    }
    
    .experts-carousel-card {
        width: 280px;
        height: 350px;
        border-radius: 24px;
        background-size: cover;
        background-position: center;
        scroll-snap-align: center;
        position: relative;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 25px;
        color: white;
    }
    
    /* Logo con dots (arriba izquierda) */
    .experts-card-logo {
        position: absolute;
        top: 20px;
        left: 20px;
        display: grid;
        grid-template-columns: repeat(2, 10px);
        gap: 2px;
    }
    
    .experts-dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.4);
    }
    
    /* Info del perfil */
    .experts-profile-data {
        position: relative;
        z-index: 1;
        text-align: left;
    }
    
    .experts-profile-data h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        font-family: 'Domi', sans-serif;
    }
    
    .experts-profile-data p {
        font-size: 13px;
        opacity: 0.8;
        font-family: 'Domi', sans-serif;
    }
    
    /* --- BARRA DE PROGRESO (solo mobile) --- */
    
    .experts-progress-container-mobile {
        display: block;
        margin-top: 30px;
        padding: 0 80px;
    }
    
    .experts-progress-bar-mobile {
        height: 2px;
        background: #eee;
        width: 100%;
        position: relative;
        border-radius: 2px;
    }
    
    .experts-progress-fill-mobile {
        position: absolute;
        left: 0;
        width: 33.33%;
        height: 100%;
        background: var(--orange-bright);
        transition: left 0.3s ease;
    }
}

/* OCULTAR elementos mobile en desktop */
@media (min-width: 769px) {
    .experts-subtitle-mobile,
    .experts-cta-wrapper,
    .experts-carousel-container,
    .experts-progress-container-mobile {
        display: none !important;
    }
}

/* MOBILE PEQUEÑO */
@media (max-width: 480px) {
    .experts-section {
        padding: 30px 0;
    }
    
    .experts-headline {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .experts-subtitle-mobile {
        font-size: 14px;
        padding: 0 30px;
    }
    
    .experts-carousel-container {
        padding: 0 30px;
    }
    
    .experts-carousel-card {
        width: 250px;
        height: 320px;
        padding: 20px;
    }
    
    .experts-profile-data h3 {
        font-size: 18px;
    }
    
    .experts-profile-data p {
        font-size: 12px;
    }
}