/* ============================================
   BarberShop — Componentes modernos (todos los breakpoints)
   ============================================ */

/* Ocultar versiones legacy duplicadas */
.hero-slider,
.counter-strip,
.services-grid,
.services-scroll-wrap,
.team-grid,
.team-scroll-wrap,
.gallery-grid,
#landing-appointment-legacy {
    display: none !important;
}

/* —— Hero video —— */
.hero-video-section {
    position: relative;
    min-height: 520px;
    height: 85vh;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
}

.hero-video-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--app-topbar-h, 0px) + var(--app-safe-top, 0px) + 2rem) 1rem 2rem;
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-video-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 5vw, 4rem);
    line-height: 1.12;
    margin: 0.75rem 0 1rem;
}

.hero-video-glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}

.hero-video-glass ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.hero-video-glass li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
}

.hero-video-glass li i {
    color: var(--gold);
    margin-top: 0.15rem;
}

/* —— Stats —— */
.stats-modern {
    display: block;
    position: relative;
    z-index: 15;
    padding: 0 1rem 3rem;
    margin-top: -2.5rem;
}

.stats-modern-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.stat-glass-card {
    background: linear-gradient(145deg, rgba(30,30,30,0.96), rgba(14,14,14,0.98));
    border: 1px solid var(--gold-a22);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-glass-card .stat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    background: var(--gold-a12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.stat-glass-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0;
    color: var(--white);
}

.stat-glass-card p {
    margin: 0.3rem 0 0;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* —— Servicios flip —— */
.services-flip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: left;
}

.service-flip-card {
    perspective: 1200px;
    min-height: 300px;
    cursor: pointer;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    min-height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-flip-card.is-flipped .service-flip-inner,
.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front,
.service-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-flip-front {
    pointer-events: auto;
    z-index: 1;
}

.service-flip-back {
    pointer-events: none;
    z-index: 0;
}

.service-flip-card.is-flipped .service-flip-front,
.service-flip-card:hover .service-flip-inner .service-flip-front {
    pointer-events: none;
}

.service-flip-card.is-flipped .service-flip-back,
.service-flip-card:hover .service-flip-inner .service-flip-back {
    pointer-events: auto;
    z-index: 2;
}

.service-flip-front .svc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.service-flip-front .svc-body {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.35rem;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 55%, transparent);
}

.service-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, var(--dark-3), var(--dark));
    border: 1px solid var(--gold-a25);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-flip-back h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0.35rem 0 0.75rem;
}

.service-flip-back p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
    flex: 1;
    margin: 0 0 1rem;
}

.svc-tag {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.svc-price {
    color: var(--gold);
    font-weight: 700;
}

.svc-flip-hint {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
}

.svc-flip-cta {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.72rem;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
    touch-action: manipulation;
}

@media (max-width: 991px) {
    .service-flip-card:hover .service-flip-inner {
        transform: none;
    }
    .service-flip-card.is-flipped .service-flip-inner {
        transform: rotateY(180deg);
    }
}

/* —— Booking wizard —— */
.booking-wizard {
    max-width: 1100px;
    margin: 2rem auto 0;
    text-align: left;
}

.booking-steps-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.booking-steps-nav::-webkit-scrollbar { display: none; }

.booking-steps-nav::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}

.booking-step-indicator {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 64px;
}

.booking-step-indicator .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 2px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.booking-step-indicator.active .step-num,
.booking-step-indicator.done .step-num {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.booking-step-indicator span {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
}

.booking-step-indicator.active span { color: var(--gold); }

.booking-panel { display: none; }
.booking-panel.active { display: block; animation: bookingFadeIn 0.35s ease; }

@keyframes bookingFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 1.25rem;
}

@media (max-width: 991px) {
    .booking-layout,
    .booking-layout.layout-full {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.service-pick-grid,
.barber-pick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.pick-card {
    padding: 1rem 1.15rem;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    cursor: pointer;
    background: var(--dark);
    transition: border-color 0.2s, background 0.2s;
}

.pick-card.selected {
    border-color: var(--gold);
    background: var(--gold-a08);
}

.barber-pick-card {
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.barber-pick-card:active {
    transform: scale(0.98);
}

.barber-pick-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 6px 18px var(--gold-a15);
}

.barber-pick-photo {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.barber-pick-photo::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

.barber-pick-card img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
}

.barber-pick-card .barber-meta {
    padding: 0.5rem 0.55rem 0.6rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    text-align: left;
}

.barber-pick-card h4 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--white);
}

.barber-pick-card .specialty {
    color: var(--gold);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0.2rem 0 0;
    line-height: 1.3;
}

