/* ============================================================
   Get in touch — page-specific styles.
   Shared chrome/buttons/badges live in components.css; this file only
   covers what's unique to the contact page: the intro/photo layout,
   contact details list, form fields, and the office-location map.
   ============================================================ */

/* ---------- Hero + intro ---------- */

.av-contact-hero {
  padding: 190px clamp(24px, 6.25vw, 90px) 0;
  max-width: 1130px;
  margin: 0 auto;
  box-sizing: content-box;
}

.av-contact-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px clamp(32px, 5vw, 72px);
  align-items: center;
}

.av-contact-h1 {
  max-width: 360px;
  font-size: clamp(55px, 7.1vw, 102px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.av-contact-lead {
  margin: 40px 0 0;
  max-width: 380px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--av-n700);
}

.av-contact-photo {
  border-radius: var(--av-radius-2xl);
  overflow: hidden;
}
.av-contact-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Rules ---------- */

.av-contact-rule {
  height: 1px;
  background: var(--av-n300);
}
.av-contact-rule--top { margin: 130px 0 0; }
.av-contact-rule--bottom { margin: 100px 0 0; }

/* ---------- Contact details + form grid ---------- */

.av-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.av-contact-h2 {
  font-size: clamp(27px, 2.21vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.av-contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 44px;
}
.av-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.av-contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.av-contact-detail__title {
  font-size: 18px;
  line-height: 1.4;
}
.av-contact-detail__value {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.8;
}
.av-contact-detail__link {
  color: var(--av-black);
  text-decoration: underline;
  text-decoration-color: var(--av-n300);
  text-underline-offset: 3px;
}

/* ---------- Form ---------- */

.av-contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.av-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.av-field--full { grid-column: 1 / -1; }

.av-field__label {
  font-size: 16px;
  line-height: 1.4;
}
.av-field__required { color: var(--av-n500); }

.av-field__control {
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid var(--av-n200);
  border-radius: var(--av-radius-sm);
  background: var(--av-white);
  font-family: inherit;
  font-size: 16px;
  color: var(--av-text);
  transition: border-color var(--av-dur-fast) ease;
}
.av-field__control::placeholder { color: var(--av-n400); }
.av-field__control:focus {
  outline: none;
  border-color: var(--av-n700);
}
textarea.av-field__control {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.av-contact-submit { margin-top: 32px; }

.av-contact-form__msg {
  margin: 16px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--av-n500);
}

/* ---------- "We live on Avalon Boulevard" ---------- */

.av-contact-boulevard {
  text-align: center;
  padding-top: 100px;
}
.av-contact-h2-lg {
  font-size: clamp(37px, 3.8vw, 55px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.av-contact-boulevard__sub {
  margin: 24px 0 0;
  font-family: var(--av-font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- Office-location map ---------- */

.av-contact-map-section {
  padding: 60px clamp(24px, 6.25vw, 90px) 0;
}

.av-map-wrap {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(280px, 100%), 380px);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 759px) {
  .av-map-wrap { grid-template-columns: 100%; }
}

.av-map-frame {
  position: relative;
  min-width: 0;
  min-height: min(620px, 52vh);
  border-radius: var(--av-radius-2xl);
  overflow: hidden;
  background: var(--av-n50);
}
.av-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.av-map-cards {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.av-location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--av-radius-md);
  outline: 1px dashed var(--av-black);
  outline-offset: -1px;
  background: transparent;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: outline var(--av-dur-fast) ease, background var(--av-dur-fast) ease;
}
.av-location-card:hover,
.av-location-card--active {
  outline: 2px solid var(--av-black);
  background: var(--av-n50);
}
.av-location-card__flag {
  font-size: 22px;
  line-height: 1;
}
.av-location-card__title {
  margin: 0;
  font-family: var(--av-font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}
.av-location-card__address {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--av-n400);
}
