:root {
    --bg: #131110;
    --bg-alt: #1a1615;
    --bg-strip: #171413;
    --bg-header: rgba(19, 17, 16, 0.86);
    --text: #f0e7db;
    --text-muted: #c9bdb0;
    --text-mutedest: #a2968a;
    --text-body: #d6cabc;
    --text-faint: #6e655c;
    --accent-green: #4ec98a;
    --accent-green-hover: #8ae5b8;
    --accent-green-strong: #0a7144;
    --accent-purple: #4a4ab0;
    --accent-purple-hover: #6a6ad0;
    --accent-purple-bg: rgba(74, 74, 176, 0.18);
    --accent-purple-border: rgba(120, 122, 220, 0.5);
    --danger-bg: #3a1414;
    --danger-text: #e8a2a2;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Jost", Helvetica, sans-serif;
    --max-w: clamp(1200px, 78vw, 1600px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    overflow-x: clip;
    max-width: 100%;
    touch-action: pan-y;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Marginea trebuie să urmeze îndeaproape înălțimea reală a .site-header (logo + padding),
   altfel titlul secțiunii/pasului rămâne acoperit de header la scroll — vezi breakpoint-urile
   lui .logo-img mai jos. */
#spatii, #preturi, #pachete, #masaje, #rezervare, #program, .panel {
    scroll-margin-top: clamp(96px, calc(19.5vw + 26px), 128px);
}

@media (min-width: 700px) and (max-width: 999px) {
    #spatii, #preturi, #pachete, #masaje, #rezervare, #program, .panel {
        scroll-margin-top: 128px;
    }
}

@media (min-width: 1000px) {
    #spatii, #preturi, #pachete, #masaje, #rezervare, #program, .panel {
        scroll-margin-top: clamp(128px, calc(9.1vw + 26px), 156px);
    }
}

/* Pe mobil/tabletă bara fixă de jos (.mobile-bar) acoperă altfel marginea de jos a pasului. */
@media (max-width: 999px) {
    .panel {
        scroll-margin-bottom: 100px;
    }
}

/* ---------- Shared layout helpers ---------- */
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(52px, 7.5vw, 88px) clamp(18px, 4vw, 24px);
}

.section-alt {
    background: var(--bg-alt);
    border-block: 1px solid rgba(240, 231, 219, 0.1);
}

.section-eyebrow {
    margin: 0 0 14px;
    font-size: 20px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-green);
}

.section-title {
    margin: 0;
    font-size: clamp(42px, 5.4vw, 66px);
    line-height: 1.1;
}

.section-title-wide {
    max-width: 26ch;
    margin-bottom: 44px;
}

.section-title-program {
    max-width: 24ch;
    margin-bottom: 44px;
}

.section-title-rezervare {
    margin-bottom: 20px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.section-header-note {
    margin: 0;
    max-width: 34ch;
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-mutedest);
}

.rezervare-intro {
    margin: 0 0 34px;
    max-width: 42ch;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-lg {
    padding: clamp(13px, 2vh, 16px) clamp(22px, 3vw, 32px);
    font-size: clamp(15px, 1.8vh, 17px);
}

.btn-primary {
    background: var(--accent-purple);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-purple-hover);
}

.btn-outline {
    color: var(--text);
    background: transparent;
}

.hero-actions .btn-outline {
    border-color: rgba(240, 231, 219, 0.35);
}

.hero-actions .btn-outline:hover {
    border-color: var(--text);
}

.pachet-cta.btn-outline {
    border-color: rgba(240, 231, 219, 0.3);
}

.pachet-cta.btn-outline:hover {
    border-color: var(--accent-green);
}

.btn-maps {
    padding: 16px 28px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg-header);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 231, 219, 0.12);
    transform: translateZ(0);
    will-change: transform;
}

/* Ascuns instant (fără tranziție) cât timp clientul e în zona #rezervare — vezi booking.js.
   Fără animație aici, intenționat: un transform/opacity animat pe acest element (sticky +
   backdrop-filter) declanșat de scroll a cauzat bug-uri reale de randare — vezi istoricul. */
.site-header.site-header-hidden {
    display: none;
}

