.quote-hero {
  position: relative;
  min-height: max(430px, 48svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background: var(--green-deep);
}

.quote-hero > img,
.quote-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quote-hero > img {
  z-index: -2;
  object-fit: cover;
  object-position: center 42%;
}

.quote-hero-shade {
  z-index: -1;
  background: color-mix(in oklch, var(--green-deep), transparent 28%);
}

.quote-hero-content {
  padding: calc(var(--header-h) + 58px) 0 64px;
}

.quote-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--cream);
  font: 560 clamp(3.6rem, 7vw, 5.6rem)/.9 var(--display);
  letter-spacing: -.035em;
  text-shadow: 0 3px 18px rgb(10 20 13 / .34);
}

.quote-hero p {
  max-width: 650px;
  margin: 0;
  color: color-mix(in oklch, var(--cream), transparent 8%);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.65;
  text-shadow: 0 2px 10px rgb(10 20 13 / .38);
}

.quote-section {
  padding: clamp(5.5rem, 8vw, 8rem) 0;
  background: var(--surface);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: start;
}

.quote-intro {
  padding-top: 4px;
}

.quote-intro h2,
.quote-process h2,
.quote-faq h2 {
  color: var(--fg);
  font: 560 clamp(3rem, 5vw, 4.8rem)/.92 var(--display);
  letter-spacing: -.035em;
}

.quote-intro h2 {
  max-width: 590px;
  margin-bottom: 24px;
}

.quote-intro > p:not(.quote-proof) {
  max-width: 560px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.04rem;
}

.quote-benefits {
  display: grid;
  border-top: 1px solid var(--border);
}

.quote-benefit {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.quote-check {
  position: relative;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.quote-check::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-bottom: 1.5px solid var(--green);
  border-left: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

.quote-benefit h3 {
  margin-bottom: 5px;
  font: 560 1.26rem/1.08 var(--display);
}

.quote-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

.quote-proof {
  margin: 30px 0 0;
  color: var(--fg);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.quote-card {
  padding: clamp(26px, 3.5vw, 42px);
  background: var(--white);
  box-shadow: 0 18px 48px color-mix(in oklch, var(--fg), transparent 88%);
}

.quote-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 22px;
}

.form-field {
  min-width: 0;
}

.form-field-wide,
.contact-choice {
  grid-column: 1 / -1;
}

.form-field label,
.contact-choice legend {
  display: block;
  margin-bottom: 9px;
  font-size: .81rem;
  font-weight: 700;
}

.field-note {
  color: var(--muted);
  font-size: .71rem;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 51px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--fg);
  background: var(--bg);
  font: 500 1rem/1.4 var(--body);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.quote-form textarea {
  min-height: 158px;
  resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: color-mix(in oklch, var(--muted), var(--bg) 12%);
  opacity: 1;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
  border-color: var(--muted);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid color-mix(in oklch, var(--accent), transparent 28%);
  outline-offset: 2px;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 8px 22px color-mix(in oklch, var(--fg), transparent 91%);
}

.quote-form.was-validated input:invalid,
.quote-form.was-validated select:invalid,
.quote-form.was-validated textarea:invalid {
  border-color: var(--accent);
  background: color-mix(in oklch, var(--accent), var(--bg) 94%);
}

.contact-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.radio-option {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
}

.radio-option input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  accent-color: var(--accent);
}

.quote-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px 20px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.quote-action .button {
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.quote-action .button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.quote-helper,
.quote-fallback {
  margin: 0;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.5;
}

.form-status { grid-column: 1 / -1; margin: 0; font-size: .86rem; font-weight: 650; line-height: 1.45; }
.form-status[data-state="pending"] { color: var(--muted); }
.form-status[data-state="success"] { color: var(--green); }
.form-status[data-state="error"] { color: #9d3d2a; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.quote-fallback {
  grid-column: 1 / -1;
}

.quote-fallback a {
  color: var(--fg);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.quote-process {
  padding: clamp(5.5rem, 8vw, 7.5rem) 0;
  background: var(--bg);
}

.quote-process-inner {
  text-align: center;
}

.quote-process h2,
.quote-faq h2 {
  margin-bottom: 50px;
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.process-step {
  min-height: 260px;
  padding: 36px clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--border);
}

.process-step:last-child {
  border-right: 0;
}

.process-step > span {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-deep);
  font: 600 1rem/1 var(--body);
}

.process-step h3 {
  margin-bottom: 12px;
  font: 560 2rem/1 var(--display);
}

.process-step p {
  margin: 0 auto;
  color: var(--muted);
  font-size: .9rem;
}

.process-cta {
  margin-top: 42px;
  border-radius: 0;
}

.quote-faq {
  padding: clamp(5.5rem, 8vw, 7.5rem) 0;
  background: var(--surface);
}

.quote-faq-inner {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 28px 30px;
  background: var(--white);
}

.faq-item h3 {
  margin-bottom: 9px;
  font: 560 1.45rem/1.1 var(--display);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .quote-hero {
    min-height: 520px;
  }

  .quote-hero-content {
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 54px;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .quote-intro h2,
  .quote-process h2,
  .quote-faq h2 {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .process-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .quote-hero {
    min-height: 500px;
  }

  .quote-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.4rem);
  }

  .quote-section,
  .quote-process,
  .quote-faq {
    padding-block: 5rem;
  }

  .quote-form-fields {
    grid-template-columns: 1fr;
  }

  .form-field-wide,
  .contact-choice {
    grid-column: auto;
  }

  .quote-card {
    margin-inline: -4px;
    padding: 24px 18px;
  }

  .quote-action {
    grid-template-columns: 1fr;
  }

  .quote-action .button,
  .process-cta {
    width: 100%;
  }

  .quote-fallback {
    grid-column: auto;
  }
  .form-status { grid-column: auto; }

  .faq-item {
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
