:root {
  --bg: #f4f1eb;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #121110;
  --ink-2: #3a3733;
  --muted: #77716a;
  --line: #e2ddd3;
  --line-2: #d3cdc1;
  --accent: #121110;
  --gold: #a8854f;
  --ok: #2f6b4f;
  --ok-bg: #e7f0ea;
  --warn: #8a5a12;
  --warn-bg: #f7eedd;
  --bad: #9b2c2c;
  --bad-bg: #f6e4e2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 17, 16, .04), 0 12px 32px -12px rgba(18, 17, 16, .12);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 17, 16, .96);
  backdrop-filter: blur(10px);
  color: #f4f1eb;
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-family: var(--sans); font-weight: 600; letter-spacing: .32em; font-size: 15px; text-decoration: none; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 13.5px; opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav .btn { opacity: 1; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-size: 14px; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: transform .15s, background .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 88px 0 96px; overflow: hidden; position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8.4vw, 112px);
  line-height: .95; letter-spacing: -.02em; margin: 18px 0 26px; max-width: 12ch;
}
.hero h1 em { color: var(--gold); }
.hero p { max-width: 46ch; font-size: 17px; color: #c9c3b8; margin: 0 0 34px; }
.hero .grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: linear-gradient(to right, #fff 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--muted); }

/* Sections */
section.block { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2, h2.display { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 54px); line-height: 1; margin: 10px 0 0; letter-spacing: -.01em; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; line-height: 1.05; }
.card .tagline { color: var(--muted); margin: 0; font-size: 14px; }
.card .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.price-from { font-size: 13px; color: var(--muted); }
.price-from b { color: var(--ink); font-size: 18px; font-weight: 600; }
.arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, color .2s; }
.card:hover .arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Placeholder art for services without photos */
.placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px;
  color: rgba(251, 250, 247, .92);
}
.placeholder .num { font-family: var(--serif); font-size: 84px; line-height: .8; }
.placeholder .cat { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.ph-0 { background: radial-gradient(120% 90% at 80% 0%, #6f6556 0%, #2b2621 55%, #151311 100%); }
.ph-1 { background: radial-gradient(120% 90% at 10% 10%, #8c7a5c 0%, #3b3227 55%, #17140f 100%); }
.ph-2 { background: radial-gradient(120% 90% at 70% 100%, #5d6660 0%, #262b28 55%, #121412 100%); }
.ph-3 { background: radial-gradient(120% 90% at 30% 90%, #6b5a5a 0%, #2c2424 55%, #141010 100%); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 28px 24px 8px 0; }
.step .n { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.step h4 { margin: 14px 0 6px; font-size: 16px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14px; max-width: 32ch; }

/* Footer */
.site-footer { background: var(--ink); color: #bdb7ac; padding: 56px 0 40px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h5 { color: var(--paper); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .bottom { border-top: 1px solid #2c2a27; margin-top: 40px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ───────── Booking page ───────── */
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 0; }
.crumbs a { text-decoration: none; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; padding: 24px 0 96px; align-items: start; }
@media (max-width: 980px) { .book-layout { grid-template-columns: 1fr; gap: 28px; } }

.svc-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: .95; margin: 14px 0 10px; letter-spacing: -.02em; }
.svc-tagline { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; }
.gallery { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 10; background: #222; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.facts div { background: var(--paper); padding: 16px 18px; flex: 1 1 130px; }
.facts small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts b { font-weight: 600; font-size: 16px; }
.desc { font-size: 16px; color: var(--ink-2); max-width: 62ch; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.features li { padding-left: 22px; position: relative; font-size: 14.5px; }
.features li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--gold); }
.hours-table { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-2); }
.hours-table tr.today td { font-weight: 600; }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.panel-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel-head .from { font-size: 13px; color: var(--muted); }
.panel-head .from b { font-size: 24px; color: var(--ink); font-weight: 600; }
.panel-head .tz { font-size: 11.5px; color: var(--muted); text-align: right; }
.panel-sec { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-sec:last-child { border-bottom: 0; }
.sec-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.sec-label .step-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 0; margin-right: 8px; }

/* Date range summary */
.range { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; }
.range button { background: var(--paper); border: 0; text-align: left; padding: 10px 14px; cursor: pointer; }
.range button + button { border-left: 1px solid var(--line-2); }
.range button.active { background: var(--surface); box-shadow: inset 0 -2px 0 var(--ink); }
.range small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.range span { font-weight: 500; font-size: 14.5px; }
.range span.empty { color: var(--muted); font-weight: 400; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-weight: 600; font-size: 15px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { text-align: center; font-size: 11px; color: var(--muted); padding: 6px 0; font-weight: 500; }
.cal-day {
  position: relative; aspect-ratio: 1; border: 0; background: none; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-variant-numeric: tabular-nums; transition: background .15s;
}
.cal-day:hover:not(:disabled) { background: var(--bg); }
.cal-day:disabled { color: #c4beb4; cursor: default; }
.cal-day.closed:disabled, .cal-day.full:disabled { text-decoration: line-through; }
.cal-day.few::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal-day.today { font-weight: 700; }
.cal-day.in-range { background: var(--bg); border-radius: 0; }
.cal-day.sel { background: var(--ink) !important; color: var(--paper); border-radius: 10px; }
.cal-legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* Hours stepper */
.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; width: max-content; }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--paper); cursor: pointer; font-size: 20px; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper input { width: 70px; height: 46px; border: 0; text-align: center; font-size: 18px; font-weight: 600; background: var(--surface); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hours-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hint { font-size: 12.5px; color: var(--muted); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13px;
  cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.times .chip { padding: 10px 6px; text-align: center; border-radius: 10px; }
.times .chip small { display: block; font-size: 10.5px; opacity: .6; }
.empty-state { font-size: 13.5px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px; }
.empty-state.bad { color: var(--bad); background: var(--bad-bg); border-color: #e9c9c5; border-style: solid; }

/* Extras */
.extra { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.extra:first-child { border-top: 0; padding-top: 0; }
.extra input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.extra .txt { flex: 1; }
.extra .txt b { font-weight: 500; font-size: 14.5px; display: block; }
.extra .txt small { color: var(--muted); font-size: 12.5px; }
.extra .pr { font-size: 13.5px; white-space: nowrap; text-align: right; }
.extra select { margin-top: 6px; border: 1px solid var(--line-2); border-radius: 8px; padding: 3px 6px; background: var(--surface); }

/* Summary */
.summary { background: var(--paper); }
.lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: 13.5px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--ink-2); }
.lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); padding-top: 12px; margin-bottom: 16px; }
.total-row b { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.deposit-note { font-size: 12.5px; color: var(--muted); margin: -8px 0 14px; }
.when { font-size: 13.5px; margin-bottom: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 13px; background: var(--surface); outline: none; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 17, 16, .08); }
.field textarea { min-height: 80px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin: 6px 0 16px; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.terms-box { font-size: 12.5px; color: var(--muted); background: var(--paper); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; max-height: 120px; overflow: auto; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 12px; }
.alert.bad { background: var(--bad-bg); color: var(--bad); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 13px; color: var(--muted); }

/* Confirmation */
.confirm-wrap { max-width: 720px; margin: 0 auto; padding: 56px 0 96px; }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.ticket-top { background: var(--ink); color: var(--paper); padding: 34px 32px; }
.ticket-top h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 56px); margin: 12px 0 6px; line-height: 1; }
.ticket-top p { color: #c9c3b8; margin: 0; }
.ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; font-size: 15px; background: rgba(255, 255, 255, .08); padding: 6px 10px; border-radius: 8px; display: inline-block; margin-top: 18px; }
.ticket-body { padding: 26px 32px 30px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; font-size: 14.5px; margin: 0 0 20px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } .ticket-body, .ticket-top { padding-left: 20px; padding-right: 20px; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; text-transform: capitalize; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.pending { background: var(--warn-bg); color: var(--warn); }
.badge.confirmed, .badge.completed { background: var(--ok-bg); color: var(--ok); }
.badge.cancelled, .badge.no_show, .badge.expired { background: var(--bad-bg); color: var(--bad); }
.badge.blocked { background: #e8e6e2; color: #555; }

.skeleton { background: linear-gradient(90deg, #ece8e1 25%, #f4f1eb 50%, #ece8e1 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.fade-in { animation: fi .35s ease both; }
@keyframes fi { from { opacity: 0; transform: translateY(6px); } }
.hidden { display: none !important; }