.barber-pick-card .bio-snippet {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.barber-pick-card .barber-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.barber-pick-card .barber-tags span {
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
}

.calendar-widget {
    background: var(--dark);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calendar-header button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.cal-dow {
    text-align: center;
    font-size: 0.6rem;
    color: var(--text-muted);
    padding: 0.25rem;
}

.cal-day {
    aspect-ratio: 1;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-size: 0.8rem;
    cursor: pointer;
}

.cal-day:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-day.selected { background: var(--gold); color: var(--dark); font-weight: 700; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--gold); }

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-top: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.time-slot-btn {
    padding: 0.6rem 0.4rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: var(--dark-3);
    color: var(--white);
    font-size: 0.75rem;
    cursor: pointer;
}

.time-slot-btn.selected {
    border-color: var(--gold);
    background: var(--gold-a15);
    color: var(--gold);
}

.booking-summary {
    background: linear-gradient(160deg, var(--gold-a10), rgba(0,0,0,0.25));
    border: 1px solid var(--gold-a20);
    border-radius: 16px;
    padding: 1.15rem;
}

.booking-summary h4 {
    font-family: var(--font-display);
    margin: 0 0 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.summary-row.total {
    border: none;
    color: var(--gold);
    font-weight: 700;
    margin-top: 0.35rem;
}

.form-modern input,
.form-modern select,
.form-modern textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--dark);
    color: var(--white);
    font-size: 16px;
    margin-bottom: 0.85rem;
}

.form-modern label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.booking-nav-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.booking-nav-btns .btn-gold,
.booking-nav-btns .btn-outline-gold {
    flex: 1;
    min-width: 120px;
    text-align: center;
    border: none;
    cursor: pointer;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* —— Carrusel barberos —— */
.team-carousel-wrap {
    display: block;
    margin-top: 2rem;
    padding: 0 0.5rem 2.5rem;
}

.team-card-pro {
    background: var(--dark-3);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    height: 100%;
}

.team-card-pro img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-card-pro .team-body {
    padding: 1.25rem;
    text-align: left;
}

.team-card-pro .specialty {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.team-card-pro .team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.35rem 0 0;
}

.team-card-pro h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0.25rem 0;
}

.team-card-pro .btn-book-barber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

/* —— Galería masonry —— */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-masonry-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-masonry-item img {
    width: 100%;
    display: block;
    vertical-align: middle;
}

.gallery-masonry-item .gal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 0.85rem;
    text-align: left;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    color: #fff;
}

.gallery-masonry-item .gal-caption-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-light, var(--gold-light));
    margin-bottom: 0.2rem;
}

.gallery-masonry-item .gal-caption-desc {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.92);
}

/* —— Pagos —— */
.payment-section {
    padding: 3.5rem 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 1.75rem;
    color: var(--text-muted);
}

#payment-element {
    background: var(--dark);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 100px;
}

.payment-demo-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.85rem;
    background: var(--gold-a08);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    margin-top: 1rem;
}

/* —— Contacto + mapa —— */
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    height: 280px;
    min-height: 240px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--gold);
    color: var(--dark) !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.78rem;
}

/* App home cards — visible en móvil */
.app-home-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin: -1.5rem 1rem 0;
    position: relative;
    z-index: 12;
}

.app-home-card {
    background: var(--dark-3);
    border: 1px solid var(--gold-a20);
    border-radius: 16px;
    padding: 1rem;
    text-decoration: none;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s, border-color 0.2s;
}

.app-home-card:active {
    transform: scale(0.97);
    border-color: var(--gold);
}

.app-home-card i {
    font-size: 1.35rem;
    color: var(--gold);
}

.app-home-card strong {
    font-size: 0.85rem;
    font-weight: 600;
}

.app-home-card span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.hero-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.65rem;
    color: var(--gold);
    margin-bottom: 1rem;
    border: 1px solid var(--gold-a30);
}

/* —— Tablet (≥576px) —— */
@media (min-width: 576px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* —— Tablet (≥768px) —— */
@media (min-width: 768px) {
    .stats-modern-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .services-flip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-layout {
        padding: 1.75rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .map-container {
        height: 360px;
    }

    .payment-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    /* Tablet: menú desktop en lugar de solo tabbar opcional - mantener tabbar */
    .app-sheet-quick {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .team-card-pro img {
        height: 300px;
    }
}

/* —— Desktop (≥992px) —— */
@media (min-width: 992px) {
    .hero-video-section {
        height: 100vh;
        min-height: 640px;
    }

    .hero-video-overlay {
        background: linear-gradient(105deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.75) 100%);
    }

    .hero-video-content {
        grid-template-columns: 1.2fr 0.8fr;
        padding: 2rem;
    }

    .stats-modern {
        margin-top: -4rem;
        padding: 0 2rem 4rem;
    }

    .stat-glass-card {
        padding: 1.75rem 1.5rem;
    }

    .services-flip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .service-flip-card {
        min-height: 320px;
    }

    .booking-layout {
        grid-template-columns: 1fr 320px;
        gap: 2rem;
    }

    .booking-layout.layout-full {
        grid-template-columns: 1fr;
    }

    .barber-pick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .booking-summary {
        position: sticky;
        top: 100px;
    }

    .gallery-masonry {
        columns: 4;
        column-gap: 1rem;
        display: block;
    }

    .gallery-masonry-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }

    .app-home-cards {
        display: none !important;
    }
}

/* —— Móvil: ajustes shell app —— */
@media (max-width: 991px) {
    #cita,
    #servicios,
    #equipo,
    #galeria,
    #contacto {
        scroll-margin-top: calc(var(--app-topbar-h) + var(--app-safe-top) + 8px);
    }

    /* Hero portada móvil: ver bloque .hero-mobile-stack */

    .stats-modern {
        margin-top: -3rem;
        padding-bottom: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .booking-wizard {
        margin-top: 1.5rem;
    }

    .booking-nav-btns .btn-gold,
    .booking-nav-btns .btn-outline-gold {
        flex: 1 1 100%;
    }

    #btn-submit-booking {
        flex: 1 1 100% !important;
    }

    .site-footer {
        padding-bottom: calc(var(--app-tabbar-h) + var(--app-safe-bottom) + 1rem);
    }

    .footer-login-btn {
        width: 48px;
        height: 48px;
    }

    .cta-banner {
        background-attachment: scroll !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scrollbar-width: none;
    }

    .pricing-item {
        flex-wrap: wrap;
    }

    .pricing-dots { display: none; }

    .pricing-item-price {
        width: 100%;
        text-align: right;
        margin-top: 0.25rem;
    }
}

