:root {
  --green: #8ee23f;
  --green-dark: #6fc42a;
  --ink: #0a0d0b;
  --muted: #657068;
  --paper: #f4f6f2;
  --white: #fff;
  --line: #dce2da;
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
  --shadow: 0 24px 70px rgba(7, 12, 8, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 16px; padding: 11px 16px; color: var(--ink); background: var(--green); border-radius: 0 0 10px 10px; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 0; }

.estimate-header { position: absolute; z-index: 10; inset: 0 0 auto; width: min(100% - 48px, 1240px); min-height: 96px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); background: var(--green); border-radius: 12px; transform: rotate(-3deg); }
.brand-mark svg { width: 34px; fill: currentColor; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 29px/1 var(--display); letter-spacing: -.02em; }
.brand-copy strong span { color: var(--green); }
.brand-copy small { margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.header-phone { display: grid; text-align: right; }
.header-phone small { margin-bottom: 3px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.header-phone strong { font-size: 16px; }

.estimate-hero { position: relative; overflow: hidden; min-height: 590px; color: var(--white); background: var(--ink); }
.estimate-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.estimate-hero::after { content: ""; position: absolute; width: 600px; height: 600px; right: -130px; bottom: -400px; border: 110px solid rgba(142,226,63,.08); border-radius: 50%; }
.hero-accent { position: absolute; right: 0; top: 0; width: 34%; height: 100%; opacity: .95; background: linear-gradient(135deg, rgba(142,226,63,.05), rgba(142,226,63,.22)); clip-path: polygon(31% 0,100% 0,100% 100%,0 100%); }
.hero-inner { position: relative; z-index: 2; width: min(100% - 48px, 1240px); margin: auto; padding: 138px 0 88px; }
.back-link { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 46px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.back-link span { color: var(--green); font-size: 20px; transition: transform .2s; }
.back-link:hover span { transform: translateX(-4px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); align-items: end; gap: 90px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: currentColor; }
h1 { max-width: 760px; margin: 0; font: 800 clamp(72px, 8vw, 112px)/.79 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
h1 em { color: var(--green); font-style: normal; }
.hero-copy > p:last-child { max-width: 730px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.hero-steps { border-top: 1px solid rgba(255,255,255,.2); }
.hero-steps div { display: grid; grid-template-columns: 50px 1fr; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.hero-steps strong { color: var(--green); font: 700 16px var(--display); }
.hero-steps span { font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.form-section { padding: 0 24px 100px; }
.form-layout { position: relative; z-index: 3; width: min(100%, 1240px); margin: -42px auto 0; display: grid; grid-template-columns: 360px minmax(0, 1fr); align-items: start; background: var(--white); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.form-aside { position: sticky; top: 24px; min-height: 670px; padding: 56px 42px; color: var(--white); background: #111612; }
.form-aside::after { content: "M"; position: absolute; right: -24px; bottom: -82px; color: rgba(142,226,63,.055); font: 900 320px/.8 var(--display); }
.aside-kicker { margin: 0 0 14px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-aside h2 { margin: 0; font: 800 50px/.9 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.form-aside > p:not(.aside-kicker):not(.text-number) { margin: 24px 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }
.form-aside ul { position: relative; z-index: 1; margin: 30px 0 44px; padding: 0; list-style: none; }
.form-aside li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.11); font-size: 12px; font-weight: 700; }
.form-aside li span { color: var(--green); }
.text-button { position: relative; z-index: 1; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; min-height: 82px; padding: 14px 17px; color: var(--ink); background: var(--green); border-radius: 15px; box-shadow: 0 16px 40px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.text-button:hover { background: #9af24b; transform: translateY(-3px); }
.text-button svg { width: 30px; fill: currentColor; }
.text-button span { display: grid; }
.text-button small { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-button strong { font: 800 27px var(--display); text-transform: uppercase; }
.text-button b { font-size: 22px; }
.text-number { position: relative; z-index: 1; margin: 11px 3px 0 !important; color: rgba(255,255,255,.46) !important; font-size: 9px !important; line-height: 1.5 !important; }

.form-card { min-height: 700px; padding: 56px clamp(28px, 5vw, 74px) 70px; }
.form-card-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.form-card-heading p { margin: 0 0 8px; color: #59852f; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-card-heading h2 { margin: 0; font: 800 clamp(39px, 5vw, 58px)/.95 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.form-card-heading span { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; }
form { padding-top: 32px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 9px; margin-bottom: 20px; }
.field > span, .upload-fieldset legend { color: #263029; font-size: 11px; font-weight: 800; letter-spacing: .035em; }
.field small, .upload-fieldset small { color: #7a837d; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); background: #f8faf7; border: 1px solid #d8ded6; border-radius: 11px; outline: none; transition: border .2s, box-shadow .2s, background .2s; }
.field input, .field select { height: 53px; padding: 0 16px; }
.field textarea { min-height: 145px; padding: 15px 16px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #9aa29c; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: #83cc42; box-shadow: 0 0 0 4px rgba(142,226,63,.15); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b94343; }
.upload-fieldset { margin: 5px 0 24px; padding: 0; border: 0; }
.upload-fieldset legend { margin-bottom: 10px; }
.upload-zone { position: relative; min-height: 160px; padding: 24px; display: grid; grid-template-columns: 50px 1fr auto; gap: 16px; align-items: center; background: #f5f9f1; border: 1.5px dashed #93b878; border-radius: 14px; transition: background .2s, border .2s, transform .2s; }
.upload-zone.dragging { background: #edfae3; border-color: var(--green-dark); transform: scale(1.005); }
#photo-picker { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { width: 50px; height: 50px; display: grid; place-items: center; color: #46721d; background: var(--green); border-radius: 13px; }
.upload-icon svg { width: 25px; fill: currentColor; }
.upload-zone > div:nth-child(3) { display: grid; gap: 4px; }
.upload-zone strong { font-size: 14px; }
.upload-zone span { color: var(--muted); font-size: 11px; }
.choose-button { position: relative; z-index: 1; padding: 11px 14px; color: var(--white); background: var(--ink); border: 0; border-radius: 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.upload-help { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 10px; }
.upload-help span::before { content: "✓"; margin-right: 6px; color: #57931f; font-weight: 900; }
.upload-note { margin: 8px 0 0; color: #7d857f; font-size: 9px; }
.photo-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 14px; }
.photo-item { position: relative; overflow: hidden; aspect-ratio: 1; background: #e8ece6; border-radius: 10px; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item button { position: absolute; top: 5px; right: 5px; width: 25px; height: 25px; padding: 0; display: grid; place-items: center; color: white; background: rgba(8,11,9,.82); border: 0; border-radius: 50%; font-size: 16px; }
.photo-item span { position: absolute; inset: auto 5px 5px; overflow: hidden; padding: 4px 5px; color: white; background: rgba(8,11,9,.72); border-radius: 5px; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.field-error, .form-error { min-height: 0; margin: 9px 0 0; color: #a02e2e; font-size: 11px; font-weight: 700; }
.appointment-field { max-width: calc(50% - 9px); }
.consent-block { margin-top: 28px; padding: 20px; background: #f5f7f3; border: 1px solid var(--line); border-radius: 12px; }
.consent-label { position: relative; display: grid; grid-template-columns: 21px 1fr; gap: 12px; align-items: start; color: #424b45; font-size: 10px; line-height: 1.7; cursor: pointer; }
.consent-label input { position: absolute; opacity: 0; }
.checkmark { width: 21px; height: 21px; display: grid; place-items: center; background: white; border: 1px solid #aeb8b0; border-radius: 5px; transition: .2s; }
.consent-label input:checked + .checkmark { color: var(--ink); background: var(--green); border-color: var(--green-dark); }
.consent-label input:checked + .checkmark::after { content: "✓"; font-size: 14px; font-weight: 900; }
.consent-label input:focus-visible + .checkmark { box-shadow: 0 0 0 4px rgba(142,226,63,.2); }
.consent-block > p { margin: 12px 0 0 33px; color: #788079; font-size: 9px; }
.consent-block a { color: #376b0e; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.submit-button { width: 100%; min-height: 64px; margin-top: 18px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); background: var(--green); border: 0; border-radius: 12px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 14px 30px rgba(111,196,42,.24); transition: transform .2s, background .2s; }
.submit-button:hover { background: #9af24b; transform: translateY(-2px); }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.submit-button b { font-size: 22px; }
.submit-note { margin: 12px 0 0; color: #89908b; font-size: 9px; text-align: center; }
.success-panel { padding: 80px 20px 40px; text-align: center; }
.success-panel[hidden] { display: none; }
.success-icon { width: 70px; height: 70px; margin: auto; display: grid; place-items: center; color: var(--ink); background: var(--green); border-radius: 50%; font-size: 32px; font-weight: 900; box-shadow: 0 12px 30px rgba(111,196,42,.3); }
.success-panel > p:first-of-type { margin: 24px 0 10px; color: #558c24; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.success-panel h2 { max-width: 620px; margin: auto; font: 800 clamp(42px, 6vw, 64px)/.9 var(--display); text-transform: uppercase; }
.success-panel h2 + p { max-width: 570px; margin: 24px auto 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.success-actions { margin-top: 32px; display: flex; gap: 10px; justify-content: center; }
.success-actions a { padding: 14px 19px; border: 1px solid var(--ink); border-radius: 9px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.success-actions a:last-child { color: var(--ink); background: var(--green); border-color: var(--green); }
footer { width: min(100% - 48px, 1240px); margin: auto; padding: 0 0 36px; display: flex; justify-content: space-between; gap: 20px; color: #747c76; font-size: 10px; }
footer p { margin: 0; }
footer div { display: flex; gap: 22px; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-steps { max-width: 520px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; min-height: 0; padding: 42px; }
  .form-aside ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
  .form-aside li { align-items: flex-start; border: 0; }
  .text-button { max-width: 390px; }
}

@media (max-width: 620px) {
  .estimate-header { width: calc(100% - 28px); min-height: 76px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 10px; }
  .brand-mark svg { width: 28px; }
  .brand-copy strong { font-size: 23px; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 12px; }
  .estimate-hero { min-height: 620px; }
  .hero-inner { width: calc(100% - 28px); padding: 108px 0 85px; }
  .back-link { margin-bottom: 40px; }
  h1 { font-size: clamp(58px, 19vw, 84px); }
  .hero-copy > p:last-child { margin-top: 24px; font-size: 14px; }
  .hero-grid { gap: 36px; }
  .hero-steps div { padding: 13px 0; }
  .form-section { padding: 0 10px 70px; }
  .form-layout { margin-top: -32px; border-radius: 18px; }
  .form-aside { padding: 36px 24px; }
  .form-aside h2 { font-size: 44px; }
  .form-aside ul { grid-template-columns: 1fr; gap: 0; margin: 24px 0 28px; }
  .form-aside li { padding: 9px 0; }
  .text-button { min-height: 75px; }
  .form-card { padding: 38px 18px 45px; }
  .form-card-heading { padding: 0 4px 26px; }
  .form-card-heading h2 { font-size: 42px; }
  form { padding-top: 26px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 17px; }
  .field input, .field select { height: 55px; font-size: 16px; }
  .field textarea { font-size: 16px; }
  .upload-zone { min-height: 190px; grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center; }
  .upload-zone > div:nth-child(3) { justify-items: center; }
  .choose-button { padding: 10px 16px; }
  .photo-preview { grid-template-columns: repeat(3, 1fr); }
  .appointment-field { max-width: none; }
  .consent-block { padding: 16px 14px; }
  .consent-label { font-size: 9px; }
  .submit-button { min-height: 62px; font-size: 10px; }
  .success-panel { padding: 55px 4px 20px; }
  .success-actions { flex-direction: column; }
  footer { width: calc(100% - 28px); padding-bottom: 28px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
