:root {
  /* warm ivory base — same palette as site.css */
  --bg: #fffaf6;
  --bg-2: #fdf3ee;
  --card: #ffffff;
  --card-light: #f3effb;
  --line: #eedfd8;
  --text: #3b2f35;
  --muted: #74656b;
  --rose: #f6c1cb;  --rose-soft: #fde8ec;  --rose-ink: #b24d66;
  --sage: #cfe5d6;  --sage-soft: #eef6f0;  --sage-ink: #3f7656;
  --lav: #ddd5f3;   --lav-soft: #f3effb;   --lav-ink: #6a58a3;
  --peach: #fbd9c3; --peach-soft: #fff1e7; --peach-ink: #a3582b;
  --danger: #c2413f;
  --shadow: 0 10px 30px rgba(178, 77, 102, .08);
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(700px 420px at 12% -120px, var(--rose-soft), transparent 70%),
    radial-gradient(700px 420px at 88% -80px, var(--lav-soft), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 15px/1.55 Inter, system-ui, sans-serif;
  padding-bottom: 96px;
}
.serif, h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0.2px; }
h1 { font-size: clamp(32px, 5vw, 50px); margin: 6px 0 10px; line-height: 1.1; }
h2 { font-size: 26px; margin: 0; }
h3 { font-size: 22px; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.gold { color: var(--rose-ink); }
.mt { margin-top: 16px; }
.w-full { width: 100%; }
[hidden] { display: none !important; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .6); backdrop-filter: blur(8px);
}
.brand { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 700; }
.brand-mark { color: var(--rose-ink); }
.brand { color: var(--text); text-decoration: none; }
.topbar-nav { display: flex; gap: 20px; }
.topbar-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.topbar-link:hover { color: var(--rose-ink); }

.quote { padding: 48px 16px 24px; }
.quote-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.quote-head .muted { font-size: 17px; }
.eyebrow { color: var(--rose-ink); text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; }

