:root {
  --bg: #0a0b0a;
  --bg-alt: #111312;
  --card: #161816;
  --border: #262a26;
  --text: #f5f6f4;
  --text-dim: #a8afa8;
  --text-faint: #6e766e;
  --green: var(--green);
  --green-ink: #06170d;
  --green-dim: rgb(var(--acc) / 0.14);
  --green-glow: rgb(var(--acc) / 0.25);
  --amber: #f0b429;
  --amber-dim: rgba(240, 180, 41, 0.14);
  --red: #ef4444;
  --radius: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.glow {
  pointer-events: none; position: fixed; inset: -20% 15% auto; height: 420px; z-index: 0;
  background: radial-gradient(ellipse at center, var(--green-glow), transparent 62%);
}
@media (max-width: 900px) { .glow { inset: -30px 0 auto; height: 220px; opacity: 0.4; } }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: rgba(10, 11, 10, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.top img { height: 44px; display: block; }
.back-link { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 10px; }
.back-link:hover { color: var(--text); background: var(--card); }

main { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 36px 20px 80px; }


/* site header (matches the main website) */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 11, 10, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; white-space: nowrap; }
.logo img { height: 40px; width: auto; display: block; }
.nav-desktop { flex: 1; display: flex; justify-content: center; }
.nav-desktop > ul { display: flex; list-style: none; gap: 8px; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop > ul > li > a { display: block; padding: 10px 16px; font-weight: 600; font-size: 0.95rem; color: var(--text-dim); border-radius: 8px; text-decoration: none; transition: color .15s ease, background .15s ease; }
.nav-desktop > ul > li > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-desktop a.current, .nav-mobile a.current { color: var(--green); }
.has-sub .sub-menu { position: absolute; top: 100%; left: 0; min-width: 180px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; list-style: none; }
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 0.9rem; color: var(--text-dim); text-decoration: none; }
.has-sub .sub-menu a:hover { background: rgb(var(--acc) / 0.08); color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; padding: 12px 24px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.nav-mobile a { padding: 12px 0; font-weight: 600; color: var(--text-dim); border-bottom: 1px solid var(--border); text-decoration: none; }
.nav-mobile.open { display: flex; }
@media (max-width: 1060px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* progress */
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress span {
  flex: 1; text-align: center; padding-top: 12px; border-top: 4px solid var(--border);
  color: var(--text-faint); font-size: 14px; font-weight: 600;
}
.progress span.on { border-color: var(--green); color: var(--text); }
.progress span b { color: var(--green); margin-right: 6px; }

.kicker { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: 22px; letter-spacing: -0.01em; }
.lede { color: var(--text-dim); font-size: 18px; margin-top: 12px; max-width: 52ch; }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.svc {
  text-align: left; background: var(--card); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s;
}
.svc:hover { border-color: #3a443c; transform: translateY(-2px); }
.svc.picked { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-dim); }
.svc .meta { font-size: 12px; color: var(--green); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.svc h3 { margin: 10px 0 8px; font-size: 22px; }
.svc p { color: var(--text-dim); font-size: 16px; }
.svc .price { font-weight: 800; font-size: 22px; margin-top: 16px; }

/* date strip */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; }
.panel-head h2 { text-transform: uppercase; letter-spacing: .02em; }
.live { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }

.dates {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.date {
  flex: 0 0 96px; scroll-snap-align: start; text-align: center;
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 14px 6px; transition: border-color .15s, background .15s;
}
.date .dow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--text-dim); }
.date .num { display: block; font-size: 34px; font-weight: 800; line-height: 1.15; margin: 2px 0; }
.date .mon { display: block; font-size: 13px; color: var(--text-dim); }
.date:hover:not(:disabled) { border-color: #3a443c; }
.date.sel { border-color: var(--green); background: var(--green-dim); box-shadow: 0 0 0 4px var(--green-dim); }
.date.sel .dow, .date.sel .mon { color: var(--green); }
.date:disabled { opacity: .35; cursor: not-allowed; }

/* slots */
.slots-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--text-dim); font-size: 15px; margin: 8px 0 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.slot {
  text-align: left; background: var(--card); border: 2px solid var(--border);
  border-radius: 14px; padding: 16px 18px; transition: border-color .15s;
}
.slot .row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.slot .time { font-size: 20px; font-weight: 800; }
.slot .tag { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 8px; background: var(--amber-dim); color: var(--amber); white-space: nowrap; }
.slot .state { margin-top: 8px; font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.slot:hover:not(:disabled) { border-color: #3a443c; }
.slot.sel { border-color: var(--green); background: var(--green-dim); box-shadow: 0 0 0 4px var(--green-dim); }
.slot.sel .state { color: var(--green); font-weight: 700; }
.slot:disabled { cursor: not-allowed; background: transparent; border-style: dashed; }
.slot:disabled .time { text-decoration: line-through; color: var(--text-faint); }
.slot:disabled .tag { background: #1c1f1c; color: var(--text-faint); }
.slot:disabled .state { color: var(--text-faint); }
.empty { color: var(--text-dim); padding: 28px; border: 2px dashed var(--border); border-radius: var(--radius); text-align: center; font-size: 17px; }

/* buttons + form */
.actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  border: 0; background: var(--green); color: var(--green-ink); border-radius: 999px;
  padding: 16px 30px; font-weight: 800; font-size: 17px; transition: transform .15s, box-shadow .15s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px var(--green-glow); }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid #3a4440; box-shadow: none; }
.btn:disabled { opacity: .35; cursor: not-allowed; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.form { max-width: 580px; padding: 26px; margin-top: 26px; }
.summary { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px; margin-bottom: 8px; border-radius: 12px; background: var(--green-dim); color: var(--text); font-weight: 600; }
label { display: block; font-size: 15px; color: var(--text-dim); margin: 18px 0 7px; font-weight: 600; }
input, textarea {
  width: 100%; background: var(--bg); border: 2px solid var(--border);
  border-radius: 12px; padding: 14px; font-size: 17px;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--green); }
input.bad { border-color: var(--red); }
.err { color: var(--red); font-size: 14px; margin-top: 6px; min-height: 0; }
.note { color: var(--text-faint); font-size: 14px; margin-top: 16px; }

/* confirm */
.confirm { text-align: center; padding: 56px 24px; margin-top: 10px; }
.tick { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-dim); color: var(--green); display: grid; place-items: center; font-size: 34px; font-weight: 800; }
.confirm .lede { margin-left: auto; margin-right: auto; }
.confirm .actions { justify-content: center; }

footer { position: relative; z-index: 1; text-align: center; color: var(--text-faint); font-size: 13px; padding: 0 20px 28px; }

@media (max-width: 600px) {
  .top { padding: 10px 14px; }
  main { padding-top: 24px; }
  .progress span { font-size: 12px; }
  .progress span b { display: block; margin: 0; }
  .date { flex-basis: 84px; }
  .slots { grid-template-columns: 1fr 1fr; }
  .slot { padding: 14px; }
  .slot .time { font-size: 18px; }
  .slot .row1 { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
}

/* ---- richer tiles (matches the design mock) ---- */
.svc { display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 24px; border-radius: 18px; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.chip { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); padding: 5px 10px; border-radius: 8px; background: rgb(var(--acc) / .10); border: 1px solid rgb(var(--acc) / .22); }
.svc.featured .chip { background: rgb(var(--acc) / .20); border-color: rgb(var(--acc) / .45); box-shadow: 0 0 14px -3px rgb(var(--acc) / .5); }
.radio { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); display: grid; place-items: center; transition: all .2s; }
.radio i { width: 10px; height: 10px; border-radius: 50%; background: #06170d; transform: scale(0); transition: transform .2s; }
.svc:hover .radio { border-color: rgb(var(--acc) / .6); }
.svc.picked .radio { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px rgb(var(--acc) / .65); }
.svc.picked .radio i { transform: scale(1); }
.svc h3 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.svc p { flex: 1; font-size: 15px; line-height: 1.55; }
.svc-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.svc.featured .svc-foot, .svc.picked .svc-foot { border-top-color: rgb(var(--acc) / .25); }
.svc .price { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.svc .price small { font-size: 15px; font-weight: 500; color: var(--text-dim); letter-spacing: 0; margin-left: 4px; }

/* progress bar with glowing active steps */
.progress span { border-top-width: 5px; border-radius: 3px; font-weight: 700; }
.progress span.on { border-color: var(--green); box-shadow: 0 -4px 14px -4px rgb(var(--acc) / .7); }
.progress span b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .10); color: var(--text-dim); font-size: 11px; font-weight: 800; }
.progress span.on b { background: var(--green); color: #06170d; }

/* live dots breathe */
.live .dot, .slot .dot { animation: fxDot 2.2s ease-in-out infinite; }
.slot:disabled .dot { animation: none; }

/* dates and slots in the same glass style */
.date, .slot { border-radius: 16px; }
.date .num { transition: color .2s; }
.date.sel .num { color: var(--green-bright); }
.slot .time { letter-spacing: -.01em; }
.services { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@media (max-width: 420px) { .services { grid-template-columns: 1fr; } }
.slot .time { white-space: nowrap; font-size: 19px; }
.slot .row1 { flex-wrap: wrap; row-gap: 6px; }
