@import url("/header.css?v=20260730-shared-1");

/* The header comes from header.css. The footer lives here so every public page
   receives the same shell without inheriting page-specific section styles. */
.footer {
  scroll-margin-top: var(--header-height, 88px);
  padding: 46px 0 24px;
  border-top: 1px solid #e5e7e2;
  color: var(--text, #15252a);
  background: #ffffff;
  font-family: "Inter", Arial, sans-serif;
}

.footer .section-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) 1fr 1.25fr 1.1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer__brand,
.footer__col {
  min-width: 0;
}

.footer__logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text, #15252a);
  text-decoration: none;
}

.footer__logo-mark {
  display: block;
  width: 52px;
  height: 52px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
}

.footer__logo-name {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.footer__logo-tagline {
  margin-top: 4px;
  color: var(--text-secondary, #46555b);
  font-size: 12px;
  line-height: 1.3;
}

.footer__about {
  max-width: 360px;
  margin: 0;
  color: var(--text-secondary, #46555b);
  font-size: 13px;
  line-height: 1.6;
}

.footer__col-title {
  margin: 2px 0 14px;
  color: var(--text, #15252a);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li + li {
  border-top: 1px solid #edf0ed;
}

.footer__links a,
.footer__soon {
  display: grid;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  color: var(--text, #15252a);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.footer__links a > span {
  width: 15px;
  height: 15px;
  color: var(--brand, #0e6b5e);
  background: currentColor;
  transition: transform 150ms ease;
  -webkit-mask: url("/assets/footer/footer-arrow.svg") center / contain no-repeat;
  mask: url("/assets/footer/footer-arrow.svg") center / contain no-repeat;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--brand, #0e6b5e);
}

.footer__links a:hover > span,
.footer__links a:focus-visible > span {
  transform: translateX(3px);
}

.footer__soon {
  display: flex;
  gap: 5px;
  color: #8a9397;
}

.footer__soon small {
  font-size: inherit;
}

.footer__contacts {
  display: grid;
  gap: 4px;
  font-style: normal;
}

.footer__contact {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-left: 30px;
  color: var(--text, #15252a);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.footer__contact::before {
  position: absolute;
  left: 0;
  width: 21px;
  height: 21px;
  color: var(--brand, #0e6b5e);
  background: currentColor;
  content: "";
  -webkit-mask: var(--footer-contact-icon) center / contain no-repeat;
  mask: var(--footer-contact-icon) center / contain no-repeat;
}

.footer__contact--phone {
  --footer-contact-icon: url("/assets/footer/footer-phone.svg");
  font-weight: 600;
}

.footer__contact--mail {
  --footer-contact-icon: url("/assets/footer/footer-mail.svg");
}

.footer__contact--location {
  --footer-contact-icon: url("/assets/footer/footer-location.svg");
}

.footer__contact--clock {
  --footer-contact-icon: url("/assets/footer/footer-clock.svg");
}

a.footer__contact:hover,
a.footer__contact:focus-visible {
  color: var(--brand, #0e6b5e);
}

.footer__links--documents a {
  position: relative;
  padding-left: 30px;
}

.footer__links--documents a::before {
  position: absolute;
  left: 0;
  width: 21px;
  height: 21px;
  color: var(--brand, #0e6b5e);
  background: currentColor;
  content: "";
  -webkit-mask: url("/assets/footer/footer-document.svg") center / contain no-repeat;
  mask: url("/assets/footer/footer-document.svg") center / contain no-repeat;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7e2;
}

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  color: var(--text-secondary, #46555b);
  font-size: 11px;
  line-height: 1.5;
}

.footer__requisite {
  white-space: nowrap;
}

.footer__sitemap {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--brand, #0e6b5e);
  font-size: 12px;
  text-decoration: none;
}

.footer__sitemap span {
  transition: transform 150ms ease;
}

.footer__sitemap:hover span,
.footer__sitemap:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 1179.98px) {
  .footer .section-container {
    padding-inline: 22px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }

  .footer__about {
    max-width: 520px;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 36px 0 20px;
  }

  .footer .section-container {
    padding-inline: 16px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer__about {
    max-width: none;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer__copy {
    display: block;
  }

  .footer__copy > span {
    display: block;
    margin-top: 3px;
  }

  .footer__copy > span[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 480.98px) {
  .footer {
    padding: 28px 0 16px;
  }

  .footer__logo-mark {
    width: 48px;
    height: 48px;
  }

  .footer__logo-name {
    font-size: 18px;
  }

  .footer__about,
  .footer__links a,
  .footer__soon,
  .footer__contact {
    font-size: 12px;
  }
}
