:root {
  --bg: #fff8f6;
  --card: #ffffff;
  --ink: #2d2226;
  --muted: #7a6b70;
  --line: #f0dfe2;
  --rose: #c4577a;
  --rose-dark: #a63f61;
  --rose-soft: #fbe6ec;
  --gold: #b8895a;
  --ok: #2f8f5b;
  --bad: #c0392b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(120, 50, 70, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 246, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--rose-dark); background: none; border: 0; padding: 0; display: flex; align-items: center; gap: .4rem; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav button { background: none; border: 0; padding: .5rem .8rem; border-radius: 99px; color: var(--ink); font-weight: 500; }
.nav button:hover { background: var(--rose-soft); }
.nav .cta { background: var(--rose); color: #fff; }
.nav .cta:hover { background: var(--rose-dark); }
@media (max-width: 520px) { .nav .hide-s { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 99px; padding: .85rem 1.5rem; font-weight: 600; background: var(--rose); color: #fff; transition: transform .15s, background .15s; }
.btn:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--rose-dark); border: 1.5px solid var(--rose); }
.btn.ghost:hover { background: var(--rose-soft); }
.btn.small { padding: .45rem .9rem; font-size: .9rem; }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid #e8b9b3; }
.btn.danger:hover { background: #fdecea; }

/* hero */
.hero { padding: 4.5rem 0 3.5rem; background: radial-gradient(900px 400px at 85% 0%, #fbd9e3 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #f8e8d6 0%, transparent 60%); }
.hero .wrap { display: grid; gap: 1.2rem; max-width: 760px; margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--gold); font-weight: 600; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); font-weight: 600; }
.hero h1 em { color: var(--rose); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 0; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.badges { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: .8rem; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: .35rem .9rem; font-size: .88rem; color: var(--muted); }

section.block { padding: 4rem 0; }
.sec-head { text-align: center; margin-bottom: 2.2rem; display: grid; gap: .5rem; justify-items: center; }
.sec-head p { color: var(--muted); margin: 0; max-width: 54ch; }

/* price list */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.4rem; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.cat h3 { font-size: 1.7rem; color: var(--rose-dark); margin-bottom: .6rem; }
.item { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .9rem 0; border-top: 1px dashed var(--line); align-items: start; }
.item:first-of-type { border-top: 0; }
.item .nm { font-weight: 600; }
.item .pr { font-weight: 700; color: var(--rose-dark); white-space: nowrap; }
.item .ds { grid-column: 1; color: var(--muted); font-size: .9rem; }
.item .du { color: var(--muted); font-size: .82rem; }
.item .go { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
.item .go .btn { padding: .4rem .9rem; font-size: .85rem; }

/* wizard */
.wizard { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(1.2rem, 4vw, 2.4rem); max-width: 820px; margin-inline: auto; }
.steps { display: flex; gap: .5rem; margin-bottom: 1.6rem; list-style: none; padding: 0; }
.steps li { flex: 1; text-align: center; font-size: .82rem; color: var(--muted); border-top: 4px solid var(--line); padding-top: .5rem; }
.steps li.on { color: var(--rose-dark); border-color: var(--rose); font-weight: 600; }
.wizard h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.opt-group { margin-bottom: 1.2rem; }
.opt-group .gl { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 600; margin-bottom: .4rem; }
.opt { width: 100%; display: flex; justify-content: space-between; gap: 1rem; text-align: start; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .5rem; color: var(--ink); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--rose); background: var(--rose-soft); }
.opt[aria-pressed="true"] { border-color: var(--rose); background: var(--rose-soft); }
.opt small { color: var(--muted); display: block; }
.opt b { color: var(--rose-dark); white-space: nowrap; }

.chosen { background: var(--rose-soft); border-radius: 14px; padding: .8rem 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.2rem; }
.days { display: flex; gap: .5rem; overflow-x: auto; padding: .3rem .1rem .8rem; scroll-snap-type: x proximity; }
.day { flex: 0 0 auto; width: 64px; padding: .6rem 0; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); text-align: center; scroll-snap-align: start; color: var(--ink); }
.day small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.day strong { font-size: 1.3rem; display: block; line-height: 1.2; }
.day:hover:not(:disabled) { border-color: var(--rose); }
.day[aria-pressed="true"] { background: var(--rose); color: #fff; border-color: var(--rose); }
.day[aria-pressed="true"] small { color: #ffe6ee; }
.day:disabled { opacity: .35; cursor: not-allowed; background: #f6efef; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin: .6rem 0 1rem; }
.slot { padding: .65rem 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); }
.slot:hover { border-color: var(--rose); background: var(--rose-soft); }
.slot[aria-pressed="true"] { background: var(--rose); color: #fff; border-color: var(--rose); }
.note { color: var(--muted); padding: 1rem; background: #faf3f1; border-radius: 12px; text-align: center; }
.wnav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }

label.f { display: grid; gap: .3rem; font-weight: 500; font-size: .92rem; margin-bottom: .9rem; }
.f input, .f textarea, .f select { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.err { background: #fdecea; color: var(--bad); border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1rem; font-size: .93rem; }

.done { text-align: center; display: grid; gap: .8rem; justify-items: center; padding: 1rem 0; }
.done .check { width: 72px; height: 72px; border-radius: 50%; background: #e5f5ec; color: var(--ok); display: grid; place-items: center; font-size: 2.2rem; }
.sum { text-align: start; background: var(--rose-soft); border-radius: 16px; padding: 1rem 1.4rem; display: grid; gap: .3rem; min-width: min(100%, 360px); }

/* footer */
.foot { background: #2d2226; color: #e9d9dd; padding: 2.5rem 0; margin-top: 2rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot h3 { color: #fff; font-size: 1.5rem; margin-bottom: .4rem; }
.foot p { margin: .15rem 0; color: #cdb9be; }
.foot button.lnk { background: none; border: 0; color: #cdb9be; text-decoration: underline; padding: 0; }

/* admin */
.admin { padding: 2rem 0 4rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.admin-head h2 { font-size: 2.2rem; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.tab { background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: .5rem 1.1rem; font-weight: 500; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.stat b { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--rose-dark); display: block; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.day-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin: 1.4rem 0 .5rem; color: var(--rose-dark); }
.bk { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; display: grid; grid-template-columns: 70px 1fr auto; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.bk .tm { font-weight: 700; font-size: 1.15rem; color: var(--rose-dark); }
.bk .sub { color: var(--muted); font-size: .88rem; }
.bk.cancelled { opacity: .55; }
.bk.cancelled .nm { text-decoration: line-through; }
.bk .acts { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.pill { font-size: .72rem; padding: .15rem .6rem; border-radius: 99px; background: var(--rose-soft); color: var(--rose-dark); font-weight: 600; margin-inline-start: .4rem; }
.pill.done { background: #e5f5ec; color: var(--ok); }
.pill.cancelled { background: #fdecea; color: var(--bad); }
@media (max-width: 640px) { .bk { grid-template-columns: 56px 1fr; } .bk .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.srow { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .8rem 1.1rem; display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; margin-bottom: .5rem; }
.srow.off { opacity: .55; }
.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; background: #fff; border: 1px dashed var(--line); border-radius: 16px; }
.loading { text-align: center; padding: 3rem; color: var(--muted); }
.spin { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--rose-soft); border-top-color: var(--rose); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }

dialog { border: 0; border-radius: 22px; padding: 1.6rem; width: min(480px, 94vw); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
dialog::backdrop { background: rgba(45, 34, 38, .5); }
dialog h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.toast { position: fixed; inset-inline: 0; bottom: 20px; margin-inline: auto; width: fit-content; max-width: 90vw; background: #2d2226; color: #fff; padding: .7rem 1.2rem; border-radius: 99px; opacity: 0; transform: translateY(20px); transition: .25s; pointer-events: none; z-index: 99; }
.toast.show { opacity: 1; transform: none; }
