/* ==========================================================================
   Deea — site styles (landing page, booking, manage page)
   ========================================================================== */

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #16131f;
    --ink-2: #2b2638;
    --paper: #fbf7f1;
    --paper-2: #f3ede3;
    --card: #ffffff;
    --muted: #625b70;
    --line: #e6dfd2;
    --accent: #ff5a36;
    --accent-dark: #c9380f;
    --accent-soft: #ffe4da;
    --violet: #6d4aff;
    --violet-soft: #ebe5ff;
    --green: #127a52;
    --green-soft: #daf3e7;
    --amber: #8a5a00;
    --amber-soft: #fff0cc;
    --red: #b42318;
    --red-soft: #fde4e1;

    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgb(22 19 31 / .06), 0 2px 8px rgb(22 19 31 / .04);
    --shadow: 0 2px 4px rgb(22 19 31 / .04), 0 12px 32px rgb(22 19 31 / .08);
    --shadow-lg: 0 30px 60px -20px rgb(22 19 31 / .25);
    --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent);
    --header-h: 72px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6em 1em; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Buttons ---------- */

.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .78em 1.35em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 620;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--primary:hover { --btn-bg: #ff6d4d; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
.btn--ghost:hover { --btn-bg: var(--card); box-shadow: var(--shadow-sm); }
.btn--danger { --btn-bg: var(--red); --btn-fg: #fff; }
.btn--sm { padding: .5em .95em; font-size: .9rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-back { display: inline-flex; align-items: center; gap: .4em; color: var(--muted); text-decoration: none; font-weight: 550; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55em;
    margin-bottom: 1rem;
    font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent-dark);
}
.eyebrow--light { color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgb(34 197 94 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }

/* ---------- Logo ---------- */

.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.logo__mark {
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 11px;
    background: var(--ink); color: var(--paper);
    font: 800 1.15rem/1 var(--font-display); text-transform: lowercase;
}
.logo__text { font: 780 1.45rem/1 var(--font-display); letter-spacing: -.04em; }
.logo__dot { color: var(--accent); }
.logo--light { color: var(--paper); }
.logo--light .logo__mark { background: var(--accent); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 550; color: var(--ink-2); }
.site-nav a:not(.btn):hover { color: var(--accent-dark); }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 20px 20px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .site-nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 88px); }
.hero::before {
    content: ""; position: absolute; z-index: -1;
    width: 720px; height: 720px; right: -220px; top: -260px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 62%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1;
    width: 560px; height: 560px; left: -260px; bottom: -120px;
    background: radial-gradient(circle, var(--violet-soft) 0%, transparent 65%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent-soft) 62%, var(--accent-soft) 92%, transparent 92%); }
