:root {
      --ivory: #fffdf4;
      --gold: #c7a84a;
      --deep: #0d160b;
      --ink: #171a10;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      min-height: 100%;
    }

    body {
      min-height: 100vh;
      overflow-x: hidden;
      overflow-y: auto;
      color: var(--ivory);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--deep);
    }

    .estate {
      position: fixed;
      inset: -2.5vh -2.5vw;
      z-index: 0;
      background:
        linear-gradient(180deg, rgba(5, 12, 4, 0.1) 0%, rgba(5, 12, 4, 0.22) 46%, rgba(5, 12, 4, 0.72) 100%),
        radial-gradient(circle at 50% 36%, rgba(255, 244, 190, 0.25), transparent 30%),
        url("../../media/images/luxury-lawn-hero.png") center / cover no-repeat;
      filter: saturate(1.02) contrast(1.04);
      transform: scale(1.035);
      animation: estateDrift 22s ease-in-out infinite alternate;
    }

    .estate::before,
    .estate::after {
      position: absolute;
      inset: 0;
      pointer-events: none;
      content: "";
    }

    .estate::before {
      background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.24)),
        radial-gradient(ellipse at 50% 48%, transparent 0 34%, rgba(0, 0, 0, 0.24) 78%);
    }

    .estate::after {
      width: 36%;
      background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.13) 45%, transparent 72%);
      filter: blur(18px);
      opacity: 0.5;
      transform: translateX(-130%) skewX(-14deg);
      animation: lightSweep 9s ease-in-out infinite;
    }

    .page {
      position: relative;
      z-index: 1;
      min-height: 900px;
      min-height: max(100vh, 900px);
      min-height: max(100svh, 900px);
      padding: clamp(22px, 4vw, 56px) clamp(22px, 4vw, 56px) calc(clamp(22px, 4vw, 56px) + 38px);
      text-align: center;
    }

    .site-footer {
      position: fixed;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 3;
      display: flex;
      min-height: 24px;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.26);
      color: rgba(255, 253, 244, 0.82);
      font-size: clamp(0.52rem, 0.85vw, 0.64rem);
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      background:
        linear-gradient(90deg, rgba(16, 31, 10, 0.86), rgba(255, 253, 236, 0.2) 50%, rgba(16, 31, 10, 0.86));
      box-shadow: 0 -12px 34px rgba(5, 12, 4, 0.24);
      backdrop-filter: blur(10px) saturate(1.08);
      padding: 4px clamp(14px, 3vw, 42px);
    }

    .site-footer p {
      margin: 0;
    }

    .footer-links {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      white-space: nowrap;
    }

    .footer-links a {
      color: rgba(255, 253, 244, 0.9);
      text-decoration: none;
      transition:
        color 160ms ease,
        text-shadow 160ms ease;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: #fffdf4;
      text-shadow: 0 0 14px rgba(255, 244, 190, 0.34);
      outline: none;
    }

    .quote-capture {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 4;
      width: 100%;
      min-height: 44px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.34);
      background:
        linear-gradient(90deg, rgba(16, 31, 10, 0.82), rgba(255, 253, 236, 0.9) 36% 64%, rgba(16, 31, 10, 0.82));
      box-shadow: 0 12px 42px rgba(5, 12, 4, 0.24);
      backdrop-filter: blur(10px) saturate(1.08);
      transition:
        width 360ms ease,
        left 360ms ease,
        right 360ms ease,
        border-radius 360ms ease,
        background 360ms ease,
        box-shadow 360ms ease,
        transform 360ms ease;
    }

    .quote-flow {
      display: flex;
      width: min(1040px, 100%);
      min-height: 44px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin: 0 auto;
      padding: 7px 16px;
      font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
    }

    .top-cta {
      position: relative;
      display: inline-flex;
      min-width: min(460px, calc(100vw - 32px));
      min-height: 52px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      overflow: hidden;
      border: 1px solid rgba(255, 248, 207, 0.52);
      border-radius: 6px;
      color: #fffdf4;
      font-family: Inter, "Segoe UI", "Aptos", ui-sans-serif, system-ui, sans-serif;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;
      cursor: pointer;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(135deg, #315f22, #12270c 54%, #274f18);
      box-shadow:
        0 9px 24px rgba(5, 12, 4, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(103, 72, 18, 0.42);
      padding: 8px 24px 9px;
      appearance: none;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
    }

    .top-cta::before {
      position: absolute;
      inset: 0;
      width: 48%;
      background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
      transform: translateX(-140%) skewX(-18deg);
      content: "";
      animation: ctaSheen 5.2s ease-in-out infinite;
    }

    .top-cta::after {
      content: none;
    }

    .cta-main,
    .cta-sub {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      line-height: 1;
      pointer-events: none;
    }

    .cta-main {
      font-size: clamp(0.92rem, 1.42vw, 1.04rem);
      font-weight: 800;
      letter-spacing: 0.035em;
      text-align: center;
      text-align-last: auto;
    }

    .cta-sub {
      color: #c39a63;
      font-size: clamp(0.66rem, 1vw, 0.76rem);
      font-weight: 600;
      letter-spacing: 0.015em;
      line-height: 1.1;
      text-shadow: 0 1px 0 rgba(255, 244, 190, 0.12);
      text-transform: none;
    }

    .cta-countdown {
      font-variant-numeric: tabular-nums;
    }

    .top-cta:hover,
    .top-cta:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(255, 244, 190, 0.82);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(135deg, #3b7428, #16310f 54%, #315f22);
      box-shadow:
        0 13px 30px rgba(5, 12, 4, 0.34),
        0 0 0 3px rgba(255, 244, 190, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -2px 0 rgba(103, 72, 18, 0.42);
      outline: none;
    }

    .quote-steps {
      display: none;
      width: min(720px, 100%);
      grid-template-columns: minmax(0, max-content) 34px;
      align-items: center;
      justify-content: center;
      gap: 6px 8px;
    }

    .quote-capture.is-active .top-cta {
      display: none;
    }

    .quote-capture.is-active .quote-steps {
      display: grid;
    }

    .quote-capture.is-confirming .quote-reset,
    .quote-capture.is-confirming .quote-error {
      display: none;
    }

    .quote-capture.is-revealing {
      right: auto;
      left: 0;
      width: 100%;
      transform-origin: right center;
      transition: none;
      animation: bannerReveal 760ms cubic-bezier(0.16, 0.84, 0.22, 1) both;
      will-change: transform, opacity;
    }

    .quote-capture.is-revealing .quote-flow {
      animation: bannerContentReveal 520ms 130ms ease both;
    }

    .quote-capture.is-submitted {
      right: 0;
      left: auto;
      width: 48px;
      min-height: 0;
      border: 0;
      border-radius: 0;
      background: transparent !important;
      box-shadow: none;
      backdrop-filter: none;
      transform: translateX(0);
      pointer-events: none;
    }

    .quote-capture.is-submitted .quote-flow {
      width: auto;
      min-height: 0;
      justify-content: flex-end;
      background: transparent !important;
      box-shadow: none;
      padding: 8px 0 0 0;
    }

    .quote-capture.is-submitted .quote-steps {
      display: none;
    }

    .quote-capture.is-submitted .top-cta {
      display: inline-flex;
      min-width: 0;
      width: 42px;
      min-height: 36px;
      border-radius: 10px 0 0 10px;
      padding: 0;
      font-size: 0;
      letter-spacing: 0;
      pointer-events: auto;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(135deg, #315f22, #12270c 54%, #274f18);
      box-shadow:
        0 10px 30px rgba(5, 12, 4, 0.3);
      transform: translateX(4px);
      animation: quoteTuck 420ms ease both;
    }

    .quote-capture.is-submitted .top-cta::before {
      position: relative;
      inset: auto;
      width: auto;
      height: auto;
      border: 0;
      border-radius: 0;
      background: transparent;
      transform: none;
      animation: none;
      font-size: 1.18rem;
      font-weight: 900;
      line-height: 1;
      content: "\1F343";
    }

    .quote-capture.is-submitted .top-cta::after {
      content: none;
    }

    .quote-tooltip {
      position: absolute;
      top: 10px;
      right: 48px;
      display: none;
      width: max-content;
      border: 1px solid rgba(255, 248, 207, 0.34);
      border-radius: 8px;
      color: #fffdf4;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
      background: rgba(18, 39, 12, 0.88);
      box-shadow: 0 10px 28px rgba(5, 12, 4, 0.26);
      padding: 9px 10px;
      pointer-events: none;
    }

    .quote-capture.is-submitted .top-cta:hover + .quote-tooltip,
    .quote-capture.is-submitted .top-cta:focus-visible + .quote-tooltip {
      display: block;
      animation: tooltipIn 180ms ease both;
    }

    .quote-step {
      position: relative;
      display: none;
      grid-column: 1 / 2;
      justify-self: end;
      align-items: center;
      gap: 8px;
      animation: stepSlide 220ms ease both;
    }

    .quote-step.is-current,
    .quote-step.is-complete {
      display: flex;
    }

    .quote-outcome.is-current,
    .quote-outcome.is-complete {
      grid-column: 1 / -1;
      width: min(680px, calc(100vw - 32px));
      flex-direction: column;
      gap: 5px;
      align-items: center;
      justify-content: center;
      color: #17320d;
      line-height: 1.35;
      text-align: center;
      animation: outcomeHold 10s ease both;
    }

    .quote-outcome strong {
      font-size: clamp(0.92rem, 2vw, 1.12rem);
      font-weight: 750;
    }

    .quote-outcome strong:not(:first-child) {
      color: #33452d;
      font-size: clamp(0.78rem, 1.6vw, 0.92rem);
      font-weight: 700;
    }

    .quote-area-new {
      margin-top: 7px;
    }

    .quote-submitted-step {
      grid-column: 1 / -1;
      justify-content: center;
      width: min(760px, 100%);
    }

    .quote-new {
      display: inline-flex;
      width: min(620px, 100%);
      min-height: 34px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 248, 207, 0.48);
      border-radius: 9px;
      color: #fffdf4;
      font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
      font-size: clamp(0.68rem, 1.35vw, 0.84rem);
      font-weight: 850;
      letter-spacing: 0.08em;
      line-height: 1.12;
      text-transform: uppercase;
      cursor: pointer;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%),
        linear-gradient(135deg, #315f22, #13280d 56%, #274f18);
      box-shadow:
        0 9px 24px rgba(5, 12, 4, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
      padding: 9px 18px;
      text-align: center;
      appearance: none;
      transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
    }

    .quote-new:hover,
    .quote-new:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(255, 244, 190, 0.8);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.23), transparent 44%),
        linear-gradient(135deg, #3b7428, #17320d 56%, #315f22);
      box-shadow:
        0 13px 30px rgba(5, 12, 4, 0.32),
        0 0 0 3px rgba(255, 244, 190, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
      outline: none;
    }

    .step-label {
      color: #14270e;
      font-size: 0.68rem;
      font-weight: 850;
      letter-spacing: 0.095em;
      line-height: 1;
      text-transform: uppercase;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
    }

    .captcha-question {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      border: 1px solid rgba(20, 39, 14, 0.16);
      border-radius: 8px;
      color: #14270e;
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      background: rgba(255, 253, 244, 0.56);
      padding: 5px 10px;
      white-space: nowrap;
    }

    .quote-input,
    .quote-select {
      width: min(310px, 34vw);
      min-height: 34px;
      border: 1px solid rgba(20, 39, 14, 0.22);
      border-radius: 9px;
      background: rgba(255, 255, 255, 0.92);
      color: var(--ink);
      font: inherit;
      font-size: 0.88rem;
      font-weight: 500;
      padding: 7px 12px;
      box-shadow:
        inset 0 1px 3px rgba(5, 12, 4, 0.12),
        0 7px 18px rgba(5, 12, 4, 0.16);
    }

    .quote-select {
      width: min(260px, 30vw);
    }

    .quote-captcha {
      width: min(110px, 18vw);
      text-align: center;
    }

    .quote-input:focus,
    .quote-select:focus {
      border-color: rgba(47, 111, 35, 0.72);
      box-shadow: 0 0 0 3px rgba(47, 111, 35, 0.14);
      outline: none;
    }

    .address-suggestions {
      position: absolute;
      top: calc(100% + 8px);
      left: 50%;
      z-index: 8;
      display: none;
      width: min(430px, 92vw);
      max-height: min(280px, 46vh);
      overflow: auto;
      border: 1px solid rgba(255, 248, 207, 0.42);
      border-radius: 8px;
      background: rgba(255, 253, 244, 0.96);
      box-shadow: 0 18px 42px rgba(5, 12, 4, 0.26);
      transform: translateX(-50%);
      backdrop-filter: blur(10px) saturate(1.05);
      padding: 6px;
    }

    .address-suggestions.is-visible {
      display: grid;
      gap: 5px;
    }

    .address-suggestion {
      display: grid;
      width: 100%;
      gap: 3px;
      border: 1px solid transparent;
      border-radius: 6px;
      color: var(--ink);
      font: inherit;
      text-align: left;
      background: transparent;
      padding: 8px 9px;
      cursor: pointer;
    }

    .address-suggestion:hover,
    .address-suggestion:focus-visible,
    .address-suggestion.is-active {
      border-color: rgba(47, 111, 35, 0.22);
      background: rgba(47, 111, 35, 0.08);
      outline: none;
    }

    .address-suggestion span {
      font-size: 0.82rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .address-suggestion small {
      color: rgba(20, 39, 14, 0.66);
      font-size: 0.72rem;
      line-height: 1.2;
    }

    .quote-next,
    .quote-submit,
    .quote-reset {
      display: grid;
      min-width: 34px;
      min-height: 32px;
      place-items: center;
      border: 1px solid rgba(23, 48, 15, 0.18);
      border-radius: 9px;
      cursor: pointer;
      font: inherit;
      font-size: 0.82rem;
      font-weight: 900;
      line-height: 1;
      transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
    }

    .quote-next,
    .quote-submit {
      color: #fffdf4;
      border-color: rgba(255, 248, 207, 0.44);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 46%),
        linear-gradient(135deg, #3b7428, #17320d);
      box-shadow:
        0 8px 20px rgba(5, 12, 4, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }

    .quote-next {
      min-width: 38px;
      position: relative;
    }

    .quote-next::before {
      width: 9px;
      height: 9px;
      border-top: 2px solid currentColor;
      border-right: 2px solid currentColor;
      transform: rotate(45deg) translate(-1px, 1px);
      content: "";
    }

    .quote-next.is-address-waiting,
    .quote-next.is-selecting-address,
    .quote-next.is-looking-up,
    .quote-next.is-address-retry,
    .quote-next.is-address-manual {
      color: #40533a;
      border-color: rgba(20, 39, 14, 0.18);
      background: rgba(255, 253, 244, 0.9);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
    }

    .quote-next.is-address-waiting::before,
    .quote-next.is-selecting-address::before,
    .quote-next.is-address-retry::before {
      width: auto;
      height: auto;
      border: 0;
      transform: none;
      font-size: 1rem;
      content: "⋯";
    }

    .quote-next.is-selecting-address {
      color: #24551b;
      animation: addressPrompt 1.1s ease-in-out infinite;
    }

    .quote-next.is-selecting-address::before {
      content: "☰";
    }

    .quote-next.is-address-retry::before {
      content: "\21BB";
    }

    .quote-next.is-looking-up::before {
      width: 13px;
      height: 13px;
      border: 2px solid rgba(36, 85, 27, 0.24);
      border-top-color: #24551b;
      border-radius: 50%;
      transform: none;
      animation: submitSpin 700ms linear infinite;
    }

    .quote-next.is-address-ready {
      animation: addressReady 320ms ease both;
    }

    .quote-next:disabled {
      cursor: wait;
      pointer-events: none;
      transform: none;
    }

    .quote-next:hover,
    .quote-submit:hover,
    .quote-reset:hover,
    .quote-next:focus-visible,
    .quote-submit:focus-visible,
    .quote-reset:focus-visible {
      transform: translateY(-1px);
      outline: none;
    }

    .quote-submit {
      padding: 8px 15px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .quote-submit.is-loading {
      min-width: 190px;
      grid-template-columns: 15px auto;
      gap: 8px;
      cursor: wait;
      opacity: 0.94;
    }

    .quote-submit.is-loading::before {
      width: 13px;
      height: 13px;
      border: 2px solid rgba(255, 255, 255, 0.38);
      border-top-color: #fffdf4;
      border-radius: 50%;
      content: "";
      animation: submitSpin 700ms linear infinite;
    }

    .quote-submit:disabled {
      transform: none;
      pointer-events: none;
    }

    .quote-reset {
      grid-column: 2 / 3;
      justify-self: start;
      min-width: 34px;
      position: relative;
      color: rgba(20, 39, 14, 0.82);
      border-color: rgba(20, 39, 14, 0.2);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 253, 236, 0.52));
      box-shadow:
        0 5px 14px rgba(5, 12, 4, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
      padding: 7px 10px 8px;
    }

    .quote-reset::before,
    .quote-reset::after {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 12px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      content: "";
    }

    .quote-reset::before {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .quote-reset::after {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .quote-error {
      display: inline-flex;
      grid-column: 1 / -1;
      align-items: center;
      justify-content: center;
      justify-self: center;
      width: fit-content;
      max-width: min(520px, calc(100vw - 32px));
      border: 1px solid rgba(143, 50, 30, 0.28);
      border-radius: 8px;
      color: #6f2618;
      font-size: 0.76rem;
      font-weight: 650;
      line-height: 1.35;
      background: rgba(255, 239, 230, 0.96);
      box-shadow: 0 8px 20px rgba(5, 12, 4, 0.2);
      margin: 0 auto 1px;
      padding: 7px 10px;
      text-align: center;
      text-shadow: none;
    }

    .quote-error:empty {
      display: none !important;
    }

    .quote-error.is-notice {
      border-color: rgba(47, 111, 35, .3);
      color: #214d1d;
      background: rgba(238, 248, 230, .97);
    }

    .quote-trap {
      position: absolute;
      left: -9999px;
      opacity: 0;
      pointer-events: none;
    }

    @keyframes stepSlide {
      from {
        opacity: 0;
        transform: translateX(18px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes outcomeHold {
      0% {
        opacity: 0;
        transform: translateY(5px);
      }

      5%,
      86% {
        opacity: 1;
        transform: translateY(0);
      }

      100% {
        opacity: 0;
        transform: translateX(28px) scale(0.98);
      }
    }

    @keyframes submitSpin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes addressPrompt {
      50% {
        box-shadow: 0 0 0 4px rgba(36, 85, 27, 0.12);
      }
    }

    @keyframes addressReady {
      50% {
        transform: scale(1.08);
      }
    }

    @keyframes ctaSheen {
      0%,
      42% {
        transform: translateX(-140%) skewX(-18deg);
      }

      66%,
      100% {
        transform: translateX(260%) skewX(-18deg);
      }
    }

    @keyframes quoteTuck {
      from {
        opacity: 0;
        transform: translateX(46px);
      }

      to {
        opacity: 1;
        transform: translateX(4px);
      }
    }

    @keyframes bannerReveal {
      from {
        opacity: 0.98;
        transform: translate3d(100vw, 0, 0);
      }

      to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
    }

    @keyframes bannerContentReveal {
      from {
        opacity: 0;
        transform: translateX(18px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes tooltipIn {
      from {
        opacity: 0;
        transform: translateX(6px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .quote-trap {
      position: absolute;
      left: -9999px;
      opacity: 0;
      pointer-events: none;
    }

    .logo-band {
      position: absolute;
      top: 50%;
      left: 50%;
      display: grid;
      width: 100vw;
      height: clamp(146px, 23vh, 218px);
      place-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.34);
      border-bottom: 1px solid rgba(255, 255, 255, 0.25);
      background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.54) 18%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.54) 82%, transparent 100%);
      box-shadow:
        0 18px 80px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
      transform: translate(-50%, -50%);
      backdrop-filter: blur(7px) saturate(1.08);
      animation: bandBreathe 8s ease-in-out infinite;
    }

    .logo-wrap {
      position: absolute;
      top: 50%;
      left: 50%;
      display: grid;
      width: min(306px, 48vw);
      aspect-ratio: 1;
      place-items: center;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      animation: logoFloat 7.5s ease-in-out infinite;
    }

    .logo-wrap::before,
    .logo-wrap::after {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      content: "";
    }

    .logo-wrap::before {
      inset: -18px;
      border: 1px solid rgba(199, 168, 74, 0.4);
      box-shadow: 0 0 34px rgba(255, 237, 159, 0.16);
      animation: ringPulse 5.8s ease-in-out infinite;
    }

    .logo-wrap::after {
      inset: -34px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      opacity: 0.42;
      animation: ringPulse 5.8s 1.2s ease-in-out infinite;
    }

    .logo {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      height: auto;
      border-radius: 50%;
      filter: drop-shadow(0 12px 18px rgba(5, 12, 4, 0.34));
    }

    .status {
      position: absolute;
      top: calc(50% + clamp(132px, 20vh, 184px));
      left: 50%;
      display: grid;
      width: min(920px, calc(100vw - 36px));
      gap: 14px;
      justify-items: center;
      text-shadow: 0 2px 22px rgba(0, 0, 0, 0.46);
      transform: translateX(-50%);
    }

    .eyebrow {
      color: rgba(255, 255, 246, 0.82);
      font-size: clamp(0.72rem, 1.5vw, 0.86rem);
      font-weight: 800;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

    h1 {
      color: #fffdf4;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2.8rem, 8vw, 6.1rem);
      font-weight: 500;
      letter-spacing: 0;
      line-height: 0.9;
    }

    .anticipation {
      display: grid;
      gap: 11px;
      width: min(560px, 86vw);
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.34);
      color: rgba(255, 255, 246, 0.88);
      font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    }

    .progress {
      position: relative;
      height: 2px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.2);
    }

    .progress::before {
      position: absolute;
      inset: 0;
      width: 44%;
      border-radius: inherit;
      background: linear-gradient(90deg, transparent, #fff8cc, var(--gold));
      animation: progressSweep 3.4s ease-in-out infinite;
      content: "";
    }

    .communities {
      display: grid;
      gap: 3px;
      max-width: 900px;
      color: rgba(255, 255, 246, 0.8);
      font-size: clamp(0.68rem, 1.25vw, 0.8rem);
      font-weight: 400;
      letter-spacing: 0.06em;
      line-height: 1.6;
    }

    .communities strong {
      color: rgba(255, 255, 246, 0.92);
      font-weight: 500;
    }

    .communities span {
      white-space: nowrap;
    }

    .community-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0 8px;
    }

    @keyframes estateDrift {
      from {
        transform: scale(1.035) translate3d(-0.4%, -0.2%, 0);
      }

      to {
        transform: scale(1.08) translate3d(0.5%, 0.35%, 0);
      }
    }

    @keyframes lightSweep {
      0%,
      38% {
        transform: translateX(-130%) skewX(-14deg);
      }

      62%,
      100% {
        transform: translateX(330%) skewX(-14deg);
      }
    }

    @keyframes bandBreathe {
      0%,
      100% {
        opacity: 0.9;
      }

      50% {
        opacity: 1;
      }
    }

    @keyframes logoFloat {
      0%,
      100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
      }

      50% {
        transform: translate(-50%, -50%) translateY(-7px) scale(1.01);
      }
    }

    @keyframes ringPulse {
      0%,
      100% {
        opacity: 0.32;
        transform: scale(0.985);
      }

      50% {
        opacity: 0.84;
        transform: scale(1.025);
      }
    }

    @keyframes progressSweep {
      0% {
        transform: translateX(-120%);
      }

      58%,
      100% {
        transform: translateX(260%);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
      }
    }

    @media (max-width: 700px) {
      body {
        height: auto;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
      }

      .page {
        height: auto;
        min-height: 780px;
        min-height: max(100svh, 780px);
        overflow: visible;
        padding: 18px 16px 48px;
      }

      .site-footer {
        min-height: 38px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px 10px;
        font-size: clamp(0.48rem, 1.9vw, 0.58rem);
        letter-spacing: 0.045em;
        padding: 6px 10px;
        text-align: center;
      }

      .footer-links {
        gap: 7px;
      }

      .top-cta {
        min-width: min(340px, calc(100vw - 20px));
        min-height: 52px;
        gap: 4px;
        padding: 8px 14px;
      }

      .cta-main {
        font-size: clamp(0.82rem, 3.25vw, 0.94rem);
        letter-spacing: 0.02em;
      }

      .cta-sub {
        font-size: clamp(0.62rem, 2.45vw, 0.7rem);
        letter-spacing: 0.01em;
      }

      .quote-flow {
        min-height: 38px;
        width: 100%;
        gap: 8px;
        padding: 6px 10px 7px;
      }

      .quote-steps {
        display: none;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 34px;
        align-items: center;
        justify-content: center;
        gap: 7px 8px;
        padding: 0 2px;
      }

      .quote-capture.is-active .quote-steps {
        display: grid;
      }

      .quote-step.is-current,
      .quote-step.is-complete {
        grid-column: 1 / 2;
        justify-self: end;
        justify-content: center;
        width: min(316px, 100%);
        flex: none;
        min-width: 0;
      }

      .quote-submitted-step {
        grid-column: 1 / -1;
        width: 100%;
      }

      .quote-new {
        min-height: 32px;
        font-size: clamp(0.56rem, 2.5vw, 0.68rem);
        letter-spacing: 0.05em;
        padding: 8px 10px;
      }

      .quote-capture.is-submitted {
        right: 0;
      }

      .quote-capture.is-submitted .quote-flow {
        width: auto;
        padding: 6px 0 0 0;
      }

      .quote-capture.is-submitted .top-cta {
        min-width: 0;
        width: 38px;
        min-height: 32px;
        padding: 0;
        font-size: 0;
        transform: translateX(4px);
      }

      .step-label {
        display: none;
      }

      .quote-input,
      .quote-select {
        width: min(268px, calc(100vw - 104px));
        min-height: 32px;
        font-size: 0.78rem;
        padding: 6px 10px;
      }

      .address-suggestions {
        width: min(330px, calc(100vw - 24px));
        max-height: 220px;
      }

      .captcha-question {
        min-height: 30px;
        font-size: 0.66rem;
        padding: 5px 7px;
      }

      .quote-captcha {
        width: min(96px, 26vw);
      }

      .quote-next,
      .quote-submit,
      .quote-reset {
        min-width: 32px;
        min-height: 32px;
        font-size: 0.68rem;
        padding: 5px 9px;
      }

      .quote-reset {
        grid-column: 2 / 3;
        justify-self: start;
        align-self: center;
      }

      .quote-error {
        display: block;
        grid-column: 1 / -1;
        min-height: 14px;
        color: #fff;
        font-size: 0.66rem;
        font-weight: 800;
        line-height: 1.2;
        margin: 1px auto 0;
        max-width: min(330px, 100%);
        text-align: center;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.36);
      }

      .logo-band {
        height: 138px;
        top: 37%;
      }

      .logo-wrap {
        top: 37%;
        width: min(224px, 60vw);
      }

      .status {
        top: calc(37% + 172px);
        gap: 8px;
      }

      .eyebrow {
        font-size: clamp(0.56rem, 2.55vw, 0.68rem);
        letter-spacing: 0.12em;
        white-space: nowrap;
      }

      h1 {
        font-size: clamp(2.35rem, 12.5vw, 3.7rem);
      }

      .anticipation {
        gap: 7px;
        padding-top: 10px;
      }

      .communities {
        font-size: clamp(0.6rem, 2.35vw, 0.72rem);
        letter-spacing: 0.04em;
        line-height: 1.45;
      }

      .community-list {
        gap: 0 6px;
      }
    }

/* Full landing-page composition */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  background: #091208;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.estate {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 3, .34), rgba(4, 13, 4, .62)),
    url("../../media/images/luxury-lawn-hero.png") center top / cover no-repeat;
  filter: saturate(.9) contrast(1.08);
  transform: none;
  animation: none;
}

.estate::before {
  background:
    linear-gradient(90deg, rgba(1, 7, 2, .38), transparent 32%, transparent 68%, rgba(1, 7, 2, .38)),
    linear-gradient(180deg, transparent 45%, rgba(5, 16, 6, .52));
}

.estate::after {
  display: none;
}

.quote-capture {
  position: absolute;
  min-height: 56px;
  background: linear-gradient(90deg, rgba(9, 24, 9, .94), rgba(241, 239, 221, .93) 35% 65%, rgba(9, 24, 9, .94));
}

.quote-flow {
  min-height: 56px;
}

.top-cta {
  min-height: 43px;
  min-width: min(410px, calc(100vw - 32px));
  padding-block: 6px;
}

.site-header {
  position: absolute;
  top: 70px;
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: 130px 1fr auto;
  width: min(1240px, calc(100% - 48px));
  min-height: 86px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transform: translateX(-50%);
}

.header-brand {
  display: block;
  width: 112px;
  height: 86px;
  overflow: hidden;
}

.header-brand img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  transform: translateY(-13px);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.38));
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 36px);
}

.primary-nav a {
  color: rgba(255,255,248,.92);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #d5c26f;
  outline: none;
}

.header-estimate,
.primary-button {
  border: 1px solid rgba(227,236,194,.2);
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #478c35, #286c27);
  box-shadow: 0 10px 28px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.18);
  padding: 16px 20px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-estimate:hover,
.primary-button:hover,
.header-estimate:focus-visible,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #59a744, #347f30);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 0 3px rgba(211,227,142,.12);
  outline: none;
}

.nav-toggle {
  display: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 0;
  text-align: left;
}

.hero-section {
  display: grid;
  min-height: 790px;
  place-items: center;
  padding: 190px 24px 70px;
  text-align: center;
}

.hero-content {
  display: grid;
  width: min(980px, 100%);
  justify-items: center;
  gap: 20px;
  padding-top: 30px;
  text-shadow: 0 3px 24px rgba(0,0,0,.58);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #c7d68a;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.section-kicker::before,
.section-kicker::after {
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  content: "";
}

.hero-section h1 {
  max-width: 900px;
  color: #fffefa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7.3vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .91;
}

.hero-lede {
  max-width: 660px;
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.hero-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(880px, 100%);
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: rgba(4,15,5,.28);
  backdrop-filter: blur(6px);
}

.hero-values span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-values span + span {
  border-left: 1px solid rgba(255,255,255,.18);
}

.hero-values b {
  color: #a7ca6a;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.hero-section .primary-button {
  min-width: 330px;
  margin-top: 2px;
}

.hero-section small {
  margin-top: -12px;
  color: rgba(255,255,255,.75);
  font-size: .7rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 126px;
  align-items: center;
  gap: 24px;
  border-block: 1px solid rgba(255,255,255,.5);
  color: #132013;
  background: rgba(253,251,242,.88);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  backdrop-filter: blur(14px) saturate(.85);
  padding: 28px max(24px, calc((100% - 1120px) / 2));
}

.trust-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-strip article + article {
  border-left: 1px solid rgba(20,45,18,.14);
  padding-left: 24px;
}

.trust-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border: 1px solid #3b6338;
  border-radius: 50%;
  color: #2f6331;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-strip small {
  margin-top: 4px;
  color: #5c6758;
  font-size: .7rem;
  line-height: 1.35;
}

.content-section {
  position: relative;
  padding: clamp(72px, 9vw, 116px) max(24px, calc((100% - 1180px) / 2));
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0 auto 38px;
  color: #132213;
  text-align: center;
}

.section-heading h2,
.estimate-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.section-heading > p:last-child:not(.section-kicker) {
  max-width: 650px;
  color: #5d6759;
  line-height: 1.6;
}

.services-section {
  background: rgba(8,29,13,.84);
  backdrop-filter: blur(9px);
}

.services-section .section-heading,
.services-section .section-heading > p:last-child:not(.section-kicker) {
  color: rgba(255,255,247,.88);
}

.service-grid,
.work-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4,17,6,.05) 15%, rgba(4,18,7,.92) 65%),
    var(--service-image, url("../../media/images/luxury-lawn-hero.png")) center / cover;
  box-shadow: 0 18px 40px rgba(0,0,0,.23);
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 17, 6, .04) 12%, rgba(4, 18, 7, .3) 46%, rgba(4, 18, 7, .94) 78%);
  content: "";
  pointer-events: none;
}

