:root {
    --primary-color: #d4af37;
    /* Gold */
    --primary-color-hover: #b5952f;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-card-alt: #252525;
    /* Slightly lighter for contrast */
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --success: #4caf50;
    --error: #f44336;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Remove blue highlight on touch */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base size */
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 15%, #222222 0%, #121212 70%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    /* Optional: Slight rounding */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 20px;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta,
.hero-cta,
.cta-button {
    background-color: var(--primary-color);
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    min-height: 44px;
    /* Touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-cta:hover,
.hero-cta:hover,
.cta-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.nav-cta:active,
.hero-cta:active,
.cta-button:active {
    transform: translateY(0);
}


/* =========================================
   Responsive Design
   ========================================= */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    }

    .section {
        padding: 50px 0;
    }

    .section-header-center h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .booking-container {
        padding-bottom: 80px;
        /* Space for bottom interaction if needed */
    }

    /* Keep booking inputs readable */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 14px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .date-picker-container,
    .summary-card,
    .barber-card {
        padding: 20px 16px;
    }

    .calendar-container {
        padding: 12px 8px;
    }

    /* Booking App Contenedor & Header Responsive */
    .booking-container {
        padding: 18px 12px 60px;
    }

    .booking-header-inner {
        padding: 10px 14px;
    }

    .booking-header-title {
        font-size: 0.88rem;
        letter-spacing: 0.5px;
    }

    .booking-header-logo {
        height: 26px;
    }

    .back-home-btn {
        padding: 6px 10px;
        font-size: 0.76rem;
    }

    .booking-header-placeholder {
        display: none;
    }

    .booking-progress {
        padding: 6px 14px 10px;
    }

    .progress-step {
        font-size: 0.58rem;
        white-space: nowrap;
        letter-spacing: 0;
    }

    .step-title {
        font-size: 1.22rem;
    }

    .step-intro {
        gap: 10px;
    }

    .step-intro .back-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .card-location-badge {
        border-radius: 8px;
        line-height: 1.3;
        font-size: 0.74rem;
        max-width: 100%;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: #121212;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.55) 0%,
        rgba(18, 18, 18, 0.72) 50%,
        rgba(18, 18, 18, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 15px 30px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 80px 0;
}

.section.dark-alt {
    background-color: #0d0d0d;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header-center h2 {
    color: white;
    margin-bottom: 10px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-gray);
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* =========================================
   Services
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Grilla de servicios: auto-fit dinámico para 7 servicios */
.services-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card.service-card-vip {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.07) 0%, var(--bg-card) 60%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 175, 55, 0.08);
}

.service-card.service-card-vip:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 32px -6px rgba(212, 175, 55, 0.35), 0 0 25px rgba(212, 175, 55, 0.18);
}

.service-card.service-card-vip .service-icon {
    background-color: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease,
                box-shadow 0.3s ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    background-color: var(--bg-card-alt);
    box-shadow: 0 14px 32px -6px rgba(212, 175, 55, 0.22), 0 0 15px rgba(212, 175, 55, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.service-icon span {
    font-size: 36px;
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--text-light);
}

.service-card p,
.service-card .service-card-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 8px;
}

.service-card .service-desc-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 6px;
}

.service-card .service-desc-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
}

