.site-footer {
  background: var(--macturi-footer-bg, #faf8f5);
  color: var(--macturi-footer-title, #1a1714);
}

.site-footer__contact {
  padding: 112px 0 88px;
}

.site-footer__eyebrow {
  color: var(--macturi-footer-accent, #8b7355);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.site-footer__title {
  color: var(--macturi-footer-title, #1a1714);
  font-family: "Tenor Sans", sans-serif !important;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

.site-footer__grid {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 56px;
}

.site-footer__heading {
  color: var(--macturi-footer-title, #1a1714);
  font-family: "Tenor Sans", sans-serif !important;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 24px;
}

.site-footer__text {
  color: color-mix(in srgb, var(--macturi-footer-text, #6b6560) 90%, transparent);
  font-size: 0.96rem;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 540px;
}

.site-footer__detail {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.site-footer__detail svg {
  color: var(--macturi-footer-accent, #8b7355);
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}

.site-footer__detail a {
  color: var(--macturi-footer-title, #1a1714);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__detail a:hover,
.site-footer__nav a:hover {
  color: var(--macturi-footer-accent, #8b7355);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.site-footer__social-link {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--macturi-footer-border, #d9d2c9) 60%, transparent);
  color: var(--macturi-footer-title, #1a1714);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  width: 44px;
}

.site-footer__social-link:hover {
  background: color-mix(in srgb, var(--macturi-footer-accent, #8b7355) 8%, transparent);
  border-color: var(--macturi-footer-accent, #8b7355);
  color: var(--macturi-footer-accent, #8b7355);
}

.site-footer__social-link svg {
  height: 18px;
  width: 18px;
}

.site-footer__form-wrap {
  min-width: 0;
}

.site-footer__form-wrap .wpcf7 {
  width: 100%;
}

.site-footer__form-wrap .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__form-wrap .wpcf7 form p,
.site-footer__form-wrap .wpcf7-form p {
  margin: 0;
}

.site-footer__form-wrap .wpcf7-form-control-wrap {
  display: block;
}

.site-footer__form-wrap .wpcf7 input:not([type="submit"]),
.site-footer__form-wrap .wpcf7 textarea,
.site-footer__form-wrap .wpcf7 select {
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--macturi-footer-border, #d9d2c9) 70%, transparent);
  border-radius: 0;
  box-shadow: none;
  color: var(--macturi-footer-title, #1a1714) !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 0.94rem;
  line-height: 1.5;
  outline: none;
  padding: 11px 0 !important;
  width: 100%;
}

.site-footer__form-wrap .wpcf7 input:not([type="submit"])::placeholder,
.site-footer__form-wrap .wpcf7 textarea::placeholder {
  color: color-mix(in srgb, var(--macturi-footer-text, #6b6560) 55%, transparent);
}

.site-footer__form-wrap .wpcf7 textarea {
  min-height: 64px !important;
  resize: vertical;
}

.site-footer__form-wrap .wpcf7 input:not([type="submit"]):focus,
.site-footer__form-wrap .wpcf7 textarea:focus,
.site-footer__form-wrap .wpcf7 select:focus {
  border-bottom-color: var(--macturi-footer-accent, #8b7355);
}

.site-footer__form-wrap .wpcf7-submit {
  background: var(--macturi-footer-button-bg, #1a1714);
  border: none;
  color: var(--macturi-footer-button-text, #faf8f5) !important;
  cursor: pointer;
  display: inline-flex;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: 2px;
  max-width: 280px;
  padding: 14px 22px !important;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: auto;
}

.site-footer__form-wrap .wpcf7-submit:hover {
  background: var(--macturi-footer-accent, #8b7355);
}

.site-footer__form-wrap .wpcf7-spinner {
  margin: 10px 0 0;
}

.site-footer__form-wrap .wpcf7-not-valid-tip,
.site-footer__form-wrap .wpcf7-response-output {
  color: var(--macturi-footer-title, #1a1714);
  font-size: 0.84rem;
}

.site-footer__bottom {
  background: var(--macturi-footer-surface, #faf8f5);
  border-top: 1px solid color-mix(in srgb, var(--macturi-footer-border, #d9d2c9) 45%, transparent);
  padding: 24px 0;
}

.site-footer__bottom-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.site-footer__brand {
  color: color-mix(in srgb, var(--macturi-footer-text, #6b6560) 55%, transparent);
  display: inline-flex;
  font-family: "Tenor Sans", sans-serif !important;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__brand img,
.site-footer__brand-image {
  display: block;
  height: 28px;
  max-height: 28px;
  width: auto;
}

.site-footer__brand-accent {
  color: var(--macturi-footer-accent, #8b7355);
}

.site-footer__note {
  color: color-mix(in srgb, var(--macturi-footer-text, #6b6560) 60%, transparent);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer__nav a {
  color: color-mix(in srgb, var(--macturi-footer-text, #6b6560) 90%, transparent);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

@media (max-width: 1024px) {
  .site-footer__contact {
    padding: 96px 0 72px;
  }

  .site-footer__grid {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-footer__contact {
    padding: 80px 0 64px;
  }

  .site-footer__grid {
    gap: 36px;
    margin-top: 40px;
  }

  .site-footer__socials {
    gap: 10px;
  }

  .site-footer__social-link {
    height: 42px;
    width: 42px;
  }
}