.hero__title em:last-child { color: var(--accent-dark); background: none; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 38em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.75rem; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero__ticks li { display: inline-flex; align-items: center; gap: .4em; }
.hero__ticks .icon { color: var(--green); }

/* Illustration built from HTML/CSS so it is crisp and tiny. */
.hero__art { position: relative; min-height: 480px; }
.mock { position: absolute; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid rgb(22 19 31 / .06); }
.mock--browser { inset: 34px 36px auto 0; height: 290px; overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__bar i:first-child { background: #ff8a70; }
.mock__bar span { margin-left: 10px; font-size: .72rem; color: var(--muted); background: var(--card); border-radius: 999px; padding: 3px 12px; border: 1px solid var(--line); }
.mock__body { padding: 16px; }
.mock__hero { height: 104px; border-radius: 12px; background: linear-gradient(120deg, var(--ink) 0%, #3b2f6b 55%, var(--accent) 130%); position: relative; }
.mock__hero::after { content: ""; position: absolute; left: 18px; top: 26px; width: 46%; height: 12px; border-radius: 6px; background: rgb(255 255 255 / .85); box-shadow: 0 22px 0 -2px rgb(255 255 255 / .45), 0 50px 0 0 var(--accent); }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.mock__row b { height: 52px; border-radius: 10px; background: var(--paper-2); }
.mock__row b:nth-child(2) { background: var(--accent-soft); }
.mock__row b:nth-child(3) { background: var(--violet-soft); }
.mock__lines s { display: block; height: 8px; border-radius: 4px; background: var(--paper-2); margin-bottom: 8px; }
.mock__lines .short { width: 60%; }

.mock--search { right: 0; top: 262px; width: 286px; padding: 14px; z-index: 2; animation: float 8s -2s ease-in-out infinite; }
.mock__searchbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.mock__result { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.mock__result strong { display: block; color: #1a0dab; font-size: .92rem; }
.mock__result small { color: var(--green); font-size: .72rem; }
.mock__rank { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); font: 800 1rem var(--font-display); }

.mock--photo { left: 0; bottom: 0; width: 184px; height: 140px; z-index: 1; background: linear-gradient(160deg, #ffb199 0%, #ff5a36 45%, #6d4aff 100%); border: 6px solid var(--card); animation: float 9s -4s ease-in-out infinite; }
.mock__viewfinder span { position: absolute; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .9); }
.mock__viewfinder span:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.mock__viewfinder span:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.mock__viewfinder span:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.mock__viewfinder span:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.mock__rec { position: absolute; left: 36px; top: 16px; display: flex; align-items: center; gap: 6px; font: 700 .68rem var(--font-body); color: #fff; letter-spacing: .06em; }
.mock__rec i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }

.chip {
    position: absolute; display: inline-flex; align-items: center; gap: .45em;
    padding: .5em .9em; border-radius: 999px;
    background: var(--ink); color: var(--paper);
    font-size: .82rem; font-weight: 600; white-space: nowrap;
    box-shadow: var(--shadow);
}
.chip .icon { color: var(--accent); }
.chip--a { right: 6px; top: 8px; z-index: 3; }
.chip--b { left: -18px; top: 150px; z-index: 3; background: var(--card); color: var(--ink); }
.chip--b .icon { color: var(--violet); }
.chip--c { right: 24px; bottom: 6px; z-index: 3; background: var(--accent); color: var(--ink); }
.chip--c .icon { color: var(--ink); }

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes blink { 50% { opacity: .2; } }

.marquee { margin-top: clamp(48px, 7vw, 88px); background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 700 clamp(1.1rem, 2vw, 1.5rem)/1 var(--font-display); padding-inline: 1.2em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--accent); margin-left: 2.4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__art { min-height: 430px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
    .hero__art { min-height: 400px; }
    .mock--browser { right: 0; height: 240px; }
    .mock--search { width: 218px; top: 212px; padding: 12px; }
    .mock__searchbar { font-size: .72rem; }
    .mock--photo { width: 126px; height: 100px; bottom: 20px; }
    .chip--b, .chip--c { display: none; }
    .hero__actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--paper-2); }
.section--flush { padding-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section__lead { font-size: 1.1rem; color: var(--ink-2); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service-card {
    display: flex; flex-direction: column;
    padding: 26px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 20px; }
.service-card:nth-child(3n+2) .service-card__icon { background: var(--violet-soft); color: var(--violet); }
.service-card:nth-child(3n+3) .service-card__icon { background: var(--ink); color: var(--accent); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__ask { font: 600 .95rem var(--font-display); color: var(--muted); margin-bottom: .35rem; }
.service-card__title { font-size: 1.4rem; margin-bottom: .6rem; }
.service-card__text { color: var(--ink-2); font-size: .97rem; flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: 8px; border-top: 1px dashed var(--line); }
.service-card__price { color: var(--muted); font-size: .92rem; }
.service-card__price strong { color: var(--ink); font: 750 1.2rem var(--font-display); }

/* Promo / launch pack */
.promo { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 100px); }
.promo::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; background: radial-gradient(circle, rgb(255 90 54 / .38), transparent 62%); }
.promo__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.promo__title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.promo__text { color: rgb(251 247 241 / .8); font-size: 1.1rem; max-width: 36em; }
.promo__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.promo__list li { display: flex; gap: .6em; align-items: flex-start; }
.promo__list .icon { color: var(--accent); margin-top: .25em; }
.promo__card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.promo__from { margin: 0; color: var(--muted); font-weight: 600; }
.promo__price { font: 800 clamp(3rem, 6vw, 4.2rem)/1 var(--font-display); letter-spacing: -.05em; margin: .1em 0 .4em; }
.promo__note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) {
    .promo__inner { grid-template-columns: 1fr; }
    .promo__card { transform: none; }
    .promo__list { grid-template-columns: 1fr; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step__num { display: block; font: 800 2.8rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.work-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); text-decoration: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.04); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgb(22 19 31 / .85)); }
.work-card__meta, .work-card__title { position: absolute; left: 22px; z-index: 1; }
.work-card__meta { bottom: 48px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 650; }
.work-card__title { bottom: 20px; font: 700 1.3rem var(--font-display); }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); background: linear-gradient(165deg, var(--accent) 0%, #ff8a70 35%, var(--violet) 100%); display: grid; place-items: center; overflow: hidden; }
.about__portrait::after { content: ""; position: absolute; inset: 14px; border-radius: 190px 190px 18px 18px; border: 1.5px solid rgb(255 255 255 / .5); }
.about__portrait span { font: 800 clamp(8rem, 18vw, 13rem)/1 var(--font-display); color: var(--paper); letter-spacing: -.06em; text-transform: lowercase; }
.about__points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.about__points li { display: flex; gap: 14px; }
.about__points .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--accent-dark); }
.about__points strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.about__points span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; }
    .about__portrait { max-width: 320px; }
    .about__points { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 650 1.12rem var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); font: 500 1.3rem/1 var(--font-body); transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { padding-block: clamp(48px, 7vw, 88px); }
.cta__inner { text-align: center; background: var(--accent); border-radius: clamp(24px, 4vw, 40px); padding: clamp(40px, 7vw, 80px) 24px; position: relative; overflow: hidden; }
.cta__inner::before, .cta__inner::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgb(22 19 31 / .15); }
.cta__inner::before { width: 420px; height: 420px; left: -140px; top: -200px; }
.cta__inner::after { width: 300px; height: 300px; right: -80px; bottom: -160px; }
.cta__title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 14em; margin-inline: auto; }
.cta__text { font-size: 1.1rem; max-width: 34em; margin: 0 auto 2rem; }
.cta .btn--primary { --btn-bg: var(--ink); --btn-fg: var(--paper); }

