/* ==========================================================================
   KiteLine Lawn Care — Final Homepage Conversion
   Evergreen ground. The last, calmest ask on the page: check an address,
   see the $29 price, decide what happens next. One CTA visible at a time.
   ========================================================================== */

.kl-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--kl-evergreen);
  padding: 160px 0;
}

.kl-final__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  width: 85%;
  max-width: 1100px;
  color: var(--kl-warm-white);
  opacity: 0.012;
  z-index: 0;
  pointer-events: none;
}

.kl-final__mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.kl-final__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--kl-gutter);
  text-align: center;
}

.kl-final__eyebrow {
  margin: 0 0 32px;
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kl-gold);
}

.kl-final__headline {
  margin: 0 0 32px;
  font-family: var(--kl-font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--kl-warm-white);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.kl-final__price {
  display: block;
  margin-top: 8px;
  color: var(--kl-gold);
  font-size: clamp(72px, 10vw, 128px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.kl-final__copy {
  margin: 0 0 56px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245, 243, 236, 0.72);
}

.kl-final__selected-service[hidden] {
  display: none;
}

.kl-final__selected-service {
  display: inline-block;
  margin: -32px 0 32px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(242, 194, 48, 0.12);
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kl-gold);
}

/* ---- Steps (progressive disclosure — one visible at a time) ----------------- */

.kl-final__step[hidden] {
  display: none;
}

/* ---- Address checker / notify-me row: input + button as one component ------- */

.kl-final__field-label {
  display: block;
  margin: 0 0 12px;
  font-family: var(--kl-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, 0.65);
  text-align: left;
}

.kl-final__checker-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 6px;
  background: rgba(245, 243, 236, 0.06);
  border: 1.5px solid rgba(245, 243, 236, 0.16);
  border-radius: 999px;
  transition: border-color 0.2s var(--kl-ease);
}

.kl-final__checker-row:focus-within {
  border-color: var(--kl-gold);
}

.kl-final__checker-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 10px 12px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--kl-font-display);
  font-size: 15px;
  color: var(--kl-warm-white);
}

.kl-final__checker-row input::placeholder {
  color: rgba(245, 243, 236, 0.4);
}

.kl-final__checker-row .kl-btn {
  flex-shrink: 0;
}

.kl-final__microcopy {
  margin: 24px 0 0;
  font-family: var(--kl-font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, 0.5);
}

.kl-final__reassurance {
  margin: 20px 0 0;
  font-family: var(--kl-font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 243, 236, 0.85);
}

.kl-final__points {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.kl-final__points span {
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, 0.85);
}

.kl-final__points .kl-final__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--kl-gold);
  opacity: 0.7;
}

/* ---- Step 2 result states ----------------------------------------------------- */

.kl-final__result-eyebrow {
  margin: 0 0 12px;
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kl-gold);
}

.kl-final__result-headline {
  margin: 0 0 20px;
  font-family: var(--kl-font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  color: var(--kl-warm-white);
}

.kl-final__result-copy {
  margin: 0 0 36px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 243, 236, 0.72);
}

.kl-final__try-again {
  display: inline-block;
  margin-top: 24px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--kl-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, 0.55);
  text-decoration: underline;
  text-decoration-color: rgba(242, 194, 48, 0.5);
  text-underline-offset: 3px;
  cursor: pointer;
}

.kl-final__try-again:hover,
.kl-final__try-again:focus-visible {
  color: var(--kl-warm-white);
}

/* ---- Embedded Jobber forms (Welcome Cut / Free Estimate) --------------------- */

.kl-final__jobber-frame {
  margin-top: 32px;
  padding: 24px;
  background: var(--kl-white);
  border-radius: 16px;
  text-align: left;
}

.kl-final__jobber-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .kl-final__jobber-frame {
    padding: 16px;
    border-radius: 12px;
  }
}

/* ---- Interaction / motion ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .kl-btn__arrow,
  .kl-final__checker-row {
    transition: none;
  }
}

/* ---- Responsive ------------------------------------------------------------------ */

@media (max-width: 640px) {
  .kl-final {
    padding: 112px 0;
  }

  .kl-final__price {
    font-size: clamp(64px, 20vw, 92px);
  }

  .kl-final__copy {
    margin-bottom: 40px;
  }

  .kl-final__checker-row {
    flex-direction: column;
    align-items: stretch;
    background: none;
    border: none;
    padding: 0;
    gap: 12px;
  }

  .kl-final__checker-row input {
    padding: 16px 18px;
    background: rgba(245, 243, 236, 0.06);
    border: 1.5px solid rgba(245, 243, 236, 0.16);
    border-radius: 999px;
  }

  .kl-final__checker-row:focus-within {
    border-color: transparent;
  }

  .kl-final__checker-row input:focus {
    border-color: var(--kl-gold);
  }

  .kl-final__checker-row .kl-btn {
    width: 100%;
    justify-content: center;
  }
}
