.footer .ig-footer-contacts {
  --footer-contact-surface: #152c41;
  --footer-contact-border: #3b5269;
  --footer-contact-text: #f5f8fc;
  --footer-contact-muted: #c0cede;
  --footer-contact-icon: #223e55;
  display: grid;
  grid-template-rows: auto 1fr 1fr;
  width: min(100%, 368px);
  min-width: 0;
  gap: 8px;
}

.footer .ig-footer-contacts .footer__header {
  margin-bottom: 6px;
}

.footer .ig-footer-contacts :is(.contact.ig-contact-card, .ig-contact-card .contact__phone) {
  display: grid;
  grid-template: none;
  margin: 0;
  padding: 0;
}

.footer .ig-footer-contacts .ig-contact-card .contact__phone {
  grid-area: auto;
}

.footer .ig-footer-contacts :is(.ig-contact-card a.ig-wa-link, .ig-footer-sales) {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px !important;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid var(--footer-contact-border);
  border-radius: 8px;
  background: var(--footer-contact-surface);
  color: var(--footer-contact-text) !important;
  text-decoration: none;
}

.footer .ig-footer-contacts .ig-footer-sales {
  position: relative;
}

.footer .ig-footer-contacts :is(.ig-wa-icon, .ig-footer-sales__badge) {
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  box-sizing: border-box;
  border-radius: 6px;
  background: var(--footer-contact-icon);
  color: #d8e7f3;
}

.footer .ig-footer-contacts .ig-wa-icon {
  padding: 8px;
}

.footer .ig-footer-contacts .ig-footer-sales__badge svg {
  width: 19px;
  height: 19px;
}

.footer .ig-footer-contacts :is(.ig-contact-card .ig-wa-copy, .ig-footer-sales__copy) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.footer .ig-footer-contacts :is(.ig-wa-copy strong, .ig-footer-sales__copy strong) {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--footer-contact-text);
}

.footer .ig-footer-contacts .ig-footer-sales__copy a {
  color: inherit;
  text-decoration: none;
}

.footer .ig-footer-contacts :is(.ig-wa-copy small, .ig-footer-sales__copy small) {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--footer-contact-muted);
}

.footer .ig-footer-contacts :is(.ig-contact-card a.ig-wa-link, .ig-footer-sales)::after {
  justify-self: center;
  width: 6px;
  height: 6px;
  border-right: 1px solid #a6bbce;
  border-top: 1px solid #a6bbce;
  content: "";
  transform: rotate(45deg);
  pointer-events: none;
}

.footer .ig-footer-contacts .ig-footer-sales__copy a::after {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  content: "";
}

.footer .ig-footer-contacts :is(.ig-contact-card a.ig-wa-link, .ig-footer-sales):hover,
.footer .ig-footer-contacts .ig-footer-sales:focus-within {
  background: #1c3951;
  border-color: #708aa3;
}

.footer .ig-footer-contacts .ig-contact-card a.ig-wa-link:focus-visible,
.footer .ig-footer-contacts .ig-footer-sales__copy a:focus-visible::after {
  outline: 2px solid #b9d9f5;
  outline-offset: 2px;
}

.footer .ig-footer-office {
  width: fit-content;
  font-size: 14px;
  line-height: 1.5;
  color: #c0cede;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ig-office-inquiries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  box-sizing: border-box;
  max-width: 1120px;
  margin: 24px auto 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #e2e8ef;
  border-radius: 18px;
  background: #f7f9fc;
  color: #243247;
  text-align: left;
  scroll-margin-top: 96px;
}

.ig-office-inquiries h2 {
  margin: 0 0 10px;
  color: #14253c;
  font-size: clamp(21px, 3vw, 25px);
  line-height: 1.25;
}

.ig-office-inquiries address {
  font-style: normal;
  line-height: 1.65;
}

.ig-office-inquiries__contact {
  display: grid;
  gap: 6px;
}

.ig-office-inquiries__contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  background: #14354d;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.ig-office-inquiries__contact a:hover {
  background: #244d66;
}

.ig-office-inquiries__contact a:focus-visible {
  outline: 2px solid #14354d;
  outline-offset: 3px;
}

@media (min-width: 64rem) {
  .footer:has(> .footer__inner .ig-footer-contacts) {
    padding-block: 54px;
    grid-template-columns: 1fr min(87.5%, 1040px) 1fr;
  }

  .footer .footer__inner:has(.ig-footer-contacts) {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: 48px;
  }

  .footer .footer__inner > .footer__section:has(> .ig-footer-contacts) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 368px);
    column-gap: 28px;
  }
}
