.khp-site-footer {
  background: #1f272b;
  color: #ffffff;
  position: relative;
}

.khp-site-footer,
.khp-site-footer * {
  box-sizing: border-box;
}

.khp-site-footer a {
  text-decoration: none;
}

.khp-site-footer h2 {
  font-family: var(--khp-font-main);
  font-size: 2.8rem;
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 500;
}

.khp-site-footer h4 {
  font-family: var(--khp-font-main);
  margin: 0 0 14px;
  line-height: 1.25;
  font-weight: 500;
}

.khp-site-footer p {
  font-weight: 400;
}

.khp-site-footer strong {
  font-weight: 600;
}

.khp-site-footer em {
  font-style: italic;
}

.khp-eyebrow-footer {
  color: var(--khp-color-accent);
  margin-bottom: 20px;
}

.khp-btn-footer-primary {
  background-color: white !important;
  color: var(--khp-color-secondary) !important;
}

.khp-btn-footer-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.12);
}

/* FOOTER CTA */
.khp-footer-cta {
  position: relative;
  padding: 120px 0;
  background:
    linear-gradient(rgba(31, 39, 43, 0.78), rgba(31, 39, 43, 0.88)),
    url('/assets/images/textures/shutterstock-433037449.jpg') center/cover;
  color: var(--khp-color-bg-white);
  text-align: center;
  overflow: hidden;
}

.khp-footer-cta .khp-light-heading {
  color: #ffffff !important;
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 500;
}

.khp-footer-copy {
  color: #d6d9dc;
  max-width: 700px;
  margin: 0 auto 40px !important;
  font-size: 1.1rem !important;
  line-height: 1.7;
  font-weight: 400;
}

.khp-footer-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.khp-footer-cta-trust {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.khp-footer-cta-rating {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
}

.khp-footer-cta-rating strong {
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
}

.khp-footer-cta-stars {
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: #ffffff;
}

.khp-footer-cta-rating small {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.khp-footer-cta-badges {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.khp-footer-cta-rating-link,
.khp-footer-cta-badge-link {
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.khp-footer-cta-rating-link {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
}

.khp-footer-cta-rating-link strong,
.khp-footer-cta-rating-link .khp-footer-cta-stars,
.khp-footer-cta-rating-link small {
  text-decoration: none;
}

.khp-footer-cta-rating-link:hover,
.khp-footer-cta-badge-link:hover {
  opacity: 0.82;
}

.khp-footer-cta-badge-link {
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

/* FOOTER MAIN */
.khp-site-footer-main {
  padding: 54px 0 42px;
}

.khp-site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.khp-site-footer-brand p,
.khp-site-footer-column p,
.khp-site-footer-column a {
  color: rgba(255, 255, 255, 0.78);
}

.khp-site-footer-brand p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.khp-site-footer-logo {
  width: 190px;
  max-width: 100%;
  margin-bottom: 22px;
  display: block;
}

.khp-site-footer-column h4 {
  color: #ffffff !important;
  font-size: 1rem;
  margin-bottom: 14px;
}

.khp-site-footer-column p {
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 14px;
}

.khp-site-footer-column .khp-inline-link,
.khp-site-footer-brand .khp-inline-link {
  display: inline-block;
  line-height: 1.2;
}

/* FOOTER BOTTOM */
.khp-site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px;
}

.khp-site-footer-bottom-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.khp-site-footer-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
}

.khp-site-footer-rating strong {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.khp-site-footer-rating span {
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.khp-site-footer-rating small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.khp-site-footer-legal {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.khp-site-footer-legal a,
.khp-site-footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.4;
}

.khp-site-footer-legal a:hover {
  color: #ffffff;
}

/* CONSULTATION MODAL */
.khp-consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 11050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.khp-consultation-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.khp-consultation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.khp-consultation-modal-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 16px auto;
  background:
    linear-gradient(135deg, rgba(32, 41, 46, 0.98), rgba(45, 56, 62, 0.98)),
    url('/assets/images/textures/shutterstock-2479012867.jpg') center/cover;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  color: #ffffff;
}

.khp-consultation-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.khp-consultation-modal-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 36px;
  padding: 46px;
}

.khp-consultation-modal-copy {
  padding-top: 12px;
}

.khp-consultation-modal-copy h3 {
  color: #ffffff !important;
  font-size: 2.4rem;
  margin: 0 0 18px;
}

.khp-consultation-modal-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 26px;
}

.khp-consultation-modal-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.khp-consultation-modal-contact a,
.khp-consultation-modal-contact span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.khp-consultation-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.khp-consultation-form-grid {
  display: grid;
  gap: 14px;
}

.khp-consultation-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.khp-consultation-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.khp-form-field input,
.khp-form-field select,
.khp-form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #2c3539;
  border-radius: 10px;
  padding: 16px;
  font-family: var(--khp-font-main);
  font-size: 0.98rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.khp-form-field textarea {
  resize: vertical;
  min-height: 132px;
}

.khp-form-field input:focus,
.khp-form-field select:focus,
.khp-form-field textarea:focus {
  border-color: rgba(197, 160, 89, 0.85);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.16);
}

.khp-form-checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.65;
}

.khp-form-checkbox input {
  margin-top: 4px;
}

.khp-consultation-form-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
}

#khp-consultation-form-status {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

