/* ============================================================
   contact.css — the conversion page
   The form is the centre of gravity, not a footnote. Quick ways
   to reach him and what the first call involves sit alongside;
   the two offices and one client line sit below.
   ============================================================ */

.contact {
  background: var(--paper);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;   /* reach-me (left) + form (right) */
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__aside { order: 1; }
.contact__card  { order: 2; }

/* ---------- Form (the centre of gravity) ---------- */
.contact__card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-top: var(--space-2);
}
.contact__intro {
  margin-top: var(--space-3);
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact__form { margin-top: var(--space-5); display: grid; gap: var(--space-4); }
/* inputs read against the darker card */
.contact__card .field input,
.contact__card .field textarea { background: var(--paper); }
.contact__form .btn { justify-self: start; }
.contact__note { font-size: 0.85rem; line-height: 1.55; color: var(--muted); }

/* ---------- Aside: reach + what to expect ---------- */
.contact__aside { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); }
.contact__aside-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--space-3);
}
.contact__phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
}
.contact__phone:hover { color: var(--blue); }
.contact__reach {
  margin-top: var(--space-2);
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact__reach a { color: var(--blue); }
.contact__reach a:hover { color: var(--gold-deep); }

.expect-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.expect-list li {
  position: relative;
  padding-left: 1.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.expect-list li svg {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 20px;
  height: 20px;
  color: var(--blue);
}

/* ---------- Offices ---------- */
.offices {
  background: var(--paper-2);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.offices__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.offices__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-top: var(--space-3);
}
.offices__title em { font-style: italic; color: var(--blue); }
.offices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.office-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.office-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
}
.office-card__name span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.office-card__loc {
  margin-top: var(--space-3);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.office-card__pin {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--blue);
  margin-top: 0.15rem;
}
.office-card__addr {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}
/* address links to the map — no underline until hover, like the main menu */
.office-card__maplink {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.office-card__maplink:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ---------- Form validation states ---------- */
.field--error input,
.field--error textarea {
  border-color: #B4433A;
  background: rgba(180, 67, 58, 0.05);
}
.field__error {
  font-size: 0.8rem;
  font-weight: 500;
  color: #B4433A;
}
/* confirmation panel, shown in place of the form after a valid submit */
.contact__confirm {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.contact__confirm:focus { outline: none; }    /* focused by site.js only so screen readers announce it */
.contact__confirm-icon {
  width: 54px;
  height: 54px;
  color: var(--blue);
  margin: 0 auto var(--space-3);
}
.contact__confirm-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--ink);
}
.contact__confirm-text {
  margin: var(--space-3) auto 0;
  max-width: 30rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.contact__confirm-again { margin-top: var(--space-5); }
.office-card__note {
  margin-top: var(--space-3);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card  { order: 1; }   /* form first when stacked */
  .contact__aside { order: 2; }
  .offices__grid { grid-template-columns: 1fr; }
}