/* Nav pill visible solo desktop */
@media (max-width: 991px) {
    .nav-desktop-wrap {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .nav-desktop-wrap {
        display: flex !important;
    }
}

/* —— Hero móvil: portada a pantalla completa —— */
@media (max-width: 991px) {
    .hero-mobile-stack {
        display: flex;
        flex-direction: column;
        background: var(--dark);
    }

    .hero-mobile-stack .hero-video-section {
        order: 1;
        flex-shrink: 0;
        height: 100vh;
        height: 100dvh;
        min-height: 520px;
        max-height: none;
        align-items: stretch;
    }

    .hero-mobile-stack .hero-video-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.1) 42%,
            rgba(0, 0, 0, 0.55) 72%,
            rgba(0, 0, 0, 0.94) 100%
        );
    }

    .hero-mobile-stack .hero-video-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 100%;
        padding: calc(var(--app-topbar-h, 0px) + var(--app-safe-top, 0px) + 1rem) 1.5rem calc(4.5rem + env(safe-area-inset-bottom, 0px));
        gap: 0;
    }

    .hero-mobile-stack .hero-video-copy {
        width: 100%;
        max-width: 20.5rem;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transform: none;
    }

    .hero-mobile-stack .hero-video-glass {
        display: none !important;
    }

    .hero-mobile-stack .hero-video-cta {
        display: none !important;
    }

    .hero-mobile-stack .hero-app-badge {
        margin: 0 auto 0.7rem;
        padding: 0.42rem 0.95rem;
        font-size: 0.68rem;
        letter-spacing: 0.05em;
        border-radius: 999px;
    }

    .hero-mobile-stack .hero-video-content .section-label {
        display: block;
        width: 100%;
        margin: 0 0 0.45rem;
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--gold);
        text-align: center;
    }

    .hero-mobile-stack .hero-video-content h1 {
        font-size: clamp(1.35rem, 5.8vw, 1.8rem);
        font-weight: 700;
        line-height: 1.22;
        margin: 0 auto 0.65rem;
        max-width: 16.5rem;
        text-wrap: balance;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
    }

    .hero-mobile-stack .hero-video-tagline {
        margin: 0 auto;
        max-width: 18.5rem !important;
        font-size: 0.92rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
        text-wrap: balance;
        text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
    }

    .hero-mobile-stack .app-home-cards {
        order: 2;
        margin: 1rem 1rem 0;
        z-index: 20;
        position: relative;
        gap: 0.75rem;
    }

    .hero-mobile-stack .stats-modern {
        order: 3;
        margin-top: 1.25rem;
        padding: 0 1rem 2.5rem;
    }

    .hero-mobile-stack .stat-glass-card {
        padding: 1.15rem 0.85rem;
    }
}

/* Desktop: tagline y CTA en hero */
@media (min-width: 992px) {
    .hero-video-tagline {
        max-width: 520px;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-video-cta {
        margin-top: 1.5rem;
    }
}

/* —— Calendario destacado paso 1 —— */
.calendar-widget-prominent {
    border: 1px solid var(--gold-a20);
    background: var(--dark);
}

.calendar-intro {
    font-size: 0.8rem;
    color: var(--gold);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-intro i {
    margin-right: 0.35rem;
}

.booking-layout-date {
    grid-template-columns: 1fr !important;
}

@media (min-width: 992px) {
    .booking-layout-date {
        grid-template-columns: 1.4fr 0.6fr !important;
    }
}

.slots-hint {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 1rem 0;
}

/* —— Calendario reservas —— */
.cal-day-empty {
    aspect-ratio: 1;
    visibility: hidden;
    pointer-events: none;
}

.booking-wizard.has-date-selected .booking-summary-mini {
    margin-top: 0.35rem;
}

.booking-wizard.has-date-selected .booking-summary-mini .summary-row:first-child span:last-child {
    color: var(--gold);
    font-weight: 600;
}

#cita .section-desc {
    transition: opacity 0.25s ease, max-height 0.3s ease, margin 0.3s ease;
}

#cita .section-desc.is-collapsed {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.cal-day.cal-day-closed:disabled {
    opacity: 0.25;
    text-decoration: line-through;
}

