/* ========================================
   CONTACT — HERO
   ======================================== */
.contact-hero {
  padding: 180px 0 80px;
  position: relative;
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.contact-hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.contact-hero p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-light);
  max-width: 640px;
}

/* ========================================
   CONTACT — MAIN LAYOUT
   ======================================== */
.contact-main {
  padding: 0 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

/* ========================================
   CONTACT — FORM
   ======================================== */
.contact-form-section h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-section > p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.contact-field label .required {
  color: var(--accent);
  margin-left: 2px;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  width: 100%;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250, 74, 52, 0.08);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-muted);
  font-weight: 400;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 16px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 74, 52, 0.2);
}

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

/* Success message */
.contact-success {
  display: none;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.contact-success.visible {
  display: block;
}

.contact-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-success-icon svg {
  width: 24px;
  height: 24px;
  stroke: #16a34a;
  fill: none;
  stroke-width: 2;
}

.contact-success h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-success p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-light);
}

/* ========================================
   CONTACT — SIDEBAR
   ======================================== */
.contact-sidebar {
  position: sticky;
  top: 120px;
}

.contact-channels {
  margin-bottom: 48px;
}

.contact-channel {
  padding: 24px 0;
  border-bottom: 1px solid var(--paper-border);
}

.contact-channel:first-child {
  padding-top: 0;
}

.contact-channel:last-child {
  border-bottom: none;
}

.contact-channel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.contact-channel-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-channel-email:hover {
  color: var(--ink);
}

.contact-channel-email svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-channel-desc {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Offices */
.contact-offices h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-office {
  margin-bottom: 20px;
}

.contact-office:last-child {
  margin-bottom: 0;
}

.contact-office-city {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-office-addr {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
  white-space: pre-line;
}

/* ========================================
   CONTACT — QUICK LINKS
   ======================================== */
.contact-quicklinks {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--paper-border);
}

.contact-quicklinks h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.contact-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-quicklink {
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-quicklink:hover {
  background: #fff;
  border-color: #d0c9bf;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26, 23, 20, 0.06);
}

.contact-quicklink h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-quicklink h3 svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.contact-quicklink:hover h3 svg {
  transform: translateX(4px);
}

.contact-quicklink p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-sidebar {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-channels {
    margin-bottom: 0;
  }

  .contact-quicklinks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 140px 0 60px;
  }

  .contact-main {
    padding: 0 0 80px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-quicklinks {
    padding: 60px 0;
  }

  .contact-quicklinks-grid {
    grid-template-columns: 1fr;
  }
}
