/* ==========================================================================
   contact.css — page-scoped styles for /contact/
   Loaded on top of design-tokens.css.
   Namespace: .c-*
   ========================================================================== */

.c-page {
  padding: clamp(64px, 9vw, 128px) 0;
  background: var(--bg);
}

.c-page__inner {
  max-width: 600px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

/* ─── Head (eyebrow + h1 + dek) ──────────────────────────────────────────── */

.c-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.c-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.c-h1 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--blue-900);
  margin: 0 0 16px;
}

.c-dek {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--text-500);
  margin: 0 auto;
  max-width: 520px;
}

/* ─── Errors block ───────────────────────────────────────────────────────── */

.c-errors {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.c-errors__heading {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.c-errors__list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-700);
  font-size: 16px;
  line-height: 1.5;
}

.c-errors__list li + li { margin-top: 6px; }

/* ─── Form card ──────────────────────────────────────────────────────────── */

.c-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 40px);
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-field {
  display: flex;
  flex-direction: column;
}

.c-field--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .c-field--row {
    grid-template-columns: 1fr 1fr;
  }
}

.c-label {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-700);
  margin-bottom: 6px;
}

.c-required {
  color: var(--gold);
  margin-left: 2px;
}

.c-input,
.c-textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-700);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.c-input::placeholder,
.c-textarea::placeholder {
  color: var(--text-500);
  opacity: 0.7;
}

.c-input:focus,
.c-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.15);
}

.c-textarea {
  min-height: 160px;
  resize: vertical;
  font-family: 'Source Sans 3', sans-serif;
}

/* ─── Submit ─────────────────────────────────────────────────────────────── */

.c-submit-row {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.c-submit {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.c-submit:hover {
  background: #cea25a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 146, 74, 0.25);
}

.c-submit:focus-visible {
  outline: 3px solid rgba(184, 146, 74, 0.4);
  outline-offset: 2px;
}

.c-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.c-submit i { margin-right: 8px; }

/* ─── Helper line (response time) ────────────────────────────────────────── */

.c-helper {
  text-align: center;
  font-family: 'Source Sans 3', sans-serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-500);
  margin: 24px auto 0;
  max-width: 480px;
}

/* ─── Success state ──────────────────────────────────────────────────────── */

.c-success {
  text-align: center;
  padding: clamp(32px, 5vw, 48px) 0;
}

.c-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 48px;
  margin-bottom: 24px;
}

.c-success__heading {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--blue-900);
  margin: 0 0 14px;
}

.c-success__body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-700);
  max-width: 480px;
  margin: 0 auto 28px;
}

.c-success__again {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 12px 28px;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}

.c-success__again:hover {
  background: var(--gold);
  color: #fff;
  text-decoration: none;
}

.c-success__again i { margin-right: 6px; }
