:root {
  --bg: #15120f;
  --bg-2: #1d1915;
  --line: #3a332b;
  --ink: #efe6d8;
  --muted: #a89c8b;
  --accent: #c9a063;
  --accent-ink: #1a140c;
  --danger: #e27d6a;
  --ok: #8fbf8a;
  --radius: 14px;
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 500; margin: 0; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
em, .accent { font-style: normal; color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 56px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; letter-spacing: .01em; }
.nav nav { display: flex; gap: clamp(12px, 3vw, 28px); align-items: center; font-size: .92rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 560px) { .nav nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s, filter .15s, opacity .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; filter: none; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(70px, 14vh, 150px) clamp(18px, 5vw, 56px) clamp(60px, 10vh, 110px);
  border-bottom: 1px solid var(--line);
}
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--accent); margin: 0 0 18px; font-weight: 600; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: .92; letter-spacing: -.01em; max-width: 12ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero .lead { margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.status { font-size: .92rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.pole {
  position: absolute; right: clamp(18px, 6vw, 90px); top: 12%; bottom: 12%;
  width: clamp(14px, 2vw, 22px); border-radius: 99px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--bg) 14px 28px, var(--ink) 28px 42px, var(--bg) 42px 56px);
  background-size: 100% 200%;
  animation: pole 6s linear infinite; opacity: .85;
}
@keyframes pole { to { background-position: 0 -79px; } }
@media (prefers-reduced-motion: reduce) { .pole { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 700px) { .pole { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

.price-list { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.price-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-list .n { font-size: 1.2rem; font-weight: 600; }
.price-list .p { font-family: var(--serif); font-size: 1.7rem; color: var(--accent); line-height: 1; text-align: right; }
.price-list .d { color: var(--muted); font-size: .95rem; }
.price-list .t { color: var(--muted); font-size: .85rem; text-align: right; }

/* ---------- booking ---------- */
.booking { background: var(--bg-2); }
.book-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 1050px) { .book-grid { grid-template-columns: 1fr 1fr; } #step3 { grid-column: 1 / -1; } }
@media (max-width: 680px) { .book-grid { grid-template-columns: 1fr; } }

.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; margin-bottom: 18px; }
.step h3 span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-size: .8rem;
}

.svc-options { display: grid; gap: 10px; }
.svc {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left;
  padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.svc:hover { border-color: var(--muted); }
.svc[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.svc b { font-weight: 600; }
.svc .sp { color: var(--accent); font-weight: 600; }
.svc small { color: var(--muted); grid-column: 1 / -1; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; text-transform: capitalize; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 0; }
.day {
  position: relative; aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer;
}
.day:hover:not(:disabled) { border-color: var(--line); background: var(--bg-2); }
.day:disabled { color: #5c5348; cursor: default; }
.day.has::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.day.today { border-color: var(--line); }
.day.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.day.sel::after { background: var(--accent-ink); }
.day.empty { visibility: hidden; }

.slots-wrap { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.slots-label { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot {
  padding: 9px 0; border-radius: 8px; border: 1px solid var(--line); background: transparent;
  color: var(--ink); font: 600 .92rem var(--sans); cursor: pointer; font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

form.step { display: grid; gap: 14px; }
form.step h3 { margin-bottom: 4px; }
.summary {
  padding: 14px 16px; border-radius: 10px; background: var(--bg-2); border: 1px dashed var(--line);
  color: var(--muted); font-size: .93rem;
}
.summary.ready { color: var(--ink); border-style: solid; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.summary strong { color: var(--accent); }
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
label small { color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--ink); font: 400 1rem var(--sans); resize: vertical;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #6e6457; }
.form-error { margin: 0; min-height: 1.2em; color: var(--danger); font-size: .9rem; }

.confirm { margin-top: 20px; }
.confirm-card {
  max-width: 620px; margin: 0 auto; text-align: center; padding: 44px 28px;
  border: 1px solid var(--accent); border-radius: var(--radius); background: var(--bg);
}
.confirm-card h3 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; margin-bottom: 14px; }
.confirm-card p { color: var(--muted); }
.confirm-card .btn { margin-top: 10px; }

/* ---------- salon / hours ---------- */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); }
.split h2 { margin-bottom: 24px; }
.split p:not(.lead) { color: var(--muted); max-width: 52ch; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.hours { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-self: start; }
.hours h3 { font-weight: 600; margin-bottom: 14px; }
.hours dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.hours dt, .hours dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours dd { text-align: right; color: var(--muted); }
.hours .now { color: var(--accent); font-weight: 600; }

/* ---------- contact ---------- */
.contact h2 { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  display: grid; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s;
}
.contact-item:hover { border-color: var(--accent); }
.contact-item small { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); }
.contact-item span { font-size: 1.15rem; }

footer {
  display: flex; justify-content: space-between; padding: 28px clamp(18px, 5vw, 56px);
  color: var(--muted); font-size: .85rem;
}
footer a { color: var(--muted); }
