/* ==========================================================================
   Contact page only (loaded after styles.css on /contact, with quote.js).
   Every component (contact cards, form, even pills, confirmation panel,
   FAQ) lives in styles.css; this file only lays out this one page.
     1  Ways to reach us: the cards sit under the compact hero, like its photo
     2  Quote: sticky aside (eyebrow, H2, intro, arch photo) + form card
     3  FAQ head spacing
   ========================================================================== */

/* 1. Ways to reach us ---------------------------------------------------- */
.reach { padding-top: clamp(36px, 4.4vw, 64px); }

/* 2. Quote: aside + form -------------------------------------------------
   The aside is sticky, so it travels beside the long form card. */
.quote__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 32px;
  align-items: start;
}
.quote__grid[hidden] { display: none; }

.quote__aside {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h-compact) + 40px);
}
.quote__aside .h2:focus { outline: none; }
.quote__intro { margin-top: 22px; color: var(--muted); max-width: 24em; }
.quote__aside .form__legend-note { margin-top: 22px; }
.quote__aside .assure { margin-top: 22px; }
.quote__photo { width: min(100%, 280px); margin-top: 48px; }   /* rounded portrait (arches are reserved for the logo plaques) */

.quote .form-card { grid-column: 6 / -1; }
.quote__wrap .confirm { max-width: 920px; margin-inline: auto; }

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .quote .form-card { grid-column: 5 / -1; }
}
@media (max-width: 1023.98px) {
  .quote__aside { grid-column: 1 / -1; position: static; }
  .quote__photo { display: none; }
  .quote .form-card { grid-column: 1 / -1; }
}

/* 3. FAQ: the head (sticky beside the list from 1024px, in styles.css) --- */
.faq--contact .faq__head .rule { margin-top: 30px; }
.faq--contact .faq__head .btn-row { margin-top: 28px; }