.service-card .service-desc-list li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.service-card .service-desc-items {
    display: block;
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* =========================================
   Banner Precio Promo (dentro del calendario)
   ========================================= */
.promo-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.promo-banner .promo-icon {
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
    line-height: 1;
}

.promo-banner .promo-text strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.promo-schedule {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* =========================================
   Gallery
   ========================================= */
.gallery-grid {
    display: grid;
    /* Columns handled in media query */
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.gallery-item video.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.gallery-video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--color-gold, #c5a059);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.gallery-video-badge span {
    font-size: 19px;
}

.gallery-item:hover .gallery-video-badge {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.9);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s;
}

.gallery-item .overlay p {
    color: white;
    font-weight: bold;
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* On mobile, maybe always show overlay text slightly? No, stick to clean image. */

/* =========================================
   Team
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}

.team-card {
    text-align: center;
    background-color: var(--bg-card);
    padding: 22px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease,
                box-shadow 0.3s ease;
    cursor: default;
}

.team-card:hover {
    background-color: var(--bg-card-alt);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.15);
}

.team-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 16px;
    border: 2.5px solid var(--primary-color);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.team-card h3 {
    color: var(--primary-color);
    margin-bottom: 3px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.team-card p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.3;
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .team-card {
        padding: 14px 8px;
        border-radius: 10px;
    }

    .team-img {
        width: 82px;
        height: 82px;
        margin: 0 auto 8px;
        border-width: 2px;
    }

    .team-card h3 {
        font-size: 0.98rem;
    }

    .team-card p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .team-grid {
        gap: 8px;
    }

    .team-img {
        width: 72px;
        height: 72px;
    }

    .team-card h3 {
        font-size: 0.9rem;
    }

    .team-card p {
        font-size: 0.7rem;
    }
}

/* =========================================
   Locations / Contact
   ========================================= */
.locations-grid {
    display: grid;
    gap: 30px;
    /* Columns handled in media queries */
}

.location-card {
    background-color: var(--bg-card-alt);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.location-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.location-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.location-info p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 15px;
}

.cta-button.small {
    margin-top: auto;
    width: 100%;
    /* Full width on cards looks better */
    padding: 12px;
}

/* =========================================
   Footer — Estilo Forjado
   ========================================= */
.site-footer {
    background: #0a0a0a;
    background-image: radial-gradient(circle at 50% 0%, #1c1c1c 0%, #0a0a0a 70%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 70px 0 30px;
    color: var(--text-gray);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Ocultar columna de sucursales en mobile — la info ya está en la sección Ubicaciones */
    .footer-grid .footer-branches-col {
        display: none;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.footer-slogan {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 340px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-branch-item {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    transition: border-color 0.25s, transform 0.25s;
}

.footer-branch-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(4px);
}

.footer-branch-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.footer-branch-header .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-color);
}

.footer-branch-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 4px;
    margin-left: 24px;
}

.footer-hours {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-left: 24px;
    font-weight: 500;
}

.footer-action-desc {
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    color: #121212;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 24px;
    width: 100%;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.footer-cta-btn .material-symbols-outlined {
    font-size: 20px;
}

.footer-social-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text-gray);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.social-badge:hover {
    color: #fff;
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.social-badge svg {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
}

.footer-bottom-badge {
    color: rgba(212, 175, 55, 0.7);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* =========================================
   Booking App — Contenedor Principal
   ========================================= */
#booking-app {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 12%, #222222 0%, #121212 75%);
    background-attachment: fixed;
    z-index: 2000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
    padding-bottom: max(30px, env(safe-area-inset-bottom));
}

.booking-container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

/* =========================================
   Booking App Header & Progress
   ========================================= */
.booking-header {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 2px solid var(--primary-color);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.booking-header-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.booking-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-header-logo {
    height: 36px;
    width: auto;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.booking-header-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}

.booking-header-placeholder {
    /* Contrabalance invisible para centrar el brand */
    width: 90px;
    flex-shrink: 0;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 14px;
    border-radius: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.back-home-btn .material-symbols-outlined {
    font-size: 16px;
}

.back-home-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.08);
}

/* Progress Bar */
.booking-progress {
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 20px 14px;
}

.progress-track {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color-hover), var(--primary-color));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.progress-step.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* =========================================
   Step Intro (título + descripción de cada paso)
   ========================================= */
.step-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-top: 8px;
}

/* En mobile: step-branch (sin back-btn) apila título y desc verticalmente */
#step-branch .step-intro {
    flex-direction: column;
    gap: 6px;
}

