/* ============================================================
   FOOTER ONLY — scoped under .site-footer to avoid site conflicts
   (no CSS custom properties)
   ============================================================ */

.site-footer {
  padding: 58px 0 50px;
  color: #d4dce2;
  background: #17212a;
  box-sizing: border-box;
  line-height: 1.55;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p {
  margin: 0 0 16px;
}

.site-footer h3 {
  margin: 0;
  line-height: 1.18;
}

/* Inner width (was .container) */
.site-footer .footer-container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 28px;
}

/* Brand block (styles needed inside footer) */
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.site-footer .brand-mark {
  width: 44px;
  height: 50px;
  color: #d32f2f;
  display: block;
  max-width: 100%;
}

.site-footer .brand-name {
  display: block;
  color: #fff;
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer .brand-name span {
  color: #d32f2f;
}

.site-footer .brand-caption {
  display: block;
  color: #9ba7b1;
  font-size: 11px;
  margin-top: 5px;
}

.site-footer .footer-brand p {
  margin-top: 18px;
  color: #9ba7b1;
  font-size: 13px;
}

/* Payments (was .payments / .payment) */
.site-footer .footer-payments {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.site-footer .footer-payment {
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff;
  color: #263747;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

/* Fine print (was .fine-print) */
.site-footer .footer-fine-print {
  color: #66727f;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer .footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.site-footer .footer-col ul {
  display: grid;
  gap: 8px;
}

.site-footer .footer-col a {
  color: #aeb9c1;
  font-size: 13px;
}

.site-footer .footer-col a:hover {
  color: #fff;
}

.site-footer .footer-bottom {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: #87949e;
  font-size: 11px;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 13px;
}

.site-footer .footer-contacts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: #aeb9c1;
  font-size: 13px;
}

.site-footer .footer-contacts strong {
  color: #fff;
  font-size: 18px;
}

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

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

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-brand {
    grid-column: auto;
  }
}
