/* ==========================================
   ESTILOS WIZARD STEPPER HORIZONTAL (PREMIUM UI)
   ========================================== */
.reservas-wizard-section {
    background-color: var(--bg);
    color: #fff;
    position: relative;
}

.stepper-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 2rem 0;
}

/* Encabezado del Stepper */
.stepper-header {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

/* Línea conectora horizontal */
.stepper-header::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    cursor: pointer;
    transition: opacity 0.15s;
}

.step-indicator.disabled {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(100%);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.4);
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 0.8rem;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    transition: color 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estados del Stepper */
.step-indicator.active .step-icon {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255,204,0,0.2);
    transform: scale(1.1);
}
.step-indicator.active .step-label {
    color: #fff;
}

.step-indicator.completed .step-icon {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}
.step-indicator.completed .step-label {
    color: var(--primary);
}

/* Escenario Central */
.stepper-stage {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    min-height: 400px;
    position: relative;
}

.step-panel {
    display: none;
    /* Reducido a 0.15s para Zero-Delay */
    animation: slideFadeIn 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.step-panel.active {
    display: block;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.panel-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

/* Controles Inferiores */
.panel-actions-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: flex-start;
}

.btn-ghost-back {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-ghost-back:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

/* Envoltura para centrar contenido específico */
.panel-center-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

/* GHOST UI CARDS (Servicios) */
.service-cards-ghost {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
}

.ghost-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.ghost-card h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.ghost-card span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.ghost-card:hover {
    border-color: rgba(255, 204, 0, 0.4);
    background: rgba(255, 204, 0, 0.03);
    transform: translateY(-5px);
}

.ghost-card.active {
    border-color: var(--primary);
    background: rgba(255, 204, 0, 0.08);
    box-shadow: inset 0 0 0 1px var(--primary);
}
.ghost-card.active span {
    color: var(--primary);
}

/* GHOST DATE SELECTOR */
.date-selector-clean {
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.input-date-clean {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    text-align: center;
}

.input-date-clean:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.02);
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.15s;
}
::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.error-msg-clean {
    color: #ff4d4d;
    font-size: 0.95rem;
    margin-top: 1rem;
    font-weight: 500;
}

.shake-error {
    animation: shake 0.3s ease-in-out;
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* GHOST PILLS (Horarios) */
.time-pills-ghost {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.ghost-pill {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.15s ease;
    opacity: 0;
    transform: translateY(10px);
    /* Animación super rápida */
    animation: fadeUpPill 0.15s forwards;
}

@keyframes fadeUpPill {
    to { opacity: 1; transform: translateY(0); }
}

.ghost-pill:hover {
    border-color: rgba(255, 204, 0, 0.5);
    background: rgba(255, 204, 0, 0.05);
    transform: translateY(-3px);
}

.ghost-pill.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

/* RESUMEN FINAL CLEAN */
.summary-clean {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
}

.summary-value {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    text-align: right;
}

.btn-whatsapp-premium {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.2);
}

.btn-whatsapp-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 204, 0, 0.4);
    background: #ffb800;
}

/* MOBILE RESPONSIVE PARA STEPPER HORIZONTAL */
@media (max-width: 768px) {
    .stepper-stage {
        padding: 2rem 1.5rem;
    }
    .panel-title {
        font-size: 1.3rem;
    }
    .service-cards-ghost {
        grid-template-columns: 1fr 1fr;
    }
    .ghost-pill {
        padding: 0.8rem 1.5rem;
        flex-grow: 1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stepper-header::before {
        display: none;
    }
    .step-label {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    .service-cards-ghost {
        grid-template-columns: 1fr;
    }
}