:root {
  --ink: #17332c;
  --muted: #64716c;
  --green: #17694e;
  --green-dark: #0d4c38;
  --mint: #dcede4;
  --cream: #f7f3e9;
  --gold: #d6ad5d;
  --paper: #ffffff;
  --line: #dbe2de;
  --shadow: 0 22px 60px rgba(23, 51, 44, .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; }
button, input, select, textarea { font: inherit; }
.site-header { min-height: 78px; padding: 13px max(22px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--green); font: 700 22px Georgia, serif; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.header-call { padding: 10px 15px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); text-decoration: none; font-size: 12px; font-weight: 800; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 62px 0 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.hero-copy { position: sticky; top: 36px; padding-top: 42px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
h1 { margin: 0; max-width: 520px; font: 700 clamp(43px, 6vw, 72px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.hero-copy > p:nth-of-type(2) { max-width: 520px; margin: 22px 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { padding: 8px 10px; border-radius: 999px; color: var(--green-dark); background: var(--mint); font-size: 11px; font-weight: 750; }
.calculator-card, .estimate-card { padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(23,51,44,.09); border-radius: 23px; background: var(--paper); box-shadow: var(--shadow); }
.card-heading { margin-bottom: 24px; }
.card-heading span, .card-heading strong { display: block; }
.card-heading span { margin-bottom: 7px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.card-heading strong { font: 700 27px Georgia, serif; }
label, legend { color: var(--ink); font-size: 12px; font-weight: 750; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fbfcfb; color: var(--ink); }
input, select { height: 46px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,105,78,.12); background: white; }
label small { display: block; margin-top: 4px; color: var(--muted); font-weight: 450; line-height: 1.4; }
.field-grid { margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-grid.three { grid-template-columns: repeat(3, 1fr); }
fieldset { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
legend { padding: 0 6px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 550; }
.checks input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
#calculate { width: 100%; min-height: 52px; margin-top: 20px; padding: 0 18px; border: 0; border-radius: 12px; color: white; background: var(--green); font-weight: 850; cursor: pointer; box-shadow: 0 10px 24px rgba(23,105,78,.22); }
#calculate:hover { background: var(--green-dark); }
#calculate span { float: right; }
.form-note { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 10px; }
.error { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #ecc5bf; border-radius: 10px; color: #94392f; background: #fff1ef; font-size: 12px; }
.result-section { padding: 48px 0 62px; border-top: 1px solid rgba(23,51,44,.14); }
.result-heading { max-width: 720px; margin-bottom: 24px; }
h2 { margin: 0; font: 700 clamp(31px, 4vw, 46px)/1.05 Georgia, serif; letter-spacing: -.025em; }
.estimate-card { max-width: 870px; }
.estimate-top { display: flex; justify-content: space-between; gap: 28px; padding-bottom: 24px; border-bottom: 3px solid var(--green); }
.estimate-top small, .scope-summary small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.estimate-top strong, .estimate-top span { display: block; }
.estimate-top > div:first-child strong { font: 700 21px Georgia, serif; }
.estimate-top > div:first-child span { margin-top: 6px; color: var(--muted); font-size: 12px; }
.estimate-total { text-align: right; }
.estimate-total strong { color: var(--green); font: 700 36px Georgia, serif; }
.estimate-total span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.breakdown { margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.breakdown div { padding: 12px 14px; display: flex; justify-content: space-between; gap: 18px; font-size: 12px; }
.breakdown div + div { border-top: 1px solid var(--line); }
.breakdown span { color: var(--muted); }
.breakdown .total-row { color: white; background: var(--green); font-size: 15px; }
.breakdown .total-row span { color: white; }
.scope-summary { padding: 18px 0; border-top: 1px solid var(--line); }
.scope-summary p { margin: 7px 0; color: #465750; font-size: 12px; line-height: 1.55; }
.disclaimer { padding: 14px; border-left: 3px solid var(--gold); color: #6a562e; background: #fff8e9; font-size: 11px; line-height: 1.55; }
.actions { margin-top: 18px; display: flex; gap: 10px; }
.primary-action, .secondary-action, .custom-services > a { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; font-size: 12px; font-weight: 850; text-decoration: none; }
.primary-action { color: white; background: var(--green); }
.secondary-action { border: 1px solid var(--green); color: var(--green); background: white; cursor: pointer; }
#copy-status { display: block; margin-top: 10px; color: var(--green); font-size: 11px; }
.custom-services { margin: 0 0 56px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 34px; border-radius: 22px; color: white; background: var(--ink); }
.custom-services .eyebrow { color: #c9e3d6; }
.custom-services h2 { max-width: 700px; font-size: clamp(28px, 4vw, 42px); }
.custom-services p:last-child { max-width: 730px; margin: 14px 0 0; color: #cbd6d1; font-size: 13px; line-height: 1.6; }
.custom-services > a { flex: 0 0 auto; color: var(--ink); background: white; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 36px; display: flex; gap: 18px; border-top: 1px solid rgba(23,51,44,.14); color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { position: static; padding-top: 0; }
  .custom-services { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  main { width: min(100% - 24px, 1180px); }
  .site-header { padding: 12px; }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .header-call { padding: 8px 10px; }
  .hero { padding-top: 38px; }
  .calculator-card, .estimate-card { border-radius: 17px; }
  .field-grid, .field-grid.three { grid-template-columns: 1fr; }
  .estimate-top, .actions { flex-direction: column; }
  .estimate-total { text-align: left; }
  .custom-services { padding: 26px; }
  footer { flex-wrap: wrap; }
}
@media print {
  .site-header, .hero, .result-heading, .custom-services, footer, .actions, #copy-status { display: none !important; }
  body { background: white; }
  main { width: 100%; }
  .result-section { display: block !important; padding: 0; border: 0; }
  .estimate-card { max-width: none; padding: .45in; border: 0; box-shadow: none; }
}

