:root {
    --ink: #0a0908;
    --ink-soft: #1a1714;
    --ivory: #f7f1e6;
    --ivory-dim: rgba(247, 241, 230, 0.72);
    --gold: #f0d56a;
    --gold-bright: #fdf10b;
    --blush: #e8b4a0;
    --line: rgba(247, 241, 230, 0.12);
    --card: rgba(255, 255, 255, 0.04);
    --danger: #ff8f8f;
    --ok: #9fe870;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --radius: 18px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.booking-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--ivory);
    font-family: var(--font-body);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

html.is-touch .btn-gold,
html.is-touch .btn-ghost,
html.is-touch .booking-nav-cta,
html.is-touch .chip,
html.is-touch .service-tile,
html.is-touch .staff-tile,
html.is-touch .date-chip,
html.is-touch .slot-btn {
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(253, 241, 11, 0.2);
    touch-action: manipulation;
}

html.is-touch .service-tile:hover,
html.is-touch .btn-gold:hover,
html.is-touch .btn-ghost:hover {
    transform: none;
}

a {
    color: inherit;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.booking-noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.booking-topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: calc(0.85rem + env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 0.85rem max(1.25rem, env(safe-area-inset-left));
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}

.booking-topnav.is-scrolled {
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}

.booking-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.booking-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.booking-brand span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.booking-nav-cta {
    appearance: none;
    border: 1px solid rgba(240, 213, 106, 0.45);
    background: transparent;
    color: var(--gold);
    padding: 0.65rem 1.1rem;
    min-height: 44px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.booking-nav-cta:hover {
    background: var(--gold-bright);
    color: var(--ink);
    transform: translateY(-1px);
}

/* ——— Hero ——— */
.booking-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    display: grid;
    align-items: end;
    padding: calc(6.5rem + env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 3.5rem max(1.25rem, env(safe-area-inset-left));
    overflow: hidden;
    isolation: isolate;
}

.booking-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(240, 213, 106, 0.18), transparent 45%),
        radial-gradient(ellipse at 80% 70%, rgba(232, 180, 160, 0.12), transparent 40%),
        linear-gradient(160deg, #1a1714 0%, #0a0908 55%, #120f0c 100%);
}

.booking-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.06);
    animation: heroDrift 18s ease-in-out infinite alternate;
    filter: saturate(0.92) contrast(1.05) brightness(0.78);
}

.booking-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(253, 241, 11, 0.14), transparent 42%),
        radial-gradient(circle at 70% 80%, rgba(232, 180, 160, 0.12), transparent 35%);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.booking-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.55;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

.booking-hero-orb--a {
    width: min(42vw, 420px);
    height: min(42vw, 420px);
    top: 12%;
    left: -8%;
    background: radial-gradient(circle, rgba(253, 241, 11, 0.35), transparent 68%);
}

.booking-hero-orb--b {
    width: min(36vw, 360px);
    height: min(36vw, 360px);
    right: -6%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(232, 180, 160, 0.32), transparent 70%);
    animation-delay: -3s;
}

.booking-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 9, 8, 0.45) 0%, rgba(10, 9, 8, 0.28) 38%, rgba(10, 9, 8, 0.88) 100%),
        radial-gradient(ellipse at 50% 20%, rgba(240, 213, 106, 0.12), transparent 55%);
    pointer-events: none;
}

.booking-hero-inner {
    width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
}

.booking-hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 9vw, 5.6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    color: var(--ivory);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    animation: riseIn 0.9s ease both;
}

.booking-hero-line {
    width: 72px;
    height: 2px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    animation: riseIn 1s ease 0.1s both;
}

.booking-hero-kicker {
    margin: 0 0 1.75rem;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    color: var(--ivory-dim);
    max-width: 28ch;
    margin-inline: auto;
    line-height: 1.55;
    animation: riseIn 1s ease 0.18s both;
}

.booking-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    animation: riseIn 1s ease 0.28s both;
}

.btn-gold {
    appearance: none;
    border: none;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--ink);
    font-weight: 700;
    padding: 0.95rem 1.6rem;
    min-height: 48px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 12px 40px rgba(253, 241, 11, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(253, 241, 11, 0.32);
}

.btn-ghost {
    appearance: none;
    border: 1px solid rgba(247, 241, 230, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ivory);
    font-weight: 600;
    padding: 0.95rem 1.4rem;
    min-height: 48px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: rgba(240, 213, 106, 0.08);
}