.site-header-inner {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 8px clamp(14px, 3.5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
}

.logo-img {
    height: clamp(102px, 9.1vw, 130px);
    width: clamp(167px, 15vw, 214px);
    max-width: 100%;
    filter: brightness(1.75) saturate(1.15);
}

@media (max-width: 999px) and (min-width: 700px) {
    .logo-img {
        height: 102px;
        width: 167px;
    }
}

@media (max-width: 699px) {
    .logo-img {
        height: clamp(70px, 19.5vw, 102px);
        width: clamp(115px, 32vw, 167px);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 22px);
    flex-shrink: 0;
}

.header-cta {
    padding: clamp(16px, 2vw, 20px) clamp(24px, 3.2vw, 40px);
    border-radius: 10px;
    font-size: clamp(16px, 1.9vw, 20px);
    letter-spacing: 0.14em;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(74, 74, 176, 0.34);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    padding: 0 13px;
    background: none;
    border: 1px solid rgba(240, 231, 219, 0.28);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.nav-toggle:hover {
    border-color: var(--text);
}

.nav-toggle-bar {
    display: block;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 3.5vw, 24px);
    width: min(240px, calc(100vw - 36px));
    gap: 2px;
    padding: 12px;
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.nav-dropdown.is-open {
    display: grid;
    animation: salRise 0.25s ease both;
}

.nav-dropdown a {
    color: var(--text-muted);
    font-size: 19px;
    font-weight: 400;
    padding: 12px 14px;
    border-radius: 8px;
}

.nav-dropdown a:hover {
    color: var(--text);
    background: rgba(240, 231, 219, 0.09);
}

.nav-dropdown-phone {
    margin-top: 6px;
    padding: 12px 14px;
    border-top: 1px solid rgba(240, 231, 219, 0.14);
    border-radius: 0 !important;
    color: var(--accent-green);
}

.nav-dropdown-phone:hover {
    color: var(--accent-green-hover);
    background: none !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100svh - 134px);
    display: flex;
    align-items: flex-end;
}

@media (min-width: 1000px) {
    .hero {
        min-height: calc(100svh - clamp(72px, 8.6vw, 118px));
    }
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 13, 12, 0.94) 8%, rgba(15, 13, 12, 0.55) 55%, rgba(15, 13, 12, 0.6) 100%);
}

.hero-content {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(36px, 6vh, 96px) clamp(18px, 4vw, 24px) clamp(28px, 5vh, 60px);
    width: 100%;
    animation: salRise 0.8s ease both;
}

.hero-content .section-eyebrow {
    margin: 0 0 clamp(12px, 2vh, 22px);
    font-size: clamp(13px, 1.7vh, 17px);
}

.hero-title {
    max-width: 20ch;
    font-size: clamp(34px, min(7.4vw, 7.4vh), 92px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: clamp(20px, 4vh, 40px);
}

/* ---------- Info divider (bandă goală sub hero) ---------- */
.info-divider {
    border-bottom: 1px solid rgba(240, 231, 219, 0.1);
    background: var(--bg-strip);
}

/* ---------- Spații (room cards) ---------- */
.rooms-grid-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rooms-grid-main {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.rooms-grid-main .room-card {
    grid-column: span 2;
}

@media (min-width: 1000px) {
    .rooms-grid-main .room-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .rooms-grid-main .room-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 999px) and (min-width: 700px) {
    .rooms-grid-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rooms-grid-main .room-card {
        grid-column: auto;
    }
}

@media (max-width: 699px) {
    .rooms-grid-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .rooms-grid-main .room-card {
        grid-column: auto;
    }
}

.room-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.rooms-grid-main .room-card {
    min-height: 460px;
}

.rooms-grid-band .room-card {
    min-height: 450px;
}

.room-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 11, 10, 0.95) 12%, rgba(13, 11, 10, 0.15) 70%);
}

.room-card-body {
    position: relative;
    padding: clamp(18px, 3vw, 24px);
}

.room-card-body h3 {
    margin: 0 0 8px;
    font-weight: 400;
    font-size: 34px;
}

.room-card-body p {
    margin: 0;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-body);
    text-wrap: pretty;
}

/* ---------- Prețuri ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.price-card {
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 14px;
    padding: clamp(22px, 3.2vw, 30px);
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    margin: 0 0 4px;
    font-weight: 400;
    font-size: 34px;
}

.price-card-subtitle {
    margin: 0 0 22px;
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mutedest);
}

.price-card-featured {
    border-color: var(--accent-purple-border);
    background: var(--accent-purple-bg);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px solid rgba(240, 231, 219, 0.12);
    font-size: 20px;
    font-weight: 300;
}

.price-row-value {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--accent-green);
}

.price-includes-list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    align-content: start;
    font-size: 20px;
    font-weight: 300;
    color: var(--text-body);
    flex: 1;
}

.price-includes-list li {
    border-top: 1px solid rgba(240, 231, 219, 0.12);
    padding-top: 12px;
}

/* ---------- Masaje (card imbricat în Prețuri) ---------- */
.masaje-card {
    margin-top: 24px;
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 14px;
    padding: clamp(22px, 3.2vw, 32px);
}

