:root {
  --brand: #e11d48;
  --brand-dark: #be123c;
  --brand-light: #fff1f2;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }

/* ── Typography ── */
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── Brand gradient text ── */
.text-gold {
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 55%, #be123c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scalePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
@keyframes glowRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
  50%       { box-shadow: 0 0 0 8px rgba(225,29,72,0.18); }
}
@keyframes checkPop {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

.anim-fade-up    { animation: fadeUp    0.4s ease-out forwards; }
.anim-slide-right{ animation: slideRight 0.35s ease-out forwards; }
.anim-pulse      { animation: scalePulse 2.5s ease-in-out infinite; }
.anim-glow       { animation: glowRing  2s ease-in-out infinite; }
.anim-check-pop  { animation: checkPop  0.25s cubic-bezier(.16,1,.3,1) forwards; }

/* ── Buttons ── */
.btn-gold {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #ffffff;
  font-weight: 700;
  transition: filter 0.15s, transform 0.1s;
}
.btn-gold:hover  { filter: brightness(1.08); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid rgba(225,29,72,0.4);
  color: #e11d48;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: #e11d48; background: rgba(225,29,72,0.06); }

/* ── Cards ── */
.card-surface {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

/* ── Plan card featured ── */
.plan-featured {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 1px rgba(225,29,72,0.25), 0 12px 40px rgba(225,29,72,0.08);
}

/* ── Occasion tag ── */
.tag-occasion {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 9999px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tag-occasion:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(225,29,72,0.05);
}

/* ── Form sidebar steps ── */
.step-btn { transition: color 0.15s; }
.step-num {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  border: 1.5px solid var(--border);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.step-btn.is-done   .step-num  { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-btn.is-active .step-num  { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-btn.is-done   .step-label,
.step-btn.is-active .step-label { color: #111827; font-weight: 600; }
.step-btn.is-upcoming .step-num  { background: transparent; color: var(--muted); }
.step-btn.is-upcoming .step-label { color: var(--muted); }
.step-connector { width: 1.5px; height: 1.5rem; background: var(--border); margin: 2px 0 2px 15px; }
.step-connector.is-done { background: var(--brand-dark); }

/* ── Form option chips (radio/checkbox) ── */
.opt-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  min-height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted);
  background: #ffffff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  user-select: none;
  box-sizing: border-box;
}
.opt-chip:hover { border-color: rgba(225,29,72,0.4); color: #111827; }
.opt-chip input { display: none; }
.opt-chip.selected {
  border-color: var(--brand);
  background: rgba(225,29,72,0.06);
  color: var(--brand);
}

/* ── Form input/select/textarea base ── */
.field {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(225,29,72,0.1); }
.field::placeholder { color: #9ca3af; }
.field option { background: #ffffff; color: #111827; }

/* ── FAQ ── */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s; }

/* ── Progress bar (mobile form) ── */
.progress-bar { height: 3px; background: var(--border); border-radius: 9999px; }
.progress-fill { height: 100%; background: var(--brand); border-radius: 9999px; transition: width 0.3s ease; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f9fafb; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 9999px; }
