.footer {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--navy-2);
  color: var(--white);
  border-radius: 4px;
}

.footer-grid {
  gap: 18px;
}

.footer-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.footer-row > section {
  display: flex;
}

#home-page-footer .footer-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

#home-page-footer > .home-footer-row {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

#home-page-footer .footer-row > section,
#home-page-footer section[id^="home-footer-section-"] {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--navy-2);
}

.footer-heading {
  flex: 0 0 auto;
  width: 100%;
  align-self: stretch;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.footer-heading {
  margin-bottom: 28px;
}

.footer-heading.footer-heading-with-sub {
  margin-bottom: 0;
}

.footer-heading > div {
  display: block;
  width: 100%;
  color: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 6px;
}

html[data-device-type="desktop"] .footer-heading > div,
html[data-device-type="minTablet"] .footer-heading > div,
html[data-device-type="mobile"] .footer-heading > div {
  font-size: 16px;
}

html[data-device-type="tablet"] .footer-heading > div {
  font-size: 14px;
}

html[data-device-type="desktop1920"] .footer-heading > div {
  font-size: 16px;
}

.footer-sub {
  color: var(--white);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 8px;
}

html[data-device-type="desktop"] .footer-sub {
  font-size: 10px;
}

html[data-device-type="desktop1280"] .footer-sub,
html[data-device-type="desktop1920"] .footer-sub,
html[data-device-type="desktop2560"] .footer-sub {
  font-size: 14px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  margin: 6px 0;
  font-family: "Museo Sans Cyrl";
}

.copy-contact {
  position: relative;
}

.copy-contact:hover::after {
  content: attr(data-copy-title);
  position: absolute;
  left: 8px;
  bottom: calc(100% + 8px);
  padding: 4px 8px;
  border-radius: 0;
  background: var(--tooltip-bg);
  color: var(--white);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 10;
}

.copy-contact:hover::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: calc(100% + 2px);
  width: 0;
  height: 0;
  border-left: 5px solid var(--transparent);
  border-right: 5px solid var(--transparent);
  border-top: 6px solid var(--tooltip-bg);
  z-index: 10;
}

.footer-item[href^="tel:"] div {
  color: var(--white);
  font-family: "Museo Sans Cyrl";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

.footer-item[href^="tel:"] span,
.footer-item[href^="mailto:"] div,
.footer-item[href^="mailto:"] span {
  color: var(--white);
  font-family: "Museo Sans Cyrl";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

html[data-device-type="desktop"] .footer-item[href^="tel:"] div,
html[data-device-type="desktop"] .footer-item[href^="mailto:"] div,
html[data-device-type="desktop"] .footer-item[href^="mailto:"] span {
  font-size: 12px;
}

html[data-device-type="tablet"] .footer-item[href^="tel:"] div,
html[data-device-type="tablet"] .footer-item[href^="mailto:"] div,
html[data-device-type="tablet"] .footer-item[href^="mailto:"] span,
html[data-device-type="minTablet"] .footer-item[href^="tel:"] div,
html[data-device-type="minTablet"] .footer-item[href^="mailto:"] div,
html[data-device-type="minTablet"] .footer-item[href^="mailto:"] span,
html[data-device-type="mobile"] .footer-item[href^="tel:"] div,
html[data-device-type="mobile"] .footer-item[href^="mailto:"] div,
html[data-device-type="mobile"] .footer-item[href^="mailto:"] span {
  font-size: 10px;
}

.footer-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  align-self: center;
}

html[data-device-type="minTablet"] .footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html[data-device-type="minTablet"] .footer-row {
  display: contents;
}

html[data-device-type="minTablet"] #home-page-footer .footer-row {
  display: contents;
}

.footer-item div,
.footer-item span {
  display: flex;
  align-items: center;
  min-height: 24px;
  color: var(--white);
  font-family: "Museo Sans Cyrl";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

html[data-device-type="desktop"] .footer-item div,
html[data-device-type="desktop"] .footer-item span {
  font-size: 12px;
}

html[data-device-type="tablet"] .footer-item div,
html[data-device-type="tablet"] .footer-item span,
html[data-device-type="minTablet"] .footer-item div,
html[data-device-type="minTablet"] .footer-item span,
html[data-device-type="mobile"] .footer-item div,
html[data-device-type="mobile"] .footer-item span {
  font-size: 10px;
}