.masaje-card h3 {
    margin: 0 0 10px;
    font-weight: 400;
    font-size: 34px;
}

.masaje-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 0 48px;
}

.masaj-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(240, 231, 219, 0.14);
}

.masaj-row-name {
    margin: 0 0 3px;
    font-size: 22px;
    font-weight: 400;
}

.masaj-row-length {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mutedest);
}

.masaj-row-price {
    font-family: var(--font-serif);
    font-size: 33px;
    color: var(--accent-green);
    white-space: nowrap;
}

/* ---------- Pachete ---------- */
.pachete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.pachet-card {
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 16px;
    padding: clamp(22px, 3.2vw, 32px);
    display: flex;
    flex-direction: column;
}

.pachet-card-featured {
    border-color: var(--accent-purple-border);
    background: var(--accent-purple-bg);
}

.pachet-badge {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-green);
}

.pachet-card h3 {
    margin: 0 0 6px;
    font-weight: 400;
    font-size: 35px;
}

.pachet-subtitle {
    margin: 0 0 24px;
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mutedest);
}

.pachet-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    align-content: start;
    font-size: 20px;
    font-weight: 300;
    color: var(--text-body);
    flex: 1;
}

.pachet-list li {
    border-top: 1px solid rgba(240, 231, 219, 0.12);
    padding-top: 12px;
}

.pachet-card-featured .pachet-list li {
    border-top-color: rgba(240, 231, 219, 0.14);
}

.pachet-price {
    margin: 0 0 22px;
    font-family: var(--font-serif);
    font-size: 46px;
    line-height: 1;
    color: var(--accent-green);
}

.pachet-card-featured .pachet-price {
    color: var(--text);
}

.pachet-cta {
    width: 100%;
}

/* ---------- Program și locație ---------- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.program-card {
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 14px;
    padding: clamp(24px, 3.6vw, 36px);
}

.program-card-flex {
    display: flex;
    flex-direction: column;
}

.meta-label {
    margin: 0 0 20px;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mutedest);
}

.program-line-1 {
    margin: 0 0 6px;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(34px, 3.4vw, 46px);
    line-height: 1.1;
}

.program-card-flex .program-line-1 {
    margin: 0 0 8px;
    line-height: 1.15;
}

.program-line-2 {
    margin: 0 0 26px;
    font-family: var(--font-serif);
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1;
    color: var(--accent-green);
}

.program-line-2-plain {
    margin: 0 0 26px;
    font-size: 21px;
    font-weight: 300;
    color: var(--text-muted);
}

.program-note {
    margin: 10px 0 0;
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
}

.program-note-bordered {
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(240, 231, 219, 0.14);
}

.program-phone {
    margin: 0 0 30px;
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    flex: 1;
}

.program-phone a {
    color: var(--accent-green);
}

.program-phone a:hover {
    color: var(--accent-green-hover);
}

/* ---------- Booking widget (rezervare reală — logica noastră) ---------- */
.booking-widget {
    background: var(--bg);
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-radius: 14px;
    padding: clamp(24px, 3vw, 36px);
}

.panel {
    margin-bottom: 1.5rem;
}

.panel:last-child {
    margin-bottom: 0;
}

.panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.category-block h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mutedest);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 999px) {
    .page {
        grid-template-columns: 1fr;
    }
}

.cart-panel {
    position: sticky;
    top: 90px;
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.14);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.services-panel {
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.14);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(240, 231, 219, 0.2);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    text-align: left;
    font-family: var(--font-sans);
}

.service-card:hover {
    border-color: var(--accent-green);
}

.service-card.has-qty {
    border-color: var(--accent-green);
    background: rgba(78, 201, 138, 0.1);
}

.service-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.service-name {
    font-weight: 500;
}

.service-price {
    color: var(--accent-green);
}

.service-card-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-add {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.05rem;
    border-color: var(--accent-purple);
    color: var(--accent-purple-hover);
    background: transparent;
}

.qty-add:hover {
    background: var(--accent-purple-bg);
}

/* ---------- Servicii + calendar: stil Fresha pe mobil/tabletă ---------- */
@media (max-width: 999px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .service-card {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.1rem;
        border-radius: 14px;
    }

    .service-name {
        font-size: 1.02rem;
    }

    .qty-add {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.15rem;
    }
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cart-items li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(240, 231, 219, 0.14);
}

.cart-line-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.cart-line-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid rgba(240, 231, 219, 0.2);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.qty-value {
    min-width: 1.2rem;
    text-align: center;
    font-weight: 600;
}

#cart-items button.remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #e8a2a2;
    cursor: pointer;
    font-size: 1rem;
}