.service-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hoa-card {
  background-image:
    linear-gradient(180deg, rgba(4, 17, 6, .05) 15%, rgba(4, 18, 7, .92) 65%),
    var(--service-image, url("../../media/client_media/hoa.png"));
  background-position: center;
}
.commercial-card {
  background-image:
    linear-gradient(180deg, rgba(4, 17, 6, .05) 15%, rgba(4, 18, 7, .92) 65%),
    var(--service-image, url("../../media/client_media/commercial.png"));
  background-position: center;
}

.card-number {
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 3;
  color: rgba(255,255,255,.68);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.service-card-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 12px;
  z-index: 2;
  color: #fff;
  padding: 27px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: #43843a;
  font-size: 1.45rem;
}

.service-card h3,
.work-grid h3,
.process-grid h3 {
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-card p {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  line-height: 1.55;
}

.service-card a {
  color: #c7db78;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.work-section,
.process-section {
  color: #142114;
  background: rgba(252,250,241,.9);
  backdrop-filter: blur(12px) saturate(.8);
}

.work-grid article {
  border: 1px solid rgba(23,50,21,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 12px 30px rgba(6,20,8,.1);
  padding: 8px 8px 22px;
}

.work-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 5px;
  background-image: linear-gradient(180deg, transparent 45%, rgba(4,16,5,.65)), url("../../media/images/luxury-lawn-hero.png");
  background-size: cover;
}

.work-image-one { background-position: 20% center; }
.work-image-two { background-position: center; }
.work-image-three { background-position: 80% center; }

.work-image span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: white;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work-grid h3,
.work-grid p {
  margin: 16px 12px 0;
}

.work-grid p {
  color: #657064;
  font-size: .82rem;
  line-height: 1.5;
  margin-top: 7px;
}

.reviews-section {
  background: rgba(5,24,10,.72);
  backdrop-filter: blur(6px);
}

.light-heading { color: #fff; }

.review-grid blockquote {
  min-height: 225px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 8px;
  color: #172017;
  background: rgba(255,254,248,.91);
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
  padding: 30px;
}

.stars {
  color: #bd932c;
  letter-spacing: .12em;
}

.review-grid blockquote p {
  min-height: 90px;
  margin: 20px 0;
  font-family: Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.6;
}

.review-grid blockquote footer {
  font-size: .72rem;
  font-weight: 800;
}

.review-grid blockquote footer span {
  color: #6f776c;
  font-weight: 500;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-grid::before {
  position: absolute;
  top: 29px;
  right: 12%;
  left: 12%;
  height: 1px;
  border-top: 1px dashed #81907a;
  content: "";
}

.process-grid li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
}

.process-grid li > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 5px solid #f8f7ef;
  border-radius: 50%;
  color: white;
  font-family: Georgia, serif;
  background: #15341b;
}

.process-grid p {
  max-width: 185px;
  color: #606b5f;
  font-size: .78rem;
  line-height: 1.5;
}

.estimate-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  min-height: 330px;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  border-block: 1px solid rgba(255,255,255,.18);
  background: rgba(15,48,14,.56);
  backdrop-filter: blur(5px);
  padding: 64px max(24px, calc((100% - 1120px) / 2));
}

.estimate-section h2 {
  margin: 12px 0;
  color: #fff;
}

.estimate-section p:not(.section-kicker) {
  color: rgba(255,255,255,.76);
}

.estimate-section ul {
  display: grid;
  gap: 12px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  list-style: none;
}

.estimate-section li::before {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #438b39;
  margin-right: 10px;
  content: "✓";
}

.footer-shell {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.82);
  background: rgba(5,20,9,.94);
  backdrop-filter: blur(14px);
}

