:root {
  --error: #c0392b;
  --success: #27ae60;
}

/* ── PAGE HEADER ── */
.page-header {
  margin-top: 64px;
  background: var(--navy); padding: 4rem 4rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; justify-content: center; font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.page-header h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: #fff; letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.page-header p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.9; letter-spacing: 0.04em; }

/* ── STEPS ── */
.steps-bar {
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 1.5rem 4rem;
}
.steps-inner { max-width: 760px; margin: 0 auto; display: flex; align-items: center; }
.step-item { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.step-num.active { background: var(--gold); color: #fff; border: 2px solid var(--gold); }
.step-num.done { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.step-num.pending { background: #fff; color: var(--text-light); border: 2px solid rgba(0,0,0,0.15); }
.step-label { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-mid); white-space: nowrap; }
.step-label.active { color: var(--navy); font-weight: 500; }
.step-connector { flex: 1; height: 1px; background: rgba(0,0,0,0.12); margin: 0 0.5rem; min-width: 20px; }

/* ── MAIN ── */
.main-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem 4rem 5rem;
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start;
}

/* ── FORM ── */
.form-card {
  background: #fff; border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
  overflow: hidden;
}
.form-section {
  padding: 2.2rem 2.4rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.form-section:last-child { border-bottom: none; }
.form-section-title {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.3rem; letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 0.6rem;
}
.form-section-title svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.form-section-desc { font-size: 0.78rem; color: var(--text-light); margin-bottom: 1.6rem; letter-spacing: 0.04em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-label {
  font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-mid); font-weight: 500;
  display: flex; align-items: center; gap: 0.4rem;
}
.req {
  font-size: 0.62rem; background: var(--gold); color: #fff;
  padding: 0.1rem 0.4rem; border-radius: 2px; letter-spacing: 0.05em;
}
.opt {
  font-size: 0.62rem; background: rgba(0,0,0,0.08); color: var(--text-light);
  padding: 0.1rem 0.4rem; border-radius: 2px; letter-spacing: 0.05em;
}
.form-input {
  padding: 0.75rem 1rem; border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.14); background: var(--ivory);
  font-family: var(--sans); font-size: 0.88rem; color: var(--text);
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180,150,90,0.1); }
.form-input.error { border-color: var(--error); }
.form-input::placeholder { color: var(--text-light); }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea.form-input { resize: vertical; min-height: 100px; }

/* Type selector chips */
.type-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.type-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.1rem; border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.14); background: var(--ivory);
  font-family: var(--sans); font-size: 0.82rem; color: var(--text-mid);
  cursor: pointer; transition: all 0.2s; user-select: none;
}
.type-chip:hover { border-color: var(--gold); color: var(--gold); }
.type-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.type-chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.type-chip input { display: none; }

/* Contact method */
.method-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.method-card {
  border: 1px solid rgba(0,0,0,0.14); border-radius: 4px;
  padding: 1rem; text-align: center; cursor: pointer;
  transition: all 0.25s; position: relative;
  background: var(--ivory);
}
.method-card:hover { border-color: var(--gold); }
.method-card.active { border-color: var(--navy); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.method-card.active::before { content: '✓'; position: absolute; top: 0.4rem; right: 0.6rem; font-size: 0.65rem; color: var(--gold); font-weight: 700; }
.method-card svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; margin-bottom: 0.5rem; display: block; margin: 0 auto 0.5rem; }
.method-card h4 { font-size: 0.78rem; font-weight: 500; color: var(--navy); margin-bottom: 0.2rem; }
.method-card p { font-size: 0.68rem; color: var(--text-light); line-height: 1.5; }
.method-card input { display: none; }

