:root {
  --forest: #173b2b;
  --forest-2: #24513b;
  --leaf: #79a944;
  --lime: #c7df69;
  --cream: #f3f0e7;
  --paper: #fffef9;
  --ink: #17251c;
  --muted: #68746c;
  --line: #dbe1da;
  --danger: #a33b2f;
  --shadow: 0 18px 55px rgba(23,59,43,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 13px clamp(18px,5vw,72px); background: var(--forest); color: white; }
.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.leaf { display: grid; place-items: center; width: 40px; height: 40px; color: var(--lime); }
.leaf svg { width: 100%; fill: currentColor; }
.brand strong { display: block; font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: .14em; }
.brand small { display: block; margin-top: 4px; color: #d8e5dc; font-size: 8px; letter-spacing: .31em; }
.header-link { color: #e8eee9; font-size: 12px; font-weight: 700; text-decoration: none; }
.intro { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(32px,7vw,100px); align-items: center; padding: 68px clamp(20px,5vw,72px) 150px; overflow: hidden; background: linear-gradient(125deg,#f8f6ef 0%,#eef2e5 100%); }
.intro::after { content: ""; position: absolute; z-index: -1; right: -10vw; bottom: -48vw; width: 76vw; height: 76vw; border: 1px solid rgba(121,169,68,.26); border-radius: 50%; box-shadow: 0 0 0 38px rgba(121,169,68,.04),0 0 0 82px rgba(121,169,68,.025); }
.eyebrow { margin: 0 0 12px; color: #5c812f; font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.intro h1 { max-width: 760px; margin: 0; font-size: clamp(43px,6vw,78px); line-height: .98; letter-spacing: -.055em; }
.lede { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px,2vw,19px); line-height: 1.6; }
.trust-card { padding: 24px; border: 1px solid rgba(23,59,43,.1); border-radius: 18px; background: rgba(255,254,249,.82); box-shadow: var(--shadow); }
.trust-card strong,.trust-card span,.trust-card small { display: block; }
.trust-card strong { font-size: 16px; }
.trust-card span { margin-top: 7px; color: #5c812f; font-size: 13px; font-weight: 700; }
.trust-card small { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }
.estimator-shell { position: relative; z-index: 2; max-width: 1120px; margin: -90px auto 70px; overflow: hidden; border: 1px solid rgba(23,59,43,.08); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); padding: 0 34px; border-bottom: 1px solid var(--line); background: #f8f8f2; }
.step { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 78px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #8a948d; cursor: pointer; }
.step span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #bec6c0; border-radius: 50%; font-size: 11px; font-weight: 800; }
.step strong { font-size: 13px; }
.step.active { border-bottom-color: var(--leaf); color: var(--forest); }
.step.active span,.step.complete span { border-color: var(--leaf); background: var(--leaf); color: white; }
.step:disabled { cursor: not-allowed; }
.panel { display: none; padding: clamp(28px,5vw,58px); }
.panel.active { display: block; }
.panel-heading { margin-bottom: 28px; }
.panel-heading h2 { margin: 0; font-size: clamp(30px,4vw,45px); line-height: 1.05; letter-spacing: -.045em; }
.panel-heading > p:last-child,.services-heading p:last-child { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label > span,.map-address > span { display: block; margin: 0 0 8px; color: #33443a; font-size: 12px; font-weight: 800; }
.form-grid input { width: 100%; height: 55px; padding: 0 15px; border: 1.5px solid #cfd7d1; border-radius: 11px; outline: 0; background: white; color: var(--ink); }
.form-grid input:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(121,169,68,.14); }
.form-grid .wide { grid-column: 1/-1; }
#address-autocomplete gmp-place-autocomplete { width: 100%; color-scheme: light; }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
button { border: 0; }
.primary,.secondary,.back,.text-button { min-height: 46px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 20px; background: var(--forest); color: white; box-shadow: 0 8px 20px rgba(23,59,43,.18); }
.primary:hover { background: var(--forest-2); }
.primary:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.secondary { padding: 0 15px; border: 1px solid #bac5bd; background: white; color: var(--forest); }
.secondary.drawing-active { border-color: var(--leaf); background: #edf5e5; color: #365c22; }
.secondary:disabled { opacity: .42; cursor: not-allowed; }
.secondary.light { border-color: rgba(255,255,255,.25); background: white; }
.back,.text-button { padding: 0; background: transparent; color: #577038; }
.error { min-height: 18px; margin: 14px 0 0; color: var(--danger); font-size: 12px; font-weight: 700; }
.measure-heading,.services-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.measure-total,.property-pill { flex: 0 0 auto; padding: 12px 16px; border-radius: 12px; background: #edf3e6; text-align: right; }
.measure-total small,.measure-total strong,.property-pill small,.property-pill strong { display: block; }
.measure-total small,.property-pill small { color: #69804f; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.measure-total strong,.property-pill strong { margin-top: 4px; color: var(--forest); font-size: 21px; }
.instruction { margin: -12px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.map-frame { position: relative; overflow: hidden; min-height: 455px; border: 1px solid #cbd5ce; border-radius: 16px; background: #dce4d9; }
#map { position: absolute; inset: 0; }
.map-frame.drawing { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(121,169,68,.18); }
.drawing-hint { position: absolute; z-index: 4; top: 13px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 28px); padding: 10px 14px; border-radius: 99px; background: var(--forest); color: white; box-shadow: 0 5px 18px rgba(0,0,0,.28); font-size: 11px; font-weight: 800; text-align: center; pointer-events: none; }
.map-setup { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding: 30px; background: radial-gradient(circle at 30% 20%,rgba(232,239,225,.9),rgba(203,216,199,.96)), repeating-linear-gradient(35deg,transparent 0 18px,rgba(23,59,43,.04) 18px 20px); text-align: center; }
.map-setup .setup-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 27px; }
.map-setup strong { font-size: 19px; }
.map-setup p { max-width: 440px; margin: 9px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.map-toolbar .text-button { margin-left: auto; }
.manual-entry { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #f8f8f3; }
.manual-entry label strong,.manual-entry label span { display: block; }
.manual-entry label strong { font-size: 12px; }
.manual-entry label span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.manual-entry > div { display: flex; gap: 8px; }
.manual-entry input { width: 135px; height: 46px; padding: 0 11px; border: 1px solid #bac5bd; border-radius: 9px; outline: 0; }
.manual-entry input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(121,169,68,.13); }
.manual-review { margin-bottom: 20px; padding: 18px; border: 1px solid #e1b893; border-radius: 12px; background: #fff4e8; }
.manual-review strong { color: #7a4017; }
.manual-review p { margin: 6px 0 0; color: #76563e; font-size: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.service-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; min-height: 108px; padding: 17px; border: 1.5px solid var(--line); border-radius: 15px; background: white; cursor: pointer; transition: .18s ease; }
.service-card:hover { transform: translateY(-1px); border-color: #a8b99d; }
.service-card.selected { border-color: var(--leaf); background: #fbfdf7; box-shadow: inset 0 0 0 1px var(--leaf); }
.service-card input { position: absolute; opacity: 0; }
.check { display: grid; place-items: center; align-self: start; width: 23px; height: 23px; border: 2px solid #aeb8b0; border-radius: 6px; color: white; }
.selected .check { border-color: var(--leaf); background: var(--leaf); }
.selected .check::after { content: "✓"; font-size: 14px; font-weight: 900; }
.service-info strong,.service-info small,.service-price strong,.service-price small { display: block; }
.service-info strong { font-size: 14px; }
.service-info small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.service-price { text-align: right; }
.service-price strong { color: var(--forest); font-size: 17px; }
.service-price small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.save-tag { display: inline-block !important; margin: 0 0 6px auto !important; padding: 3px 6px; border-radius: 99px; color: #31531d !important; background: #deedc8; font-weight: 900; letter-spacing: .05em; }
.quote-card { margin-top: 26px; overflow: hidden; border-radius: 17px; background: var(--forest); color: white; }
.quote-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.eyebrow.light { color: var(--lime); }
.quote-top h3 { margin: 0; font-size: 22px; }
.quote-top > span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; color: #d7e2da; font-size: 10px; font-weight: 800; }
.quote-lines { padding: 4px 24px; }
.quote-lines .empty { margin: 0; padding: 25px 0; color: #b9c7bd; font-size: 12px; text-align: center; }
.quote-line { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.quote-line:last-child { border-bottom: 0; }
.quote-line strong,.quote-line small { display: block; }
.quote-line strong { font-size: 13px; }
.quote-line small { margin-top: 4px; color: #aebdb3; font-size: 10px; }
.quote-line > strong { align-self: center; color: var(--lime); font-size: 15px; }
.quote-total { padding: 21px 24px; background: rgba(0,0,0,.14); }
.quote-total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.quote-total span { color: #d1ddd4; font-size: 12px; }
.quote-total strong { color: var(--lime); font-size: 30px; }
.quote-total .subrow { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.quote-total .subrow strong { color: white; font-size: 17px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 0; accent-color: var(--leaf); }
.success { margin-top: 22px; padding: 18px; border: 1px solid #b7d292; border-radius: 12px; background: #f0f7e8; color: var(--forest); }
.success p { margin: 5px 0 0; color: #576a5e; font-size: 12px; }
.assurance { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; max-width: 1120px; margin: 0 auto 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.assurance div { padding: 23px; background: #f8f7f1; }
.assurance strong { font-size: 13px; }
.assurance p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
footer { display: flex; justify-content: space-between; padding: 28px clamp(20px,5vw,72px); background: var(--forest); color: #c9d6cd; font-size: 11px; }
footer a { color: var(--lime); text-decoration: none; }

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding-inline: 17px; }
  .leaf { width: 34px; height: 34px; }
  .brand strong { font-size: 18px; }
  .header-link { font-size: 10px; }
  .intro { grid-template-columns: 1fr; gap: 25px; padding: 47px 18px 125px; }
  .intro h1 { font-size: clamp(40px,12vw,58px); }
  .trust-card { padding: 18px; }
  .estimator-shell { margin: -83px 12px 45px; border-radius: 18px; }
  .steps { padding: 0 10px; }
  .step { min-height: 68px; gap: 6px; }
  .step strong { font-size: 10px; }
  .step span { width: 24px; height: 24px; }
  .panel { padding: 28px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .form-grid .wide { grid-column: auto; }
  .measure-heading,.services-heading { display: block; }
  .measure-total,.property-pill { display: inline-block; margin-top: 16px; text-align: left; }
  .map-frame { min-height: 390px; }
  .map-toolbar .secondary { flex: 1 1 42%; }
  .map-toolbar .text-button { flex-basis: 100%; margin: 0; }
  .manual-entry { display: block; }
  .manual-entry > div { margin-top: 12px; }
  .manual-entry input { flex: 1; width: auto; min-width: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .action-row { align-items: stretch; }
  .action-row .primary { flex: 1; }
  .assurance { grid-template-columns: 1fr; margin: 0 12px 45px; }
}
@media (max-width: 390px) {
  .service-card { grid-template-columns: auto 1fr; }
  .service-price { grid-column: 2; text-align: left; }
  .save-tag { margin-inline: 0 auto !important; }
  .quote-total > div { align-items: flex-end; }
  .quote-total span { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
