.site-footer {
  width: 100%;
  background: #02182d;
  color: #dfeaf9;
  padding: 54px 0 26px;
  box-sizing: border-box;
}

.footer-grid {
  width: min(1280px, calc(100% - 220px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr;
  align-items: start;
  column-gap: 76px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
}

.footer-brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f4c335;
  color: #0d2a44;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.footer-brand-icon svg {
  width: 20px;
  height: 20px;
}

.footer-brand h2,
.footer-column h2 {
  margin: 0;
  color: #f8d642;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
  font-weight: 700;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 30px);
}

.footer-brand p {
  max-width: 470px;
  margin: 0;
  color: rgba(214, 224, 240, 0.9);
  font-size: 17px;
  line-height: 1.55;
}

.footer-column {
  min-width: 0;
}

.footer-links,
.footer-contact-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact-list a,
.footer-bottom-links a {
  color: rgba(227, 236, 248, 0.95);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover,
.footer-bottom-links a:hover {
  opacity: 0.8;
}

.footer-links li {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

.footer-contact-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(227, 236, 248, 0.95);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #f4c335;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-divider {
  width: min(1280px, calc(100% - 220px));
  margin: 28px auto 0;
  border-top: 1px solid rgba(180, 198, 221, 0.45);
}

.footer-disclaimer {
  width: min(1280px, calc(100% - 220px));
  margin: 24px auto 0;
  color: rgba(194, 210, 227, 0.85);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

.footer-disclaimer strong {
  color: rgba(226, 236, 248, 0.95);
}

.footer-bottom {
  width: min(1280px, calc(100% - 220px));
  margin: 22px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(194, 210, 227, 0.85);
  font-size: 15px;
  line-height: 1.5;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-reference {
  margin-top: 42px;
  padding-top: 42px;
}

.footer-reference-grid {
  width: min(1180px, calc(100% - 170px));
  grid-template-columns: 1.15fr 1fr 1.1fr;
  column-gap: 62px;
}

.footer-reference-brand {
  margin-top: 8px;
}

.footer-reference-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-reference-column h2 {
  font-size: 28px;
}

.footer-reference-disclaimer {
  width: min(1180px, calc(100% - 170px));
  margin-top: 24px;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: 15px;
}

.footer-reference-divider {
  width: min(1180px, calc(100% - 170px));
}

.footer-reference-bottom {
  width: min(1180px, calc(100% - 170px));
}

@media (max-width: 980px) {
  .footer-grid {
    width: min(100% - 40px, 820px);
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .footer-divider,
  .footer-disclaimer,
  .footer-bottom {
    width: min(100% - 40px, 820px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 42px;
  }

  .footer-grid,
  .footer-divider,
  .footer-disclaimer,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .footer-brand p,
  .footer-disclaimer,
  .footer-links li,
  .footer-contact-list li {
    font-size: 15px;
  }

  .footer-brand-header {
    margin-bottom: 16px;
  }

  .footer-brand h2,
  .footer-column h2 {
    font-size: 24px;
  }
}