.slots-error {
    color: #f87171;
}

/* —— Tarjetas servicio en wizard —— */
.service-pick-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 132px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: var(--dark);
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.service-pick-card:active {
    transform: scale(0.98);
}

.service-pick-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 6px 18px var(--gold-a15);
}

.service-pick-card.service-unavailable,
.service-pick-card[hidden] {
    display: none !important;
}

.service-pick-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.42;
}

.service-pick-card-body {
    position: relative;
    z-index: 1;
    padding: 0.55rem;
    height: 100%;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.service-pick-card-body .svc-tag {
    display: inline-block;
    font-size: 0.52rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.service-pick-card-body h4 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--white);
}

.service-pick-card-body .svc-desc {
    margin: 0.22rem 0 0;
    font-size: 0.6rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-pick-card-body .svc-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-pick-card-body .svc-duration {
    font-size: 0.58rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.service-pick-card-body .svc-duration i {
    margin-right: 0.15rem;
    color: var(--gold);
    font-size: 0.55rem;
}

.service-pick-card-body .svc-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.service-pick-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

@media (min-width: 768px) {
    .service-pick-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .barber-pick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .barber-pick-card img {
        height: 140px;
    }

    .barber-pick-card h4 {
        font-size: 0.95rem;
    }

    .barber-pick-card .bio-snippet {
        font-size: 0.75rem;
        -webkit-line-clamp: 4;
    }

    .service-pick-card {
        min-height: 168px;
    }

    .service-pick-card-body {
        min-height: 168px;
        padding: 0.85rem;
    }

    .service-pick-card-body h4 {
        font-size: 0.95rem;
    }

    .service-pick-card-body .svc-desc {
        font-size: 0.72rem;
        -webkit-line-clamp: 3;
    }
}

/* —— Paso pago wizard —— */
.booking-payment-panel {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.booking-payment-success {
    margin-bottom: 1.5rem;
}

.booking-payment-success i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 0.75rem;
}

.booking-payment-success h3 {
    font-family: var(--font-display);
    margin: 0 0 0.35rem;
}

.booking-email-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: left;
}

.booking-email-notice i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.15rem;
}

.booking-email-notice--sent {
    background: rgba(34, 120, 60, 0.14);
    border: 1px solid rgba(134, 239, 172, 0.28);
    color: #bbf7d0;
}

.booking-email-notice--sent i { color: #86efac; }

.booking-email-notice--warn {
    background: var(--gold-a10);
    border: 1px solid var(--gold-a28);
    color: rgba(255, 255, 255, 0.82);
}

.booking-email-notice--warn i { color: var(--gold); }

.payment-method-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
    .payment-method-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.35rem 1rem;
    background: var(--dark-3);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-body);
    transition: border-color 0.2s, background 0.2s;
}

.payment-method-card:hover,
.payment-method-card:focus {
    border-color: var(--gold);
    background: var(--gold-a08);
}

.payment-method-card i {
    font-size: 1.75rem;
    color: var(--gold);
}

.payment-method-card strong {
    font-size: 0.95rem;
}

.payment-method-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.wizard-stripe-wrap,
.wizard-paypal-wrap,
.wizard-transfer-wrap {
    text-align: left;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--dark);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}

.payment-method-transfer i { color: #60a5fa; }
.payment-method-card .fa-paypal { color: #0070ba; }

.transfer-details-card h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--gold-light);
}

.transfer-details-list {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.transfer-details-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.transfer-details-list dt {
    color: var(--text-muted);
    margin: 0;
}

.transfer-details-list dd {
    margin: 0;
    color: #fff;
    font-weight: 600;
    word-break: break-all;
}

.transfer-qr-wrap {
    text-align: center;
    margin: 1rem 0;
}

.transfer-qr-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.transfer-qr-image {
    max-width: 220px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--gold-a35);
    background: #fff;
    padding: 0.35rem;
}

.transfer-instructions {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
}

#paypal-button-container {
    min-height: 45px;
}

/* —— Carrusel barberos continuo —— */
.team-carousel-wrap {
    overflow: hidden;
    padding: 0.5rem 0 2rem;
}

.team-carousel-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.team-carousel-swiper .swiper-slide {
    width: 260px;
    height: auto;
}