.footer-main {
  display: grid;
  grid-template-columns: 180px 2fr 1fr .8fr;
  gap: 36px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 230px;
  margin: 0 auto;
  padding: 38px 0;
}

.footer-main > div + div {
  min-height: 125px;
  border-left: 1px solid rgba(255,255,255,.16);
  padding-left: 34px;
}

.footer-brand img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin-top: -18px;
}

.footer-brand p {
  margin-top: -18px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  line-height: 1.5;
}

.footer-main h2 {
  margin-bottom: 16px;
  color: white;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-areas .community-list {
  display: flex;
  justify-content: flex-start;
  gap: 4px 8px;
  color: rgba(255,255,255,.68);
  font-size: .7rem;
  line-height: 1.55;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.72);
  font-size: .73rem;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
  outline: none;
}

.contact-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(199, 214, 138, .42);
  border-radius: 50%;
  color: #c7d68a;
  font-size: .72rem;
  background: rgba(73, 128, 52, .15);
}

.footer-social > div {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-social a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  position: static;
  display: flex;
  min-height: 44px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.5);
  background: rgba(2,10,4,.45);
  box-shadow: none;
  backdrop-filter: none;
  padding: 10px max(24px, calc((100% - 1180px) / 2));
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 100px 1fr auto;
    gap: 18px;
  }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: .63rem; }
  .header-estimate { padding-inline: 13px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip article:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-main { grid-template-columns: 150px 1.6fr 1fr; }
  .footer-social { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .quote-capture { position: relative; }
  .site-header {
    position: absolute;
    top: 65px;
    grid-template-columns: 76px 1fr 42px;
    width: calc(100% - 28px);
    min-height: 70px;
    gap: 10px;
  }
  .header-brand,
  .header-brand img { width: 76px; height: 76px; }
  .header-brand img { transform: none; }
  .header-estimate { justify-self: end; font-size: .58rem; padding: 11px 10px; }
  .nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    background: rgba(7,25,9,.72);
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: white; }
  .primary-nav {
    position: absolute;
    top: 70px;
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 28px));
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    background: rgba(7,25,9,.96);
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
    padding: 12px;
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 11px 8px; font-size: .7rem; }
  .hero-section { min-height: 720px; padding: 175px 16px 60px; }
  .hero-content { gap: 17px; padding-top: 0; }
  .hero-section h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-values { grid-template-columns: 1fr 1fr; }
  .hero-values span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .hero-values span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
  .hero-section .primary-button { min-width: min(330px, 100%); }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 22px 10px; padding: 28px 18px; }
  .trust-strip article { gap: 9px; }
  .trust-strip article + article { padding-left: 10px; }
  .trust-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: .8rem; }
  .trust-strip strong { font-size: .61rem; }
  .trust-strip small { font-size: .61rem; }
  .content-section { padding: 68px 18px; }
  .service-grid,
  .work-grid,
  .review-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .work-image { height: 230px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 36px 12px; }
  .process-grid::before { display: none; }
  .estimate-section { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 62px 22px; }
  .estimate-section ul { justify-self: center; text-align: left; }
  .footer-main { grid-template-columns: 1fr 1fr; width: calc(100% - 36px); gap: 28px 16px; }
  .footer-main > div + div { min-height: 0; padding-left: 18px; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { text-align: center; }
  .footer-areas { grid-column: 2; }
  .footer-contact { grid-column: 1; }
  .footer-social { grid-column: 2; }
  .site-footer { position: static; min-height: 54px; padding: 10px 14px; }
}

