.site-footer {
  position: relative;
  z-index: 1;
  padding: 0;
  background: var(--smd-footer-bg, #1a2332);
  color: #fff;
}

.footer-main {
  padding: 46px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: start;
  gap: 34px;
}

.footer-brand {
  min-width: 240px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 150px;
  object-fit: contain;
}

.footer-description {
  max-width: 300px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact-list,
.footer-links,
.footer-promos {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.footer-contact-list > li > a,
.footer-contact-list > li > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.footer-contact-list a {
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: var(--smd-primary-light);
}

.footer-contact-list svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: 0 0 19px;
  fill: var(--smd-primary-light);
}

.footer-contact-list svg circle,
.footer-contact-list svg path:not(:only-child) {
  stroke: var(--smd-primary-light);
}

.footer-contact-list svg.is-stroke {
  fill: none;
  stroke: var(--smd-primary-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col-title {
  margin: 0 0 15px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-links a,
.footer-promos a,
.footer-promos span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-promos a:hover {
  color: var(--smd-primary-light);
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--smd-footer-social-color, var(--smd-primary-light));
  color: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s, opacity 0.2s;
}

.footer-social-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link--phone svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link > span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-documents {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-documents__title {
  flex: 0 0 auto;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-documents__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-documents__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.footer-documents__links a:hover {
  color: var(--smd-primary-light);
}

.footer-bottom {
  padding: 18px 0;
  background: var(--smd-footer-bottom-bg, #111827);
  color: var(--smd-footer-bottom-text, #cbd5e1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.86;
  transition: opacity 0.2s;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 38px 0 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    min-width: 0;
    grid-column: auto;
  }

  .footer-col-title {
    margin-bottom: 13px;
    font-size: 19px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-copy {
    font-size: 12px;
  }

  .footer-documents {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

  .footer-documents__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
