:root {
  --navy: #16213a;
  --navy-2: #1f2d4d;
  --ink: #1d2433;
  --muted: #5d6676;
  --cream: #f6f2ec;
  --paper: #fffdf9;
  --line: #e7e1d8;
  --accent: #e8a33d;
  --accent-2: #d48a1f;
  --sage: #9db4a0;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 33, 58, .06), 0 12px 32px -12px rgba(22, 33, 58, .18);
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 6px 18px -6px rgba(232, 163, 61, .7); }
.btn-accent:hover { background: #f0b14f; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-dark:hover { background: var(--cream); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(22, 33, 58, .92); backdrop-filter: saturate(1.4) blur(10px); color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem var(--display); text-decoration: none; color: #fff; }
.logo em { font-style: normal; color: var(--accent); }
.logo-mark { width: 26px; height: 26px; border-radius: 7px 7px 7px 2px; background: conic-gradient(from 200deg, var(--accent), #f5c56f, var(--sage), var(--accent)); box-shadow: inset 0 0 0 3px rgba(255,255,255,.15); }
.nav-links { display: flex; gap: 28px; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .8; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 80% 0%, #2a3c64 0%, transparent 60%), var(--navy); color: #fff; padding: 72px 0 140px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; letter-spacing: .02em; color: #cbd3e3; background: rgba(255,255,255,.06); padding: 6px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,163,61,.25); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 22px 0 20px; font-weight: 600; }
.underline { position: relative; white-space: nowrap; color: var(--accent); }
.underline::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .18em; background: var(--accent); opacity: .3; border-radius: 40% 60% 50% 50%; transform: rotate(-1deg); }
.lede { font-size: 1.15rem; color: #cbd3e3; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: #cbd3e3; }
.hero-points li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }

.hero-art { position: relative; height: 440px; }
.swatch { position: absolute; width: 220px; height: 290px; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-weight: 600; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.swatch span { font-family: var(--display); font-size: 1.2rem; }
.swatch small { font-weight: 500; opacity: .75; font-size: .8rem; }
.swatch::before { content: ''; position: absolute; inset: auto 0 0 0; height: 78px; background: rgba(255,255,255,.92); border-radius: 0 0 14px 14px; }
.swatch span, .swatch small { position: relative; color: var(--ink); }
.s1 { background: #2e4a7d; left: 4%; top: 60px; transform: rotate(-12deg); }
.s2 { background: var(--accent); left: 22%; top: 30px; transform: rotate(-4deg); }
.s3 { background: #ece6db; left: 40%; top: 40px; transform: rotate(5deg); }
.s4 { background: var(--sage); left: 56%; top: 80px; transform: rotate(13deg); }
.hero-art:hover .s1 { transform: rotate(-16deg) translateX(-14px); }
.hero-art:hover .s4 { transform: rotate(17deg) translateX(14px); }
.hero-badge { position: absolute; left: 10%; bottom: 0; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .85rem; }
.hero-badge strong { font: 700 1.4rem var(--display); color: var(--navy); }
.stroke { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; fill: var(--cream); }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head.light p:last-child { color: #cbd3e3; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent-2); margin-bottom: 12px; }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(22,33,58,.06), 0 22px 40px -16px rgba(22,33,58,.28); }
.service p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #fbefd9; display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Estimator */
.estimate-section { background: var(--navy); color: #fff; }
.estimate-section h2 { color: #fff; }
.estimator { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.est-form { color: var(--ink); padding: 32px; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--line); transition: color .2s, border-color .2s; }
.steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-size: .8rem; transition: background-color .2s, color .2s; }
.steps li.active, .steps li.done { color: var(--ink); border-color: var(--accent); }
.steps li.active span, .steps li.done span { background: var(--accent); color: var(--navy); }

.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
legend { font: 600 1.5rem var(--display); margin-bottom: 6px; padding: 0; }
.hint { color: var(--muted); margin-bottom: 20px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice input, .pill input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; cursor: pointer; transition: box-shadow .15s, background-color .15s; }
.choice span:hover { background: var(--cream); }
.choice input:checked + span { background: #fdf3e2; box-shadow: inset 0 0 0 2px var(--accent); }
.choice input:focus-visible + span, .pill input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.svc-block { display: none; padding: 20px; border-radius: 14px; background: var(--cream); margin-bottom: 16px; }
.svc-block.show { display: block; }
.svc-block h4 { margin: 0 0 14px; font-size: 1rem; }
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.counter { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 10px; padding: 10px 12px; }
.counter > span { font-weight: 600; font-size: .93rem; display: flex; flex-direction: column; }
.counter small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.counter div { display: flex; align-items: center; gap: 8px; }
.counter button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.1rem; cursor: pointer; color: var(--ink); transition: background-color .15s, transform .1s; }
.counter button:hover { background: #fbefd9; }
.counter button:active { transform: scale(.92); }
.counter output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: .9rem; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .15s, box-shadow .15s; }
.pill input:checked + span { background: #fdf3e2; box-shadow: inset 0 0 0 2px var(--accent); font-weight: 600; }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.seg span { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .9rem; cursor: pointer; transition: background-color .15s; }
.seg input:checked + span { background: var(--navy); color: #fff; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--ink); padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,163,61,.18); }
.field input[type=file] { padding: 8px; font-size: .88rem; }
.field.invalid input, .field.invalid textarea { border-color: #c2410c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.hp { position: absolute; left: -9999px; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.form-error { color: #b42318; background: #fef3f2; padding: 10px 14px; border-radius: 10px; font-size: .92rem; }

.success { text-align: center; padding: 36px 10px; animation: fadeIn .3s ease; }
.success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 18px; font-weight: 700; }
.success p { color: var(--muted); max-width: 30em; margin: 0 auto 22px; }

.est-panel { position: sticky; top: 92px; background: linear-gradient(160deg, #23365e, #1a2747); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.est-panel .kicker { color: var(--accent); }
.est-range { display: flex; align-items: baseline; gap: 8px; font: 700 2.2rem var(--display); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.est-range i { font-style: normal; opacity: .5; font-size: 1.6rem; }
.est-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 16px 0 20px; overflow: hidden; }
.est-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f5c56f); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.est-lines { list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.est-lines li b { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.est-lines .muted { color: #9aa6bd; }
.est-note { font-size: .8rem; color: #9aa6bd; margin: 0; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process li { padding: 28px 24px; border-top: 3px solid var(--accent); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.process b { font: 700 .85rem var(--sans); color: var(--accent-2); letter-spacing: .1em; }
.process h3 { margin: 10px 0 8px; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Area */
.area { background: var(--paper); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-grid p { color: var(--muted); font-size: 1.05rem; }
.towns { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.towns li { padding: 14px 16px; border-radius: 12px; background: var(--cream); font-weight: 600; font-size: .95rem; }
.towns li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }

/* FAQ */
details { background: var(--paper); border-radius: 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent-2); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* CTA + footer */
.cta-band { background: var(--accent); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; color: var(--navy); }
.cta-band .btn-accent { background: var(--navy); color: #fff; box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--navy-2); }
.footer { background: var(--navy); color: #cbd3e3; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.footer p { margin: 0 0 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 12px; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #8a96ad; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .estimator, .area-grid { grid-template-columns: 1fr; }
  .hero-art { height: 360px; max-width: 520px; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .est-panel { position: static; order: -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 110px; }
  .hero-art { height: 300px; }
  .swatch { width: 150px; height: 210px; }
  .swatch::before { height: 64px; }
  .swatch span { font-size: 1rem; }
  .services, .process, .row2, .row3, .counter-grid, .footer-grid { grid-template-columns: 1fr; }
  .towns { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .est-form { padding: 22px 18px; }
  .steps li { font-size: 0; gap: 0; justify-content: center; }
  .steps li span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Form consent + estimate note links */
.consent { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.consent a, .est-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.est-note a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: .2em; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 2em; }
.legal p, .legal li { color: #3a4253; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--accent-2); }
.footer .copyright a { color: inherit; }

/* Bigger tap targets on touch screens */
@media (pointer: coarse) {
  .counter button { width: 40px; height: 40px; }
}

/* Keyboard focus + skip link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