@media (max-width: 991px) {
    #equipo.section {
        padding: 2.5rem 0 2rem;
    }

    #equipo .section-title {
        font-size: clamp(1.45rem, 5.5vw, 1.75rem);
        margin-bottom: 0.35rem;
    }

    #equipo .divider-gold {
        margin-bottom: 0.25rem;
    }

    #equipo .team-carousel-wrap {
        margin-top: 1.15rem;
        padding: 0 0 1.35rem;
    }

    .team-carousel-swiper .swiper-slide {
        width: 10.75rem;
    }

    .team-card-pro {
        border-radius: 14px;
        border-color: var(--gold-a14);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    }

    .team-card-pro img {
        height: 8.75rem;
    }

    .team-card-pro .team-body {
        padding: 0.65rem 0.55rem 0.7rem;
        text-align: center;
    }

    .team-card-pro .specialty {
        margin: 0;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--gold);
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .team-card-pro h3 {
        font-size: 0.92rem;
        margin: 0.2rem 0 0;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .team-card-pro .team-bio {
        display: none;
    }

    .team-card-pro .btn-book-barber {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.48rem 0.35rem;
        border-radius: 9px;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
        gap: 0.35rem;
    }

    .team-card-pro .btn-book-barber i {
        font-size: 0.65rem;
    }
}

@media (min-width: 768px) {
    .team-carousel-swiper .swiper-slide {
        width: 300px;
    }
}

@media (min-width: 992px) {
    .team-carousel-swiper .swiper-slide {
        width: 220px;
    }

    .team-carousel-wrap {
        padding-bottom: 1.5rem;
    }

    .team-card-pro {
        border-radius: 14px;
    }

    .team-card-pro img {
        height: 172px;
    }

    .team-card-pro .team-body {
        padding: 0.8rem 0.9rem 0.95rem;
    }

    .team-card-pro h3 {
        font-size: 1.05rem;
        margin: 0 0 0.15rem;
        line-height: 1.2;
    }

    .team-card-pro .specialty {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .team-card-pro .team-bio {
        font-size: 0.78rem;
        line-height: 1.4;
        margin: 0.25rem 0 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .team-card-pro .btn-book-barber {
        width: 100%;
        margin-top: 0.6rem;
        padding: 0.52rem 0.75rem;
        border-radius: 10px;
        font-size: 0.62rem;
        letter-spacing: 0.05em;
        gap: 0.3rem;
    }

    .team-card-pro .btn-book-barber i {
        font-size: 0.62rem;
    }
}

.team-carousel-swiper .swiper-pagination {
    display: none;
}

/* —— Contacto desktop + mapa oscuro —— */
.contact-desktop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .contact-desktop-layout {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 3rem;
        align-items: stretch;
    }

    .contact-map-col {
        min-height: 100%;
    }

    .map-container-dark {
        height: 100%;
        min-height: 420px;
        border-radius: 20px;
    }
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-a12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-list strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.contact-info-list p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
}

.contact-info-list a {
    color: inherit;
    text-decoration: none;
}

.contact-form-wrap {
    margin-top: 3rem;
    max-width: 720px;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

@media (min-width: 992px) {
    .contact-form-wrap {
        margin-left: auto;
        margin-right: auto;
    }
}

.map-container-dark {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gold-a20);
    min-height: 280px;
}

.map-container-dark iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    filter: grayscale(40%) invert(92%) hue-rotate(180deg) contrast(0.95) brightness(0.8);
}

.map-dark-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.55) 100%);
    mix-blend-mode: multiply;
}

.booking-steps-nav .booking-step-indicator span {
    font-size: 0.55rem;
}

@media (max-width: 480px) {
    .booking-steps-nav .booking-step-indicator span {
        display: none;
    }
}

/* —— Testimonios móvil: carrusel tipo app —— */
@media (max-width: 991px) {
    #testimonios.testimonials-section {
        padding: 2.35rem 0 2rem;
    }

    #testimonios .section-title {
        font-size: clamp(1.4rem, 5.5vw, 1.7rem);
        margin-bottom: 0.35rem;
    }

    #testimonios .divider-gold {
        margin-bottom: 0.35rem;
    }

    .testimonials-impact-card {
        margin: 0 auto 1.1rem;
        max-width: 18rem;
        padding: 0.75rem 0.95rem;
        border-radius: 14px;
    }

    .testimonials-impact-text {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .testimonials-impact-count {
        font-size: 1.2em;
    }

    .testimonials-carousel-wrap {
        padding: 0;
        max-width: none;
        margin: 0;
        overflow: visible;
    }

    .testimonial-slider {
        padding: 0.85rem 0 2.35rem;
        overflow: visible;
    }

    .testimonial-slider .swiper-slide {
        height: auto;
        opacity: 0.5;
        transform: scale(0.94);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .testimonial-slider .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    .testimonial-slider .swiper-slide-next,
    .testimonial-slider .swiper-slide-prev {
        opacity: 0.72;
        transform: scale(0.97);
    }

    .testimonial-quote-icon {
        display: block;
        margin-bottom: 0.35rem;
    }

    .testimonial-card {
        min-height: 0;
        padding: 0.95rem 0.9rem 1rem;
        border-radius: 16px;
        gap: 0.55rem;
        background: linear-gradient(160deg, rgba(32, 32, 32, 0.96) 0%, rgba(18, 18, 18, 0.98) 100%);
        border-color: var(--gold-a18);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    }

    .testimonial-card:hover {
        transform: none;
    }

    .testimonial-card-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 0.5rem 0.6rem;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }

    .testimonial-name {
        font-size: 0.86rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .testimonial-verified {
        font-size: 0.58rem;
        margin-top: 0.1rem;
        letter-spacing: 0.02em;
        text-transform: none;
    }

    .testimonial-verified i {
        font-size: 0.6rem;
    }

    .testimonial-card-top {
        gap: 0.12rem;
    }

    .star-rating {
        gap: 0.1rem;
    }

    .star-rating i {
        font-size: 0.62rem;
    }

    .testimonial-rating-num {
        font-size: 0.58rem;
        padding: 0.12rem 0.38rem;
    }

    .testimonial-text {
        font-size: 0.82rem;
        line-height: 1.55;
        -webkit-line-clamp: 4;
        color: rgba(255, 255, 255, 0.86);
    }

    .testimonial-slider .testimonial-nav {
        display: none;
    }

    .testimonial-slider .swiper-pagination {
        bottom: 0.35rem !important;
    }

    .testimonial-slider .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        opacity: 0.35;
    }

    .testimonial-slider .swiper-pagination-bullet-active {
        width: 18px;
        opacity: 1;
    }

    .btn-testimonial-cta {
        margin-top: 0.65rem;
        width: 100%;
        max-width: 20rem;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        border-radius: 14px;
    }

    .btn-testimonial-cta-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }
}

