/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burgundy:    #6B1E2F;
  --burgundy-lt: #8B2E42;
  --gold:        #C9A84C;
  --gold-lt:     #E2C97E;
  --champagne:   #F5EDD8;
  --ivory:       #FBF8F2;
  --espresso:    #1C100A;
  --dark-bg:     #120B07;
  --warm-mid:    #2A1A11;
  --text-main:   #E8D9C0;
  --text-muted:  #9E8A74;
  --text-light:  #F5EDD8;
  --border:      rgba(201,168,76,0.22);
  --border-focus:rgba(201,168,76,0.7);
  --input-bg:    rgba(255,255,255,0.04);
  --input-hover: rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,5,2,0.55) 0%,
    rgba(18,11,7,0.72) 60%,
    rgba(18,11,7,1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--champagne);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ─── Form Wrapper ──────────────────────────────────────────────── */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 28px 80px;
}

/* ─── Section Block ─────────────────────────────────────────────── */
.form-section {
  margin-bottom: 12px;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 36px;
}

.section-number {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--champagne);
  text-transform: uppercase;
}

/* ─── Divider ───────────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  margin: 52px 0;
}

.section-divider span {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.35;
}

/* ─── Field Groups ──────────────────────────────────────────────── */
.field-group {
  margin-bottom: 36px;
}

.field-group > label {
  display: block;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hint {
  font-size: 0.85rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-left: 6px;
}

/* ─── Text Inputs & Textareas ───────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-main);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.8;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  background: var(--input-hover);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--border-focus);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* ─── Radio Options ─────────────────────────────────────────────── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-main);
  transition: color 0.2s;
  user-select: none;
}

.radio-option:hover { color: var(--gold-lt); }

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  opacity: 0.65;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ─── Checkbox Options ──────────────────────────────────────────── */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-main);
  transition: color 0.2s;
  user-select: none;
  min-width: 180px;
}

.checkbox-option:hover { color: var(--gold-lt); }

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  opacity: 0.65;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--burgundy);
  border-color: var(--burgundy-lt);
  opacity: 1;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--gold-lt);
  border-top: none;
  border-left: none;
  position: absolute;
  top: 1px;
  left: 5px;
  transform: rotate(45deg);
}

/* ─── Submit Area ───────────────────────────────────────────────── */
.submit-area {
  text-align: center;
  padding-top: 16px;
}

.submit-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso);
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 100%);
  border: none;
  border-radius: 3px;
  padding: 18px 54px;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 28px rgba(201,168,76,0.2);
}

.submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 36px rgba(201,168,76,0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.submit-note {
  margin-top: 18px;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

#formStatus {
  margin-top: 20px;
  font-size: 1rem;
  font-style: italic;
}

#formStatus .success-msg {
  color: var(--gold-lt);
  letter-spacing: 0.03em;
}

#formStatus .error-msg {
  color: #C97A7A;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ─── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { min-height: 60vh; padding: 64px 20px 48px; }

  .form-wrapper { padding: 48px 20px 64px; }

  .section-label { gap: 12px; margin-bottom: 28px; }

  .field-group { margin-bottom: 28px; }

  .checkbox-group { gap: 10px; }
  .checkbox-option { min-width: 140px; font-size: 0.93rem; }

  .submit-btn { padding: 16px 40px; font-size: 0.78rem; }
}