@media (max-width: 430px) {
  .site-header { grid-template-columns: 62px 1fr 40px; }
  .header-brand,
  .header-brand img { width: 62px; height: 62px; }
  .header-estimate { max-width: 145px; }
  .section-kicker { font-size: .58rem; letter-spacing: .13em; }
  .section-kicker::before,
  .section-kicker::after { width: 22px; }
  .hero-lede { font-size: .95rem; }
  .hero-values span { min-height: 54px; font-size: .56rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article + article { border-left: 0; padding-left: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div,
  .footer-main > div + div,
  .footer-areas,
  .footer-contact,
  .footer-social { grid-column: 1; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 0; }
  .footer-brand { border-top: 0 !important; }
  .footer-areas .community-list { justify-content: flex-start; }
}

/* Persistent integrated header and estimate flow */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  grid-template-columns: 170px 1fr auto;
  width: 100%;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(90deg, rgba(4, 17, 7, .94), rgba(10, 35, 13, .82) 48%, rgba(4, 17, 7, .94));
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  transform: none;
  backdrop-filter: blur(14px) saturate(1.08);
}

.header-brand {
  width: 154px;
  height: 142px;
  align-self: start;
  overflow: visible;
  margin-top: 2px;
}

.header-brand img {
  width: 154px;
  height: 154px;
  transform: none;
}

.primary-nav,
.header-estimate,
.header-brand {
  transition: opacity 180ms ease, transform 180ms ease;
}

.quote-capture {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.quote-capture:not(.is-active):not(.is-submitted) .quote-flow,
.quote-capture:not(.is-active):not(.is-submitted) .top-cta {
  display: none;
}

.quote-capture.is-active {
  z-index: 4;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(90deg, rgba(4, 17, 7, .88) 0 170px, rgba(244, 242, 226, .96) 170px 100%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px) saturate(1.05);
  pointer-events: auto;
}

.quote-capture.is-active .quote-flow {
  display: flex;
  width: min(1240px, 100%);
  min-height: 112px;
  justify-content: center;
  padding: 10px 24px 10px 185px;
}

.quote-capture.is-active + .site-header .primary-nav,
.quote-capture.is-active + .site-header .header-estimate,
.quote-capture.is-revealing + .site-header .primary-nav,
.quote-capture.is-revealing + .site-header .header-estimate {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}

.quote-capture.is-active + .site-header,
.quote-capture.is-revealing + .site-header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.quote-capture.is-active + .site-header .header-brand,
.quote-capture.is-revealing + .site-header .header-brand {
  pointer-events: auto;
}

.quote-capture.is-submitted {
  position: fixed;
  top: 50%;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 7;
  width: 48px;
  transform: translateY(-50%);
}

.quote-capture.is-submitted .quote-flow {
  display: flex;
}

.quote-capture.is-submitted .top-cta {
  display: inline-flex;
}

.hero-section {
  padding-top: 170px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 142px 1fr auto;
    padding-inline: 18px;
  }

  .header-brand,
  .header-brand img {
    width: 136px;
    height: 136px;
  }

  .quote-capture.is-active {
    background: linear-gradient(90deg, rgba(4, 17, 7, .9) 0 145px, rgba(244, 242, 226, .96) 145px 100%);
  }

  .quote-capture.is-active .quote-flow {
    padding-left: 150px;
  }
}

/* Responsive editorial estimate panel */
.quote-intro,
.quote-benefits {
  display: none;
}

body:not(.header-scrolled) .quote-capture.is-active,
body:not(.header-scrolled) .quote-capture.is-revealing {
  min-height: 410px;
  border-bottom: 2px solid rgba(151, 132, 62, .42);
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 255, 255, .92), transparent 35%),
    linear-gradient(135deg, #fbfaf2, #f3f0df 62%, #faf8ee);
  box-shadow: 0 22px 54px rgba(8, 24, 8, .3);
}

