/* Footer — Figma-matched (node 3007:64 form + contact) */
.site-footer {
  --footer-muted: #585858;
  background: #000;
  color: var(--footer-muted);
  padding: 72px 0 36px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  display: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.footer-contact {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer-contact__block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-contact__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 6px;
  display: block;
}

.footer-contact__label {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-contact__text,
.footer-contact__text a {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  text-decoration: none;
}


.footer-contact__text a:hover {
  color: #ffd8b4;
}

.footer-contact__divider {
  border: none;
  border-top: 1px solid #585858;
  opacity: 0.55;
  margin: 26px 0;
  width: 100%;
  max-width: 500px;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 100px;
  height: 44px;
  padding: 0 22px 0 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #e8e8e8;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  transition: background 0.25s var(--ease-soft), transform 0.25s var(--ease-out);
}

.footer-call:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer-call__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.footer-call__label {
  line-height: 1;
}

.site-footer__copy {
  margin-top: auto;
  padding-top: 56px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
}

.site-footer__form-wrap {
  position: relative;
  justify-self: end;
  width: min(100%, 480px);
  /* room for bg peek at bottom-right (shadow-like) */
  padding: 0 18px 22px 0;
  isolation: isolate;
}

.site-footer__form-bg {
  position: absolute;
  z-index: 0;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 95%;
  object-fit: cover;
  object-position: right bottom;
  pointer-events: none;
  user-select: none;
}

/* Form card — no radius; bg peeks bottom-right like a shadow */
.site-footer .enquiry-form--footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 26px 24px 24px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
}

.site-footer .enquiry-form--footer .enquiry-form__title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #111111;
  text-align: center;
}

.site-footer .enquiry-form--footer .form-field {
  margin-bottom: 10px;
}

.site-footer .enquiry-form--footer .form-field input,
.site-footer .enquiry-form--footer .form-field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #585858;
  appearance: none;
  -webkit-appearance: none;
}

.site-footer .enquiry-form--footer .form-field input:focus,
.site-footer .enquiry-form--footer .form-field select:focus {
  border-color: #ff853a;
  box-shadow: 0 0 0 2px rgba(255, 133, 58, 0.15);
  outline: none;
}

.site-footer .enquiry-form--footer .form-field input::placeholder {
  color: #585858;
  opacity: 1;
}

.site-footer .enquiry-form--footer .form-field select {
  color: #585858;
  background-image: url("../icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px;
  padding-right: 32px;
}

.site-footer .enquiry-form--footer .form-field select:invalid,
.site-footer .enquiry-form--footer .form-field select option[value=""] {
  color: #585858;
}

.site-footer .enquiry-form--footer .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.site-footer .form-mobile--footer {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: stretch;
}

.site-footer .enquiry-form--footer .form-mobile__code {
  position: relative;
  display: block;
  height: 42px;
  padding: 0;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #585858;
  cursor: pointer;
  overflow: hidden;
}

.site-footer .enquiry-form--footer .form-mobile__code select {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 22px 0 10px !important;
  margin: 0;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  background: #fff !important;
  background-image: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  color: #585858;
  cursor: pointer;
}

.site-footer .enquiry-form--footer .form-mobile__code select:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

.site-footer .enquiry-form--footer .form-mobile__code img {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-footer .form-mobile--footer > input {
  height: 42px;
}

.site-footer .enquiry-form--footer .form-captcha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.site-footer .form-captcha__box {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  overflow: hidden;
  background: #f2f2f2;
}

.site-footer .form-captcha__code {
  height: 100%;
  border: none;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #222;
  background:
    radial-gradient(circle at 26% 48%, rgba(126, 217, 87, 0.9) 0%, transparent 42%),
    radial-gradient(circle at 58% 38%, rgba(192, 132, 252, 0.85) 0%, transparent 40%),
    radial-gradient(circle at 48% 72%, rgba(251, 113, 133, 0.8) 0%, transparent 38%),
    #ececec;
  user-select: none;
}

.site-footer .form-captcha__refresh {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border: none;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.site-footer .form-captcha__refresh:hover {
  transform: rotate(180deg);
  transition: transform 0.4s var(--ease-out);
}

.site-footer .enquiry-form--footer .form-captcha > input {
  height: 42px;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  padding: 0 12px;
  width: 100%;
  font-size: 14px;
  color: #585858;
  font-family: var(--font-sans);
}

.site-footer .enquiry-form--footer .form-captcha > input::placeholder {
  color: #585858;
  opacity: 1;
}

.site-footer .enquiry-form--footer .form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.45;
  color: #585858;
}

.site-footer .enquiry-form--footer .form-consent input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #f58220;
}

.site-footer .enquiry-form--footer .form-consent strong {
  font-weight: 700;
  color: #111;
}

.site-footer .btn--footer-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #ff9d52 0%, #ff7e30 50%, #ef6a18 100%);
  box-shadow: 0 8px 20px rgba(255, 126, 48, 0.32);
  transition: filter 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft),
    transform 0.25s var(--ease-out);
}

.site-footer .btn--footer-apply:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(255, 126, 48, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 990px) {
  .site-footer {
    padding: 48px 0 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__form-wrap {
    justify-self: stretch;
    width: 100%;
  }

  .footer-contact {
    padding-top: 0;
    max-width: none;
  }

  .site-footer__copy {
    padding-top: 36px;
  }
}

@media (max-width: 480px) {
  .site-footer__form-wrap {
    padding: 0 12px 14px 0;
  }

  .site-footer__form-bg {
    width: 75%;
    height: 52%;
  }

  .site-footer .enquiry-form--footer {
    padding: 20px 14px 18px;
  }

  .site-footer .enquiry-form--footer .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer .enquiry-form--footer .form-captcha {
    grid-template-columns: 1fr;
  }

  .site-footer .form-mobile--footer {
    grid-template-columns: 72px 1fr;
  }
}
