.office-section {
  position: relative;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
}

.office-copy {
  min-width: 0;
}

.office-copy h2 {
  max-width: 320px;
  margin-bottom: 30px;
}

.office-address {
  margin: 0;
  color: var(--muted, #627086);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.office-address strong {
  color: var(--ink, #0e294c);
  font-weight: 700;
}

.office-copy > .button {
  margin-top: 28px;
}

.office-marker-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 275px;
  margin: 24px 0 0;
  color: var(--muted, #627086);
  font-size: 11px;
  line-height: 1.5;
}

.office-marker-note img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.office-map-frame {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(14, 41, 76, .18);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 40px rgba(14, 41, 76, .07);
}

.office-map {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(14, 41, 76, .26);
  background: #f3f0e9;
}

.office-map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 30px;
  color: var(--muted, #627086);
  background: #f7f8f7;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.office-map[data-map-state='ready'] .office-map-placeholder {
  display: none;
}

.office-map-status {
  margin: 12px 2px 0;
  color: var(--muted, #627086);
  font-size: 11px;
  line-height: 1.55;
}

.office-map-status[data-state='loading'] {
  color: var(--ink, #0e294c);
}

.office-map-status[data-state='error'] {
  color: #8a3d32;
}

.office-map-popup {
  min-width: 205px;
  max-width: 250px;
  color: var(--ink, #0e294c);
  font-family: var(--sans, Manrope, Arial, sans-serif);
  font-size: 12px;
  line-height: 1.5;
}

.office-map-popup__title {
  display: block;
  margin: 0 0 5px;
  color: var(--navy, #071e3d);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.office-map-popup__address {
  margin: 0 0 9px;
  color: var(--muted, #627086);
  font-size: 11px;
  line-height: 1.5;
}

.office-map-popup__link {
  display: inline-block;
  color: var(--blue, #2b8fff);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.office-map-popup__link:hover,
.office-map-popup__link:focus-visible {
  color: var(--navy, #071e3d);
}

.contact-address {
  max-width: 360px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.contact-address strong {
  color: #fff;
  font-weight: 700;
}

.contact-address a {
  color: #a9d4fa;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-office {
  min-width: 0;
}

.footer-office address {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font: 500 12px/1.7 var(--sans, Manrope, Arial, sans-serif);
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.footer-office a {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
  text-transform: inherit;
  transition: color .2s ease;
}

.footer-office a:hover,
.footer-office a:focus-visible {
  color: #a9d4fa;
}

.footer-office small {
  color: rgba(255, 255, 255, .4);
  font-size: 8px;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .office-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .office-copy h2 {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .office-layout {
    gap: 35px;
  }

  .office-copy h2 {
    margin-bottom: 25px;
  }

  .office-address {
    font-size: 13px;
  }

  .office-map-frame {
    padding: 6px;
  }

  .office-map {
    height: 340px;
    min-height: 340px;
  }

  .office-map-status {
    margin-top: 10px;
    font-size: 10px;
  }

  .contact-address {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-map,
  .office-map-frame {
    scroll-behavior: auto;
  }

  .footer-office a {
    transition: none;
  }
}