.booking-scroll-hint {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 241, 230, 0.45);
    animation: pulseSoft 2.4s ease-in-out infinite;
}

/* ——— Studio / booking shell ——— */
.booking-studio {
    position: relative;
    z-index: 1;
    padding: 2.5rem max(1.25rem, env(safe-area-inset-right)) calc(4rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    background:
        radial-gradient(ellipse at 10% 0%, rgba(240, 213, 106, 0.08), transparent 40%),
        linear-gradient(180deg, #0a0908 0%, #120f0c 100%);
}

.booking-studio-wrap {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.booking-studio-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.booking-studio-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.booking-studio-head p {
    margin: 0;
    color: var(--ivory-dim);
}

.booking-steps {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
}

.booking-steps::-webkit-scrollbar {
    display: none;
}

.booking-step-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: rgba(247, 241, 230, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.booking-step-pill .num {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
}

.booking-step-pill.is-active {
    color: var(--ink);
    background: var(--gold-bright);
    border-color: var(--gold-bright);
}

.booking-step-pill.is-active .num {
    background: rgba(0, 0, 0, 0.12);
}

.booking-step-pill.is-done {
    color: var(--gold);
    border-color: rgba(240, 213, 106, 0.35);
}

.booking-panel {
    display: none;
    animation: panelIn 0.45s ease both;
}

.booking-panel.is-active {
    display: block;
}

.booking-layout {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        align-items: start;
    }
}

@media (min-width: 1200px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 1.5rem;
    }
}

.booking-main {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.booking-main h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
}

.booking-main .hint {
    margin: 0 0 1.25rem;
    color: var(--ivory-dim);
    font-size: 0.92rem;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chip {
    appearance: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ivory-dim);
    padding: 0.55rem 0.9rem;
    min-height: 40px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.chip.is-active,
.chip:hover {
    color: var(--ink);
    background: var(--gold);
    border-color: var(--gold);
}

.service-grid {
    display: grid;
    gap: 0.75rem;
    max-height: min(52vh, 520px);
    overflow-y: auto;
    padding-right: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-tile {
    text-align: left;
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    border-radius: var(--radius);
    padding: 1rem;
    min-height: 88px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.service-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 213, 106, 0.45);
}

.service-tile.is-selected {
    border-color: var(--gold-bright);
    background: linear-gradient(135deg, rgba(253, 241, 11, 0.12), rgba(255, 255, 255, 0.03));
}

.service-tile.is-selected::after {
    content: "✓";
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--gold-bright);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.service-tile .name {
    font-weight: 700;
    margin-bottom: 0.25rem;
    padding-right: 1.5rem;
}

.service-tile .meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.service-tile .desc {
    font-size: 0.8rem;
    color: var(--ivory-dim);
    line-height: 1.4;
}

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

.staff-tile {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    border-radius: var(--radius);
    padding: 1rem 0.75rem;
    min-height: 140px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    width: 100%;
}

.staff-tile:hover,
.staff-tile.is-selected {
    border-color: var(--gold-bright);
    background: rgba(253, 241, 11, 0.1);
}

.staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 0.65rem;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold-bright), var(--blush));
    overflow: hidden;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-tile .name {
    font-weight: 700;
    font-size: 0.92rem;
}

.staff-tile .title {
    font-size: 0.75rem;
    color: var(--ivory-dim);
    margin-top: 0.15rem;
}

.date-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.date-chip {
    flex: 0 0 auto;
    min-width: 72px;
    min-height: 84px;
    appearance: none;
    border: 1px solid var(--line);
    background: transparent;
    color: inherit;
    border-radius: 14px;
    padding: 0.7rem 0.55rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    scroll-snap-align: start;
}

.date-chip .dow {
    display: block;
    font-size: 0.7rem;
    color: var(--ivory-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.date-chip .dom {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0.15rem 0;
}

.date-chip .mon {
    display: block;
    font-size: 0.7rem;
    color: var(--ivory-dim);
}

.date-chip.is-selected {
    background: var(--gold-bright);
    color: var(--ink);
    border-color: var(--gold-bright);
}

.date-chip.is-selected .dow,
.date-chip.is-selected .mon {
    color: rgba(10, 9, 8, 0.65);
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 0.5rem;
}

.slot-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    border-radius: 12px;
    padding: 0.75rem 0.4rem;
    min-height: 48px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    width: 100%;
}

.slot-btn:hover,
.slot-btn.is-selected {
    background: var(--gold-bright);
    color: var(--ink);
    border-color: var(--gold-bright);
}

.slot-empty,
.slot-loading {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--ivory-dim);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.details-form {
    display: grid;
    gap: 0.85rem;
}

.details-form .row-2 {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 560px) {
    .details-form .row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ivory-dim);
    margin-bottom: 0.4rem;
}

.field input,
.field textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
    color: var(--ivory);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    min-height: 48px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(240, 213, 106, 0.15);
}

