.site-footer {
  padding: 38px clamp(32px, 12vw, 220px) 42px !important;
  background: #000000 !important;
  color: #a8a8a8 !important;
  font-family: "Manrope", Arial, sans-serif;
  text-align: center !important;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: max-content minmax(320px, 420px);
  gap: clamp(12px, 2vw, 34px);
  align-items: start;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}

.site-footer .footer-contact-block,
.site-footer .footer-invite {
  justify-self: start;
}

.site-footer .footer-title {
  margin: 0 0 22px;
  color: var(--gold, #d8b58a);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-2px);
}

.site-footer .social-link img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.site-footer .footer-phone {
  margin-top: 26px;
  color: #a8a8a8;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  white-space: nowrap;
  text-align: left;
}

.site-footer .footer-invite {
  max-width: 420px;
  color: #a8a8a8;
  transform: translateX(clamp(130px, 14vw, 260px));
}

.site-footer .footer-invite-title {
  margin: 0 0 22px;
  color: var(--gold, #d8b58a);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer .footer-invite-text {
  margin: 0;
  color: #a8a8a8;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.site-footer .footer-invite-links {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.site-footer .footer-invite-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  color: var(--gold, #d8b58a);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer .footer-invite-link::before {
  content: "→";
  color: var(--gold, #d8b58a);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
}

.site-footer .footer-invite-link:hover,
.site-footer .footer-invite-link:focus-visible {
  color: #e9e2da;
  transform: translateX(4px);
}

.site-footer .footer-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: clamp(26px, 5vw, 110px) !important;
  width: 100%;
  margin-top: 58px !important;
}

.site-footer .footer-text-button {
  padding: 0 !important;
  border: 0 !important;
  color: #a8a8a8 !important;
  background: transparent !important;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer .footer-text-button:hover,
.site-footer .footer-text-button:focus-visible {
  color: var(--gold, #d8b58a) !important;
}

.site-footer .footer-copy {
  max-width: 1180px !important;
  margin: 48px auto 0 !important;
  color: #a8a8a8 !important;
  font-size: 13px !important;
  font-weight: 300;
  line-height: 1.55 !important;
  text-align: center;
}

.site-footer .footer-consent-button {
  padding: 0;
  border: 0;
  color: var(--gold, #d8b58a);
  background: transparent;
  font: inherit;
  text-decoration: none;
}

.site-footer .footer-consent-button:hover,
.site-footer .footer-consent-button:focus-visible {
  color: #e9e2da;
}

body.main-callback-open {
  overflow: hidden;
}

.main-callback-overlay {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.main-callback-overlay[hidden] {
  display: none;
}

.main-callback-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92svh, 860px);
  padding: 44px 46px 40px;
  overflow-y: auto;
  border: 1px solid rgba(216, 181, 138, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.98) 0%, rgba(17, 17, 17, 0.98) 100%);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  color: var(--milk, #e9e2da);
  font-family: "Manrope", Arial, sans-serif;
}

.main-callback-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(233, 226, 218, 0.72);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease;
}

.main-callback-close:hover,
.main-callback-close:focus-visible {
  color: var(--gold, #d8b58a);
}

.main-callback-title {
  margin: 0 0 28px;
  color: var(--gold, #d8b58a);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.main-callback-form,
.main-callback-field {
  display: grid;
  gap: 7px;
}

.main-callback-form {
  gap: 16px;
}

.main-callback-input,
.main-callback-select {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid rgba(216, 181, 138, 0.34);
  border-radius: 4px;
  outline: none;
  background: rgba(0, 0, 0, 0.28);
  color: var(--milk, #e9e2da);
  font: 400 16px/1 "Manrope", Arial, sans-serif;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.main-callback-input::placeholder {
  color: rgba(233, 226, 218, 0.48);
}

.main-callback-input:focus,
.main-callback-select:focus {
  border-color: var(--gold, #d8b58a);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(216, 181, 138, 0.14);
}

.main-callback-select option {
  background: #111111;
  color: var(--milk, #e9e2da);
}

.main-callback-phone-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(170px, 1fr);
  gap: 10px;
}

.main-callback-label {
  color: rgba(233, 226, 218, 0.78);
  font-size: 16px;
  font-weight: 400;
}

.main-callback-error {
  min-height: 16px;
  color: #ff9a9a;
  font-size: 12px;
  line-height: 1.35;
}

.main-callback-submit {
  min-height: 60px;
  border: 1px solid var(--gold, #d8b58a);
  border-radius: 4px;
  background: var(--gold, #d8b58a);
  color: #111111;
  font: 700 16px/1 "Manrope", Arial, sans-serif;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-callback-submit:hover,
.main-callback-submit:focus-visible {
  background: transparent;
  color: var(--gold, #d8b58a);
}

.main-callback-submit:active {
  transform: translateY(1px);
}

.main-callback-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.main-callback-note {
  margin: 2px 0 0;
  color: rgba(233, 226, 218, 0.58);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.main-callback-note.is-success {
  color: #d8b58a;
}

.main-callback-note.is-error {
  color: #ff9a9a;
}

@media (max-width: 620px) {
  .site-footer {
    padding: 34px 18px 36px !important;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .site-footer .footer-contact-block,
  .site-footer .footer-invite {
    justify-self: center;
  }

  .site-footer .footer-invite {
    transform: none;
  }

  .site-footer .footer-socials {
    justify-content: center;
  }

  .site-footer .footer-phone {
    text-align: center;
  }

  .site-footer .footer-invite-links {
    justify-items: center;
  }

  .site-footer .footer-actions {
    flex-direction: column;
    align-items: center;
    gap: 24px !important;
    margin-top: 52px !important;
    text-align: center;
  }

  .main-callback-overlay {
    padding: 16px;
  }

  .main-callback-modal {
    padding: 38px 24px 30px;
  }

  .main-callback-phone-row {
    grid-template-columns: 1fr;
  }
}