body:not(.header-scrolled) .quote-capture.is-active .quote-flow,
body:not(.header-scrolled) .quote-capture.is-revealing .quote-flow {
  display: grid;
  grid-template-columns: minmax(270px, .36fr) minmax(0, .64fr);
  grid-template-rows: minmax(225px, auto) auto;
  width: min(1480px, 100%);
  min-height: 410px;
  align-items: center;
  column-gap: clamp(34px, 5vw, 84px);
  row-gap: 22px;
  margin: 0 auto;
  padding: 34px clamp(30px, 5vw, 82px);
}

.quote-capture.is-active .quote-intro,
.quote-capture.is-revealing .quote-intro {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-items: center;
  gap: 14px;
  color: #143718;
  text-align: center;
}

.quote-intro-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(68, 112, 47, .25);
  border-radius: 50%;
  color: #4e762c;
  font-size: 1.8rem;
  background: rgba(178, 195, 108, .18);
}

.quote-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
}

.quote-intro p {
  color: #5d6455;
  font-size: .98rem;
  line-height: 1.45;
}

.quote-intro .quote-intro-time {
  color: #9a7c34;
  font-size: clamp(.85rem, 1.4vw, 1.05rem);
  font-weight: 800;
}

.quote-intro-rule {
  display: flex;
  width: min(310px, 86%);
  align-items: center;
  gap: 14px;
  color: #63833d;
  font-size: .75rem;
}

.quote-intro-rule::before,
.quote-intro-rule::after {
  height: 1px;
  flex: 1;
  background: rgba(69, 103, 47, .48);
  content: "";
}

.quote-capture.is-active .quote-steps,
.quote-capture.is-revealing .quote-steps {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) 54px;
  width: 100%;
  align-self: end;
  gap: 12px 10px;
}

.quote-capture.is-active .quote-progress-header,
.quote-capture.is-revealing .quote-progress-header {
  display: grid;
  grid-column: 1 / 2;
  width: 100%;
  justify-self: center;
  gap: 9px;
  margin-bottom: 9px;
}

.quote-progress-label {
  margin: 0;
  color: #1b4520;
  font-size: clamp(.8rem, 1vw, .92rem);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.2;
  text-align: center;
}

.quote-progress-track {
  position: relative;
  width: 100%;
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(69, 111, 46, .18);
  border-radius: 999px;
  background: rgba(69, 103, 47, .13);
  box-shadow: inset 0 1px 3px rgba(19, 45, 19, .1);
}

.quote-progress-control {
  position: relative;
  width: 65%;
  margin-inline: auto;
}

.quote-progress-actions {
  position: absolute;
  inset: -7px 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quote-progress-actions button {
  min-width: 0;
  border: 0;
  border-radius: 6px;
  color: transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.quote-progress-actions button:not(:disabled):hover {
  background: rgba(79, 123, 49, .1);
}

.quote-progress-actions button:not(:disabled):focus-visible {
  outline: 2px solid #4f7b31;
  outline-offset: 2px;
}

.quote-progress-actions button:disabled {
  cursor: default;
}

.quote-progress-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #173f1d, #4f7b31 70%, #b49a45);
  box-shadow: 0 0 12px rgba(79, 123, 49, .22);
  transition: width 400ms cubic-bezier(.22, .61, .36, 1);
}

.quote-progress-time {
  margin: 0;
  color: rgba(49, 68, 43, .66);
  font-size: clamp(.66rem, .82vw, .74rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  text-align: center;
}

.quote-capture.is-active .quote-step.is-current,
.quote-capture.is-active .quote-step.is-complete,
.quote-capture.is-revealing .quote-step.is-current,
.quote-capture.is-revealing .quote-step.is-complete {
  display: flex;
  grid-column: 1 / 2;
  width: 100%;
  flex-wrap: wrap;
  justify-self: stretch;
  gap: 9px;
}

.quote-capture.is-active .step-label,
.quote-capture.is-revealing .step-label {
  display: block;
  flex: 0 0 100%;
  color: #1b4520;
  font-size: .72rem;
  letter-spacing: .09em;
  text-shadow: none;
}

.quote-capture.is-active .quote-input,
.quote-capture.is-active .quote-select,
.quote-capture.is-revealing .quote-input,
.quote-capture.is-revealing .quote-select {
  width: auto;
  min-width: 0;
  min-height: 58px;
  flex: 1 1 240px;
  border-color: rgba(69, 111, 46, .5);
  border-radius: 10px;
  font-size: clamp(.9rem, 1.35vw, 1.08rem);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 24px rgba(19, 45, 19, .12);
  padding: 12px 17px;
}

.quote-capture.is-active .quote-captcha,
.quote-capture.is-revealing .quote-captcha {
  flex-basis: 120px;
}

.quote-capture.is-active .quote-next,
.quote-capture.is-active .quote-submit,
.quote-capture.is-revealing .quote-next,
.quote-capture.is-revealing .quote-submit {
  min-width: 54px;
  min-height: 54px;
  border-radius: 10px;
}

.quote-capture.is-active .quote-reset,
.quote-capture.is-revealing .quote-reset {
  position: absolute;
  top: -6px;
  right: 0;
  z-index: 4;
  grid-column: auto;
}

.quote-capture.is-active .quote-benefits,
.quote-capture.is-revealing .quote-benefits {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(3, 1fr);
  align-self: start;
  gap: 0;
  color: #143718;
}

.quote-benefits > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 8px 18px;
}

.quote-benefits > div + div {
  border-left: 1px solid rgba(42, 74, 33, .14);
}

.quote-benefits > div > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: #315c28;
  background: rgba(171, 191, 103, .22);
  font-weight: 900;
}

.quote-benefits p,
.quote-benefits strong,
.quote-benefits small {
  display: block;
  min-width: 0;
}

.quote-benefits strong {
  font-size: .72rem;
  line-height: 1.25;
}

.quote-benefits small {
  margin-top: 3px;
  color: #5d6958;
  font-size: .64rem;
  line-height: 1.3;
}

body:not(.header-scrolled) .quote-capture.is-active ~ .page .hero-section,
body:not(.header-scrolled) .quote-capture.is-revealing ~ .page .hero-section {
  padding-top: 500px;
}

/* Scaled version of the same panel after scrolling */
.header-scrolled .quote-capture.is-active,
.header-scrolled .quote-capture.is-revealing {
  width: min(980px, calc(100vw - 20px));
  min-height: 248px;
  border-radius: 16px 0 0 16px;
}

.header-scrolled .quote-capture.is-active .quote-flow,
.header-scrolled .quote-capture.is-revealing .quote-flow {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  width: 100%;
  min-height: 248px;
  column-gap: 22px;
  row-gap: 8px;
  padding: 18px 20px;
}

.header-scrolled .quote-capture .quote-intro {
  grid-column: 1;
  grid-row: 1 / 3;
  gap: 8px;
}

.header-scrolled .quote-capture .quote-intro-icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
}

.header-scrolled .quote-capture .quote-intro h2 {
  font-size: 1.45rem;
}

.header-scrolled .quote-capture .quote-intro p {
  font-size: .7rem;
}

.header-scrolled .quote-capture .quote-intro-rule {
  width: 84%;
}

.header-scrolled .quote-capture .quote-steps {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  gap: 6px 8px;
}

.header-scrolled .quote-capture .quote-progress-header {
  gap: 5px;
  margin-bottom: 3px;
}

.header-scrolled .quote-capture .quote-progress-track {
  height: 7px;
}

.header-scrolled .quote-capture .quote-progress-label {
  font-size: .7rem;
}

.header-scrolled .quote-capture .quote-progress-time {
  font-size: .6rem;
}

.header-scrolled .quote-capture .quote-input,
.header-scrolled .quote-capture .quote-select {
  min-height: 42px;
  font-size: .78rem;
  padding: 8px 11px;
}

.header-scrolled .quote-capture .quote-next,
.header-scrolled .quote-capture .quote-submit {
  min-width: 42px;
  min-height: 42px;
}

.header-scrolled .quote-capture .quote-benefits {
  grid-column: 2;
  grid-row: 2;
}

.header-scrolled .quote-capture .quote-benefits > div {
  gap: 7px;
  padding: 4px 9px;
}

.header-scrolled .quote-capture .quote-benefits > div > span {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: .7rem;
}

.header-scrolled .quote-capture .quote-benefits strong {
  font-size: .62rem;
}

.header-scrolled .quote-capture .quote-benefits small {
  font-size: .56rem;
}

@media (max-width: 760px) {
  body:not(.header-scrolled) .quote-capture.is-active,
  body:not(.header-scrolled) .quote-capture.is-revealing,
  .header-scrolled .quote-capture.is-active,
  .header-scrolled .quote-capture.is-revealing {
    width: 100%;
    max-height: calc(100svh - 8px);
    overflow-y: auto;
    border-radius: 0;
  }

  body:not(.header-scrolled) .quote-capture.is-active .quote-flow,
  body:not(.header-scrolled) .quote-capture.is-revealing .quote-flow,
  .header-scrolled .quote-capture.is-active .quote-flow,
  .header-scrolled .quote-capture.is-revealing .quote-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    gap: 16px;
    padding: 22px 14px;
  }

  .quote-capture.is-active .quote-intro,
  .quote-capture.is-revealing .quote-intro,
  .header-scrolled .quote-capture .quote-intro {
    grid-column: 1;
    grid-row: 1;
    gap: 7px;
  }

  .quote-capture.is-active .quote-intro-icon,
  .quote-capture.is-revealing .quote-intro-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .quote-capture.is-active .quote-intro h2,
  .quote-capture.is-revealing .quote-intro h2 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .quote-intro-rule,
  .quote-intro > p:last-child {
    display: none;
  }

  .quote-capture.is-active .quote-steps,
  .quote-capture.is-revealing .quote-steps,
  .header-scrolled .quote-capture .quote-steps {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }

  .quote-capture.is-active .step-label,
  .quote-capture.is-revealing .step-label {
    display: block;
  }

  .quote-capture.is-active .quote-benefits,
  .quote-capture.is-revealing .quote-benefits,
  .header-scrolled .quote-capture .quote-benefits {
    grid-column: 1;
    grid-row: 3;
  }

  .quote-benefits > div {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 5px;
    text-align: center;
  }

  .quote-benefits > div > span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .quote-benefits small {
    display: none;
  }

  body:not(.header-scrolled) .quote-capture.is-active ~ .page .hero-section,
  body:not(.header-scrolled) .quote-capture.is-revealing ~ .page .hero-section {
    padding-top: 560px;
  }
}