.field .iti {
    width: 100%;
    display: block;
}
.field .iti input {
    padding-left: 96px;
}
.field .iti__selected-flag {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px 0 0 12px;
}
.field .iti__country-list {
    z-index: 80;
    background: #1a1714;
    color: #f7f1e6;
    border: 1px solid var(--line);
}

.field textarea {
    min-height: 96px;
    resize: vertical;
}

.field .error {
    color: var(--danger);
    font-size: 0.78rem;
    margin-top: 0.35rem;
    display: none;
}

.field.has-error input,
.field.has-error textarea {
    border-color: var(--danger);
}

.field.has-error .error {
    display: block;
}

.booking-aside {
    position: sticky;
    top: 5.5rem;
}

.summary-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.summary-card h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.summary-lines {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.summary-line span:first-child {
    color: var(--ivory-dim);
}

.summary-line strong {
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    margin-bottom: 1rem;
}

.summary-total span {
    color: var(--ivory-dim);
    font-size: 0.85rem;
}

.summary-total strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-bright);
}

.panel-nav {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
}

.panel-nav .btn-gold,
.panel-nav .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 48px;
}

.btn-gold:disabled,
.btn-ghost:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alert-inline {
    display: none;
    margin-top: 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 143, 143, 0.12);
    border: 1px solid rgba(255, 143, 143, 0.35);
    color: #ffc9c9;
    font-size: 0.88rem;
}

.alert-inline.is-visible {
    display: block;
}

/* Success */
.success-panel {
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.success-burst {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--blush));
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--ink);
    animation: popIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
    box-shadow: 0 16px 40px rgba(253, 241, 11, 0.3);
}

.success-panel h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.6rem);
    margin: 0 0 0.5rem;
}

.success-panel p {
    color: var(--ivory-dim);
    margin: 0 auto 1.5rem;
    max-width: 36ch;
}

.success-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin: 0 auto 1.5rem;
    max-width: 420px;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.success-actions .btn-ghost,
.success-actions .btn-gold {
    min-width: 190px;
}

.booking-footer {
    text-align: center;
    padding: 1.5rem max(1rem, env(safe-area-inset-right)) calc(2.5rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    color: rgba(247, 241, 230, 0.4);
    font-size: 0.8rem;
}

.booking-photo-credit {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: rgba(247, 241, 230, 0.28);
}

@keyframes orbFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(18px, -14px, 0) scale(1.08);
    }
}

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

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

@keyframes heroDrift {
    from {
        transform: scale(1.06) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.12) translate3d(-1.5%, -1%, 0);
    }
}

@keyframes pulseSoft {
    0%,
    100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.8;
    }
}

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

