/* =============================================================================================
   /contact/ — photo + form card, Our Locations (grey cards with photo), shared newsletter band.
   Built on the site tokens (Gilroy, #000 / #404040 / #797979, accent #06b22d, square corners).
   ============================================================================================= */
/* intro + form: photo left, bordered form card right */
html body.system-page main .ct-hero { padding: 72px 0 120px; }
.ct-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.ct-hero-img { margin: 0; min-height: 560px; overflow: hidden; background: #f8f9fa; }
.ct-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-form-wrap { padding: 40px; background: #fff; border: 1px solid #e5e5e5; }
html body.system-page main .ct-hero h1 { margin: 0 0 32px; font-size: 40px !important; line-height: 46px !important; letter-spacing: -.5px !important; font-weight: 500 !important; color: #000; }

/* locations: grey cards, text left / photo right */
html body.system-page main .ct-locations { background: #fff; padding-top: 0; }
.ct-loc-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.ct-loc-head h2 { margin: 0 0 16px; }
html body.system-page main .ct-loc-head p { margin: 0; font-size: 18px; line-height: 26px; font-weight: 500; color: #404040; }
.ct-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ct-loc { display: grid; grid-template-columns: 1fr minmax(0, 46%); gap: 24px; padding: 20px; background: #f5f5f5; transition: box-shadow var(--dur-base, 350ms) var(--ease, ease); }
.ct-loc--wide { grid-column: 1 / -1; grid-template-columns: 1fr minmax(0, 33%); }
.ct-loc-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 4px 0; }
html body.system-page main .ct-loc h3 { margin: 0; font-size: 32px !important; line-height: 38px !important; font-weight: 500 !important; color: #000; }
html body.system-page main .ct-loc-copy > p { margin: 0; font-size: 16px; line-height: 22px; font-weight: 500; color: #404040; max-width: 440px; }
.ct-loc-contact { display: flex; flex-direction: column; gap: 12px; margin: auto 0 0; padding: 24px 0 0; list-style: none; }
.ct-loc-contact li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 22px; font-weight: 500; color: #000; min-width: 0; }
.ct-loc-contact li > svg { flex: none; color: #06b22d; }
.ct-loc-contact li > span { display: flex; flex-wrap: wrap; align-items: center; }
.ct-loc-contact a { overflow-wrap: anywhere; }
.ct-loc-contact a:hover { color: #06b22d; }
.ct-loc-contact li > span a + a { margin-left: 12px; padding-left: 12px; border-left: 1px solid #c8c8c8; }
.ct-loc-img { margin: 0; min-height: 220px; overflow: hidden; background: #e5e5e5; }
.ct-loc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) { .ct-loc { grid-template-columns: 1fr; } .ct-loc--wide { grid-template-columns: 1fr; } .ct-loc-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 900px) {
  html body.system-page main .ct-hero { padding: 48px 0 80px; }
  .ct-hero-grid, .ct-loc-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-loc-grid { gap: 20px; }
  .ct-hero-img { min-height: 0; aspect-ratio: 4 / 3; }
  .ct-form-wrap { padding: 32px 24px; }
  .ct-loc-head { margin-bottom: 40px; }
}
@media (max-width: 700px) {
  html body.system-page main .ct-hero h1 { font-size: 32px !important; line-height: 38px !important; }
  .ct-loc { padding: 16px; }
}
