/* Shared Figma footer component, desktop parity with node 42:53096. */
.figma-footer.site-footer,
.figma-footer.site-footer * {
  box-sizing: border-box;
}

.figma-footer.site-footer {
  --footer-navy: #13233b;
  --footer-cream: #e9e3cc;
  --footer-gold: #bea575;
  --footer-width: 1920px;
  position: relative;
  display: block !important;
  width: 100%;
  height: 768px;
  min-height: 768px;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  color: rgba(233, 227, 204, .5);
  font-family: var(--font-body, "Gilroy", "Segoe UI", Arial, sans-serif);
}

.figma-footer.site-footer::before,
.figma-footer.site-footer::after {
  content: none !important;
}

.figma-footer .footer-bg,
.figma-footer .footer-pattern,
.figma-footer .footer-gradient {
  position: absolute;
  pointer-events: none;
}

.figma-footer .footer-bg {
  inset: 32px 0 0;
  z-index: 0;
  background: var(--footer-navy);
}

.figma-footer .footer-gradient-top {
  top: 27px;
  left: 0;
  right: 0;
  z-index: 1;
  height: 218px;
  background: linear-gradient(180deg, var(--footer-navy) 0%, rgba(19, 35, 59, 0) 100%);
}

.figma-footer .footer-gradient-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 218px;
  background: linear-gradient(0deg, var(--footer-navy) 0%, rgba(19, 35, 59, 0) 100%);
}

.figma-footer .footer-pattern {
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 765px;
  opacity: 1;
  background: url("footer/assets/footer-pattern.svg") right top / 765px 768px no-repeat;
}

.figma-footer > :not(.footer-bg):not(.footer-pattern):not(.footer-gradient) {
  position: absolute;
  z-index: 2;
}

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

.figma-footer .footer-brand {
  display: contents;
}

.figma-footer .footer-logo {
  position: absolute;
  left: 90px;
  top: 109px;
  display: flex;
  align-items: flex-start;
  width: 336px;
  height: 111px;
  gap: 18px;
  margin: 0 !important;
}

.figma-footer .footer-logo-emblem {
  width: 76px !important;
  height: 111px !important;
  flex: 0 0 76px !important;
  object-fit: fill;
  filter: none !important;
}

.figma-footer .footer-logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}

.figma-footer .footer-logo-wordmark {
  width: 241px !important;
  height: 73px !important;
  object-fit: fill;
  filter: none !important;
}

.figma-footer .footer-logo-tagline {
  width: 168px !important;
  height: 10px !important;
  object-fit: fill;
  filter: none !important;
}

.figma-footer .footer-contacts {
  position: absolute;
  left: 90px;
  top: 293px;
  display: flex;
  flex-direction: column;
  width: 347px;
  max-width: none;
  gap: 0;
  line-height: 1;
}

