html,
body,
.site,
.site-wrapper,
#page,
main {
  background: #ffffff !important;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer {
  background: linear-gradient(135deg, #0f2a3c, #17384d);
  color: #fff;
  border-radius: 26px;
  margin: 40px 20px 20px;
  padding: 80px 0 20px;
  overflow: hidden;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 50px 40px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-title,
.footer-grid h4,
.footer-newsletter h3,
.footer-contact-block h4 {
  color: #fff;
  margin: 0 0 14px;
  font-weight: 800;
}

.footer-title {
  font-size: 18px;
}

.footer-grid h4 {
  font-size: 16px;
}

.footer-newsletter h3 {
  font-size: 22px;
  line-height: 1.2;
}

.footer-newsletter p,
.footer-contact-block p,
.footer-contact p,
.footer-links a,
.footer-grid a,
.footer-bottom p,
.footer-links-bottom a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 15px;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
}

.footer-contact-block {
  margin-top: 26px;
}

.footer-contact-block h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-contact-block p {
  margin: 0 0 6px;
  font-size: 15px;
}

.footer-links,
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-grid li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-grid a {
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-grid a:hover,
.footer-links-bottom a:hover {
  color: #fff;
}

.footer-newsletter p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-newsletter__form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-newsletter__form input {
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f2a3c;
  font-size: 14px;
}

.footer-newsletter__form input::placeholder {
  color: rgba(15, 42, 60, 0.55);
}

.footer-newsletter__form button {
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: #ff7a00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-newsletter__form button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 34px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

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

.footer-links-bottom a {
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 760px) {
  .site-footer {
    margin: 28px 12px 12px;
    border-radius: 22px;
  }

  .footer-inner {
    padding: 30px 22px 20px;
  }

  .footer-newsletter__form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter__form button {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-bottom {
    flex-wrap: wrap;
    gap: 14px;
  }
}