.khp-consultation-form-note a {
  color: #ffffff;
  text-decoration: underline;
}

.khp-consultation-form-actions {
  padding-top: 6px;
}

.khp-consultation-form-actions .khp-btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
}

.khp-consultation-form-actions .khp-btn-primary:hover {
  border-color: rgba(255, 255, 255, 0.95) !important;
}

html.khp-consultation-open,
body.khp-consultation-open {
  overflow: hidden;
}

/* DESKTOP STICKY CTA */
.khp-desktop-sticky-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--khp-cookie-banner-offset, 0px));
  z-index: 10020;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: bottom 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

.khp-desktop-sticky-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--khp-font-main);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.khp-desktop-sticky-btn:hover {
  transform: translateY(-2px);
}

.khp-desktop-sticky-btn-primary {
  background: var(--khp-color-accent);
  color: #2c3539 !important;
}

.khp-desktop-sticky-btn-secondary,
.khp-desktop-sticky-btn-secondary:link,
.khp-desktop-sticky-btn-secondary:visited {
  background: rgba(31, 39, 43, 0.92);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.khp-mobile-sticky-cta .khp-mobile-btn {
  appearance: none;
  cursor: pointer;
  border-radius: var(--khp-radius);
  font-family: var(--khp-font-main);
}

.khp-mobile-sticky-cta .khp-mobile-btn-primary {
  border: 0;
}

.khp-mobile-sticky-cta .khp-mobile-btn-secondary,
.khp-mobile-sticky-cta .khp-mobile-btn-secondary:link,
.khp-mobile-sticky-cta .khp-mobile-btn-secondary:visited {
  color: #ffffff !important;
  background: rgba(17, 22, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

@media (max-width: 1100px) {
  .khp-site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .khp-consultation-modal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .khp-footer-cta {
    padding: 88px 0 84px;
  }

  .khp-footer-cta .khp-light-heading {
    font-size: 2rem;
  }

  .khp-footer-actions {
    flex-direction: column;
    gap: 14px;
  }

  .khp-footer-actions .khp-btn {
    width: 100%;
  }

  .khp-footer-cta-rating strong {
    font-size: 2.6rem;
  }

  .khp-footer-cta-stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .khp-footer-cta-badges {
    gap: 14px;
    font-size: 0.82rem;
    letter-spacing: 1.3px;
    flex-direction: column;
    align-items: center;
  }

    .khp-site-footer-bottom {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  html.khp-cookie-banner-visible .khp-site-footer-bottom,
  body.khp-cookie-banner-visible .khp-site-footer-bottom {
    padding-bottom: calc(190px + env(safe-area-inset-bottom));
  }

  .khp-site-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .khp-site-footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .khp-site-footer-legal {
    justify-content: flex-start;
    gap: 16px;
  }

  .khp-consultation-form-actions {
    display: flex;
    justify-content: center;
  }

  .khp-consultation-form-actions .khp-btn {
    width: auto;
    min-width: 180px;
  }

  .khp-consultation-modal-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    border-radius: 18px;
  }

  .khp-consultation-modal-layout {
    padding: 28px 20px 24px;
    gap: 22px;
  }

  .khp-consultation-modal-copy {
    padding-top: 10px;
    padding-right: 24px;
  }

  .khp-consultation-modal-copy h3 {
    font-size: 2rem;
  }

  .khp-consultation-form-grid-3,
  .khp-consultation-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .khp-consultation-modal-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }
}

@media (max-width: 560px) {
  .khp-footer-cta .khp-light-heading {
    font-size: 1.7rem;
  }

  .khp-consultation-modal-copy h3 {
    font-size: 1.7rem;
  }

  .khp-consultation-modal-copy p,
  .khp-form-checkbox {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .khp-desktop-sticky-cta {
    display: none;
  }
}

@media (min-width: 769px) {
  .khp-consultation-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .khp-consultation-modal-dialog {
    margin: 0;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
  }

  .khp-consultation-modal-layout {
    padding: 64px 46px 46px;
  }

  .khp-consultation-modal-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.9rem;
  }

  .khp-mobile-sticky-cta {
    display: none;
  }

    .khp-desktop-sticky-cta {
    transition: bottom 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
  }

  .khp-desktop-sticky-cta.is-lifted {
    transform: translateY(-100px);
  }
}

@media (max-width: 768px) {
  .khp-mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10020;
    width: 100%;
    gap: 12px;
    padding: 12px;
    background: rgba(26, 26, 26, 0.96);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.15);
  }

  .khp-mobile-sticky-cta .khp-mobile-btn {
    flex: 1;
    padding: 14px 16px;
    border-radius: var(--khp-radius);
    text-align: center;
    text-decoration: none;
    font-family: var(--khp-font-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .khp-mobile-sticky-cta .khp-mobile-btn-primary {
    background: var(--khp-color-accent);
    color: #ffffff !important;
    border: 0;
  }

  .khp-mobile-sticky-cta .khp-mobile-btn-secondary,
  .khp-mobile-sticky-cta .khp-mobile-btn-secondary:link,
  .khp-mobile-sticky-cta .khp-mobile-btn-secondary:visited {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
}

/* Mobile consultation modal: prevent submit button from sitting under browser bottom bar */
@media (max-width: 768px) {
  .khp-consultation-modal-layout {
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
}