.contacts-page .shell {
  padding-inline: 0;
}

.contacts-page .page-hero {
  padding: 48px 24px 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #eef5fb, #fff);
}

.contacts-page .page-hero h1 {
  margin: 10px 0 16px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.16;
}

.contacts-page .page-hero .lead {
  max-width: 720px;
  margin-bottom: 0;
}

.contacts-page .contact-summary {
  padding: 32px 24px;
}

.contacts-page .contact-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contacts-page .contact-card {
  min-height: 166px;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contacts-page .contact-card.featured {
  border-color: var(--blue);
  background: var(--blue);
}

.contacts-page .contact-card > span {
  font-size: .72rem;
  letter-spacing: .07em;
}

.contacts-page .contact-card strong {
  color: var(--blue-dark);
  font-size: 1rem;
  line-height: 1.5;
}

.contacts-page .contact-card small {
  font-size: .82rem;
  line-height: 1.5;
}

.contacts-page .contact-card .contact-map-link {
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}

.contacts-page .contact-map-link span {
  display: inline;
  color: inherit;
  font-size: inherit;
}

.contacts-page .contact-message-section {
  padding: 40px 24px;
  background: #f5f7fa;
}

.contacts-page .contact-layout {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 30px;
}

.contacts-page .contact-info {
  padding: 0;
  border: 0;
  background: transparent;
}

.contacts-page .contact-info h2,
.contacts-page .form-panel h2 {
  margin: 8px 0 12px;
  color: var(--blue-dark);
  font-size: 1.55rem;
  line-height: 1.3;
}

.contacts-page .contact-info > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.contacts-page .contact-picker {
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contacts-page .contact-picker-item {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 82px;
  gap: 5px;
  padding: 16px 44px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.contacts-page .contact-picker-item:hover {
  border-color: #8ba9c5;
  background: #f9fbfd;
}

.contacts-page .contact-picker-item.is-selected {
  border-color: var(--blue);
  background: #eaf2fa;
  box-shadow: inset 3px 0 0 var(--blue);
}

.contacts-page .contact-picker-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.contact-picker-title {
  color: var(--blue);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-picker-description {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 400;
  line-height: 1.5;
}

.contact-picker-check {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.is-selected .contact-picker-check {
  opacity: 1;
}

.contacts-page .form-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  scroll-margin-top: 88px;
}

.contact-recipient-status {
  min-height: 44px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f1f6fb;
  color: #496078;
  font-size: .86rem;
  line-height: 1.5;
}

.contacts-page .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.contacts-page .form-grid > * {
  grid-column: 1 / -1;
}

.contacts-page .form-grid > .field-half {
  grid-column: span 1;
}

.contacts-page .field label,
.contacts-page .field legend {
  color: var(--blue-dark);
  font-size: .88rem;
}

.contacts-page input,
.contacts-page select,
.contacts-page textarea {
  border-color: #c4cfda;
  border-radius: 5px;
  font-size: 1rem;
}

.contacts-page textarea {
  min-height: 170px;
}

.contacts-page fieldset.field {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contacts-page .radio-row label {
  font-weight: 400;
}

.contacts-page .privacy-note {
  margin: 0;
  font-size: .82rem;
  line-height: 1.6;
}

.contacts-page .form-grid > .button[type="submit"] {
  gap: 20px;
  padding-inline: 24px;
  border-color: var(--blue);
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
}

.contacts-page .form-grid > .button[type="submit"]:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.contacts-page .contact-map-section {
  padding: 40px 24px;
  scroll-margin-top: 88px;
}

.contacts-page .map-panel {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
  border-radius: 10px;
  background: #fff;
}

.contacts-page .map-copy h2 {
  margin: 8px 0 18px;
  color: var(--blue-dark);
  font-size: 1.55rem;
}

.contacts-page .map-copy p {
  font-size: .94rem;
  line-height: 1.65;
}

.contacts-page .map-external-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding-block: 8px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #a8bdd1;
  text-underline-offset: 5px;
}

.contacts-page .map-external-link:hover {
  text-decoration-color: currentColor;
}

.contacts-page .map-external-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-page .map-frame {
  position: relative;
  display: block;
  height: 380px;
  min-height: 380px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
  overflow: hidden;
}

.contacts-page .map-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.contacts-page .map-frame iframe[data-map-ready="true"] {
  opacity: 1;
  pointer-events: auto;
}

.contacts-page .map-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 28px;
  background: linear-gradient(145deg, #f5f8fb, #eaf0f6);
  text-align: center;
}

.contacts-page .map-preview[hidden] {
  display: none;
}

.contacts-page .map-location-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-page .map-preview-title {
  color: var(--blue-dark);
  font-size: 1.12rem;
}

.contacts-page .map-preview p {
  max-width: 340px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.contacts-page .map-policy-link {
  margin-top: 14px;
  color: var(--muted);
  font-size: .75rem;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .contacts-page .contact-layout,
  .contacts-page .map-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacts-page .contact-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contacts-page .page-hero {
    padding: 32px 20px 28px;
  }

  .contacts-page .contact-summary {
    padding: 24px 20px;
  }

  .contacts-page .contact-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contacts-page .contact-card {
    min-height: 0;
    padding: 16px 14px;
  }

  .contacts-page .contact-card.featured {
    grid-column: 1 / -1;
  }

  .contacts-page .contact-card strong {
    font-size: .9rem;
  }

  .contacts-page .contact-message-section,
  .contacts-page .contact-map-section {
    padding: 28px 20px;
  }

  .contacts-page .contact-layout {
    gap: 28px;
  }

  .contacts-page .form-panel,
  .contacts-page .map-panel {
    padding: 22px 18px;
  }

  .contacts-page .map-panel {
    gap: 24px;
  }

  .contacts-page .map-frame {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .contacts-page .map-frame {
    height: 380px;
    min-height: 380px;
  }

  .contacts-page .map-preview {
    padding: 20px;
  }

  .contacts-page .map-location-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .contacts-page .contact-picker,
  .contacts-page .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacts-page .contact-card small {
    font-size: .76rem;
  }

  .contacts-page .form-grid > .field-half {
    grid-column: 1 / -1;
  }

  .contacts-page .form-grid > .button[type="submit"] {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contacts-page .contact-picker-item {
    transition: none;
  }
}