/* —— Modo enfoque: agendar cita —— */
.booking-welcome-overlay {
    position: relative;
    z-index: 2;
    margin: 1.5rem auto 0;
    max-width: 520px;
    padding: 0 0.5rem;
}

.booking-welcome-overlay[hidden] {
    display: none !important;
}

.booking-welcome-card {
    background: linear-gradient(165deg, rgba(26, 26, 26, 0.98), rgba(13, 13, 13, 0.98));
    border: 1px solid var(--gold-a35);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.booking-welcome-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gold-a15);
    border: 2px solid var(--gold-a40);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
}

.booking-welcome-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
}

.booking-welcome-card > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.booking-welcome-steps-mini {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.booking-welcome-steps-mini li {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
}

.booking-welcome-steps-mini i {
    color: var(--gold);
    margin-right: 0.25rem;
}

.booking-welcome-start {
    width: 100%;
    border: none;
    cursor: pointer;
}

.booking-welcome-exit-hint {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}

.booking-welcome-exit-hint i {
    color: var(--gold);
    margin-right: 0.25rem;
}

.booking-focus-guide {
    margin-bottom: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--gold-a35);
    background: linear-gradient(135deg, var(--gold-a12), rgba(26, 26, 26, 0.95));
    overflow: hidden;
    animation: bookingGuideIn 0.4s ease;
}

.booking-focus-guide[hidden] {
    display: none !important;
}

body:not(.booking-focus-active) #booking-focus-guide {
    display: none !important;
}

@keyframes bookingGuideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-focus-guide-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
}

.booking-focus-guide-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--dark);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-guide-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
    color: var(--white);
}

.booking-guide-desc {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.booking-focus-guide-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-a18);
    border: 1px solid var(--gold-a35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.booking-focus-exit-hint {
    margin: 0;
    padding: 0.65rem 1.15rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.45;
}

.booking-focus-exit-hint i {
    color: var(--gold);
    margin-right: 0.35rem;
}

.booking-focus-exit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}

.booking-focus-exit-btn:hover,
.booking-focus-exit-btn:active {
    background: var(--gold-a15);
    color: var(--gold);
}

.booking-exit-hint--mobile {
    display: none;
}

@media (max-width: 991px) {
    .booking-exit-hint--desktop {
        display: none;
    }

    .booking-exit-hint--mobile {
        display: inline;
    }
}

body.booking-focus-active {
    overflow: hidden;
}

body.booking-focus-active::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 7990;
    background: var(--dark, #0d0d0d);
    pointer-events: none;
}

body.booking-focus-active #cita.appointment-section {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8000;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5.5rem 0 2rem;
    margin: 0;
    min-height: 100dvh;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.97)),
        url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1920') center/cover;
}

body.booking-focus-active .site-header {
    z-index: 8100;
    isolation: isolate;
    pointer-events: auto;
}

body.booking-focus-active .header-inner {
    overflow: visible;
}

body.booking-focus-active .app-topbar-actions {
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.booking-focus-active .site-header .main-nav,
body.booking-focus-active .site-header .nav-more-wrap,
body.booking-focus-active .site-header .nav-cta-pill,
body.booking-focus-active .scroll-top,
body.booking-focus-active .wa-contact-widget {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

body.booking-focus-active .site-header .menu-toggle,
body.booking-focus-active [data-open-app-menu],
body.booking-focus-active .app-topbar-actions .app-topbar-btn[data-open-app-menu] {
    pointer-events: auto !important;
    opacity: 1 !important;
}

body.booking-focus-active .app-tabbar {
    z-index: 8200;
    pointer-events: auto !important;
    opacity: 1 !important;
}

body.booking-focus-active .app-sheet,
body.booking-focus-active .app-sheet-backdrop {
    pointer-events: none !important;
    opacity: 0;
}

body.booking-focus-active.app-menu-open .app-sheet.open,
body.booking-focus-active.app-menu-open .app-sheet-backdrop.open {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9000 !important;
}

body.booking-focus-active .app-topbar-actions .app-topbar-btn:not([data-open-app-menu]) {
    pointer-events: none !important;
    opacity: 0.25;
}

body.booking-focus-active .mobile-nav {
    pointer-events: none !important;
    opacity: 0.25;
}

body.booking-focus-active .booking-wizard {
    margin-top: 0;
}

body.booking-focus-active #cita .section-label,
body.booking-focus-active #cita .section-title,
body.booking-focus-active #cita .booking-section-divider,
body.booking-focus-active #cita > .container > .section-desc {
    display: none;
}

body.booking-focus-active #cita > .container {
    padding-top: 0;
}

