@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Jost:wght@400;500;600&display=swap");

:root {
  --bg: #f7f0e6;
  --surface: #fffaf3;
  --ink: #241811;
  --muted: #5e4c40;
  --line: #e3d6c4;
  --dark: #22160f;
  --dark-2: #2f2017;
  --on-dark: #f5ebdd;
  --on-dark-muted: #cdbba6;
  --accent: #8a3a22;
  --accent-ink: #ffffff;
  --accent-hover: #6f2c18;
  --gold: #d7a35c;
  --destructive: #a3241b;
  --radius-control: 999px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", system-ui, sans-serif;
  --wrap: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 28px; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.kicker { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.dark .kicker, .hero .kicker { color: var(--gold); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.dark .lead, .hero .lead { color: var(--on-dark-muted); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.dark { background: var(--dark); color: var(--on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: var(--radius-control); font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-primary:disabled { background: #b9a596; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(245,235,221,.55); }
.btn-ghost:hover { border-color: var(--on-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(34,22,15,.94); backdrop-filter: blur(8px); color: var(--on-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--on-dark); }
.brand b { font-family: var(--display); font-size: 26px; font-weight: 700; }
.brand span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 4px 24px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 10px 0; font-size: 15px; }
.nav a:hover { color: var(--gold); }
.nav .btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--dark) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,8,.25) 0%, rgba(20,12,8,.55) 45%, rgba(20,12,8,.9) 100%); }
.hero .wrap { position: relative; padding-block: clamp(80px, 12vw, 140px) clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 22px; }
.hero h1 { max-width: 900px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 15px; color: var(--on-dark-muted); }
.hero .facts b { color: var(--on-dark); font-weight: 600; }

/* treatments */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(36,24,17,.12); color: inherit; }
.card .media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #5a3a28, #2a1a11) center/cover no-repeat; }
.card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card .meta { font-size: 15px; color: var(--muted); }
.card .price { font-weight: 600; font-size: 18px; margin-top: auto; padding-top: 8px; }
.prices { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.prices div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 9px 0; font-size: 16px; }
.prices div:last-child { border-bottom: 1px solid var(--line); }
.prices b { font-weight: 600; }

/* split / studios */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: linear-gradient(135deg, #5a3a28, #2a1a11) center/cover no-repeat; }
.photo.wide { aspect-ratio: 4 / 3; }
.studio { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.studio-card { background: var(--dark-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.studio-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.studio-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.studio-card p { color: var(--on-dark-muted); }
.studio-card .addr { color: var(--on-dark); }
.studio-card .actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--dark); background: var(--gold); padding: 5px 10px; border-radius: var(--radius-control); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery .photo { aspect-ratio: 3 / 4; border-radius: var(--radius-md); }

/* members */
.steps { display: grid; gap: 18px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); }

/* faq */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-family: var(--display); font-size: 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); max-width: 720px; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: 64px 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer b { color: var(--on-dark); display: block; margin-bottom: 6px; font-family: var(--display); font-size: 22px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245,235,221,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* listing */
.page-head { background: var(--dark); color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px) 40px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--radius-control); border: 1.5px solid rgba(245,235,221,.4); background: transparent; color: var(--on-dark); font: 500 15px var(--body); cursor: pointer; }
.chip:hover { border-color: var(--on-dark); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.state { padding: 40px 0; color: var(--muted); }
.error { color: var(--destructive); }

/* service page */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.svc .desc { color: var(--muted); }
.svc .info { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.day { flex: 0 0 auto; min-width: 74px; min-height: 64px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px/1.3 var(--body); cursor: pointer; padding: 8px 10px; }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.day:disabled { opacity: .45; cursor: default; }
.weeknav { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; gap: 10px; }
.weeknav button { min-height: 44px; padding: 0 16px; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px var(--body); cursor: pointer; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { min-height: 46px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 15px var(--body); cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot:disabled { opacity: .4; cursor: default; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field textarea, .field select { min-height: 48px; padding: 10px 14px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: #fff; font: 16px var(--body); color: var(--ink); }
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.confirmed { background: #eaf3e6; border: 1px solid #b9d4ae; border-radius: var(--radius-lg); padding: 28px; }
.confirmed h3 { color: #2c5a22; }