.container { max-width: 900px; margin: 0 auto; }
.container-sm { max-width: 640px; margin: 0 auto; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.card-light { background: var(--card-light); border-color: var(--lav); }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step-title.out { margin: 4px 0 18px; }
.badge {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: #4a1f2d;
  background: linear-gradient(135deg, #f9d0d8, #f2abbb);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.label b { color: var(--rose-ink); }
input, textarea, select {
  width: 100%; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--rose-ink); box-shadow: 0 0 0 3px var(--rose-soft); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--rose-ink); flex: none; margin: 2px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input { flex: 1; min-width: 180px; }
.error { color: var(--danger); font-size: 13px; margin: 0 0 12px; }
.divider { height: 1px; background: var(--line); margin: 26px 0 18px; }

.btn {
  border: 0; border-radius: 10px; padding: 12px 20px; font: 600 14px Inter, sans-serif;
  cursor: pointer; transition: transform .1s, background .15s, opacity .15s, box-shadow .15s; color: var(--text);
}
.btn:active { transform: scale(.98); }
.btn-gold { background: linear-gradient(135deg, #f9d0d8, #f2abbb); color: #4a1f2d; box-shadow: 0 6px 16px rgba(214, 120, 140, .25); }
.btn-gold:hover { filter: brightness(1.03) saturate(1.1); }
.btn-outline { background: #fff; border: 1px solid var(--rose); color: var(--rose-ink); }
.btn-outline:hover { background: var(--rose-soft); }
.btn-ghost { background: var(--lav-soft); color: var(--lav-ink); }
.btn-ghost:hover { background: var(--lav); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.recent { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--lav); background: var(--lav-soft); color: var(--lav-ink); cursor: pointer; }
.chip:hover { color: var(--rose-ink); border-color: var(--rose); background: var(--rose-soft); }

.resume {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--peach); background: var(--peach-soft);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 22px;
}

.otp-dialog {
  width: min(400px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; background: var(--card); color: var(--text); box-shadow: var(--shadow);
}
.otp-dialog::backdrop { background: rgba(59, 47, 53, .35); }
.otp-dialog h2 { margin: 0 0 6px; }
.otp-code { font-size: 24px; letter-spacing: 10px; text-align: center; margin: 10px 0 14px; }
.otp-resend { text-align: center; margin: 14px 0 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-ink); text-decoration: underline; cursor: pointer; }
.link:disabled { color: var(--muted); text-decoration: none; cursor: default; }

.who { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.step-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.step-nav button {
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  border-radius: 10px; padding: 10px 8px; font: 500 13px Inter, sans-serif; cursor: pointer;
  display: flex; gap: 8px; align-items: center; justify-content: center;
}
.step-nav button .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 12px; }
.step-nav button.active { border-color: var(--rose); background: var(--rose-soft); color: var(--text); }
.step-nav button.done .n { background: var(--sage); color: var(--sage-ink); }
.step-nav button.active .n { background: var(--rose); color: #4a1f2d; }
.step-nav button:disabled { cursor: not-allowed; opacity: .5; }

/* event picker: thumbnail cards like the service tiles; selected tiles turn rose */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.event-tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; color: var(--text);
  font: 500 14px Inter, sans-serif; transition: border-color .15s, background .15s, box-shadow .15s;
}
.event-tile { justify-content: center; min-height: 56px; }
.event-tile .tile-name { padding: 0 4px; }
.event-tile:nth-child(4n+2) .thumb { background: linear-gradient(135deg, var(--lav-soft), var(--lav)); }
.event-tile:nth-child(4n+3) .thumb { background: linear-gradient(135deg, var(--sage-soft), var(--sage)); }
.event-tile:nth-child(4n) .thumb { background: linear-gradient(135deg, var(--peach-soft), var(--peach)); }
.event-tile:not(.on) .thumb img { filter: saturate(.7); }
.event-tile:hover { border-color: var(--rose); box-shadow: var(--shadow); }
.event-tile.on { border-color: var(--rose-ink); background: var(--rose-soft); }

.event-card .ev-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.event-card .ev-sub { color: var(--rose-ink); font-weight: 600; }
.ev-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.ev-meta .field { margin: 0; }
.icon-btn { background: #fff; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 13px; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); background: #fdecec; }

.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 34px; background: transparent; border: 0; color: var(--rose-ink); font-size: 18px; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--rose-soft); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper span { min-width: 28px; text-align: center; font-weight: 600; }

/* service & extra tiles: thumbnails cycle through the pastels */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.svc-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s;
}
.svc-tile:hover { box-shadow: var(--shadow); }
.svc-tile.on { border-color: var(--rose-ink); background: var(--rose-soft); }
.thumb {
  position: relative; aspect-ratio: 4 / 3; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--rose-soft), var(--rose));
}
.svc-tile:nth-child(4n+2) .thumb { background: linear-gradient(135deg, var(--lav-soft), var(--lav)); }
.svc-tile:nth-child(4n+3) .thumb { background: linear-gradient(135deg, var(--sage-soft), var(--sage)); }
.svc-tile:nth-child(4n) .thumb { background: linear-gradient(135deg, var(--peach-soft), var(--peach)); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-tile:not(.on) .thumb img { filter: saturate(.7); }
.thumb-qty {
  position: absolute; top: 6px; right: 6px; background: var(--rose-ink); color: #fff;
  font: 700 11px Inter, sans-serif; padding: 2px 7px; border-radius: 999px;
}
.tile-name { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.tile-desc { font-size: 12px; line-height: 1.4; color: var(--muted); }
.tile-price { font-size: 13px; font-weight: 600; }
.tile-price span { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.svc-tile .stepper { justify-content: space-between; margin-top: auto; }
.svc-tile .stepper button { height: 30px; }

.ev-subtotal { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rose); }

.step-actions { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 30px; }

.sum-group { margin-bottom: 18px; }
.sum-group h3 { font-size: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--rose); padding-bottom: 6px; margin-bottom: 8px; }
.sum-group h3 small { font-family: Inter, sans-serif; font-size: 12px; color: var(--muted); font-weight: 400; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; color: var(--muted); }
.sum-line span:last-child { color: var(--text); white-space: nowrap; }
.empty { color: var(--muted); font-size: 14px; padding: 8px 0; }
.summary-controls { display: grid; gap: 4px; margin: 20px 0 6px; }
.totals { background: linear-gradient(135deg, var(--rose-soft), var(--lav-soft)); border: 1px solid var(--rose); border-radius: 14px; padding: 16px 18px; margin: 10px 0 12px; }
.totals .sum-line { color: var(--muted); }
.totals .grand { font-size: 22px; font-family: "Cormorant Garamond", serif; font-weight: 700; color: var(--rose-ink); border-top: 1px solid rgba(178, 77, 102, .25); margin-top: 8px; padding-top: 10px; }
.totals .grand span:last-child { color: var(--rose-ink); }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.terms { color: var(--muted); font-size: 12.5px; margin: 20px 0 0; padding-left: 18px; }

.total-bar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: min(900px, calc(100% - 24px)); z-index: 30;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--rose); border-radius: 16px; padding: 12px 20px;
  box-shadow: 0 12px 36px rgba(178, 77, 102, .16);
}
.total-amt { font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 700; color: var(--rose-ink); line-height: 1; }

.toast {
  position: fixed; top: 20px; left: 50%; transform: translate(-50%, -150%); transition: transform .25s;
  background: #fff; border: 1px solid var(--rose); color: var(--text); box-shadow: var(--shadow);
  padding: 10px 18px; border-radius: 10px; z-index: 50; font-size: 14px; max-width: calc(100% - 32px);
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 680px) {
  .grid-2, .ev-meta { grid-template-columns: 1fr; }
  .step-nav { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .actions { grid-template-columns: 1fr; }
  .total-bar { padding: 10px 16px; }
}