/* Footer */
.site-footer { background: var(--ink); color: rgb(251 247 241 / .78); padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__tagline { margin-top: 1rem; max-width: 28em; }
.site-footer__heading { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); font-family: var(--font-body); font-weight: 650; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__list li { display: flex; align-items: center; gap: .6em; }
.site-footer__list .icon { color: var(--accent); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgb(251 247 241 / .12); padding-block: 22px; font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */

.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.04em; }
.page-hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; }
.prose h2 { font-size: 1.45rem; margin-top: 2rem; }
.prose p { color: var(--ink-2); }

/* ---------- Alerts & badges ---------- */

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; border: 1px solid; }
.alert:focus { outline: none; }
.alert--success { background: var(--green-soft); border-color: #a6dfc4; color: #0b4d34; }
.alert--error { background: var(--red-soft); border-color: #f7b8b0; color: #7a1a12; }
.alert--warning { background: var(--amber-soft); border-color: #f5d27a; color: #5c3c00; }

.badge { display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em; border-radius: 999px; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--pending { background: var(--amber-soft); color: var(--amber); }
.badge--confirmed { background: var(--green-soft); color: var(--green); }
.badge--completed { background: var(--violet-soft); color: #4b2fd6; }
.badge--cancelled { background: var(--paper-2); color: var(--muted); }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend, .field__label { font-weight: 600; font-size: .95rem; padding: 0; }
.field label small, .field legend small { font-weight: 450; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="date"], input[type="time"], input:not([type]), select, textarea {
    width: 100%;
    padding: .75em .95em;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: #d3cabb; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field__error { color: var(--red); font-size: .88rem; font-weight: 550; margin: 0; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: flex; align-items: flex-start; gap: .65em; font-weight: 450 !important; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-dark); flex: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Booking page ---------- */

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.booking__main { display: grid; gap: 22px; }
.booking__aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) {
    .booking { grid-template-columns: 1fr; }
    .booking__aside { position: static; }
}

.panel { margin: 0; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; }
/* Float the legend so it sits inside the panel instead of on its border. */
.panel__title { float: left; width: 100%; display: flex; align-items: center; gap: .6em; font: 700 1.35rem var(--font-display); letter-spacing: -.02em; padding: 0; margin-bottom: 18px; }
.panel__title + * { clear: both; }
.panel__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .95rem; }
.panel__hint { color: var(--muted); font-size: .92rem; margin-top: -6px; }

.service-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.service-option { position: relative; cursor: pointer; }
.service-option input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.service-option__box { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.service-option:hover .service-option__box { border-color: #d3cabb; }
.service-option input:checked + .service-option__box { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.service-option input:focus-visible + .service-option__box { box-shadow: var(--focus); }
.service-option__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); }
.service-option input:checked + .service-option__box .service-option__icon { background: var(--accent); color: var(--ink); }
.service-option__text strong { display: block; font: 650 1rem/1.25 var(--font-display); }
.service-option__text small { color: var(--muted); font-size: .82rem; }

.scheduler { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 720px) { .scheduler { grid-template-columns: 1fr; } }

.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__month { font: 700 1.15rem var(--font-display); }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar__grid--dow { margin-bottom: 6px; }
.calendar__grid--dow span { text-align: center; font-size: .75rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.day {
    aspect-ratio: 1; display: grid; place-items: center;
    border: 0; border-radius: 12px; background: transparent;
    font-weight: 550; font-variant-numeric: tabular-nums; color: #b5adbf;
    position: relative;
}
.day--available { background: var(--paper-2); color: var(--ink); cursor: pointer; font-weight: 650; }
.day--available::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.day--available:hover { background: var(--accent-soft); }
.day--today { box-shadow: inset 0 0 0 1.5px var(--line); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.day[aria-pressed="true"]::after { background: var(--accent); }
.calendar.is-loading .calendar__grid:not(.calendar__grid--dow) { opacity: .4; pointer-events: none; }

.times { min-width: 0; }
.times__title { font-weight: 650; margin-bottom: 12px; min-height: 38px; display: flex; align-items: center; }
.times__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; padding: 2px; }
.slot { padding: .65em .5em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.times__empty { color: var(--muted); font-size: .95rem; }

.summary { padding: 26px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.summary__title { font-size: 1.3rem; }
.summary__list { margin: 0 0 22px; display: grid; gap: 0; }
.summary__list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgb(251 247 241 / .12); }
.summary__list dt { display: flex; align-items: center; gap: .5em; color: rgb(251 247 241 / .65); }
.summary__list dt .icon { color: var(--accent); }
.summary__list dd { margin: 0; text-align: right; font-weight: 600; }
.summary__note { font-size: .85rem; color: rgb(251 247 241 / .65); margin: 14px 0 0; text-align: center; }

/* ---------- Manage page ---------- */

.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 20px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.success-mark .icon { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.ticket { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ticket__head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 2px dashed var(--line); }
.ticket__head > div { flex: 1; }
.ticket__head strong { display: block; font: 700 1.2rem var(--font-display); }
.ticket__head span:not(.badge):not(.ticket__icon) { color: var(--muted); font-size: .9rem; }
.ticket__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); }
.ticket__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding: 24px 26px; margin: 0; }
.ticket__grid dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.ticket__grid dd { margin: 4px 0 0; font-weight: 600; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 26px 26px; }
.next-steps { margin-top: 32px; padding: 26px; border-radius: var(--radius-lg); background: var(--paper-2); }
.next-steps h2 { font-size: 1.3rem; }
.next-steps ol { padding-left: 1.2em; color: var(--ink-2); }
.next-steps li { margin-bottom: .4em; }
@media (max-width: 560px) { .ticket__grid { grid-template-columns: 1fr; } .ticket__head { flex-wrap: wrap; } }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