/* Final mobile header placement and footer brand cleanup */
.footer-brand {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.footer-brand img {
  display: block;
  width: 142px;
  height: 142px;
  object-fit: contain;
  margin: 0;
}

.footer-brand p {
  max-width: 180px;
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

@media (max-width: 760px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 94px minmax(120px, 1fr) 42px;
    grid-template-rows: 88px;
    gap: 8px;
    align-items: center;
    padding-inline: 10px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
  }

  .header-estimate {
    grid-column: 2;
    grid-row: 1;
    width: min(164px, 100%);
    min-width: 0;
    min-height: 42px;
    justify-self: end;
    font-size: clamp(.5rem, 2vw, .61rem);
    letter-spacing: .035em;
    line-height: 1.15;
    white-space: normal;
    padding: 7px 8px;
  }

  .nav-toggle {
    position: relative;
    inset: auto;
    grid-column: 3;
    grid-row: 1;
    width: 40px;
    height: 40px;
    align-self: center;
    justify-self: end;
    margin: 0;
    padding: 0;
  }

  .primary-nav {
    top: calc(100% + 1px);
    right: 10px;
  }

  .footer-main {
    align-items: start;
  }

  .footer-brand {
    align-content: start;
    gap: 10px;
    padding: 0;
  }

  .footer-brand img {
    width: 128px;
    height: 128px;
  }

  .footer-brand p {
    max-width: 170px;
    font-size: .7rem;
  }
}

@media (max-width: 430px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 80px minmax(105px, 1fr) 40px;
    gap: 6px;
    padding-inline: 8px;
  }

  .header-estimate {
    width: min(146px, 100%);
    min-height: 40px;
    font-size: clamp(.48rem, 2.4vw, .56rem);
    letter-spacing: .025em;
    padding-inline: 6px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .footer-main {
    gap: 26px;
  }

  .footer-brand img {
    width: 138px;
    height: 138px;
  }

  .footer-brand p {
    max-width: 220px;
    font-size: .74rem;
  }
}

/* Initial full-width CTA banner and conditional animated hero logo */
.hero-logo-wrap {
  position: relative;
  display: none;
  width: clamp(230px, 24vw, 320px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 4px;
  animation: heroLogoFloat 7s ease-in-out infinite;
}

.hero-logo-wrap::before,
.hero-logo-wrap::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.hero-logo-wrap::before {
  inset: -10px;
  border: 1px solid rgba(199, 168, 74, .62);
  box-shadow: 0 0 34px rgba(255, 237, 159, .2);
  animation: heroRingPulse 5.5s ease-in-out infinite;
}

.hero-logo-wrap::after {
  inset: -28px;
  border: 1px solid rgba(255, 255, 255, .26);
  animation: heroRingPulse 5.5s 1.1s ease-in-out infinite;
}

.hero-logo-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .42));
}

body:not(.header-scrolled) .quote-capture.is-banner ~ .page .hero-logo-wrap,
body:not(.header-scrolled) .quote-capture.is-active ~ .page .hero-logo-wrap {
  display: grid;
}

body:not(.header-scrolled) .quote-capture.is-banner {
  top: 0;
  right: 0;
  left: 0;
  z-index: 7;
  display: block;
  width: 100%;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  background: linear-gradient(90deg, rgba(9, 24, 9, .95), rgba(241, 239, 221, .96) 32% 68%, rgba(9, 24, 9, .95));
  box-shadow: 0 12px 38px rgba(0, 0, 0, .27);
  transform: none;
  backdrop-filter: blur(12px) saturate(1.06);
  pointer-events: auto;
}

body:not(.header-scrolled) .quote-capture.is-banner .quote-flow {
  display: flex;
  width: min(1100px, 100%);
  min-height: 72px;
  justify-content: center;
  margin: 0 auto;
  padding: 8px 16px;
}

body:not(.header-scrolled) .quote-capture.is-banner .top-cta {
  display: inline-flex;
  width: auto;
  min-width: min(430px, calc(100vw - 28px));
  min-height: 54px;
  border-radius: 6px;
  font-size: inherit;
  padding: 8px 24px 9px;
  transform: none;
  pointer-events: auto;
}

body:not(.header-scrolled) .quote-capture.is-banner .top-cta::before {
  position: absolute;
  inset: 0;
  width: 48%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  font-size: 0;
  content: "";
  transform: translateX(-140%) skewX(-18deg);
  animation: ctaSheen 5.2s ease-in-out infinite;
}

body:not(.header-scrolled) .quote-capture.is-banner .cta-main,
body:not(.header-scrolled) .quote-capture.is-banner .cta-sub {
  display: block;
}

body:not(.header-scrolled) .quote-capture.is-banner + .site-header {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.header-scrolled .quote-capture.is-banner {
  top: 50%;
  right: 0;
  left: auto;
  width: 52px;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
  backdrop-filter: none;
  pointer-events: none;
}

.header-scrolled .quote-capture.is-banner .quote-flow {
  display: flex;
  width: 52px;
  min-height: 0;
  justify-content: flex-end;
  padding: 0;
}

.header-scrolled .quote-capture.is-banner .top-cta {
  display: inline-flex;
  width: 48px;
  min-width: 0;
  min-height: 46px;
  border-radius: 12px 0 0 12px;
  font-size: 0;
  padding: 0;
  transform: translateX(4px);
  pointer-events: auto;
}

.header-scrolled .quote-capture.is-banner .top-cta::before {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  content: "\1F343";
  transform: none;
  animation: none;
}

.header-scrolled .quote-capture.is-banner .cta-main,
.header-scrolled .quote-capture.is-banner .cta-sub {
  display: none;
}

.header-scrolled .quote-capture.is-banner + .site-header {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.012); }
}

@keyframes heroRingPulse {
  0%, 100% { opacity: .34; transform: scale(.98); }
  50% { opacity: .9; transform: scale(1.025); }
}

@media (max-width: 760px) {
  .hero-logo-wrap {
    width: min(230px, 62vw);
  }

  body:not(.header-scrolled) .quote-capture.is-banner,
  body:not(.header-scrolled) .quote-capture.is-banner .quote-flow {
    min-height: 68px;
  }

  body:not(.header-scrolled) .quote-capture.is-banner .top-cta {
    min-height: 50px;
    padding-inline: 14px;
  }
}

/* Edge-to-edge estimate header before the page enters its scrolled state */
body:not(.header-scrolled) .quote-capture.is-active,
body:not(.header-scrolled) .quote-capture.is-revealing {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 118px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(247, 245, 231, .98);
  transform: none;
}

body:not(.header-scrolled) .quote-capture.is-active .quote-flow,
body:not(.header-scrolled) .quote-capture.is-revealing .quote-flow {
  width: 100%;
  min-height: 118px;
  justify-content: center;
  padding: 10px max(16px, calc((100vw - 1120px) / 2));
}

body:not(.header-scrolled) .quote-capture.is-active + .site-header .header-brand,
body:not(.header-scrolled) .quote-capture.is-revealing + .site-header .header-brand {
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
}

