/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --copper:    #B5703A;
  --sage:      #6B7F5E;
  --parchment: #FAF8F5;
  --cream:     #F4F1EC;
  --charcoal:  #3D2B1F;
  --white:     #FFFFFF;
  --error:     #C0392B;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans:  "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(61, 43, 31, 0.10);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--parchment);
  color: var(--charcoal);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Header ────────────────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--parchment);
  border-bottom: 1px solid rgba(107, 127, 94, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__logo { height: 64px; width: auto; object-fit: contain; }
.header__phone {
  font-size: 1rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header__phone:hover { text-decoration: underline; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  padding: 72px 24px 80px;
  text-align: center;
}
.hero__content { max-width: 640px; margin: 0 auto; }
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--copper);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__subtext {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  border: none;
  letter-spacing: 0.03em;
}
.btn--primary {
  background: var(--copper);
  color: var(--white);
}
.btn--primary:hover { opacity: 0.88; }
.btn--primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn--full { width: 100%; text-align: center; margin-top: 8px; padding: 16px; }

/* ── Date + Time row ───────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  background: var(--sage);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}
.how-it-works__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 800px;
  margin: 0 auto;
}
.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step__heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step__text { font-size: 0.95rem; opacity: 0.9; }

/* ── Form Section ──────────────────────────────────────────── */
.form-section {
  padding: 72px 24px;
  background: var(--parchment);
}
.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.form-section__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--copper);
  margin-bottom: 6px;
}
.form-section__subtitle {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 28px;
}

/* ── Form Fields ───────────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.required { color: var(--copper); }
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(61, 43, 31, 0.25);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--copper);
}
.field input.is-invalid,
.field select.is-invalid { border-color: var(--error); }
.field__error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 1em;
}
.form__global-error {
  text-align: center;
  font-size: 0.875rem;
  color: var(--error);
  margin-top: 12px;
  min-height: 1em;
}

/* ── Success State ─────────────────────────────────────────── */
.form-success {
  text-align: center;
  padding: 16px 0;
}
.form-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.form-success p { font-size: 0.95rem; color: var(--charcoal); }
.form-success a { color: var(--copper); text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--sage);
  color: var(--white);
  text-align: center;
  padding: 36px 24px 28px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.footer__contact {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.92;
}
.footer__contact:hover { text-decoration: underline; }
.footer__copy { font-size: 0.8rem; opacity: 0.65; }

/* ── Responsive: tablet+ ───────────────────────────────────── */
@media (min-width: 640px) {
  .steps { flex-direction: row; align-items: flex-start; text-align: center; }
  .step { flex: 1; }
  .footer__inner { flex-direction: row; justify-content: center; gap: 36px; }
}