.step-intro .back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-gray);
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.2s;
}

.step-intro .back-btn .material-symbols-outlined {
    font-size: 15px;
}

.step-intro .back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.step-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Cards de sucursal / barbero: badge de dirección */
.card-sub {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px !important;
}

.card-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 4px 10px;
    margin-top: 4px;
}

.card-location-badge .material-symbols-outlined {
    font-size: 13px;
}

/* Label del selector de fecha */
.date-picker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.date-picker-label .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-color);
}

/* =========================================
   Summary Card Rediseñada
   ========================================= */
.summary-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 12px;
}

.summary-title .material-symbols-outlined {
    font-size: 18px;
}

.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.summary-icon {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 1px;
    flex-shrink: 0;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.summary-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-heading);
}

/* =========================================
   Formulario de Reserva
   ========================================= */
.booking-form-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
}

label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

label .material-symbols-outlined {
    font-size: 16px;
    color: var(--primary-color);
}

.confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 1.05rem;
}

/* =========================================
   Pantalla de Éxito
   ========================================= */
.success-message {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    border: 2px solid rgba(37, 211, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 1s ease-out both;
}

.success-icon .material-symbols-outlined {
    font-size: 40px;
    color: #25D366;
    font-variation-settings: 'FILL' 1;
}

@keyframes successPulse {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

.success-message h2 {
    color: #fff;
    font-size: 1.8rem;
}

.success-message p {
    color: var(--text-gray);
    margin-bottom: 8px;
}

/* Booking Cards */

.branch-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: center;
}

.barber-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    justify-content: center;
}

