.legacy-footer {
  --color-primary: #BADC58;
  --color-primary-dark: #262420;
  --color-heading: #252525;
  --color-text: #222222;
  --color-border-light: rgba(255, 255, 255, 0.12);
  --radius: 30px;
  --transition: 240ms ease;
  --heading-font: "Instrument Sans", sans-serif;
  --body-font: "Nunito Sans", sans-serif;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--body-font);
  background:
    linear-gradient(180deg, rgba(38, 36, 32, 0.88), rgba(38, 36, 32, 0.96)),
    url("/wp-content/uploads/2026/04/main-hero-scaled.webp") center center / cover no-repeat;
}

.legacy-footer .container {
  width: min(calc(100% - 40px), 1300px);
  margin-inline: auto;
}

.legacy-footer .site-footer__widgets {
  padding: 82px 0 0;
}

.legacy-footer .site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1fr;
  gap: 42px;
  align-items: start;
}

.legacy-footer .site-footer__logo-link,
.legacy-footer .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.legacy-footer .site-footer__logo,
.legacy-footer .custom-logo-link img {
  width: auto;
  height: 48px;
  object-fit: contain;
	filter: brightness(0) invert(1);
}

.legacy-footer .site-footer__title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.legacy-footer .site-footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.legacy-footer .site-footer__contact {
  margin-top: 28px;
}

.legacy-footer .site-footer__phone,
.legacy-footer .site-footer__mail {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.legacy-footer .site-footer__phone {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.legacy-footer .site-footer__phone::before,
.legacy-footer .site-footer__mail::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-heading);
  font-size: 1rem;
  flex-shrink: 0;
	    --g: /20.56% 20.56% radial-gradient(#000 calc(71% - 1px),#0000 71%) no-repeat;
    mask: 100% 50% var(--g), 93.301% 75% var(--g), 75% 93.301% var(--g), 50% 100% var(--g), 25% 93.301% var(--g), 6.699% 75% var(--g), 0% 50% var(--g), 6.699% 25% var(--g), 25% 6.699% var(--g), 50% 0% var(--g), 75% 6.699% var(--g), 93.301% 25% var(--g), radial-gradient(100% 100%, #000 38.366%, #0000 calc(38.366% + 1px));
}

.legacy-footer .site-footer__phone::before {
  content: "\260E";
}

.legacy-footer .site-footer__mail {
  margin-top: 14px;
}

.legacy-footer .site-footer__mail::before {
  content: "\2709";
}

.legacy-footer .footer-menu,
.legacy-footer .social-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.legacy-footer .footer-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legacy-footer .footer-menu li::before {
  content: "\2197";
  color: var(--color-primary);
  font-size: 0.9rem;
}

.legacy-footer .footer-menu li + li {
  margin-top: 14px;
}

.legacy-footer .footer-menu a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  transition: color var(--transition);
}

.legacy-footer .footer-menu a:hover {
  color: var(--color-primary);
}

.legacy-footer .newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.legacy-footer .newsletter-form input {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.legacy-footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.legacy-footer .newsletter-form .button--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 0 !important;
  background: var(--color-primary) !important;
  color: var(--color-heading);
  cursor: pointer;
}

.legacy-footer .site-footer__text {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.legacy-footer .social-list {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.legacy-footer .social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.legacy-footer .social-list a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-heading);
}

.legacy-footer .site-footer__bottom {
  margin-top: 54px;
  background: rgba(38, 36, 32, 0.95);
}

.legacy-footer .site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0;
  text-align: center;
}

.legacy-footer .site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
}

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

@media (max-width: 767px) {
  .legacy-footer .container {
    width: min(calc(100% - 28px), 1300px);
  }

  .legacy-footer .site-footer__phone {
    font-size: 24px;
  }

  .legacy-footer .site-footer__bottom-inner {
    flex-direction: column;
  }
	.legacy-footer .site-footer__title {
		font-size: 20px;
	}
}