/* ——— Large phones / small tablets ——— */
@media (max-width: 767.98px) {
    .booking-hero {
        align-items: center;
        padding-bottom: 2.5rem;
        text-align: center;
    }

    .booking-hero-brand {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
        line-height: 1.02;
        padding-inline: 0.25rem;
    }

    .booking-hero-kicker {
        max-width: 34ch;
        font-size: 0.98rem;
        padding-inline: 0.5rem;
    }

    .booking-hero-actions .btn-gold {
        width: min(100%, 320px);
    }

    .booking-brand span {
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .booking-nav-cta {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }

    .booking-studio {
        padding-top: 1.75rem;
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }

    .booking-studio-head {
        margin-bottom: 1.15rem;
    }

    .booking-studio-head p {
        font-size: 0.92rem;
        padding-inline: 0.35rem;
    }

    .booking-steps {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-inline: 0.25rem;
    }

    .booking-step-pill {
        padding: 0.55rem 0.8rem;
        min-height: 40px;
        font-size: 0.75rem;
    }

    .booking-main {
        padding: 1rem;
        border-radius: 16px;
    }

    .booking-main h3 {
        font-size: 1.3rem;
    }

    .booking-main .hint {
        font-size: 0.88rem;
        margin-bottom: 1rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-height: min(48vh, 420px);
    }

    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .date-chip {
        min-width: 68px;
    }

    .details-form .row-2 {
        grid-template-columns: 1fr;
    }

    .booking-aside {
        position: static;
    }

    .summary-card {
        position: sticky;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        z-index: 30;
        margin-top: 0.25rem;
        padding: 0.9rem 1rem;
        backdrop-filter: blur(14px);
        background: rgba(18, 15, 12, 0.92);
        border-color: rgba(240, 213, 106, 0.22);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    }

    .summary-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.65rem;
    }

    .summary-lines {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .summary-line {
        font-size: 0.82rem;
    }

    .summary-total {
        margin-bottom: 0;
        padding-top: 0.65rem;
    }

    .summary-total strong {
        font-size: 1.35rem;
    }

    .panel-nav {
        position: sticky;
        bottom: calc(0.35rem + env(safe-area-inset-bottom));
        z-index: 25;
        margin-top: 1rem;
        padding: 0.35rem 0;
        background: linear-gradient(180deg, transparent, rgba(10, 9, 8, 0.92) 30%);
    }

    .panel-nav .btn-gold,
    .panel-nav .btn-ghost {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .success-panel {
        padding: 1.5rem 0.75rem 1rem;
    }

    .success-actions {
        flex-direction: column;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .success-actions .btn-ghost,
    .success-actions .btn-gold {
        width: 100%;
        min-width: 0;
    }
}

/* Very small phones */
@media (max-width: 379.98px) {
    .booking-brand span {
        display: none;
    }

    .booking-hero-brand {
        font-size: 2rem;
    }

    .slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .staff-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .panel-nav {
        flex-direction: column;
    }

    .panel-nav .btn-gold,
    .panel-nav .btn-ghost {
        width: 100%;
        flex: 1 1 auto;
    }
}

/* Tablets / iPad portrait */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .booking-hero {
        align-items: center;
        padding-inline: 2rem;
    }

    .booking-hero-brand {
        font-size: clamp(3.2rem, 8vw, 4.4rem);
    }

    .booking-studio {
        padding-inline: 1.75rem;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-aside {
        position: static;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: min(46vh, 480px);
    }

    .staff-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .summary-card {
        display: grid;
        grid-template-columns: 1.4fr auto;
        gap: 1rem 1.5rem;
        align-items: center;
    }

    .summary-card h4 {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .summary-lines {
        margin-bottom: 0;
    }

    .summary-total {
        border-top: none;
        padding-top: 0;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }
}

/* iPad / compact Apple tablets even in landscape desktop UA */
html.is-ipad .booking-layout,
html.is-compact .booking-layout {
    grid-template-columns: 1fr;
}

html.is-ipad .booking-aside,
html.is-compact .booking-aside {
    position: static;
}

@media (min-width: 900px) {
    html.is-ipad .booking-layout,
    html.is-compact .booking-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    }

    html.is-ipad .booking-aside,
    html.is-compact .booking-aside {
        position: sticky;
        top: 5.5rem;
    }
}

/* Large tablets / small laptops */
@media (min-width: 1024px) and (max-width: 1199.98px) {
    .booking-studio-wrap {
        width: min(980px, 100%);
    }

    .service-grid {
        max-height: min(50vh, 520px);
    }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
    .booking-hero {
        min-height: auto;
        padding-top: calc(4.5rem + env(safe-area-inset-top));
        padding-bottom: 1.5rem;
        align-items: center;
    }

    .booking-hero-brand {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
        margin-bottom: 0.5rem;
    }

    .booking-hero-kicker {
        margin-bottom: 1rem;
    }

    .booking-scroll-hint {
        display: none;
    }

    .service-grid {
        max-height: 55vh;
    }
}

/* Touch: disable sticky hover transforms */
@media (hover: none) and (pointer: coarse) {
    .service-tile:hover,
    .btn-gold:hover,
    .btn-ghost:hover,
    .booking-nav-cta:hover {
        transform: none;
    }

    .chip:hover:not(.is-active) {
        color: var(--ivory-dim);
        background: transparent;
        border-color: var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
