.contact-page__layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  align-items: start;
}

.contact-page {
  overflow: hidden;
}

.contact-page__header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 35, 58, 0.1);
}

.contact-page__header h2,
.contact-page__section-header h2,
.contact-page__cta h2 {
  margin: 0;
  color: #073d52;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.15;
}

.contact-page__header p:last-child,
.contact-page__cta p {
  max-width: 78ch;
  margin-bottom: 0;
}

.contact-page__cards,
.contact-page__directory-grid,
.information-page__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-page__card,
.contact-page__directory-grid article,
.information-page__card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(20, 35, 58, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(20, 35, 58, 0.07);
}

.contact-page__card--primary {
  background: #ffffff;
  border-left: 5px solid #0092bf;
}

.contact-page__card h3,
.contact-page__directory-grid h3,
.information-page__card h3 {
  margin: 0 0 10px;
  color: #073d52;
  font-size: 1.1rem;
}

.contact-page__card--primary h3,
.contact-page__card--primary address {
  color: #073d52;
}

.contact-page__card p,
.contact-page__card address,
.contact-page__directory-grid p,
.information-page__card p {
  margin: 0;
  color: #50677a;
  line-height: 1.65;
}

.contact-page__card p + p {
  margin-top: 8px;
}

.contact-page__card a,
.information-page__card a {
  color: #004a6a;
  font-weight: 800;
  text-decoration: none;
}

.contact-page__card a:hover,
.contact-page__card a:focus-visible,
.information-page__card a:hover,
.information-page__card a:focus-visible {
  color: #0092bf;
}

.contact-page__card a:focus-visible,
.information-page__card a:focus-visible {
  outline: 3px solid #f6c343;
  outline-offset: 3px;
}

.contact-page__muted {
  color: #6b7c8c;
  font-size: 0.92rem;
}

.contact-page__directory,
.contact-page__cta {
  margin-top: 32px;
}

.contact-page__section-header {
  margin-bottom: 18px;
}

.contact-page__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #eef9fc;
  border: 1px solid rgba(0, 146, 191, 0.18);
  border-radius: 12px;
}

.contact-page__button,
.information-page__card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #ffffff;
  background: #004a6a;
  border: 1px solid #004a6a;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.contact-page__button:hover,
.contact-page__button:focus-visible,
.information-page__card a:hover,
.information-page__card a:focus-visible {
  color: #ffffff;
  background: #0092bf;
  border-color: #0092bf;
}

.contact-page__button:focus-visible {
  outline: 3px solid #f6c343;
  outline-offset: 3px;
}

.information-page__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.information-page__card p {
  flex: 1;
}

@media (max-width: 1100px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-page__cards,
  .contact-page__directory-grid,
  .information-page__cards,
  .contact-page__cta {
    grid-template-columns: 1fr;
  }

  .contact-page__button {
    width: 100%;
  }
}

.contact-page-shell {
  width: min(100%, 1320px);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
}

.contact-directory {
  display: grid;
  gap: 34px;
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
  border: 1px solid #d8e3eb;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(9, 42, 70, 0.08);
}

