/* Contact (Figma D07 649:605 · T07 675:541 · M07 672:77854) */

/* Figma mobile section titles are 28px (v-m-h1); base .t-h2 is 24px on mobile */
@media (max-width: 767px) { main .t-h2 { font-size: 28px; } }

/* ---------- intro ---------- */
.ct-intro { padding: 32px 0 32px; }
.ct-intro .crumb { margin-bottom: 30px; }
.ct-intro .t-mark { margin-bottom: 10px; }
.ct-lead { max-width: 600px; }
@media (max-width: 767px) { .ct-intro .t-mark { font-size: 40px; } .ct-lead { font-size: 15px; line-height: 1.5; max-width: 300px; } }
@media (min-width: 768px) {
  .ct-intro { padding: 48px 0 64px; }
  .ct-intro .crumb { margin-bottom: 40px; }
  .ct-intro .t-mark { margin-bottom: 24px; }
}
@media (min-width: 1200px) { .ct-intro { padding: 48px 0 72px; } .ct-intro .crumb { margin-bottom: 52px; } .ct-intro .t-mark { margin-bottom: 20px; } }

.sec-head { display: grid; gap: 16px; }

/* ---------- contacts + form ---------- */
.ct-main { display: grid; gap: 48px; }
.ct-list { margin-top: 32px; border-top: 1px solid var(--black); }
.ct-list li { display: flex; align-items: center; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ct-list .ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--g50); color: var(--g700); }
.ct-list li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.ct-list a { transition: color .15s; }
.ct-list a:hover { color: var(--g700); }
.ct-dep-h { margin-top: 48px; padding-bottom: 12px; }
.ct-deps { border-top: 1px solid var(--line); }
.ct-deps li { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; flex-wrap: wrap; min-height: 51px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.ct-deps a { color: var(--k600); transition: color .15s; }
.ct-deps a:hover { color: var(--g700); }
@media (max-width: 767px) {
  .ct-list .t-h3 { font-size: 16px; }
  .ct-deps li { display: grid; gap: 2px; padding-block: 14px; }
  .ct-main { padding-bottom: 0; gap: 64px; }
}

.ct-form { background: var(--k50); padding: 56px var(--margin) 48px; margin-inline: calc(var(--margin) * -1); }
.ct-form-p { margin-top: 12px; }
.ct-fields { display: grid; gap: 24px; margin-top: 24px; }
.ct-fields .check { font-size: 13px; align-items: center; min-height: 24px; }
.ct-send { margin-top: 24px; }
.ct-form .form-note { margin-top: 24px; }
@media (min-width: 768px) {
  .ct-form { margin: 0; padding: 40px; border: 1px solid var(--line); }
  .ct-fields { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 48px; }
  .field--wide { grid-column: 1 / -1; }
  .ct-send { margin-top: 20px; }
}
@media (min-width: 1200px) {
  .ct-main { grid-template-columns: minmax(0, 520fr) minmax(0, 680fr); gap: 80px; align-items: start; }
  .ct-list { margin-top: 38px; }
  .ct-dep-h { margin-top: 64px; }
}

/* ---------- map ---------- */
.ct-map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; margin-bottom: 32px; }
.ct-route { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.ct-route .ln { width: 32px; border-top: 2.5px solid var(--g700); }
@media (max-width: 767px) { .ct-map-head { flex-direction: column; align-items: flex-start; gap: 20px; } .ct-mapsec { padding-bottom: 0; } }

.map { position: relative; overflow: hidden; height: 460px; margin-inline: calc(var(--margin) * -1); background: #fff; }
.map-layer { position: absolute; left: 50%; top: 0; width: 1280px; height: 600px; transform: translate(-575px, -141px); }
.map-svg { display: block; width: 1280px; height: 600px; max-width: none; }
.map-svg .ml { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .05em; }
.map-svg .ml--sec { fill: var(--k600); } .map-svg .ml--mut { fill: var(--k500); } .map-svg .ml--green { fill: var(--g700); }
.map-svg .ml--box { stroke: #fff; stroke-width: 8px; stroke-linejoin: round; paint-order: stroke; }
.map-card { position: absolute; left: 16px; top: 18px; min-width: 190px; white-space: nowrap; display: grid; gap: 4px; padding: 16px 20px 18px; background: #fff; border: 1px solid var(--black); transition: box-shadow .2s; }
.map-card .t-h3 { margin-bottom: 4px; }
.map-card:hover { box-shadow: inset 0 0 0 1px var(--black); }
.map-card:hover .t-h3 { color: var(--g700); }
.map-svg .map-conn { display: none; }
.map-north { position: absolute; top: 39px; right: 39px; }
.map-scale { position: absolute; right: 59px; bottom: 33px; }
@media (min-width: 768px) {
  .map { height: 560px; margin-inline: 0; border: 1px solid var(--line); }
  .map-layer { transform: translate(-604px, -20px); }
  .map-card { left: calc(50% + 47px); top: 320px; }
  .map-svg .map-conn { display: inline; }
}
@media (min-width: 1200px) {
  .map { height: 600px; }
  .map-layer { transform: translate(-640px, -1px); }
  .map-card { left: calc(50% + 11px); top: 339px; }
}

/* ---------- photo strip ---------- */
.ct-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 270px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 0; }
.ct-photos::-webkit-scrollbar { display: none; }
.ct-photos .photo { height: 320px; scroll-snap-align: start; }
.ct-photos figcaption { left: 20px; bottom: 24px; }
@media (min-width: 768px) {
  .ct-photos { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-top: 0; }
  .ct-photos .photo { height: 340px; }
}
@media (min-width: 1200px) { .ct-photos .photo { height: 440px; } .ct-photos figcaption { left: 24px; bottom: 28px; } }
.field.is-error .textarea { border-color: var(--black); box-shadow: inset 0 0 0 .5px var(--black); }
.field.is-error .check input { border-color: var(--black); box-shadow: inset 0 0 0 .5px var(--black); }
@media (min-width: 1200px) { .ct-intro .t-mark { font-size: 67px; } }

/* ---------- phase 3: motion, hover, focus ---------- */
/* contact rows: icon tile warms on hover, link turns green */
.ct-list .ico { transition: background .25s ease, color .25s ease; }
.ct-list li:has(a:hover) .ico, .ct-list li:has(a:focus-visible) .ico { background: var(--g700); color: var(--white); }
.ct-list a, .ct-deps a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.ct-list a:hover, .ct-deps a:hover { text-decoration-color: currentColor; }
.ct-deps li { transition: background .2s ease; }
.ct-deps li:has(a:hover) { background: var(--k50); }
.ct-list a:focus-visible, .ct-deps a:focus-visible { outline-offset: 3px; }
@media (max-width: 767px) { .ct-deps a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -13px; } }

/* form fields: hover darkens the border, focus keeps the black line, label turns green */
.ct-form .input:hover, .ct-form .select:hover, .ct-form .textarea:hover { border-color: var(--k500); }
.ct-form .input:focus, .ct-form .select:focus, .ct-form .textarea:focus { border-color: var(--black); }
.ct-form .field label:not(.check) { transition: color .2s; }
.ct-form .field:focus-within label:not(.check) { color: var(--g700); }
.ct-form .select { cursor: pointer; }
.ct-form .check input { transition: border-color .15s, background-color .15s; }
.ct-form .check:hover input:not(:checked) { border-color: var(--black); }
.ct-form .check input:focus-visible { outline: 2px solid var(--g700); outline-offset: 2px; }
.ct-form .field.is-error .err { animation: ct-in .35s var(--ease) both; }
/* success note slides in */
.ct-form.is-sent .form-note { animation: ct-in .6s var(--ease) both; }
@keyframes ct-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 767px) { .ct-send { width: 100%; } }

/* map: route draws, office pin pops, then a slow ring around the pin */
.map-svg .map-ping { opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-svg.is-in .map-ping { animation: ct-ping 2.8s ease-out 2.4s infinite; }
@keyframes ct-ping { 0% { opacity: .7; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(2.2); } }
.map .map-card { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease) 1.9s, transform .7s var(--ease) 1.9s, box-shadow .2s; }
.map.is-in .map-card { opacity: 1; transform: none; }
.map.is-in .map-card:hover { transition: box-shadow .2s; }
.map-card:focus-visible { outline-offset: 3px; }
.map-card .t-h3 { transition: color .2s; }

/* photo strip: slow zoom on hover (decorative only) */
.ct-photos .photo img { transition: transform 1.2s var(--ease); }
@media (hover: hover) { .ct-photos .photo:hover img { transform: scale(1.035); } }

@media (prefers-reduced-motion: reduce) {
  .map .map-card { opacity: 1; transform: none; transition: none; }
  .map-svg.is-in .map-ping { animation: none; }
  .ct-form.is-sent .form-note, .ct-form .field.is-error .err { animation: none; }
}