@media (max-width: 760px) {
  body:not(.header-scrolled) .quote-capture.is-active,
  body:not(.header-scrolled) .quote-capture.is-revealing,
  body:not(.header-scrolled) .quote-capture.is-active .quote-flow,
  body:not(.header-scrolled) .quote-capture.is-revealing .quote-flow {
    min-height: 132px;
  }

  body:not(.header-scrolled) .quote-capture.is-active .quote-flow,
  body:not(.header-scrolled) .quote-capture.is-revealing .quote-flow {
    padding: 9px 8px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    top: 0;
    grid-template-columns: 96px 1fr 42px;
    width: 100%;
    min-height: 88px;
    padding-inline: 12px;
  }

  .header-brand,
  .header-brand img {
    width: 104px;
    height: 104px;
  }

  .header-brand {
    margin-top: 0;
  }

  .primary-nav {
    top: 88px;
    right: 12px;
  }

  .quote-capture {
    position: fixed;
  }

  .quote-capture.is-active {
    min-height: 118px;
    background: rgba(244, 242, 226, .97);
  }

  .quote-capture.is-active .quote-flow {
    min-height: 118px;
    padding: 8px 8px 9px;
  }

  .quote-capture.is-active + .site-header .header-brand,
  .quote-capture.is-revealing + .site-header .header-brand {
    opacity: 0;
    pointer-events: none;
  }

  .quote-capture.is-submitted {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .hero-section {
    padding-top: 150px;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 84px 1fr 40px;
  }

  .header-brand,
  .header-brand img {
    width: 92px;
    height: 92px;
  }

  .header-estimate {
    max-width: 158px;
  }
}

/* Residential before-and-after comparison */
.comparison-slider {
  --comparison-position: 50%;
  isolation: isolate;
  cursor: ew-resize;
  background: #132013;
  touch-action: pan-y;
  user-select: none;
}

.comparison-slider > img,
.comparison-slider .comparison-after,
.comparison-slider .comparison-after img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.comparison-slider .comparison-after {
  z-index: 1;
}

.comparison-slider .comparison-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.comparison-slider .comparison-label {
  position: absolute;
  top: auto;
  bottom: 14px;
  z-index: 4;
  width: auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  color: #fff;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(4, 17, 7, .78);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
  padding: 7px 9px;
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.comparison-slider .comparison-label-before {
  right: auto;
  left: 14px;
}

.comparison-slider .comparison-label-after {
  right: 14px;
  left: auto;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  z-index: 5;
  width: 2px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 12px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-slider .comparison-divider span {
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.12em;
  line-height: 1;
  background: rgba(34, 94, 32, .92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  padding: 0 3px 2px 0;
  transform: translate(-50%, -50%);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-slider:has(.comparison-range:focus-visible) .comparison-divider span {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Header sizing, scroll state, and persistent estimate tab */
.site-header {
  grid-template-columns: 158px minmax(0, 1fr) 194px;
  min-height: 118px;
  gap: 24px;
  padding-block: 0;
  transition: min-height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.header-brand {
  display: grid;
  width: 148px;
  height: 112px;
  align-self: center;
  justify-self: start;
  place-items: center;
  overflow: visible;
  margin: 0;
}

.header-brand img {
  display: block;
  width: 142px;
  height: 142px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.header-estimate {
  display: inline-flex;
  width: 194px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  white-space: nowrap;
  padding: 12px 16px;
}

.header-scrolled .site-header {
  min-height: 84px;
  background: rgba(4, 18, 7, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .34);
}

.header-scrolled .header-brand {
  width: 112px;
  height: 80px;
}

.header-scrolled .header-brand img {
  width: 104px;
  height: 104px;
}

.header-scrolled .site-header {
  grid-template-columns: 122px minmax(0, 1fr) 194px;
}

.quote-capture.is-active {
  min-height: 118px;
}

.quote-capture.is-active .quote-flow {
  min-height: 118px;
  padding-left: max(176px, calc((100vw - 1240px) / 2 + 176px));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
}

.header-scrolled .quote-capture.is-active {
  min-height: 94px;
}

.header-scrolled .quote-capture.is-active .quote-flow {
  min-height: 94px;
}

.header-scrolled .quote-capture.is-active + .site-header,
.header-scrolled .quote-capture.is-revealing + .site-header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.quote-capture:not(.is-active):not(.is-submitted) {
  top: 50%;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 7;
  width: 52px;
  min-height: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.quote-capture:not(.is-active):not(.is-submitted) .quote-flow {
  display: flex;
  width: 52px;
  min-height: 0;
  justify-content: flex-end;
  padding: 0;
}

.quote-capture:not(.is-active):not(.is-submitted) .top-cta {
  display: inline-flex;
  width: 48px;
  min-width: 0;
  min-height: 46px;
  border-radius: 12px 0 0 12px;
  font-size: 0;
  padding: 0;
  transform: translateX(4px);
  pointer-events: auto;
}

.quote-capture:not(.is-active):not(.is-submitted) .top-cta::before {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.2rem;
  line-height: 1;
  content: "\1F343";
  transform: none;
  animation: none;
}

.quote-capture:not(.is-active):not(.is-submitted) .cta-main,
.quote-capture:not(.is-active):not(.is-submitted) .cta-sub {
  display: none;
}

.quote-capture:not(.is-active):not(.is-submitted) .top-cta:hover + .quote-tooltip,
.quote-capture:not(.is-active):not(.is-submitted) .top-cta:focus-visible + .quote-tooltip {
  display: block;
  animation: tooltipIn 180ms ease both;
}

.quote-capture.is-submitted {
  width: 52px;
}

.quote-capture.is-submitted .top-cta {
  width: 48px;
  min-height: 46px;
}

@media (max-width: 1120px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 132px minmax(0, 1fr) 174px;
    gap: 14px;
  }

  .header-brand,
  .header-brand img {
    width: 124px;
    height: 124px;
  }

  .header-estimate {
    width: 174px;
    font-size: .63rem;
    padding-inline: 10px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 94px minmax(0, 1fr) 42px;
    min-height: 88px;
    gap: 8px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 94px;
    height: 84px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 100px;
    height: 100px;
  }

  .header-estimate {
    width: min(164px, 100%);
    min-height: 44px;
    white-space: normal;
    line-height: 1.2;
    padding: 8px 9px;
  }

  .quote-capture.is-active,
  .header-scrolled .quote-capture.is-active {
    min-height: 118px;
  }

  .quote-capture.is-active .quote-flow,
  .header-scrolled .quote-capture.is-active .quote-flow {
    min-height: 118px;
    padding: 8px;
  }
}

@media (max-width: 430px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 82px minmax(0, 1fr) 40px;
    padding-inline: 8px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 82px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 90px;
    height: 90px;
  }

  .header-estimate {
    width: min(150px, 100%);
    font-size: .56rem;
  }
}

/* Leaf-origin estimate motion: header at top, aligned drawer after scroll */
.quote-capture:not(.is-active):not(.is-submitted),
.quote-capture.is-submitted {
  top: 59px;
  transition:
    top 420ms cubic-bezier(.2, .75, .2, 1),
    width 360ms ease,
    transform 360ms ease;
}

.header-scrolled .quote-capture:not(.is-active):not(.is-submitted),
.header-scrolled .quote-capture.is-submitted {
  top: 50%;
}

.quote-capture.is-active.is-revealing:not(.is-submitted) {
  animation: headerEstimateReveal 620ms cubic-bezier(.16, .84, .22, 1) both;
}

.quote-capture.is-active:not(.is-revealing) {
  transition:
    top 420ms cubic-bezier(.2, .75, .2, 1),
    width 420ms cubic-bezier(.2, .75, .2, 1),
    min-height 420ms cubic-bezier(.2, .75, .2, 1),
    border-radius 420ms ease,
    background 300ms ease,
    box-shadow 300ms ease,
    transform 420ms cubic-bezier(.2, .75, .2, 1);
}

.header-scrolled .quote-capture.is-active,
.header-scrolled .quote-capture.is-revealing {
  top: 50%;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 7;
  width: min(820px, calc(100vw - 24px));
  min-height: 138px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: rgba(247, 245, 231, .97);
  box-shadow: -18px 20px 52px rgba(0, 0, 0, .32);
  transform: translateY(-50%);
  backdrop-filter: blur(18px) saturate(1.05);
  transform-origin: right center;
}

.header-scrolled .quote-capture.is-active.is-revealing {
  animation: sideEstimateReveal 620ms cubic-bezier(.16, .84, .22, 1) both;
}

.header-scrolled .quote-capture.is-active .quote-flow,
.header-scrolled .quote-capture.is-revealing .quote-flow {
  width: 100%;
  min-height: 138px;
  justify-content: center;
  padding: 14px 20px;
}

.header-scrolled .quote-capture.is-active + .site-header,
.header-scrolled .quote-capture.is-revealing + .site-header {
  border-bottom-color: rgba(255, 255, 255, .18);
  background: rgba(4, 18, 7, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .34);
  backdrop-filter: blur(14px) saturate(1.08);
  pointer-events: auto;
}

.header-scrolled .quote-capture.is-active + .site-header .primary-nav,
.header-scrolled .quote-capture.is-active + .site-header .header-estimate,
.header-scrolled .quote-capture.is-revealing + .site-header .primary-nav,
.header-scrolled .quote-capture.is-revealing + .site-header .header-estimate {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@keyframes headerEstimateReveal {
  from {
    opacity: .7;
    transform: translateX(100%);
    clip-path: inset(0 0 0 94% round 12px 0 0 12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0 round 0);
  }
}

@keyframes sideEstimateReveal {
  from {
    opacity: .72;
    transform: translate(100%, -50%);
    clip-path: inset(0 0 0 92% round 14px 0 0 14px);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%);
    clip-path: inset(0 0 0 0 round 14px 0 0 14px);
  }
}

@media (max-width: 760px) {
  .quote-capture:not(.is-active):not(.is-submitted),
  .quote-capture.is-submitted {
    top: 44px;
  }

  .header-scrolled .quote-capture:not(.is-active):not(.is-submitted),
  .header-scrolled .quote-capture.is-submitted {
    top: 50%;
  }

  .header-scrolled .quote-capture.is-active,
  .header-scrolled .quote-capture.is-revealing {
    width: calc(100vw - 10px);
    min-height: 132px;
  }

  .header-scrolled .quote-capture.is-active .quote-flow,
  .header-scrolled .quote-capture.is-revealing .quote-flow {
    min-height: 132px;
    padding: 9px 8px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 94px minmax(0, 1fr) 42px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-estimate {
    grid-column: 2;
    grid-row: 1;
    width: min(160px, 100%);
    min-width: 0;
    justify-self: end;
    font-size: .56rem;
    letter-spacing: .03em;
    line-height: 1.15;
    padding: 7px;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }
}

@media (max-width: 430px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 80px minmax(0, 1fr) 40px;
  }

  .header-estimate {
    width: min(144px, 100%);
    font-size: .5rem;
    letter-spacing: .02em;
    padding-inline: 5px;
  }
}

/* Authoritative estimate-panel geometry */
body:not(.header-scrolled) #quoteCapture.is-active,
body:not(.header-scrolled) #quoteCapture.is-revealing {
  width: 100%;
  min-height: 410px;
  border-radius: 0;
  background:
    radial-gradient(circle at 74% 38%, rgba(255, 255, 255, .92), transparent 35%),
    linear-gradient(135deg, #fbfaf2, #f3f0df 62%, #faf8ee);
}

body:not(.header-scrolled) #quoteCapture.is-active .quote-flow,
body:not(.header-scrolled) #quoteCapture.is-revealing .quote-flow {
  display: grid;
  grid-template-columns: minmax(270px, .36fr) minmax(0, .64fr);
  grid-template-rows: minmax(225px, auto) auto;
  width: min(1480px, 100%);
  min-height: 410px;
  column-gap: clamp(34px, 5vw, 84px);
  row-gap: 22px;
  padding: 34px clamp(30px, 5vw, 82px);
}

#quoteCapture.is-active .quote-intro,
#quoteCapture.is-revealing .quote-intro {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
}

#quoteCapture.is-active .quote-steps,
#quoteCapture.is-revealing .quote-steps {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) 54px;
  width: 100%;
}

#quoteCapture .quote-privacy {
  display: flex;
  grid-column: 1 / 2;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  margin: -7px 0 0;
  color: rgba(27, 69, 32, .56);
  font-size: clamp(.56rem, .68vw, .62rem);
  font-weight: 550;
  letter-spacing: .01em;
  line-height: 1.3;
  text-align: left;
}

#quoteCapture .quote-privacy > span:first-child {
  flex: 0 0 auto;
  font-size: .82em;
  line-height: 1.7;
}

#quoteCapture.is-active .quote-benefits,
#quoteCapture.is-revealing .quote-benefits {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(3, 1fr);
}

.header-scrolled #quoteCapture.is-active,
.header-scrolled #quoteCapture.is-revealing {
  top: 50%;
  right: 0;
  left: auto;
  width: min(980px, calc(100vw - 20px));
  min-height: 248px;
  border-radius: 16px 0 0 16px;
  transform: translateY(-50%);
}

.header-scrolled #quoteCapture.is-active .quote-flow,
.header-scrolled #quoteCapture.is-revealing .quote-flow {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  width: 100%;
  min-height: 248px;
  column-gap: 22px;
  row-gap: 8px;
  padding: 18px 20px;
}

.header-scrolled #quoteCapture .quote-intro {
  grid-column: 1;
  grid-row: 1 / 3;
}

.header-scrolled #quoteCapture .quote-steps {
  grid-column: 2;
  grid-row: 1;
}