.contact-directory__header {
  display: grid;
  grid-template-columns: minmax(0, 82ch) auto;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.contact-directory__header h2,
.contact-services h2,
.contact-addresses h2 {
  margin: 4px 0 8px;
  color: #082e4d;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.contact-directory__header > div > p:last-child,
.contact-addresses__header p {
  margin: 0;
  color: #4d6274;
  line-height: 1.7;
}

.contact-directory__map-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  color: #074d6b;
  font: 800 1rem/1.35 "Noto Sans", "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  background: #eaf6fb;
  border: 1px solid #86bfd2;
  border-radius: 9px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-directory__map-jump:hover {
  color: #fff;
  background: #006f95;
  border-color: #006f95;
  box-shadow: 0 8px 20px rgba(7, 77, 107, 0.16);
}

.contact-directory__map-jump:focus-visible,
.contact-addresses h2:focus-visible {
  outline: 3px solid #f2be32;
  outline-offset: 3px;
}

.contact-directory__eyebrow {
  margin: 0;
  color: #006d91;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-directory__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-directory__card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid #d7e4ec;
  border-radius: 13px;
  background: #f9fcfe;
}

.contact-directory__card--address {
  border-left: 5px solid #008bb5;
}

.contact-directory__icon,
.contact-services__grid > a > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #006f95;
  background: #e7f5fa;
  border: 1px solid #b9dce8;
  border-radius: 10px;
}

.contact-directory__card h3 {
  margin: 0 0 10px;
  color: #082e4d;
  font-size: 1.05rem;
}

.contact-directory__card p,
.contact-directory__card address {
  margin: 0;
  color: #3e566b;
  font-style: normal;
  line-height: 1.65;
}

.contact-directory__card p + p {
  margin-top: 8px;
}

.contact-directory__card p span {
  display: block;
  color: #607385;
  font-size: 1rem;
  font-weight: 700;
}

.contact-directory__card a,
.contact-addresses__table a {
  color: #005f82;
  font-weight: 800;
  text-underline-offset: 3px;
}

.contact-directory__card small {
  display: block;
  margin-top: 8px;
  color: #607385;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-services,
.contact-addresses {
  padding-top: 28px;
  border-top: 1px solid #dce6ed;
}

.contact-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.contact-services__grid > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 108px;
  padding: 19px;
  color: #082e4d;
  text-decoration: none;
  background: #f4f9fc;
  border: 1px solid #cbdde8;
  border-radius: 12px;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-services__grid > a:hover {
  background: #eaf6fb;
  border-color: #248caf;
  box-shadow: 0 10px 24px rgba(9, 70, 101, 0.1);
}

.contact-services__grid > a:focus-visible,
.contact-directory a:focus-visible,
.contact-addresses input:focus-visible {
  outline: 3px solid #f2be32;
  outline-offset: 3px;
}

.contact-services__grid strong,
.contact-services__grid small {
  display: block;
}

.contact-services__grid small {
  margin-top: 4px;
  color: #526a7d;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-addresses__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 24px;
}

.contact-addresses__search label {
  display: block;
  margin-bottom: 6px;
  color: #183f5e;
  font-weight: 800;
}

.contact-addresses__search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: #102f48;
  background: #fff;
  border: 1px solid #aebfca;
  border-radius: 9px;
  font: inherit;
}

.contact-addresses__status {
  margin: 16px 0 8px;
  color: #526a7d;
  font-size: 1rem;
}

.contact-addresses__table-wrap {
  overflow-x: auto;
  border: 1px solid #cfdee7;
  border-radius: 11px;
}

.contact-addresses__table {
  width: 100%;
  border-collapse: collapse;
}

.contact-addresses__table th,
.contact-addresses__table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #dde7ed;
}

.contact-addresses__table thead th {
  color: #fff;
  background: #0b4968;
  font-size: 1rem;
}

.contact-addresses__table tbody th {
  width: 27%;
  color: #0b3654;
}

.contact-addresses__table tbody td:last-child,
.contact-addresses__table thead th:last-child {
  width: 150px;
  text-align: center;
}

.contact-addresses__table tbody tr:nth-child(even) {
  background: #f6fafc;
}

.contact-addresses__table tbody tr:last-child > * {
  border-bottom: 0;
}

.contact-addresses__empty {
  margin: 16px 0 0;
  padding: 18px;
  color: #425b6e;
  text-align: center;
  background: #f4f8fa;
  border: 1px dashed #b7cbd7;
  border-radius: 10px;
}

[dir="rtl"] .contact-directory__card--address {
  border-right: 5px solid #008bb5;
  border-left-width: 1px;
}

[dir="rtl"] .contact-addresses__table th,
[dir="rtl"] .contact-addresses__table td {
  text-align: right;
}

[dir="rtl"] .contact-addresses__table tbody td:last-child,
[dir="rtl"] .contact-addresses__table thead th:last-child {
  text-align: center;
}

@media (max-width: 760px) {
  .contact-directory {
    padding: 18px;
  }

  .contact-directory__cards,
  .contact-services__grid,
  .contact-directory__header,
  .contact-addresses__header {
    grid-template-columns: 1fr;
  }

  .contact-directory__map-jump {
    width: 100%;
    white-space: normal;
  }

  .contact-directory__card {
    min-height: 0;
  }

  .contact-addresses__table-wrap {
    overflow: visible;
    border: 0;
  }

  .contact-addresses__table,
  .contact-addresses__table tbody,
  .contact-addresses__table tr,
  .contact-addresses__table th,
  .contact-addresses__table td {
    display: block;
    width: 100%;
  }

  .contact-addresses__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .contact-addresses__table tbody tr {
    margin-bottom: 12px;
    padding: 15px;
    background: #fff;
    border: 1px solid #d4e1e9;
    border-radius: 10px;
  }

  .contact-addresses__table th,
  .contact-addresses__table td,
  .contact-addresses__table tbody td:last-child {
    padding: 6px 0;
    text-align: left;
    border: 0;
  }

  .contact-addresses__table td::before {
    display: block;
    margin-bottom: 2px;
    color: #607385;
    content: attr(data-label);
    font-size: 1rem;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-services__grid > a,
  .contact-directory__map-jump {
    transition: none;
  }
}