/* Calendar */
.calendar-wrap { margin-top: 0.5rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.cal-btn { background: none; border: 1px solid rgba(0,0,0,0.12); border-radius: 3px; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.cal-btn:hover { border-color: var(--gold); }
.cal-btn svg { width: 14px; height: 14px; stroke: var(--text-mid); fill: none; stroke-width: 2; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text-light); text-align: center; padding: 0.3rem 0; }
.cal-dow:first-child { color: #c0392b; }
.cal-dow:last-child { color: #2980b9; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; border-radius: 3px; cursor: pointer;
  transition: background 0.2s, color 0.2s; border: 1px solid transparent;
}
.cal-day:hover:not(.empty):not(.past):not(.closed) { border-color: var(--gold); color: var(--gold); }
.cal-day.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-day.today { color: var(--gold); font-weight: 600; }
.cal-day.past { color: rgba(0,0,0,0.2); cursor: default; }
.cal-day.closed { color: rgba(0,0,0,0.15); cursor: default; text-decoration: line-through; }
.cal-day.empty { cursor: default; }
.cal-day.sun { color: #c0392b; }
.cal-day.sat { color: #2980b9; }
.cal-day.selected.sun, .cal-day.selected.sat { color: #fff; }

/* Time slots */
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1rem; }
.time-slot {
  padding: 0.6rem; border: 1px solid rgba(0,0,0,0.12); border-radius: 3px;
  font-size: 0.78rem; text-align: center; cursor: pointer; background: var(--ivory);
  color: var(--text-mid); transition: all 0.2s;
}
.time-slot:hover:not(.full) { border-color: var(--gold); color: var(--gold); }
.time-slot.selected { background: var(--gold); border-color: var(--gold); color: #fff; }
.time-slot.full { color: var(--text-light); background: rgba(0,0,0,0.03); cursor: default; text-decoration: line-through; font-size: 0.72rem; }

/* Privacy */
.privacy-check { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.5rem; }
.privacy-check input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.privacy-check label { font-size: 0.78rem; color: var(--text-mid); line-height: 1.7; cursor: pointer; }
.privacy-check a { color: var(--gold); text-decoration: underline; }

/* Submit */
.form-footer { padding: 1.8rem 2.4rem; background: var(--ivory-deep); }
.btn-submit {
  width: 100%; padding: 1.1rem; background: var(--navy); color: #fff;
  border: none; border-radius: 4px; font-family: var(--sans);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.1em;
  cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.btn-submit svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.btn-submit:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.15); }
.btn-submit:disabled { background: rgba(0,0,0,0.2); cursor: not-allowed; transform: none; box-shadow: none; }
.form-note { font-size: 0.72rem; color: var(--text-light); text-align: center; margin-top: 0.8rem; line-height: 1.7; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: #fff; border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  overflow: hidden;
}
.info-card-header { background: var(--navy); padding: 1.2rem 1.5rem; }
.info-card-header h3 { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: #fff; letter-spacing: 0.04em; }
.info-card-body { padding: 1.5rem; }

.contact-item { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { width: 36px; height: 36px; border-radius: 3px; background: oklch(96% 0.015 72); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.contact-info h4 { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-info p { font-size: 0.9rem; font-weight: 500; color: var(--navy); letter-spacing: 0.04em; line-height: 1.5; }
.contact-info small { font-size: 0.68rem; color: var(--text-light); }

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q { font-size: 0.82rem; font-weight: 500; color: var(--navy); margin-bottom: 0.4rem; display: flex; gap: 0.5rem; }
.faq-q::before { content: 'Q'; color: var(--gold); font-family: var(--serif); font-weight: 700; flex-shrink: 0; }
.faq-a { font-size: 0.75rem; color: var(--text-mid); line-height: 1.7; display: flex; gap: 0.5rem; }
.faq-a::before { content: 'A'; color: var(--text-light); font-family: var(--serif); font-weight: 700; flex-shrink: 0; }

.point-list { display: flex; flex-direction: column; gap: 0.8rem; }
.point-item { display: flex; gap: 0.7rem; align-items: flex-start; }
.point-item svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 1px; }
.point-item p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.6; }

/* ── COMPLETE SCREEN ── */
.complete-screen {
  display: none; text-align: center; padding: 5rem 2rem;
  background: #fff; border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}
.complete-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: oklch(95% 0.04 150); border: 2px solid oklch(75% 0.12 150);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.complete-icon svg { width: 36px; height: 36px; stroke: oklch(45% 0.15 150); fill: none; stroke-width: 2; }
.complete-screen h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; letter-spacing: 0.04em; }
.complete-screen p { font-size: 0.88rem; color: var(--text-mid); line-height: 2; margin-bottom: 0.5rem; }
.complete-detail { background: var(--ivory-deep); border-radius: 4px; padding: 1.5rem 2rem; margin: 2rem 0; text-align: left; }
.complete-detail-row { display: flex; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.85rem; }
.complete-detail-row:last-child { border-bottom: none; }
.complete-detail-row span:first-child { color: var(--text-light); width: 120px; flex-shrink: 0; }
.complete-detail-row span:last-child { color: var(--navy); font-weight: 500; }
.btn-home { display: inline-block; margin-top: 1rem; padding: 0.9rem 2.4rem; background: var(--navy); color: #fff; border-radius: 3px; font-size: 0.88rem; letter-spacing: 0.1em; text-decoration: none; transition: background 0.2s; }
.btn-home:hover { background: var(--navy-light); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* footer */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .page-header { padding: 3rem 1.5rem 2.5rem; }
  .steps-bar { padding: 1rem 1.5rem; }
  .step-label { display: none; }
  .main-wrap { grid-template-columns: 1fr; padding: 2rem 1.5rem 4rem; }
  .sidebar { position: static; }
  .method-cards { grid-template-columns: 1fr 1fr 1fr; }
}