.header-scrolled #quoteCapture .quote-benefits {
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 760px) {
  body:not(.header-scrolled) #quoteCapture.is-active,
  body:not(.header-scrolled) #quoteCapture.is-revealing,
  .header-scrolled #quoteCapture.is-active,
  .header-scrolled #quoteCapture.is-revealing {
    width: 100%;
    min-height: 0;
    max-height: calc(100svh - 8px);
    overflow-y: auto;
    border-radius: 0;
  }

  body:not(.header-scrolled) #quoteCapture.is-active .quote-flow,
  body:not(.header-scrolled) #quoteCapture.is-revealing .quote-flow,
  .header-scrolled #quoteCapture.is-active .quote-flow,
  .header-scrolled #quoteCapture.is-revealing .quote-flow {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    width: 100%;
    min-height: 0;
    gap: 16px;
    padding: 22px 14px;
  }

  #quoteCapture.is-active .quote-intro,
  #quoteCapture.is-revealing .quote-intro,
  .header-scrolled #quoteCapture .quote-intro {
    grid-column: 1;
    grid-row: 1;
  }

  #quoteCapture.is-active .quote-steps,
  #quoteCapture.is-revealing .quote-steps,
  .header-scrolled #quoteCapture .quote-steps {
    grid-column: 1;
    grid-row: 2;
  }

  #quoteCapture.is-active .quote-benefits,
  #quoteCapture.is-revealing .quote-benefits,
  .header-scrolled #quoteCapture .quote-benefits {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Keep mobile quote controls on one line */
@media (max-width: 760px) {
  #quoteCapture.is-active .quote-steps,
  #quoteCapture.is-revealing .quote-steps {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  #quoteCapture .quote-progress-header {
    gap: 7px;
    margin-bottom: 7px;
  }

  #quoteCapture .quote-progress-track {
    height: 8px;
  }

  #quoteCapture .quote-progress-label {
    font-size: .78rem;
  }

  #quoteCapture .quote-progress-time {
    font-size: .64rem;
  }

  #quoteCapture .quote-privacy {
    margin-top: -8px;
    font-size: .56rem;
  }

  #quoteCapture.is-active .quote-step.is-current:not(.quote-outcome):not(.quote-submitted-step),
  #quoteCapture.is-revealing .quote-step.is-current:not(.quote-outcome):not(.quote-submitted-step) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 46px;
    width: 100%;
    min-width: 0;
    align-items: end;
    gap: 6px;
  }

  #quoteCapture.is-active .quote-step .step-label,
  #quoteCapture.is-revealing .quote-step .step-label {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  #quoteCapture.is-active .quote-step .captcha-question,
  #quoteCapture.is-revealing .quote-step .captcha-question {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  #quoteCapture.is-active .quote-step .quote-input,
  #quoteCapture.is-active .quote-step .quote-select,
  #quoteCapture.is-revealing .quote-step .quote-input,
  #quoteCapture.is-revealing .quote-step .quote-select {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    margin: 0;
  }

  #quoteCapture.is-active .quote-step .quote-next,
  #quoteCapture.is-active .quote-step .quote-submit,
  #quoteCapture.is-revealing .quote-step .quote-next,
  #quoteCapture.is-revealing .quote-step .quote-submit {
    grid-column: 2;
    grid-row: 2;
    width: 46px;
    min-width: 46px;
    min-height: 44px;
    align-self: stretch;
    margin: 0;
    padding: 6px;
  }

  #quoteCapture.is-active .quote-step[data-step="5"] .quote-input,
  #quoteCapture.is-revealing .quote-step[data-step="5"] .quote-input,
  #quoteCapture.is-active .quote-step[data-step="5"] .quote-submit,
  #quoteCapture.is-revealing .quote-step[data-step="5"] .quote-submit {
    grid-row: 3;
  }

  #quoteCapture .quote-captcha {
    width: 100%;
  }

  #quoteCapture .quote-submit:not(.is-loading) {
    position: relative;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  #quoteCapture .quote-submit:not(.is-loading)::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
    transform: translate(-65%, -50%) rotate(45deg);
  }

  #quoteCapture .quote-submit.is-loading {
    display: grid;
    grid-template-columns: 14px;
    place-content: center;
    font-size: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-progress-fill {
    transition: none;
  }
}

/* Keep the mobile document height stable while fixed CTA/header visuals hand off. */
@media (max-width: 760px) {
  body.header-scrolled .quote-capture.is-banner ~ .page .hero-logo-wrap,
  body.header-scrolled .quote-capture.is-active ~ .page .hero-logo-wrap,
  body.header-scrolled .quote-capture.is-revealing ~ .page .hero-logo-wrap {
    display: grid;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body.header-scrolled .quote-capture.is-active ~ .page .hero-section,
  body.header-scrolled .quote-capture.is-revealing ~ .page .hero-section {
    padding-top: 560px;
  }
}

/* Header phone, call, and text actions */
.site-header,
.header-scrolled .site-header {
  grid-template-columns: 158px minmax(0, 1fr) 318px;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
}

.header-contact {
  display: grid;
  flex: 0 0 auto;
  justify-items: stretch;
  gap: 5px;
}

.header-phone-number {
  color: #fff;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.header-phone-number:hover,
.header-phone-number:focus-visible {
  color: #d5c26f;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-contact-buttons {
  display: flex;
  gap: 5px;
}

.header-contact-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  justify-items: center;
  gap: 3px;
  border: 1px solid rgba(227, 236, 194, .2);
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #478c35, #286c27);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .18);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-contact-button svg {
  width: 15px;
  height: 15px;
  color: #fff;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-contact-button span {
  font-size: .43rem;
  font-weight: inherit;
  letter-spacing: .04em;
  line-height: 1;
}

.header-contact-button:hover,
.header-contact-button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #59a744, #347f30);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .32), 0 0 0 3px rgba(211, 227, 142, .12);
  outline: none;
  transform: translateY(-2px);
}

.header-actions .header-estimate {
  flex: 0 0 194px;
  align-self: flex-end;
  margin-bottom: 0;
}

.quote-capture.is-active + .site-header .header-contact,
.quote-capture.is-revealing + .site-header .header-contact {
  opacity: 0;
  pointer-events: none;
}

.header-scrolled .quote-capture.is-active + .site-header .header-contact,
.header-scrolled .quote-capture.is-revealing + .site-header .header-contact {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 124px minmax(0, 1fr) 292px;
    gap: 14px;
  }

  .header-actions {
    gap: 9px;
  }

  .header-contact-button {
    width: 40px;
    height: 40px;
  }

  .header-actions .header-estimate {
    flex-basis: 170px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 80px minmax(0, 1fr) 40px;
    grid-template-rows: 96px;
    min-height: 96px;
    gap: 6px;
    padding-inline: 8px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 80px;
    height: 88px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 90px;
    height: 90px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    gap: 6px;
  }

  .header-contact {
    gap: 4px;
  }

  .header-phone-number {
    font-size: .56rem;
    letter-spacing: .035em;
  }

  .header-contact-buttons {
    gap: 4px;
  }

  .header-contact-button {
    width: 34px;
    height: 34px;
    gap: 1px;
  }

  .header-contact-button svg {
    width: 13px;
    height: 13px;
  }

  .header-contact-button span {
    font-size: .32rem;
    letter-spacing: .025em;
  }

  .header-actions .header-estimate {
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 43px;
    flex: 1 1 118px;
    font-size: clamp(.46rem, 1.8vw, .56rem);
    line-height: 1.15;
    white-space: normal;
    padding: 7px 6px;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 380px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 64px minmax(0, 1fr) 36px;
    gap: 5px;
    padding-inline: 7px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 64px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 76px;
    height: 76px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-phone-number {
    font-size: .5rem;
  }

  .header-contact-button {
    width: 31px;
    height: 31px;
  }

  .header-contact-button span {
    display: none;
  }

  .header-actions .header-estimate {
    flex-basis: 96px;
    font-size: .44rem;
    padding-inline: 4px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }
}

/* Final header contact sizing and balance */
.site-header,
.header-scrolled .site-header {
  grid-template-columns: 158px minmax(0, 1fr) 226px;
  gap: 22px;
}

.header-actions {
  display: grid;
  width: 226px;
  align-items: center;
  justify-items: stretch;
  gap: 7px;
}

.header-contact {
  order: 2;
  width: 226px;
  gap: 0;
}

.header-phone-number {
  font-size: 1.14rem;
  letter-spacing: .025em;
  line-height: 1.1;
  white-space: nowrap;
}

.header-contact-buttons {
  display: none;
  gap: 6px;
}

.header-contact-button {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
}

.header-contact-button svg {
  width: 16px;
  height: 16px;
}

.header-contact-button span {
  display: inline;
  font-size: .5rem;
  letter-spacing: .035em;
}

.header-actions .header-estimate {
  order: 1;
  width: 226px;
  min-height: 34px;
  flex: 0 0 226px;
  border-radius: 6px;
  font-size: .64rem;
  line-height: 1.2;
  padding: 7px 14px;
}

.header-scrolled .site-header {
  min-height: 88px;
}

@media (max-width: 1120px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 124px minmax(0, 1fr) 208px;
    gap: 14px;
  }

  .header-actions,
  .header-contact {
    width: 208px;
  }

  .header-phone-number {
    font-size: 1.04rem;
  }

  .header-actions .header-estimate {
    width: 208px;
    flex-basis: 208px;
    font-size: .6rem;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 78px minmax(0, 1fr) 40px;
    grid-template-rows: 96px;
    min-height: 96px;
    gap: 6px;
    padding-inline: 8px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 78px;
    height: 88px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 86px;
    height: 86px;
  }

  .header-actions {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-items: normal;
    gap: 7px;
  }

  .header-contact {
    order: 0;
    width: 92px;
    gap: 5px;
    margin-left: 9px;
  }

  .header-phone-number {
    font-size: .65rem;
    letter-spacing: .015em;
  }

  .header-contact-buttons {
    display: flex;
    gap: 4px;
  }

  .header-contact-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    justify-items: center;
    gap: 2px;
    border-radius: 6px;
  }

  .header-contact-button svg {
    width: 15px;
    height: 15px;
  }

  .header-contact-button span {
    display: inline;
    font-size: .37rem;
    letter-spacing: .02em;
  }

  .header-actions .header-estimate {
    order: 0;
    width: auto;
    min-width: 0;
    min-height: 48px;
    flex: 1 1 118px;
    font-size: clamp(.5rem, 2vw, .58rem);
    letter-spacing: .025em;
    line-height: 1.18;
    padding: 8px 7px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .site-header,
  .header-scrolled .site-header {
    grid-template-columns: 66px minmax(0, 1fr) 38px;
    gap: 5px;
    padding-inline: 7px;
  }

  .header-brand,
  .header-scrolled .header-brand {
    width: 66px;
  }

  .header-brand img,
  .header-scrolled .header-brand img {
    width: 74px;
    height: 74px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-contact {
    width: 84px;
    margin-left: 7px;
  }

  .header-phone-number {
    font-size: .58rem;
  }

  .header-contact-button {
    width: 40px;
    height: 42px;
  }

  .header-contact-button span {
    display: inline;
    font-size: .34rem;
  }

  .header-actions .header-estimate {
    flex-basis: 104px;
    font-size: .48rem;
    padding-inline: 5px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}
