:root {
  --cream: #fbf6f1;
  --paper: #ffffff;
  --blush: #f3d5d6;
  --rose: #c06c7a;
  --rose-dk: #9b4d5b;
  --sage: #8fa98c;
  --sage-lt: #e4ece2;
  --ink: #3d3132;
  --muted: #8a7a7b;
  --line: #ecdfd9;
  --shadow: 0 10px 30px rgba(120, 70, 75, .10);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(circle at 10% 0%, #f8e4e4 0, transparent 40%),
                    radial-gradient(circle at 100% 30%, #eaf1e7 0, transparent 35%);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}
[hidden] { display: none !important; }

/* ---------- header ---------- */
.hero { text-align: center; padding: 36px 16px 20px; position: relative; }
.logo { display: block; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wreath { width: 96px; height: 96px; margin: 0 auto 6px; position: relative; border-radius: 50%;
  border: 2px solid var(--sage); background: var(--paper); box-shadow: var(--shadow); }
.leaf { position: absolute; width: 22px; height: 10px; background: var(--sage); border-radius: 0 100% 0 100%; }
.l1 { top: 6px; left: 14px; transform: rotate(-40deg); }
.l2 { bottom: 10px; right: 10px; transform: rotate(140deg); }
.l3 { top: 40px; left: -6px; transform: rotate(80deg); opacity: .8; }
.l4 { top: 12px; right: 4px; transform: rotate(30deg); opacity: .7; }
.bloom { position: absolute; border-radius: 50%; background: radial-gradient(circle, #fff 0 20%, var(--blush) 22% 60%, var(--rose) 62%); }
.b1 { width: 26px; height: 26px; top: -6px; left: 30px; }
.b2 { width: 20px; height: 20px; bottom: -4px; left: 18px; }
.b3 { width: 16px; height: 16px; bottom: 18px; right: -6px; }
.brand { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: 46px; margin: 4px 0 0; color: var(--rose-dk); line-height: 1.1; }
.brand span { display: block; font-family: 'Poppins', sans-serif; font-size: 13px; letter-spacing: .45em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }
.tag { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.note { display: inline-block; margin: 12px 0 0; padding: 6px 14px; border-radius: 99px; background: var(--paper);
  border: 1px solid var(--line); font-size: 13px; }

/* ---------- card ---------- */
.card { max-width: 760px; margin: 0 auto 24px; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow);
  padding: 22px 22px 26px; }
@media (max-width: 600px) { .card { margin: 0 12px 20px; padding: 18px 16px 22px; border-radius: 18px; } }
h2 { font-size: 18px; font-weight: 600; margin: 4px 0 14px; }
.muted { color: var(--muted); }

.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; counter-reset: s; }
.steps li { flex: 1; font-size: 12px; color: var(--muted); text-align: center; padding-top: 8px; border-top: 3px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s) '. '; }
.steps li.on { color: var(--rose-dk); border-color: var(--rose); font-weight: 500; }
.steps li.done { border-color: var(--sage); color: var(--sage); }

/* ---------- services ---------- */
.services { display: grid; gap: 12px; }
.svc { text-align: left; font: inherit; color: inherit; cursor: pointer; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); transition: .15s; }
.svc:hover, .svc:focus-visible { border-color: var(--rose); background: #fff8f8; outline: none; transform: translateY(-1px); }
.svc .dot { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sage-lt); color: var(--sage); font-size: 18px; }
.svc:nth-child(3n+1) .dot { background: #fbe9ea; color: var(--rose); }
.svc:nth-child(3n+3) .dot { background: #fbf1dc; color: #c39a3e; }
.svc b { display: block; font-size: 15.5px; font-weight: 600; }
.svc p { margin: 2px 0 6px; color: var(--muted); font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11.5px; padding: 2px 9px; border-radius: 99px; background: var(--cream); border: 1px solid var(--line); }

/* ---------- date & time ---------- */
.back, .link { font: inherit; font-size: 13px; color: var(--rose-dk); background: none; border: 0; padding: 0; cursor: pointer; }
.back { margin-bottom: 12px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper); font-weight: 500; }
.back:hover { border-color: var(--rose); background: #fff8f8; }
.steps li.done { cursor: pointer; }
.steps li.done:hover { color: var(--rose-dk); }
.when { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
@media (max-width: 640px) { .when { grid-template-columns: 1fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 18px; cursor: pointer; color: var(--ink); }
.nav:disabled { opacity: .3; cursor: default; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.dow span { font-size: 11px; color: var(--muted); padding: 4px 0; }
.day { aspect-ratio: 1; border-radius: 50%; border: 0; font: inherit; font-size: 14px; background: none; color: #c9bcbc; }
.day.open { color: var(--ink); background: var(--sage-lt); cursor: pointer; font-weight: 500; }
.day.open:hover { background: var(--blush); }
.day.sel { background: var(--rose) !important; color: #fff; }
.day.today { box-shadow: inset 0 0 0 1.5px var(--sage); }
.times-label { margin: 6px 0 10px; font-weight: 500; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; max-height: 330px; overflow: auto; }
.slot { font: inherit; padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--rose); background: var(--paper); color: var(--rose-dk); cursor: pointer; font-weight: 500; }
.slot:hover { background: var(--rose); color: #fff; }
.empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.loading { grid-column: 1 / -1; height: 40px; border-radius: 12px; background: linear-gradient(90deg, var(--cream), #f2e7e2, var(--cream)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- form ---------- */
.summary { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.summary b { color: var(--rose-dk); }
form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
label small { color: var(--muted); font-weight: 400; }
input, textarea { font: inherit; font-size: 16px; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: #fffdfc; color: var(--ink); width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--rose); }
.hp { position: absolute; left: -9999px; }
.error { color: #b3261e; font-size: 13px; margin: 0; min-height: 1em; }
.primary, .secondary { display: block; text-align: center; text-decoration: none; font: inherit; font-weight: 600; font-size: 15px; padding: 14px; border-radius: 14px; cursor: pointer; border: 0; width: 100%; }
.primary { background: var(--rose); color: #fff; }
.primary:hover { background: var(--rose-dk); }
.primary:disabled { opacity: .6; cursor: wait; }
.secondary { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); margin-top: 10px; }
.wa { background: #25d366; }
.wa:hover { background: #1da851; }

/* ---------- done ---------- */
.done { text-align: center; }
.done .summary { text-align: left; }
.tick { width: 64px; height: 64px; margin: 4px auto 8px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 32px; display: grid; place-items: center; }
.ref { font-size: 13px; color: var(--muted); }
.done .link { margin-top: 16px; }

footer { text-align: center; font-size: 12px; color: var(--muted); padding: 0 16px 30px; display: grid; gap: 6px; }
footer a { color: var(--rose-dk); text-decoration: none; }
#demo { color: #b07b16; font-weight: 500; }