body.booking-focus-active #cita [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 991px) {
    body.booking-focus-active #cita.appointment-section {
        top: calc(var(--app-topbar-h, 56px) + var(--app-safe-top, 0px));
        bottom: calc(var(--app-tabbar-h, 64px) + var(--app-safe-bottom, 0px));
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    body.booking-focus-active .booking-summary-hint {
        display: none;
    }

    body.booking-focus-active #cita > .container {
        flex: 1 1 0%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        max-width: 100%;
        width: 100%;
        height: 100%;
        padding: 0.35rem 0.75rem 0;
        box-sizing: border-box;
        text-align: left;
    }

    body.booking-focus-active .booking-wizard {
        flex: 1 1 0%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        margin-top: 0;
        max-width: none;
        width: 100%;
        padding-bottom: calc(var(--booking-mobile-footer-h, 56px) + 0.75rem);
    }

    body.booking-focus-active #booking-welcome-overlay {
        display: none !important;
    }

    body.booking-focus-active #booking-focus-guide {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Con guía visible (pasos 1 y 4): ocultar círculos duplicados */
    body.booking-focus-active:not(.booking-step-picker) .booking-steps-nav {
        display: none;
    }

    body.booking-focus-active.booking-step-picker .booking-steps-nav {
        flex-shrink: 0;
        margin-bottom: 0.35rem;
    }

    /* Contenido del paso: fluye dentro del scroll del wizard */
    body.booking-focus-active .booking-panels-stage {
        flex: 0 0 auto;
        min-height: 0;
        overflow: visible;
        position: relative;
        width: 100%;
        padding-bottom: 0;
    }

    body.booking-focus-active .booking-nav-btns {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--app-tabbar-h, 64px) + var(--app-safe-bottom, 0px));
        z-index: 8060;
        padding: 0.4rem max(1rem, env(safe-area-inset-left, 0px)) 0.45rem max(1rem, env(safe-area-inset-right, 0px));
        background: rgba(13, 13, 13, 0.98);
        border-top: 1px solid var(--gold-a28);
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
        box-sizing: border-box;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.45rem;
        margin: 0;
    }

    body.booking-focus-active .booking-panel {
        display: none;
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        overflow: visible;
    }

    body.booking-focus-active .booking-panel.active {
        display: block;
        animation: none;
    }

    body.booking-focus-active .booking-panel.active > .booking-layout,
    body.booking-focus-active .booking-panel.active > .booking-payment-panel {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr !important;
        box-sizing: border-box;
        overflow: visible;
        min-height: auto;
        padding-bottom: 80px !important;
    }

    body.booking-focus-active .barber-pick-grid,
    body.booking-focus-active .service-pick-grid.service-pick-cards {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.booking-focus-active #booking-wizard-msg {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--app-tabbar-h, 64px) + var(--app-safe-bottom, 0px) + 56px);
        z-index: 8059;
        padding: 0 1rem;
        margin: 0;
        font-size: 0.78rem;
        text-align: center;
    }

    body.booking-focus-active .booking-nav-btns .btn-gold,
    body.booking-focus-active .booking-nav-btns .btn-outline-gold,
    body.booking-focus-active .booking-nav-btns #btn-submit-booking {
        flex: 1 1 0 !important;
        min-width: 0;
        min-height: 44px !important;
        max-height: 44px;
        padding: 0.55rem 0.65rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
        margin-top: 0 !important;
    }

    /* Guía compacta integrada al flujo */
    body.booking-focus-active .booking-focus-guide {
        margin-bottom: 0.5rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    body.booking-focus-active .booking-focus-guide-main {
        grid-template-columns: auto 1fr;
        gap: 0.55rem;
        padding: 0.55rem 0.7rem;
        align-items: center;
    }

    body.booking-focus-active .booking-focus-guide-icon {
        display: none;
    }

    body.booking-focus-active .booking-focus-guide-step-badge {
        width: 36px;
        height: 36px;
        font-size: 0.65rem;
        border-radius: 8px;
    }

    body.booking-focus-active .booking-guide-title {
        font-size: 0.82rem;
        margin: 0 0 0.15rem;
        line-height: 1.25;
    }

    body.booking-focus-active .booking-guide-desc {
        font-size: 0.7rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.booking-focus-active .booking-focus-exit-hint {
        display: none !important;
    }

    body.booking-focus-active .booking-focus-exit-btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.62rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.25);
    }

    /* Pasos compactos: solo números */
    body.booking-focus-active .booking-step-indicator {
        min-width: 0;
    }

    body.booking-focus-active .booking-step-indicator span {
        display: none;
    }

    body.booking-focus-active .booking-step-indicator .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
        margin-bottom: 0;
    }

    body.booking-focus-active .booking-steps-nav::before {
        top: 13px;
        left: 10%;
        right: 10%;
    }

    /* Calendario más compacto */
    body.booking-focus-active .calendar-widget,
    body.booking-focus-active .calendar-widget-prominent {
        padding: 0.55rem;
    }

    body.booking-focus-active .calendar-intro {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }

    body.booking-focus-active .calendar-header {
        margin-bottom: 0.4rem;
    }

    body.booking-focus-active .calendar-header button {
        width: 30px;
        height: 30px;
    }

    body.booking-focus-active .calendar-grid {
        gap: 0.15rem;
    }

    body.booking-focus-active .cal-day {
        font-size: 0.7rem;
        border-radius: 6px;
        aspect-ratio: 1;
    }

    body.booking-focus-active .cal-dow {
        font-size: 0.55rem;
        padding: 0.1rem;
    }

    body.booking-focus-active .booking-layout,
    body.booking-focus-active .booking-layout-date {
        padding: 0.65rem !important;
        gap: 0.65rem !important;
    }

    body.booking-focus-active .booking-layout.layout-full {
        padding: 0 !important;
        gap: 0.5rem !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }

    body.booking-focus-active .booking-pick-intro {
        margin: 0 0 0.35rem;
        font-size: 0.62rem;
    }

    body.booking-focus-active .service-pick-hint {
        margin: 0 0 0.35rem;
        font-size: 0.6rem;
    }

    body.booking-focus-active .barber-pick-grid,
    body.booking-focus-active .service-pick-grid.service-pick-cards {
        gap: 0.45rem;
    }

    body.booking-focus-active .barber-pick-card img {
        height: 82px;
    }

    body.booking-focus-active .barber-pick-card .barber-meta {
        padding: 0.45rem 0.5rem 0.5rem;
    }

    body.booking-focus-active .service-pick-card,
    body.booking-focus-active .service-pick-card-body {
        min-height: 124px;
    }

    body.booking-focus-active #booking-wizard-msg,
    body.booking-focus-active .booking-steps-nav,
    body.booking-focus-active #booking-focus-guide {
        flex-shrink: 0;
    }
}

