:root {
  --ink: #201a16;
  --brown: #3d2b1f;
  --green: #2d5016;
  --green-dark: #213d10;
  --gold: #c4973b;
  --cream: #f8f3eb;
  --paper: #fffdf9;
  --muted: #73675e;
  --line: #ded5c8;
  --shadow: 0 24px 70px rgba(61,43,31,.14);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--cream); }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at 15% 15%, rgba(196,151,59,.13), transparent 30rem), linear-gradient(135deg, #faf7f2, #f4ede3); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: repeating-linear-gradient(90deg, transparent 0, transparent 117px, rgba(61,43,31,.025) 118px, transparent 119px); }
button, input, select { font: inherit; }

.site-header { position: relative; z-index: 1; min-height: 82px; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 18px 28px; border-bottom: 1px solid rgba(61,43,31,.1); }
.brand { display: inline-flex; flex-direction: column; color: var(--brown); text-decoration: none; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; }
.brand-tag { margin-top: 2px; color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.phone-link { color: var(--brown); font-weight: 800; text-decoration: none; }
.phone-link span { color: var(--muted); font-size: .78rem; font-weight: 500; margin-right: 6px; }

main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 28px 76px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: 68px; align-items: center; }
.intro { padding-bottom: 32px; }
.eyebrow, .step-kicker { color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 18px 0 24px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 5.7vw, 5.6rem); line-height: .94; letter-spacing: -.055em; }
h1 em { color: var(--green); font-weight: 400; }
.intro > p { max-width: 510px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.trust-row { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 12px 20px; color: var(--brown); font-size: .8rem; font-weight: 750; }
.included-card { max-width: 500px; margin-top: 32px; padding: 23px 25px; border: 1px solid rgba(61,43,31,.11); border-radius: 14px; background: rgba(255,253,249,.62); }
.included-card > strong { color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.included-card ul { margin: 13px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .8rem; list-style: none; }
.included-card li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }

.calculator-shell { align-self: center; }
.progress-wrap { margin: 0 18px 14px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: .75rem; }
.progress-meta strong { color: var(--brown); }
.progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #ddd5ca; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #4c7c2d); transition: width .35s ease; }
.step-card { min-height: 570px; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 50px); border: 1px solid rgba(61,43,31,.1); border-radius: 20px; background: rgba(255,253,249,.97); box-shadow: var(--shadow); }
.step { display: none; animation: reveal .28s ease both; }
.step.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-copy h2 { margin: 9px 0 12px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 2.8vw, 2.55rem); line-height: 1.08; letter-spacing: -.035em; }
.step-copy p { max-width: 530px; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.6; }
.field-wrap { margin-top: 30px; }
.field-wrap label, .text-field label, .inline-field label { display: block; margin-bottom: 8px; color: var(--brown); font-size: .79rem; font-weight: 800; }
.number-field { display: flex; align-items: center; min-height: 62px; overflow: hidden; border: 2px solid var(--line); border-radius: 11px; background: white; transition: border-color .2s, box-shadow .2s; }
.number-field:focus-within, .text-field input:focus, .text-field select:focus, .mini-number:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(45,80,22,.1); outline: 0; }
.number-field input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 16px 18px; color: var(--brown); background: transparent; font-size: 1.22rem; font-weight: 800; }
.number-field span { padding: 0 18px; color: var(--muted); font-size: .84rem; font-weight: 750; }
.field-wrap small, .inline-field small { display: block; color: #8c8179; font-size: .72rem; }

.option-grid, .option-stack { margin-top: 24px; display: grid; gap: 10px; }
.option-grid.two-col { grid-template-columns: 1fr 1fr; }
.option-card { position: relative; min-height: 96px; display: flex; flex-direction: column; justify-content: center; padding: 15px 16px; border: 2px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.option-card:hover { transform: translateY(-1px); border-color: #a99d8d; }
.option-card:has(input:checked) { border-color: var(--green); background: #f4f8f1; box-shadow: 0 0 0 3px rgba(45,80,22,.08); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card strong { color: var(--brown); font-size: .86rem; line-height: 1.25; }
.option-card small { margin-top: 4px; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.option-icon { margin-bottom: 4px; color: var(--gold); font-size: 1.2rem; }
.option-card.horizontal { min-height: 76px; flex-direction: row; justify-content: flex-start; align-items: center; gap: 15px; }
.option-card.horizontal .option-icon { min-width: 30px; margin: 0; font-size: 1.45rem; text-align: center; }
.option-card.horizontal span { display: flex; flex-direction: column; }
.option-stack.compact { gap: 8px; }
.option-stack.compact .option-card { min-height: 65px; }

.package-stack { margin-top: 22px; display: grid; gap: 10px; }
.package-card { position: relative; min-height: 150px; display: block; padding: 17px 18px; overflow: hidden; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .18s, transform .18s, box-shadow .18s; }
.package-card:hover { transform: translateY(-1px); border-color: #a99d8d; }
.package-card:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,80,22,.08); }
.package-card input { position: absolute; opacity: 0; pointer-events: none; }
.package-heading { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; margin-bottom: 10px; }
.package-name { grid-row: 1 / 3; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.package-card.gold .package-name { color: #7b5b12; }
.package-card.platinum .package-name { color: #34383b; }
.package-total-label { color: var(--muted); font-size: .55rem; font-weight: 850; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.package-price { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 800; line-height: 1; text-align: right; white-space: nowrap; }
.package-card > strong { color: var(--brown); font-size: .82rem; line-height: 1.25; }
.package-includes { margin: 9px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; color: var(--muted); font-size: .67rem; line-height: 1.35; list-style: none; }
.package-includes li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 900; }
.popular-tag { position: absolute; top: 0; right: 0; padding: 4px 8px; color: white; background: var(--green); border-radius: 0 0 0 8px; font-size: .52rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.package-card.platinum .package-heading { padding-top: 6px; }
.package-note { margin: 10px 0 0; color: var(--muted); font-size: .67rem; line-height: 1.4; text-align: center; }
.option-total { margin-left: auto; color: var(--green) !important; font-size: 1rem !important; white-space: nowrap; }

.inline-field { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: #f9f6f1; }
.inline-field label { margin-bottom: 2px; }
.mini-number { min-width: 140px; height: 46px; display: flex; align-items: center; overflow: hidden; border: 2px solid var(--line); border-radius: 9px; background: white; }
.mini-number input { width: 60px; height: 100%; border: 0; outline: 0; padding-left: 14px; color: var(--brown); background: transparent; font-weight: 800; }
.mini-number span { color: var(--muted); font-size: .72rem; }

.form-grid { margin-top: 25px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 15px; }
.text-field.full { grid-column: 1 / -1; }
.text-field input, .text-field select { width: 100%; height: 52px; border: 2px solid var(--line); border-radius: 9px; padding: 0 14px; color: var(--brown); background: white; transition: border-color .2s, box-shadow .2s; }
.text-field input::placeholder { color: #aaa097; }
.field-help { display: block; margin-top: 6px; color: #8c8179; font-size: .67rem; line-height: 1.35; }
.check-row { position: relative; margin-top: 18px; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--brown); background: #f9f6f1; cursor: pointer; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--green); }
.check-row span { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.45; }
.check-row small { margin-top: 2px; color: var(--muted); }
.check-row.consent { padding: 0; border: 0; background: none; color: var(--muted); font-size: .68rem; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.field-error { min-height: 0; margin: 8px 0 0; color: #a33227; font-size: .72rem; font-weight: 700; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -9999px; }

.pac-container { z-index: 10000; margin-top: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 14px 35px rgba(61,43,31,.16); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pac-item { padding: 10px 13px; border-top: 1px solid #eee7de; color: var(--muted); font-size: .78rem; line-height: 1.45; cursor: pointer; }
.pac-item:first-child { border-top: 0; }
.pac-item:hover, .pac-item-selected { background: #f6f2eb; }
.pac-item-query { color: var(--brown); font-size: .82rem; font-weight: 750; }
.pac-matched { color: var(--green); }
.pac-icon, .pac-item .pac-icon-marker { display: none; }

.button-row { margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.primary-button { min-height: 56px; flex: 1; border: 0; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 12px 25px rgba(45,80,22,.22); font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(45,80,22,.28); }
.primary-button:disabled { opacity: .62; cursor: wait; transform: none; }
.primary-button span { margin-left: 8px; }
.back-button, .text-button { min-height: 52px; border: 0; padding: 0 13px; color: var(--muted); background: transparent; font-weight: 750; cursor: pointer; }
.back-button:hover, .text-button:hover { color: var(--brown); }
.privacy-note { margin: 15px 0 0; text-align: center; color: var(--muted); font-size: .7rem; }
.privacy-note a { color: inherit; }

.result-step { text-align: center; }
.result-badge { width: max-content; margin: 0 auto 18px; padding: 7px 11px; border-radius: 999px; color: var(--green); background: #edf5e8; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.quote-total { margin: 5px 0 7px; color: var(--brown); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 8vw, 5.8rem); line-height: 1; letter-spacing: -.055em; }
.result-subtitle { max-width: 430px; margin: 0 auto; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.quote-meta { margin: 20px 0 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .7rem; }
.quote-meta strong { color: var(--brown); }
.breakdown { padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.breakdown-row { display: flex; justify-content: space-between; gap: 20px; padding: 7px 3px; color: var(--muted); font-size: .76rem; text-align: left; }
.breakdown-row strong { color: var(--brown); white-space: nowrap; }
.breakdown-row.total { margin-top: 3px; border-top: 1px dashed var(--line); color: var(--brown); font-weight: 800; }
.result-next { margin-top: 17px; padding: 14px; border-radius: 10px; color: var(--brown); background: #f4f8f1; font-size: .79rem; }
.result-next p { margin: 4px 0 0; color: var(--muted); line-height: 1.45; }
.result-actions { margin-top: 15px; }
.link-button { min-height: 53px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.text-button { margin-top: 4px; font-size: .74rem; }
.terms { margin-top: 8px; color: var(--muted); font-size: .68rem; text-align: left; }
.terms summary { width: max-content; margin: 0 auto; cursor: pointer; text-decoration: underline; }
.terms p { margin: 8px 0 0; line-height: 1.5; }
footer { position: relative; z-index: 1; border-top: 1px solid rgba(61,43,31,.1); padding: 22px; text-align: center; color: var(--muted); font-size: .72rem; }

@media (max-width: 950px) {
  main { grid-template-columns: 1fr; gap: 36px; max-width: 720px; padding-top: 46px; }
  .intro { padding: 0; text-align: center; }
  .intro > p, .included-card { margin-inline: auto; }
  .trust-row { justify-content: center; }
  .included-card { display: none; }
  h1 { font-size: clamp(3.4rem, 12vw, 5.5rem); }
}

@media (max-width: 560px) {
  .site-header { min-height: 72px; padding: 15px 18px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: .52rem; }
  .phone-link { font-size: .86rem; }
  .phone-link span { display: none; }
  main { padding: 34px 14px 50px; gap: 28px; }
  h1 { margin-top: 12px; font-size: clamp(3rem, 15vw, 4.3rem); }
  .intro > p { font-size: .95rem; }
  .trust-row { gap: 7px 13px; font-size: .72rem; }
  .step-card { min-height: 500px; padding: 29px 20px; border-radius: 16px; }
  .step-copy h2 { font-size: 1.9rem; }
  .step-copy p { font-size: .84rem; }
  .option-grid.two-col { grid-template-columns: 1fr; gap: 7px; }
  .option-grid .option-card { min-height: 70px; padding-left: 52px; }
  .option-grid .option-icon { position: absolute; left: 17px; margin: 0; }
  .option-stack { gap: 7px; }
  .option-card.horizontal { min-height: 70px; }
  .package-card { min-height: 160px; padding: 15px; }
  .package-name { font-size: .95rem; }
  .package-price { font-size: 1.3rem; }
  .package-includes { grid-template-columns: 1fr; gap: 4px; }
  .popular-tag { font-size: .45rem; }
  .form-grid, .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .text-field.full { grid-column: auto; }
  .inline-field { align-items: flex-start; }
  .mini-number { min-width: 120px; }
  .button-row { margin-top: 22px; }
  .back-button { padding-left: 0; }
  .quote-total { font-size: 4.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