.schedule-instance-label {
    font-size: 0.85rem;
    color: var(--text-mutedest);
    margin-top: 0.5rem;
}

.schedule-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.schedule-progress {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-purple-hover);
    margin: 0;
}

.schedule-back-link {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
}

.schedule-back-link:hover {
    color: var(--text);
}

.step-back-link {
    display: block;
    margin-bottom: 0.75rem;
}

.cart-total {
    font-weight: 700;
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: var(--accent-green);
}

.primary-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-purple);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.primary-btn:hover:not(:disabled) {
    background: var(--accent-purple-hover);
}

.primary-btn:disabled {
    background: rgba(240, 231, 219, 0.12);
    color: var(--text-faint);
    cursor: not-allowed;
}

.primary-btn-outline {
    background: transparent;
    border: 1px solid rgba(240, 231, 219, 0.3);
    color: var(--text);
}

.primary-btn-outline:hover {
    background: rgba(240, 231, 219, 0.08);
    border-color: var(--accent-purple-hover);
}

/* ---------- Bară fixă jos (mobil/tabletă, stil Fresha) ---------- */
.mobile-bar {
    display: none;
}

@media (max-width: 999px) {
    .mobile-bar:not([hidden]) {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.9rem clamp(16px, 4vw, 28px);
        padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
        background: var(--bg-alt);
        border-top: 1px solid rgba(240, 231, 219, 0.16);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    }

    .mobile-bar-info {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }

    .mobile-bar-total {
        font-weight: 700;
        font-size: 1.15rem;
    }

    .mobile-bar-meta {
        font-size: 0.85rem;
        color: var(--text-mutedest);
    }

    .mobile-bar-back {
        flex-shrink: 0;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 50%;
        border: 1px solid rgba(240, 231, 219, 0.2);
        background: none;
        color: var(--text);
        font-size: 1.1rem;
        cursor: pointer;
    }

    .mobile-bar-btn {
        flex-shrink: 0;
        padding: 0.85rem 1.4rem;
        background: var(--accent-purple);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-family: var(--font-sans);
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
    }

    .mobile-bar-btn:disabled {
        background: rgba(240, 231, 219, 0.12);
        color: var(--text-faint);
        cursor: not-allowed;
    }

    /* Bara fixă înlocuiește vizual butoanele native Continuă + coșul din sidebar. */
    #step-services > #btn-continue-to-schedule,
    #step-schedule > #btn-continue-to-contact,
    .cart-panel {
        display: none;
    }

    .booking-widget {
        padding-bottom: 6rem;
    }
}

label {
    display: block;
    margin-top: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"] {
    display: block;
    margin-top: 0.25rem;
    padding: 0.6rem 0.75rem;
    width: 100%;
    max-width: 320px;
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: var(--accent-green);
}

.schedule-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(240, 231, 219, 0.14);
}

.hour-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.hour-btn {
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(240, 231, 219, 0.2);
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-sans);
}

.hour-btn.selected {
    background: var(--accent-green-strong);
    color: #fff;
    border-color: var(--accent-green-strong);
}

@media (max-width: 999px) {
    .hour-options {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.6rem;
    }

    .hour-btn {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 12px;
        text-align: left;
        font-size: 0.98rem;
    }

    .hour-btn.selected {
        background: var(--bg-alt);
        color: var(--text);
        border-color: var(--accent-purple-hover);
        border-width: 2px;
    }
}

.hint {
    color: var(--text-mutedest);
    font-size: 0.9rem;
    margin-top: -0.25rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--danger-bg);
    color: var(--danger-text);
    margin-bottom: 1rem;
}

/* ---------- Progress stepper ---------- */
.stepper {
    margin-bottom: 1.5rem;
}

.stepper ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.stepper-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--text-mutedest);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(240, 231, 219, 0.14);
}

.stepper-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(240, 231, 219, 0.16);
    color: var(--text);
    font-size: 0.8rem;
}

.stepper-step.active {
    color: var(--accent-green);
    border-color: var(--accent-green-strong);
}

.stepper-step.active .stepper-num {
    background: var(--accent-green-strong);
    color: #fff;
}

.stepper-step.done {
    color: var(--text-muted);
}

.stepper-step.done .stepper-num {
    background: var(--accent-green-strong);
    color: #fff;
}

/* Pe mobil/tabletă (≤999px) etichetele + rândul cu bife nu mai încap în lățime, așa că
   trecem la cercuri numerotate unite printr-o linie, cu eticheta vizibilă doar la pasul activ. */