/* Pasos barbero/servicio: tarjetas legibles a ancho completo */
@media (max-width: 991px) {
    body.booking-focus-active.booking-step-picker #booking-focus-guide {
        display: none !important;
    }

    body.booking-focus-active.booking-step-picker .booking-steps-nav {
        margin-bottom: 0.2rem;
    }

    body.booking-focus-active.booking-step-picker .booking-step-indicator .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    body.booking-focus-active.booking-step-picker .booking-steps-nav::before {
        top: 12px;
    }

    body.booking-focus-active.booking-step-picker .booking-pick-intro {
        margin: 0 0 0.35rem;
        font-size: 0.65rem;
        text-align: left;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-grid,
    body.booking-focus-active.booking-step-picker .service-pick-grid.service-pick-cards {
        gap: 0.5rem;
        align-content: start;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card {
        border-radius: 12px;
        min-width: 0;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card img {
        height: 78px;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card .barber-meta {
        padding: 0.45rem 0.5rem 0.55rem;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card h4 {
        font-size: 0.76rem;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card .specialty {
        font-size: 0.52rem;
        margin-top: 0.15rem;
    }

    body.booking-focus-active.booking-step-picker .barber-pick-card .bio-snippet {
        font-size: 0.58rem;
        margin-top: 0.22rem;
        -webkit-line-clamp: 2;
        line-height: 1.32;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card,
    body.booking-focus-active.booking-step-picker .service-pick-card-body {
        min-height: 118px;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card-body {
        padding: 0.5rem;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card-body h4 {
        font-size: 0.76rem;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card-body .svc-desc {
        font-size: 0.58rem;
        -webkit-line-clamp: 2;
        margin-top: 0.18rem;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card-body .svc-meta-row {
        margin-top: 0.28rem;
        padding-top: 0.22rem;
    }

    body.booking-focus-active.booking-step-picker .service-pick-card-body .svc-price {
        font-size: 0.78rem;
    }
}

@media (max-width: 380px) {
    .site-logo {
        font-size: 0.82rem;
    }

    .app-topbar-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 1rem;
    }

    .app-tabbar-item span {
        font-size: 0.52rem;
    }
}

@media (min-width: 992px) {
    body.booking-focus-active #cita.appointment-section {
        padding-top: 6rem;
    }
}

/* Diálogos y avisos por encima del modo reserva (z-index 8000+) */
body.landing-page .confirm-backdrop {
    z-index: 10000;
}

body.landing-page .ui-toast-container {
    z-index: 10050;
}