.figma-footer .footer-contacts span {
  margin: 0 0 7px;
  color: rgba(233, 227, 204, .4);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.figma-footer .footer-contacts a,
.figma-footer .footer-contacts p {
  margin: 0 0 23px;
  color: var(--footer-cream);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.figma-footer .footer-contacts p {
  width: 300px;
  line-height: 1.1;
}

.figma-footer .footer-socials {
  position: absolute;
  left: 90px;
  top: 592px;
  display: flex;
  gap: 10px;
  margin: 0 !important;
}

.figma-footer .footer-socials a {
  display: block;
  width: 36px;
  height: 36px;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  transition: transform .2s ease;
}

.figma-footer .footer-socials a:hover,
.figma-footer .footer-socials a:focus-visible {
  transform: translateY(-2px);
}

.figma-footer .footer-socials img {
  display: block;
  width: 36px !important;
  height: 36px !important;
  object-fit: fill;
  filter: none !important;
}

.figma-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 247px;
  padding: 0 !important;
  color: rgba(233, 227, 204, .5);
  font-weight: 400;
  line-height: 1;
}

.figma-footer .footer-menu {
  left: 530px;
  top: 293px;
  color: var(--footer-cream);
}

.figma-footer .footer-directions {
  left: 795px;
  top: 293px;
}

.figma-footer .footer-villages {
  left: 1117px;
  top: 293px;
}

.figma-footer .footer-column h2 {
  width: 247px;
  margin: 0 0 18px;
  color: var(--footer-cream);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.figma-footer .footer-column a {
  color: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: color .2s ease;
}

.figma-footer .footer-menu a {
  color: var(--footer-cream);
}

.figma-footer .footer-column a:hover,
.figma-footer .footer-column a:focus-visible {
  color: var(--footer-gold);
}

.figma-footer .footer-form {
  left: 1398px;
  top: 276px;
  display: block;
  width: 432px;
  max-width: none;
  height: auto;
  padding: 0 !important;
}

.figma-footer .footer-form h2 {
  width: 364px;
  max-width: none;
  margin: 0 0 28px 13px;
  color: var(--footer-cream);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.figma-footer .footer-form input[type="email"] {
  display: block;
  width: 432px;
  height: 46px;
  margin: 0 0 14px;
  padding: 0 30px;
  border: 0;
  border-radius: 80px;
  outline: none;
  background: rgba(255, 255, 255, .17);
  color: var(--footer-cream);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.figma-footer .footer-form input[type="email"]::placeholder {
  color: rgba(233, 227, 204, .55);
}

.figma-footer .footer-consent {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 419px;
  max-width: none;
  margin: 0 0 10px 13px;
  color: rgba(233, 227, 204, .4);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.figma-footer .footer-consent input[type="checkbox"] {
  width: 15px;
  min-width: 15px;
  max-width: 15px;
  height: 15px;
  min-height: 15px;
  max-height: 15px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(233, 227, 204, .4);
  border-radius: 4px;
  background: transparent;
}

.figma-footer .footer-consent input[type="checkbox"]:checked {
  border-color: var(--footer-gold);
  background: var(--footer-gold);
}

.figma-footer .footer-consent a {
  color: rgba(233, 227, 204, .4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.figma-footer .footer-form p {
  display: none !important;
}

.figma-footer .footer-submit,
.figma-footer .footer-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 151px;
  min-height: 44px;
  margin: 8px 0 0 !important;
  padding: 0 20px;
  border: 0;
  border-radius: 80px;
  background: var(--footer-gold);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.figma-footer .footer-bottom {
  left: 88px;
  top: 703px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  width: 1742px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(233, 227, 204, .22);
  color: rgba(233, 227, 204, .5);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.figma-footer .footer-bottom a,
.figma-footer .footer-bottom span {
  color: rgba(233, 227, 204, .5);
}

.figma-footer .footer-bottom a:nth-child(2) {
  justify-self: start;
}

.figma-footer .footer-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  white-space: nowrap;
}

.figma-footer .footer-dev {
  display: inline-flex;
  align-items: center;
  width: 65px;
  height: 26px;
}

.figma-footer .footer-dev img {
  display: block;
  width: 65px;
  height: 26px;
}

@media (max-width: 1700px) {
  .figma-footer.site-footer {
    height: auto;
    min-height: 680px;
    padding: 80px clamp(40px, 4.7vw, 90px) 28px !important;
    background: var(--footer-navy) !important;
  }

  .figma-footer .footer-bg,
  .figma-footer .footer-gradient {
    display: none;
  }

  .figma-footer .footer-pattern {
    top: 0;
  }

  .figma-footer.site-footer .footer-brand,
  .figma-footer.site-footer .footer-logo,
  .figma-footer.site-footer .footer-contacts,
  .figma-footer.site-footer .footer-socials,
  .figma-footer.site-footer .footer-menu,
  .figma-footer.site-footer .footer-directions,
  .figma-footer.site-footer .footer-villages,
  .figma-footer.site-footer .footer-form,
  .figma-footer.site-footer .footer-bottom {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .figma-footer.site-footer {
    display: grid !important;
    grid-template-columns: minmax(260px, 330px) minmax(130px, 180px) minmax(240px, 300px) minmax(200px, 260px) minmax(330px, 432px);
    gap: 46px;
  }

  .figma-footer .footer-brand {
    display: flex;
    flex-direction: column;
  }

  .figma-footer .footer-logo {
    margin-bottom: 56px !important;
  }

  .figma-footer .footer-socials {
    margin-top: 55px !important;
  }

  .figma-footer .footer-column,
  .figma-footer .footer-form {
    padding-top: 184px !important;
  }

  .figma-footer .footer-form {
    width: 100%;
  }

  .figma-footer .footer-form input[type="email"] {
    width: 100%;
  }

  .figma-footer .footer-consent {
    width: calc(100% - 13px);
  }

  .figma-footer .footer-bottom {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 1360px) {
  .figma-footer.site-footer {
    grid-template-columns: minmax(250px, 1fr) repeat(3, minmax(150px, 1fr));
  }

  .figma-footer .footer-form {
    grid-column: 2 / -1;
    max-width: 560px;
    padding-top: 20px !important;
  }
}

@media (max-width: 980px) {
  .figma-footer.site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
    min-height: auto;
    padding: 58px 20px 32px !important;
  }

  .figma-footer .footer-brand,
  .figma-footer .footer-form,
  .figma-footer .footer-bottom {
    grid-column: 1 / -1;
  }

  .figma-footer .footer-column,
  .figma-footer .footer-form {
    padding-top: 0 !important;
  }

  .figma-footer .footer-form {
    max-width: none;
  }

  .figma-footer .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 20px;
    font-size: 13px;
  }

  .figma-footer .footer-bottom span {
    justify-self: start;
  }
}

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

  .figma-footer .footer-logo {
    width: 276px;
    height: 96px;
    gap: 14px;
  }

  .figma-footer .footer-logo-emblem {
    width: 76px !important;
    height: 96px !important;
    flex-basis: 76px !important;
  }

  .figma-footer .footer-logo-wordmark {
    width: 198px !important;
    height: 60px !important;
  }

  .figma-footer .footer-logo-tagline {
    width: 137px !important;
    height: 8px !important;
  }

  .figma-footer .footer-column a {
    font-size: 18px;
  }

  .figma-footer .footer-form input[type="email"] {
    height: 48px;
  }
}





@media (max-width: 560px) {
  .figma-footer.site-footer {
    --footer-mobile-side: 20px;
    display: block !important;
    width: 100%;
    height: 1092px;
    min-height: 1092px;
    padding: 0 !important;
    overflow: hidden;
    background: #13233b !important;
  }

  .figma-footer .footer-bg,
  .figma-footer .footer-gradient,
  .figma-footer .footer-pattern {
    display: none !important;
  }

  .figma-footer.site-footer .footer-brand,
  .figma-footer.site-footer .footer-logo,
  .figma-footer.site-footer .footer-contacts,
  .figma-footer.site-footer .footer-socials,
  .figma-footer.site-footer .footer-menu,
  .figma-footer.site-footer .footer-directions,
  .figma-footer.site-footer .footer-villages,
  .figma-footer.site-footer .footer-form,
  .figma-footer.site-footer .footer-bottom {
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .figma-footer .footer-brand {
    display: contents !important;
  }

  .figma-footer .footer-logo {
    left: 20px !important;
    top: 59px !important;
    width: 276px !important;
    height: 91px !important;
    gap: 15px !important;
  }

  .figma-footer .footer-logo-emblem {
    width: 62px !important;
    height: 91px !important;
    flex-basis: 62px !important;
  }

  .figma-footer .footer-logo-lockup {
    gap: 7px !important;
    padding-top: 8px !important;
  }

  .figma-footer .footer-logo-wordmark {
    width: 198px !important;
    height: 60px !important;
  }

  .figma-footer .footer-logo-tagline {
    width: 138px !important;
    height: 8px !important;
  }

  .figma-footer .footer-contacts {
    left: 20px !important;
    top: 190px !important;
    width: 314px !important;
    height: 118px !important;
    display: grid !important;
    grid-template-columns: 130px 166px;
    grid-template-rows: 17px 20px 17px 40px;
    column-gap: 20px;
    row-gap: 5px;
    max-width: none !important;
  }

  .figma-footer .footer-contact-label {
    margin: 0 !important;
    color: rgba(233, 227, 204, .4) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-contact-value {
    margin: 0 !important;
    color: #e9e3cc !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-contact-phone-label { grid-column: 1; grid-row: 1; }
  .figma-footer .footer-contact-phone { grid-column: 1; grid-row: 2; white-space: nowrap; }
  .figma-footer .footer-contact-email-label { grid-column: 2; grid-row: 1; }
  .figma-footer .footer-contact-email { grid-column: 2; grid-row: 2; white-space: nowrap; }
  .figma-footer .footer-contact-address-label { grid-column: 1 / -1; grid-row: 3; }
  .figma-footer .footer-contact-address {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 249px !important;
    line-height: 1.05 !important;
  }

  .figma-footer .footer-socials {
    left: 20px !important;
    top: 333px !important;
    display: flex !important;
    gap: 10px !important;
    width: auto !important;
    height: 36px !important;
  }

  .figma-footer .footer-socials a,
  .figma-footer .footer-socials img {
    width: 36px !important;
    height: 36px !important;
  }

  .figma-footer .footer-form {
    left: 20px !important;
    top: 400px !important;
    width: calc(100% - 40px) !important;
    max-width: 335px !important;
  }

  .figma-footer .footer-form::before,
  .figma-footer .footer-menu::before,
  .figma-footer .footer-directions::before,
  .figma-footer .footer-bottom::before {
    content: "";
    position: absolute;
    left: 0;
    width: 335px;
    max-width: calc(100vw - 40px);
    height: 1px;
    background: rgba(233, 227, 204, .24);
  }

  .figma-footer .footer-form::before { top: -11px; }
  .figma-footer .footer-menu::before { top: -10px; }
  .figma-footer .footer-directions::before { top: -13px; }
  .figma-footer .footer-bottom::before { top: 0; }

  .figma-footer .footer-form h2 {
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0 0 14px !important;
    color: #e9e3cc !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
  }

  .figma-footer .footer-title-break-1 {
    display: none;
  }

  .figma-footer .footer-form input[type="email"] {
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    height: 36px !important;
    margin: 0 0 22px !important;
    padding: 0 30px !important;
    border-radius: 80px !important;
    background: rgba(255, 255, 255, .17) !important;
    color: #e9e3cc !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  .figma-footer .footer-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, .4) !important;
  }

  .figma-footer .footer-consent {
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    display: grid !important;
    grid-template-columns: 15px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    margin: 0 0 10px !important;
    color: rgba(233, 227, 204, .4) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-consent input[type="checkbox"] {
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
  }

  .figma-footer .footer-consent span {
    display: block;
    width: 305px;
    max-width: calc(100vw - 75px);
  }

  .figma-footer .footer-consent:first-of-type span {
    width: 289px;
  }

  .figma-footer .footer-submit,
  .figma-footer .footer-form button {
    min-width: 117px !important;
    min-height: 33px !important;
    margin: 8px 0 0 !important;
    padding: 0 20px !important;
    border-radius: 80px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-menu {
    left: 20px !important;
    top: 679px !important;
    width: 247px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    color: #e9e3cc !important;
  }

  .figma-footer .footer-menu a {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #e9e3cc !important;
  }

  .figma-footer .footer-directions {
    left: 20px !important;
    top: 819px !important;
    width: 150px !important;
    gap: 15px !important;
  }

  .figma-footer .footer-villages {
    left: calc(50% + 8.5px) !important;
    top: 835px !important;
    width: 159px !important;
    gap: 15px !important;
  }

  .figma-footer .footer-directions h2,
  .figma-footer .footer-villages h2 {
    width: 150px !important;
    margin: 0 !important;
    color: #e9e3cc !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-directions a,
  .figma-footer .footer-villages a {
    color: rgba(233, 227, 204, .5) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-bottom {
    left: 20px !important;
    top: 1017px !important;
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    border: 0 !important;
    padding-top: 12px !important;
    color: rgba(233, 227, 204, .5) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-bottom a,
  .figma-footer .footer-bottom span {
    color: rgba(233, 227, 204, .5) !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  .figma-footer .footer-bottom span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .figma-footer .footer-dev {
    width: 31px !important;
    height: 12px !important;
  }

  .figma-footer .footer-dev img {
    width: 31px !important;
    height: 12px !important;
  }
}

/* Final mobile override: keep this block at EOF so it wins over legacy adaptive rules. */
@media (max-width: 560px) {
  .figma-footer.site-footer {
    --footer-mobile-side: 20px;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 1092px !important;
    min-height: 1092px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #13233b !important;
  }

  .figma-footer.site-footer .footer-bg,
  .figma-footer.site-footer .footer-gradient,
  .figma-footer.site-footer .footer-pattern {
    display: none !important;
  }

  .figma-footer.site-footer .footer-brand {
    display: contents !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .figma-footer.site-footer .footer-logo,
  .figma-footer.site-footer .footer-contacts,
  .figma-footer.site-footer .footer-socials,
  .figma-footer.site-footer .footer-menu,
  .figma-footer.site-footer .footer-directions,
  .figma-footer.site-footer .footer-villages,
  .figma-footer.site-footer .footer-form,
  .figma-footer.site-footer .footer-bottom {
    position: absolute !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .figma-footer.site-footer .footer-logo {
    left: 20px !important;
    top: 59px !important;
    width: 276px !important;
    height: 91px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }

  .figma-footer.site-footer .footer-logo-emblem {
    width: 62px !important;
    min-width: 62px !important;
    height: 91px !important;
    object-fit: contain !important;
  }

  .figma-footer.site-footer .footer-logo-lockup {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    padding-top: 8px !important;
  }

  .figma-footer.site-footer .footer-logo-wordmark {
    width: 198px !important;
    height: 60px !important;
    object-fit: contain !important;
  }

  .figma-footer.site-footer .footer-logo-tagline {
    width: 138px !important;
    height: 8px !important;
    object-fit: contain !important;
  }

  .figma-footer.site-footer .footer-contacts {
    left: 20px !important;
    top: 190px !important;
    width: 314px !important;
    max-width: calc(100vw - 40px) !important;
    height: 72px !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 20px !important;
    row-gap: 7px !important;
    align-items: baseline !important;
  }

  .figma-footer.site-footer .footer-contacts span,
  .figma-footer.site-footer .footer-contacts a,
  .figma-footer.site-footer .footer-contacts p {
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
  }

  .figma-footer.site-footer .footer-contact-label {
    color: rgba(233, 227, 204, .4) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer.site-footer .footer-contact-value {
    color: #e9e3cc !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .figma-footer.site-footer .footer-contact-address {
    width: 213px !important;
    line-height: 1.1 !important;
  }

  .figma-footer.site-footer .footer-socials {
    left: 20px !important;
    top: 333px !important;
    width: 174px !important;
    height: 36px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .figma-footer.site-footer .footer-socials a,
  .figma-footer.site-footer .footer-socials img {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
  }

  .figma-footer.site-footer .footer-form {
    left: 20px !important;
    top: 400px !important;
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    min-height: 236px !important;
    display: block !important;
  }

  .figma-footer.site-footer .footer-form::before,
  .figma-footer.site-footer .footer-menu::before,
  .figma-footer.site-footer .footer-directions::before,
  .figma-footer.site-footer .footer-bottom::before {
    content: "";
    position: absolute;
    left: 0;
    top: -11px;
    width: 335px;
    max-width: calc(100vw - 40px);
    height: 1px;
    background: rgba(233, 227, 204, .14);
  }

  .figma-footer.site-footer .footer-bottom::before {
    top: 0 !important;
  }

  .figma-footer.site-footer .footer-form h2 {
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0 0 21px !important;
    color: #e9e3cc !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .figma-footer.site-footer .footer-title-break-1 {
    display: none !important;
  }

  .figma-footer.site-footer .footer-title-break-2 {
    display: block !important;
  }

  .figma-footer.site-footer .footer-form input[type="email"] {
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 0 23px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 80px !important;
    background: rgba(255, 255, 255, .17) !important;
    color: #e9e3cc !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .figma-footer.site-footer .footer-form input[type="email"]::placeholder {
    color: rgba(233, 227, 204, .4) !important;
    opacity: 1 !important;
  }

  .figma-footer.site-footer .footer-consent {
    display: grid !important;
    grid-template-columns: 15px 1fr !important;
    gap: 10px !important;
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 0 0 14px !important;
    color: rgba(233, 227, 204, .5) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer.site-footer .footer-consent input {
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
  }

  .figma-footer.site-footer .footer-consent span {
    display: block !important;
    max-width: calc(100vw - 75px) !important;
  }

  .figma-footer.site-footer .footer-consent:first-of-type span {
    width: 289px !important;
  }

  .figma-footer.site-footer .footer-consent:last-of-type span {
    width: 305px !important;
  }

  .figma-footer.site-footer .footer-submit,
  .figma-footer.site-footer .footer-form button {
    min-width: 117px !important;
    min-height: 33px !important;
    margin: 8px 0 0 !important;
    padding: 0 20px !important;
    border-radius: 80px !important;
    color: #fff !important;
    background: #bea575 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  .figma-footer.site-footer .footer-menu {
    left: 20px !important;
    top: 679px !important;
    width: 247px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .figma-footer.site-footer .footer-menu a {
    color: #e9e3cc !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .figma-footer.site-footer .footer-directions {
    left: 20px !important;
    top: 819px !important;
    width: 150px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .figma-footer.site-footer .footer-villages {
    left: calc(50% + 8.5px) !important;
    top: 835px !important;
    width: 159px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .figma-footer.site-footer .footer-directions h2,
  .figma-footer.site-footer .footer-villages h2 {
    width: 150px !important;
    margin: 0 !important;
    color: #e9e3cc !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .figma-footer.site-footer .footer-directions a,
  .figma-footer.site-footer .footer-villages a {
    color: rgba(233, 227, 204, .5) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .figma-footer.site-footer .footer-bottom {
    left: 20px !important;
    top: 1017px !important;
    width: 335px !important;
    max-width: calc(100vw - 40px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    border: 0 !important;
    padding-top: 12px !important;
    color: rgba(233, 227, 204, .5) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  .figma-footer.site-footer .footer-bottom a,
  .figma-footer.site-footer .footer-bottom span {
    color: rgba(233, 227, 204, .5) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .figma-footer.site-footer .footer-bottom span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .figma-footer.site-footer .footer-dev,
  .figma-footer.site-footer .footer-dev img {
    width: 31px !important;
    height: 12px !important;
  }
}

@media (max-width: 560px) {
  .figma-footer.site-footer .footer-directions,
  .figma-footer.site-footer .footer-villages {
    gap: 9px !important;
  }

  .figma-footer.site-footer .footer-directions h2,
  .figma-footer.site-footer .footer-villages h2 {
    margin: 0 0 8px !important;
  }

  .figma-footer.site-footer .footer-directions a,
  .figma-footer.site-footer .footer-villages a {
    white-space: nowrap !important;
  }
}

@media (max-width: 560px) {
  .figma-footer.site-footer .footer-socials a {
    line-height: 0 !important;
    font-size: 0 !important;
  }

  .figma-footer.site-footer .footer-socials a[aria-label="VK"]::before {
    content: none !important;
    display: none !important;
  }
}

/* Page-specific 404 parity with Figma nodes 42:75268 and 88:55761. */
.page-notFound .figma-footer.site-footer {
  background: #13233b !important;
}

.page-notFound .figma-footer.site-footer .footer-bg {
  inset: 0 !important;
}

.page-notFound .figma-footer.site-footer .footer-gradient-top,
.page-notFound .figma-footer.site-footer .footer-pattern {
  top: 0 !important;
}

@media (max-width: 560px) {
  .page-notFound .figma-footer.site-footer {
    height: 1175px !important;
    min-height: 1175px !important;
    background: #13233b !important;
  }

  .page-notFound .figma-footer.site-footer .footer-socials {
    top: 355px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-form {
    top: 452px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-form::before {
    top: -14px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-menu {
    top: 726px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-menu::before {
    top: -10px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-directions {
    top: 892px !important;
    gap: 15px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-villages {
    top: 908px !important;
    gap: 15px !important;
  }

  .page-notFound .figma-footer.site-footer .footer-directions h2,
  .page-notFound .figma-footer.site-footer .footer-villages h2 {
    margin: 0 !important;
  }

  .page-notFound .figma-footer.site-footer .footer-directions a,
  .page-notFound .figma-footer.site-footer .footer-villages a {
    line-height: 1 !important;
  }

  .page-notFound .figma-footer.site-footer .footer-bottom {
    top: 1101px !important;
  }
}

@media (max-width: 560px) {
  .page-agreement .figma-footer.site-footer {
    height: 1175px !important;
    min-height: 1175px !important;
  }
}

/* Keep footer SVG pattern above gradients and below real footer content. */
.figma-footer .footer-pattern {
  z-index: 2;
}

.figma-footer > :not(.footer-bg):not(.footer-pattern):not(.footer-gradient) {
  z-index: 3;
}

/* Keep uploaded footer SVG pattern above gradients and below content. */
.figma-footer .footer-pattern {
  z-index: 2;
}

.figma-footer > :not(.footer-bg):not(.footer-pattern):not(.footer-gradient) {
  z-index: 3;
}

