/* Contact: a white message card with the teal help panel overlapping its right edge, then the office map. */
.contact-main {
  padding: clamp(2.5rem,6vw,4.5rem) 0 0;
  background: linear-gradient(180deg,var(--bone) 0,var(--bone) 58%,#e4f0ee 58%,#e4f0ee 100%);
}
.contact-layout { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; }
.contact-card {
  grid-column: 1 / 3; grid-row: 1;
  margin-right: 120px; padding: clamp(1.75rem,4vw,3rem); padding-right: 270px;
  border-radius: 28px; background: #fff; box-shadow: 0 1.5rem 3rem rgba(15,23,22,.06);
}
.contact-card h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem,2.6vw,2.1rem); letter-spacing: -.03em; }
.contact-intro { max-width: 34rem; margin: 0 0 2rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem 1.25rem; }
.contact-field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { color: var(--ink); font-size: .9rem; font-weight: 700; }
.contact-field input,.contact-field textarea,.contact-phone {
  width: 100%; border: 1.5px solid #d9e2df; border-radius: 999px; background: #fff;
  color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-field input,.contact-field textarea { padding: .85rem 1.3rem; }
.contact-field textarea { min-height: 8rem; border-radius: 22px; resize: vertical; }
.contact-field input::placeholder,.contact-field textarea::placeholder { color: #7c8a87; }
.contact-field input:focus,.contact-field textarea:focus,.contact-phone:focus-within {
  border-color: var(--ink2); outline: none; box-shadow: 0 0 0 .22rem rgba(14,95,99,.14);
}
.contact-phone { display: flex; align-items: center; overflow: hidden; }
.contact-phone select {
  flex: 0 0 auto; padding: .85rem .6rem .85rem 1.1rem; border: 0; border-right: 1.5px solid #d9e2df;
  background: transparent; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
}
.contact-phone select:focus { outline: none; }
.contact-phone input { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 0; box-shadow: none!important; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.contact-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: .6rem; align-items: start; max-width: 30rem; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; cursor: pointer; }
.contact-submit {
  padding: .95rem 2rem; border: 0; border-radius: 999px; color: #fff; background: var(--ink2);
  font-weight: 700; transition: background .15s ease, transform .15s ease;
}
.contact-submit:hover { background: var(--ink); }
.contact-submit:disabled { opacity: .7; cursor: wait; }
.contact-submit:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.contact-form .form-response { margin: 1rem 0 0; color: var(--ink2); font-weight: 600; }
.contact-form .form-response:empty { display: none; }

.contact-panel {
  position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: center;
  display: flex; flex-direction: column; gap: .9rem; padding: 2.1rem 1.9rem;
  border-radius: 28px; color: #fff; background: var(--ink2); box-shadow: 0 1.75rem 3.5rem rgba(14,95,99,.28);
}
.contact-panel h2 { margin: 0 0 .6rem; color: #fff!important; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.02em; }
.contact-tile {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 14px;
  color: #fff; background: rgba(255,255,255,.1); text-decoration: none; transition: background .15s ease;
}
.contact-tile:hover { color: #fff; background: rgba(255,255,255,.18); }
.contact-tile:focus-visible,.contact-social a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.contact-tile span { display: flex; flex-direction: column; min-width: 0; font-size: .92rem; overflow-wrap: anywhere; }
.contact-tile b { font-size: .95rem; }
.contact-panel svg { flex: 0 0 auto; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-panel svg .fill { fill: currentColor; stroke: none; }
.contact-social { margin-top: .6rem; padding-top: 1.3rem; border-top: 1px solid rgba(207,227,224,.28); }
.contact-social p { margin: 0 0 .8rem; font-weight: 700; }
.contact-social div { display: flex; gap: .6rem; }
.contact-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.1); transition: background .15s ease, color .15s ease;
}
.contact-social a:hover { color: var(--ink); background: var(--gold); }
.contact-social svg { width: 20px; height: 20px; stroke: currentColor; }

.contact-map-section { padding: clamp(3rem,7vw,5rem) 0 clamp(3.5rem,8vw,6rem); background: #e4f0ee; }
.contact-map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.6rem; }
.contact-map-head h2 { margin: 0 0 .4rem; font-size: clamp(1.6rem,3vw,2.4rem); letter-spacing: -.03em; }
.contact-map-head p { margin: 0; color: var(--muted); }
.contact-map-kicker { margin: 0 0 .4rem!important; color: var(--ink2)!important; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contact-map-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-map-btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border: 2px solid var(--ink2);
  border-radius: 999px; color: #fff; background: var(--ink2); font-weight: 700; text-decoration: none;
}
.contact-map-btn:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.contact-map-btn.is-ghost { color: var(--ink2); background: transparent; }
.contact-map-btn.is-ghost:hover { color: #fff; background: var(--ink2); }
.contact-map { overflow: hidden; border-radius: 28px; background: #cfe3e0; box-shadow: 0 1.5rem 3rem rgba(15,23,22,.08); }
.contact-map iframe { display: block; width: 100%; height: clamp(320px,48vw,480px); border: 0; }

@media (max-width: 1199.98px) {
  .contact-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .contact-card { margin-right: 90px; padding-right: 250px; }
}
@media (max-width: 991.98px) {
  .contact-main { background: linear-gradient(180deg,var(--bone) 0,var(--bone) 70%,#e4f0ee 70%); }
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-card { grid-column: 1; margin-right: 0; padding-right: clamp(1.75rem,4vw,3rem); }
  .contact-panel { grid-column: 1; grid-row: 2; margin-top: 0; }
}
@media (max-width: 575.98px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card,.contact-panel { border-radius: 22px; padding: 1.5rem 1.25rem; }
  .contact-actions { flex-direction: column-reverse; align-items: stretch; }
  .contact-submit { width: 100%; }
  .contact-map { border-radius: 20px; }
}