@media (max-width: 999px) {
    .stepper ol {
        gap: 0;
        align-items: flex-start;
    }

    .stepper-step {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.3rem;
        padding: 0.25rem 0.15rem;
        background: none;
        border: none;
        position: relative;
    }

    .stepper-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0.75rem;
        left: calc(50% + 0.9rem);
        width: calc(100% - 1.8rem);
        height: 2px;
        background: rgba(240, 231, 219, 0.16);
    }

    .stepper-step.done:not(:last-child)::after {
        background: var(--accent-green-strong);
    }

    .stepper-num {
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .stepper-label {
        display: none;
        font-size: 0.72rem;
        font-weight: 500;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stepper-step.active .stepper-label {
        display: block;
    }
}

/* ---------- Visual calendar ---------- */
#calendar-widget {
    max-width: 320px;
    margin-top: 0.5rem;
}

@media (max-width: 999px) {
    #calendar-widget {
        margin-left: auto;
        margin-right: auto;
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-header button {
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.2);
    border-radius: 6px;
    color: var(--text);
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    font-size: 1rem;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.calendar-weekdays {
    color: var(--text-mutedest);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid rgba(240, 231, 219, 0.14);
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.calendar-day:hover:not(:disabled) {
    border-color: var(--accent-green);
}

.calendar-day.selected {
    background: var(--accent-green-strong);
    color: #fff;
    border-color: var(--accent-green-strong);
}

.calendar-day.calendar-day-full {
    background: rgba(232, 162, 162, 0.1);
    color: #c98f8f;
    cursor: not-allowed;
}

.calendar-day.calendar-day-past {
    background: transparent;
    border-color: transparent;
    color: var(--text-faint);
    cursor: not-allowed;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-mutedest);
}

.legend-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    margin-right: 0.25rem;
}

.legend-free {
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.14);
}

.legend-full {
    background: rgba(232, 162, 162, 0.25);
}

/* ---------- Alege data și ora: bandă de zile + popover cu luna întreagă (stil Fresha) ---------- */
.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.schedule-header h3 {
    margin-bottom: 0;
}

.date-picker-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(240, 231, 219, 0.25);
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
}

.date-picker-toggle:hover {
    border-color: var(--accent-purple-hover);
}

.date-picker-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
}

.schedule-section-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 1.25rem 0 0.6rem;
}

.date-strip {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.date-chip {
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 4.2rem;
    padding: 0.6rem 0.4rem;
    border-radius: 14px;
    border: 1px solid rgba(240, 231, 219, 0.2);
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-sans);
}

.date-chip.is-today {
    border-color: var(--accent-purple-border);
}

.date-chip-weekday {
    font-size: 0.75rem;
    color: var(--text-mutedest);
}

.date-chip-day {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.date-chip-month {
    font-size: 0.75rem;
    color: var(--text-mutedest);
}

.date-chip.selected {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.date-chip.selected .date-chip-weekday,
.date-chip.selected .date-chip-month {
    color: rgba(255, 255, 255, 0.8);
}

.date-chip.selected .date-chip-day {
    color: #fff;
}

.date-chip.date-chip-full {
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-popover {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.calendar-popover-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.65);
}

.calendar-popover-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--bg-alt);
    border: 1px solid rgba(240, 231, 219, 0.16);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 1.1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    animation: salRise 0.2s ease both;
}

.calendar-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.calendar-popover-close {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(240, 231, 219, 0.2);
    background: var(--bg);
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

@media (min-width: 1000px) {
    /* Pe desktop rămâne calendarul complet, mereu vizibil — fără bandă/popover. */
    .schedule-header {
        justify-content: flex-start;
    }
    .date-picker-toggle,
    .date-strip,
    .schedule-section-label {
        display: none;
    }
    .calendar-popover {
        display: block !important;
        position: static;
        inset: auto;
    }
    .calendar-popover-backdrop,
    .calendar-popover-head {
        display: none;
    }
    .calendar-popover-sheet {
        position: static;
        max-height: none;
        overflow: visible;
        background: none;
        border: none;
        border-radius: 0;
        padding: 0;
        animation: none;
    }
}

/* ---------- Add-to-calendar link ---------- */
.add-to-calendar-link {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-green);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0f0d0c;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 56px) clamp(18px, 4vw, 24px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 32px;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mutedest);
}

.footer-inner p {
    margin: 0;
    line-height: 1.7;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(1.75) saturate(1.15);
}

.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-links a:hover {
    color: var(--accent-green-hover);
}

.footer-accent-link {
    color: var(--accent-green) !important;
}

.footer-legal {
    font-size: 17px;
    color: var(--text-faint);
}

.footer-legal p:first-child {
    margin-bottom: 8px;
}