.barber-card {
    background-color: rgba(30, 30, 30, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                background-color 0.25s ease,
                box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.barber-card:hover,
.barber-card:active {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    background-color: rgba(38, 38, 38, 0.85);
    box-shadow: 0 14px 30px -6px rgba(212, 175, 55, 0.22), 0 0 15px rgba(212, 175, 55, 0.1);
}

.barber-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    margin: 0 auto 15px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.barber-card:hover .barber-icon {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.branch-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    margin: 0 auto 15px;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.barber-card:hover .branch-img {
    transform: scale(1.06);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Barber Grid Responsive: 2 columnas en mobile */
@media (max-width: 600px) {
    .barber-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .barber-grid .barber-card {
        padding: 16px 8px;
        min-height: 140px;
        border-radius: 12px;
    }

    .barber-grid .branch-img {
        width: 80px;
        height: 80px;
        border-width: 3px;
        margin: 0 auto 8px;
    }

    .barber-grid .barber-icon {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
        margin: 0 auto 8px;
    }

    .barber-grid .barber-card h3 {
        font-size: 1.05rem;
        margin: 0;
        letter-spacing: 0.5px;
    }

    .barber-grid .barber-role {
        font-size: 0.78rem;
        color: var(--text-muted);
        margin-top: 3px;
    }
}

@media (max-width: 360px) {
    .barber-grid {
        gap: 8px;
    }

    .barber-grid .barber-card {
        padding: 12px 6px;
        min-height: 125px;
    }

    .barber-grid .branch-img {
        width: 66px;
        height: 66px;
        border-width: 2px;
        margin: 0 auto 6px;
    }

    .barber-grid .barber-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        margin: 0 auto 6px;
    }

    .barber-grid .barber-card h3 {
        font-size: 0.95rem;
    }
}

/* Date Input */
/* Date Input */
.date-picker-container {
    background-color: rgba(30, 30, 30, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    /* Increased padding */
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    margin-bottom: 25px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

input[type="date"] {
    width: 100%;
    padding: 15px;
    /* Increased padding */
    background-color: #121212;
    border: 1px solid #444;
    color: white;
    font-size: 1.1rem;
    /* Increased font */
    border-radius: 6px;
    margin-top: 15px;
    appearance: none;
    /* Remove default styling */
}

/* Time Grid Mobile Friendly */
/* Time Grid Mobile Friendly */
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed col count usually better for uniform look */
    gap: 15px;
    /* Increased gap */
    max-width: 100%;
    margin-top: 25px;
}

@media (max-width: 480px) {
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .time-slot {
        padding: 12px 6px;
        font-size: 0.95rem;
    }
}

.time-slot {
    background-color: #2a2a2a;
    padding: 15px 10px;
    /* Increased padding */
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
    /* Increased font */
    border: 1px solid transparent;
}

.time-slot:hover {
    background-color: #333;
    border-color: #555;
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: black;
    font-weight: bold;
    border-color: var(--primary-color);
}

.time-slot.busy {
    background-color: #1a1a1a;
    color: #444;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
    /* Increased spacing */
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 1rem;
    /* Increased */
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 18px;
    /* Increased padding */
    background-color: rgba(30, 30, 30, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    background-color: rgba(38, 38, 38, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.summary-card {
    background: rgba(212, 175, 55, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-card p {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Utils */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.back-btn {
    background: none;
    border: 1px solid #444;
    color: var(--text-gray);
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
}

.back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


#loading-indicator {
    text-align: center;
    color: var(--primary-color);
    margin: 30px 0;
    font-weight: bold;
}

/* =========================================
   NUEVO: Pantalla de Carga Inicial
   ========================================= */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    height: 100%;
}

.loading-container h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.loading-container p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Calendar Styles */
.calendar-container {
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 15px;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#calendar-month-year {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.calendar-nav-btn {
    background: none;
    border: 1px solid #444;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background-color: #333;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: transparent;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background-color: #333;
    color: white;
}

.calendar-day.selected {
    background-color: var(--primary-color) !important;
    color: #000 !important;
    font-weight: bold;
}

.calendar-day.today {
    border: 1px solid var(--primary-color);
}

.calendar-day.disabled {
    color: #444;
    cursor: not-allowed;
    background-color: transparent;
    user-select: none;
}

.calendar-day.disabled.full {
    color: #555;
    position: relative;
    text-decoration: line-through;
    text-decoration-color: rgba(220, 53, 69, 0.4);
}

.calendar-day.disabled.franco {
    color: #383838;
}

.calendar-day.empty {
    cursor: default;
}


/* Custom Alert Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay */
    display: flex; /* Always flex to center */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Highest priority */
    backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-box {
    background-color: var(--bg-card);
    border: 2px solid var(--primary-color);
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

#custom-alert-message {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ============================================================
   BRANCH TABS — Sección Ubicaciones & Horarios
   ============================================================ */

.branch-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 32px 0 0;
    flex-wrap: wrap;
}

.branch-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    background: transparent;
    color: var(--text-gray);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branch-tab .material-symbols-outlined {
    font-size: 1.2rem;
    transition: color 0.3s;
}

.branch-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.branch-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #121212;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

/* Panel contenedor */
.branch-panel {
    display: none;
    margin-top: 36px;
    animation: fadeInPanel 0.4s ease;
}

.branch-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Grid: info (izquierda) + mapa (derecha) */
.branch-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 768px) {
    .branch-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Columna de info */
.branch-panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.branch-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.branch-info-list .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.branch-info-list strong {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.branch-info-list p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Columna del mapa */
.branch-map-col {
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.branch-map-col iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .branch-map-col {
        height: 260px;
    }
}

/* Sección de reseñas */
.reviews-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.reviews-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.reviews-title .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
    color: var(--primary-color);
}

/* Carrusel Deslizante de Reseñas */
.reviews-carousel {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.reviews-track-wrapper {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 34px rgba(212, 175, 55, 0.15);
}

.review-stars {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.review-text {
    color: #e8e8e8;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
    quotes: "“" "”";
}

.review-author {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Controles del Carrusel (Flechas + Dots) */
.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.reviews-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.reviews-nav-btn .material-symbols-outlined {
    font-size: 20px;
}

.reviews-nav-btn:hover {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.reviews-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.review-dot:hover {
    background: rgba(212, 175, 55, 0.6);
}

.review-dot.active {
    width: 24px;
    border-radius: 6px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 480px) {
    .review-card {
        padding: 22px 16px;
    }
    .review-text {
        font-size: 0.95rem;
    }
}

/* =========================================
   Step Servicio — Cards de Servicio
   ========================================= */

.step-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: -8px 0 20px;
    text-align: center;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.service-card-booking {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(30, 30, 30, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card-booking.service-booking-vip {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(30, 30, 30, 0.85) 60%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.12);
}

.service-card-booking.service-booking-vip .service-card-icon {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--color-gold, #d4af37);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.service-card-booking:hover,
.service-card-booking:focus {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.14);
}

.service-card-booking:active {
    transform: translateY(0);
}

.service-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.service-card-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-color);
    font-variation-settings: 'FILL' 1;
}

.service-card-body {
    flex: 1;
    min-width: 0;
}

.service-card-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.service-card-desc {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card-booking .service-desc-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-color);
    margin-top: 4px;
    margin-bottom: 4px;
}

.service-desc-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.service-desc-list li {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.desc-bullet {
    color: var(--primary-color);
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

.service-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.service-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.service-card-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.service-card-duration .material-symbols-outlined {
    font-size: 15px;
    color: var(--text-gray);
}

.service-card-arrow {
    flex-shrink: 0;
    color: var(--text-gray);
    align-self: center;
    transition: color 0.2s, transform 0.2s;
}

.service-card-booking:hover .service-card-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

.service-card-arrow .material-symbols-outlined {
    font-size: 22px;
}

/* Slot insuficiente: libre pero sin espacio consecutivo para el servicio */
.time-slot.insufficient {
    background-color: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
    position: relative;
}

.time-slot.insufficient::after {
    content: '⚠';
    position: absolute;
    top: -6px;
    right: -4px;
    font-size: 10px;
    color: #e6b800;
    opacity: 0.7;
}


/* Slot fuera del horario laboral del barbero (no confundir con busy=reservado) */
.time-slot.blocked {
    background-color: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    position: relative;
}

.time-slot.blocked::after {
    content: '🔒';
    position: absolute;
    top: -6px;
    right: -4px;
    font-size: 9px;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .services-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .services-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .services-grid-6 .service-card {
        padding: 20px 10px;
        border-radius: 12px;
    }

    .services-grid-6 .service-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }

    .services-grid-6 .service-icon span {
        font-size: 24px;
    }

    .services-grid-6 .service-card h3 {
        font-size: 0.98rem;
    }

    .services-grid-6 .service-desc-label {
        font-size: 0.68rem;
        margin-top: 6px;
        margin-bottom: 4px;
    }

    .services-grid-6 .service-desc-list li {
        font-size: 0.72rem;
        gap: 4px;
        line-height: 1.3;
    }

    .services-grid-6 .desc-bullet {
        font-size: 0.75rem;
    }

    .services-grid-6 .service-card-desc .service-desc-items {
        font-size: 0.74rem;
    }
}

@media (max-width: 360px) {
    .services-grid-6 {
        gap: 8px;
    }

    .services-grid-6 .service-card {
        padding: 16px 6px;
    }

    .services-grid-6 .service-card h3 {
        font-size: 0.88rem;
    }

    .services-grid-6 .service-desc-list li {
        font-size: 0.68rem;
    }
}

/* =========================================
   Scroll Reveal Animations
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays para items en grillas (Desktop y Tablet) */
@media (min-width: 601px) {
    .services-grid-6 .service-card.reveal:nth-child(1) { transition-delay: 0.05s; }
    .services-grid-6 .service-card.reveal:nth-child(2) { transition-delay: 0.15s; }
    .services-grid-6 .service-card.reveal:nth-child(3) { transition-delay: 0.25s; }
    .services-grid-6 .service-card.reveal:nth-child(4) { transition-delay: 0.35s; }
    .services-grid-6 .service-card.reveal:nth-child(5) { transition-delay: 0.45s; }
    .services-grid-6 .service-card.reveal:nth-child(6) { transition-delay: 0.55s; }
    .services-grid-6 .service-card.reveal:nth-child(7) { transition-delay: 0.65s; }

    .team-grid .team-card.reveal:nth-child(1) { transition-delay: 0.05s; }
    .team-grid .team-card.reveal:nth-child(2) { transition-delay: 0.12s; }
    .team-grid .team-card.reveal:nth-child(3) { transition-delay: 0.19s; }
    .team-grid .team-card.reveal:nth-child(4) { transition-delay: 0.26s; }
    .team-grid .team-card.reveal:nth-child(5) { transition-delay: 0.33s; }
    .team-grid .team-card.reveal:nth-child(6) { transition-delay: 0.40s; }
    .team-grid .team-card.reveal:nth-child(7) { transition-delay: 0.47s; }

    .gallery-grid .gallery-item.reveal:nth-child(odd) { transition-delay: 0.08s; }
    .gallery-grid .gallery-item.reveal:nth-child(even) { transition-delay: 0.2s; }

    .reviews-grid .review-card.reveal:nth-child(1) { transition-delay: 0.06s; }
    .reviews-grid .review-card.reveal:nth-child(2) { transition-delay: 0.18s; }
    .reviews-grid .review-card.reveal:nth-child(3) { transition-delay: 0.30s; }
}

/* Al hacer hover en un elemento ya revelado, cancelar delay para respuesta instantánea */
.reveal.active:hover {
    transition-delay: 0s !important;
}

/* Mantener efectos de hover fluidos tras el reveal */
.service-card.reveal.active:hover {
    transform: translateY(-6px);
}
.gallery-item.reveal.active:hover {
    transform: scale(1.02);
}
.team-card.reveal.active:hover {
    background-color: var(--bg-card-alt);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-6px);
}
.team-card.reveal.active:hover .team-img {
    transform: scale(1.06);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}
.review-card.reveal.active:hover {
    transform: translateY(-4px);
}

/* =========================================
   Transición entre pasos del flujo de reserva
   ========================================= */
.step-section:not(.hidden) {
    animation: stepFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Skeleton Loader — Slots Horarios
   ========================================= */
.skeleton-container {
    margin-top: 25px;
    width: 100%;
}

.skeleton-label {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.skeleton-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 100%;
}

@media (max-width: 480px) {
    .skeleton-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .skeleton-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.skeleton-slot {
    height: 56px;
    background: #1c1c1c;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-slot::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        rgba(255, 255, 255, 0.08),
        rgba(212, 175, 55, 0.1),
        transparent
    );
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   Micro-animación en Botón de Confirmación
   ========================================= */
.btn-success-animation {
    background-color: #25D366 !important;
    color: #ffffff !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none;
}

/* Accesibilidad: usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-content h1,
    .hero-content p,
    .hero-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .step-section:not(.hidden) {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .skeleton-slot::after {
        animation: none !important;
    }
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP (FAB)
   ============================================ */
#whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease;
    animation: wa-pulse 2.8s ease-in-out infinite;
}

#whatsapp-fab svg {
    width: 32px;
    height: 32px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

#whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
    animation: none;
}

#whatsapp-fab:hover svg {
    transform: rotate(-8deg);
}

/* Tooltip */
.fab-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(30, 30, 30, 0.92);
    color: #fff;
    font-size: 0.78rem;
    font-family: var(--font-body);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#whatsapp-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* Ocultar tooltip en móvil (no hay hover) */
@media (max-width: 600px) {
    #whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .fab-tooltip {
        display: none;
    }
}
