/* Zavala's Construction & Homes — site stylesheet
   Traditional static HTML/CSS/JS build. */

:root {
  --ink: #101727;
  --navy: #07153e;
  --blue: #1428d4;
  --blue-deep: #0a1d9b;
  --paper: #f4f1ea;
  --cream: #fbfaf7;
  --line: #d8d7d2;
  --muted: #666b76;
  --white: #ffffff;
  --error: #b3261e;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); }
body, button, input, select, textarea { font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.04em; }

/* ===== Header / Nav ===== */
.site-header { position: sticky; top: 0; z-index: 50; height: 84px; background: rgba(251,250,247,.96); border-bottom: 1px solid rgba(16,23,39,.1); backdrop-filter: blur(16px); }
.header-inner { max-width: 1460px; height: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 43px; max-width: none; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { font-size: 20px; letter-spacing: .08em; }
.brand-type small { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: .22em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.button) { position: relative; font-size: 13px; font-weight: 650; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .25s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 55px; padding: 0 25px; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: 0; font-size: 13px; font-weight: 750; letter-spacing: .02em; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.button:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-white { background: white; border-color: white; color: var(--navy); }
.button-white:hover { background: transparent; color: white; border-color: white; }
.button-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 28px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 750; background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; }
.text-link span, .button span { font-size: 16px; transition: transform .2s; }
.text-link:hover span, .button:hover span { transform: translate(2px,-2px); }
.light-link { color: white; }
.eyebrow { margin-bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.78); }

/* ===== Home hero ===== */
.home-hero { position: relative; min-height: calc(100vh - 84px); display: flex; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.hero-media, .image-hero { background-image: url('../images/zavala-hero.webp'), linear-gradient(120deg,#1b2641,#87909f); background-size: cover; background-position: center; }
.hero-media { position: absolute; inset: 0; animation: heroReveal 1.1s ease both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,12,37,.92) 0%, rgba(4,12,37,.72) 41%, rgba(4,12,37,.18) 76%, rgba(4,12,37,.08) 100%), linear-gradient(0deg, rgba(4,12,37,.4), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(1380px, calc(100% - 80px)); margin: 0 auto; padding: 92px 0 120px; }
.hero-content h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(58px, 7.8vw, 116px); line-height: .88; font-weight: 650; letter-spacing: -.065em; }
.hero-content h1 em, .intro-main h2 em { color: #aebaff; font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.hero-copy { max-width: 620px; margin-bottom: 36px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
.hero-location { position: absolute; z-index: 2; right: 4vw; bottom: 42px; display: flex; flex-direction: column; align-items: flex-end; }
.hero-location span { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-location strong { margin-top: 7px; font-size: 13px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; transform: translateX(-50%); color: white; }
@keyframes heroReveal { from { opacity: .35; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

/* ===== Intro ===== */
.intro-section { max-width: 1380px; margin: 0 auto; padding: 140px 40px; display: grid; grid-template-columns: 1fr 3fr; gap: 7vw; }
.intro-aside { display: flex; flex-direction: column; align-items: flex-start; }
.section-number { margin-bottom: 64px; color: #9b9da4; font-size: 12px; }
.intro-main h2 { max-width: 980px; margin: 0 0 60px; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; font-weight: 590; }
.intro-copy-grid { max-width: 850px; margin-bottom: 42px; display: grid; grid-template-columns: repeat(2,1fr); gap: 56px; }
.intro-copy-grid p, .section-lede { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ===== Services / process ===== */
.services-section, .process-section, .values-section { padding: 120px max(40px, calc((100vw - 1380px)/2 + 40px)); }
.services-section { background: var(--paper); }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.section-heading-row h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; font-weight: 590; }
.section-heading-row .eyebrow { margin-bottom: 18px; }
.section-lede { max-width: 410px; margin-bottom: 0; }
.service-list { border-top: 1px solid #c7c7c3; }
.service-row { min-height: 160px; display: grid; grid-template-columns: 80px 1.4fr 1fr 40px; align-items: center; gap: 28px; border-bottom: 1px solid #c7c7c3; transition: padding .25s, color .25s; }
.service-row > span { color: #8e9096; font-size: 11px; }
.service-row h3 { margin: 0; font-size: clamp(28px,3.2vw,48px); font-weight: 540; }
.service-row p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-row b { font-size: 22px; font-weight: 400; }
.service-row:hover { padding-left: 18px; color: var(--blue); }

.feature-project { min-height: 770px; display: grid; grid-template-columns: 1.55fr 1fr; background: var(--navy); color: white; }
.feature-image, .split-image, .about-image, .project-photo { min-height: 520px; background-size: cover; background-position: center; }
.image-build { background-image: url('../images/zavala-build-process.webp'), linear-gradient(135deg,#6f7780,#303947); background-size: cover; background-position: center; }
.image-interior { background-image: url('../images/zavala-interior.webp'), linear-gradient(135deg,#b7a38d,#f0ece5); background-size: cover; background-position: center; }
.feature-copy { padding: 100px 7vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-copy h2 { max-width: 600px; font-size: clamp(42px,4.7vw,68px); line-height: 1.02; font-weight: 570; }
.feature-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 38px; color: rgba(255,255,255,.7); line-height: 1.75; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.process-card { min-height: 290px; padding: 28px 30px 30px 0; border-right: 1px solid var(--line); }
.process-card + .process-card { padding-left: 30px; }
.process-card:last-child { border-right: 0; }
.process-card span, .values-grid span { color: #94979f; font-size: 11px; }
.process-card h3, .values-grid h3 { margin: 72px 0 16px; font-size: 24px; font-weight: 600; }
.process-card p, .values-grid p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta-band { min-height: 500px; padding: 110px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: var(--blue); }
.cta-band h2 { margin-bottom: 38px; font-size: clamp(52px,7vw,92px); line-height: .95; font-weight: 590; }

/* ===== Page hero (interior pages) ===== */
.page-hero { padding: 110px max(40px, calc((100vw - 1380px)/2 + 40px)) 100px; color: white; background: var(--navy); }
.page-hero-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 9vw; align-items: end; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(56px,7vw,100px); line-height: .95; font-weight: 580; }
.page-hero-grid > p { max-width: 500px; margin: 0 0 8px; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.75; }

/* ===== Services detail ===== */
.services-detail-section { padding: 60px max(40px, calc((100vw - 1380px)/2 + 40px)) 120px; background: var(--cream); }
.service-detail { padding: 80px 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 7vw; border-bottom: 1px solid var(--line); }
.service-detail-title { display: grid; grid-template-columns: 60px 1fr; align-items: start; }
.service-detail-title span { padding-top: 12px; color: #94979f; font-size: 11px; }
.service-detail-title h2 { margin: 0; font-size: clamp(42px,5vw,70px); line-height: 1; font-weight: 570; }
.service-detail-body h3 { max-width: 580px; margin-bottom: 25px; font-size: 26px; line-height: 1.25; font-weight: 560; }
.service-detail-body > p { max-width: 660px; color: var(--muted); line-height: 1.75; }
.service-detail-body ul { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-detail-body li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.service-detail-body li::before { content: "→"; margin-right: 14px; color: var(--blue); }
.split-callout { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 680px; background: var(--navy); color: white; }
.split-content { padding: 90px 7vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split-content h2 { font-size: clamp(40px,4.2vw,64px); line-height: 1.03; font-weight: 570; }
.split-content > p:not(.eyebrow) { margin-bottom: 36px; color: rgba(255,255,255,.68); line-height: 1.75; }

/* ===== Projects / editorial ===== */
.project-editorial { max-width: 1380px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px 40px; }
.project-panel-large { grid-column: 1 / -1; }
.project-panel-large .project-photo { min-height: 700px; }
.project-panel .project-photo { margin-bottom: 30px; }
.project-panel h2 { max-width: 720px; font-size: clamp(32px,4vw,58px); line-height: 1.04; font-weight: 570; }
.project-note { max-width: 1000px; margin: 0 auto; padding: 80px 40px 150px; text-align: center; }
.big-quote { display: block; height: 60px; color: var(--blue); font-family: Georgia, serif; font-size: 100px; line-height: 1; }
.project-note h2 { font-size: clamp(36px,4.5vw,62px); line-height: 1.08; font-weight: 520; }
.project-note p { max-width: 740px; margin: 35px auto 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ===== About ===== */
.about-story { max-width: 1380px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 8vw; align-items: center; }
.about-image { min-height: 720px; }
.about-copy h2 { font-size: clamp(42px,4.7vw,68px); line-height: 1.03; font-weight: 570; }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.about-copy .text-link { margin-top: 20px; }
.values-section { background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.values-grid article { min-height: 260px; padding: 35px 8vw 35px 0; border-top: 1px solid #c8c7c2; }
.values-grid article:nth-child(even) { padding-left: 5vw; border-left: 1px solid #c8c7c2; }
.values-grid h3 { margin-top: 54px; }
.service-area { padding: 110px max(40px, calc((100vw - 1380px)/2 + 40px)); display: grid; grid-template-columns: 1.5fr 1fr; gap: 8vw; color: white; background: var(--blue); }
.service-area h2 { margin: 0; font-size: clamp(44px,5.5vw,74px); line-height: 1; font-weight: 570; }
.service-area > div:last-child { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.service-area > div:last-child p { margin-bottom: 30px; color: rgba(255,255,255,.74); line-height: 1.7; }

/* ===== Contact ===== */
.contact-section { max-width: 1380px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: .75fr 1.5fr; gap: 8vw; }
.contact-sidebar { padding-right: 5vw; border-right: 1px solid var(--line); }
.contact-sidebar > p:not(.eyebrow,.contact-label) { color: var(--muted); line-height: 1.7; }
.contact-phone { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: clamp(30px,3vw,42px); font-weight: 560; letter-spacing: -.04em; }
.contact-rule { height: 1px; margin: 45px 0; background: var(--line); }
.contact-label { margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-sidebar .text-link { margin-top: 24px; }
.contact-section > div:last-child > h2 { margin-bottom: 42px; font-size: clamp(42px,5vw,68px); font-weight: 570; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: none; background: white; color: var(--ink); padding: 16px; font-size: 16px; font-weight: 450; letter-spacing: 0; text-transform: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.contact-form textarea { resize: vertical; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 11px; }
.form-status { margin-top: 24px; padding: 22px 24px; border: 1px solid var(--line); font-size: 14px; line-height: 1.65; }
.form-status[hidden] { display: none; }
.form-status h3 { font-size: 18px; font-weight: 620; margin-bottom: 8px; }
.form-status p { margin: 0; color: var(--muted); }
.form-status a { color: inherit; font-weight: 700; border-bottom: 1px solid currentColor; }
.form-status.is-success { border-color: var(--blue); background: rgba(20,40,212,.05); }
.form-status.is-success h3 { color: var(--blue); }
.form-status.is-error { border-color: var(--error); background: rgba(179,38,30,.05); }
.form-status.is-error h3 { color: var(--error); }
.form-status.is-error a { color: var(--blue); }
.contact-bottom { padding: 100px 40px; text-align: center; background: var(--paper); }
.contact-bottom p { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-bottom h2 { margin-bottom: 20px; font-size: clamp(40px,5vw,68px); font-weight: 570; }
.contact-bottom a { color: var(--blue); font-size: 20px; font-weight: 700; }

/* ===== Footer ===== */
.site-footer { padding: 80px max(40px, calc((100vw - 1380px)/2 + 40px)) 24px; color: white; background: #050d27; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; padding-bottom: 70px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid p, .footer-grid a { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.footer-grid a:hover { color: white; }
.footer-brand > p { max-width: 360px; margin-top: 24px; }
.footer-logo .brand-type small { color: rgba(255,255,255,.5); }
.footer-label { margin-bottom: 8px !important; color: white !important; font-size: 10px !important; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-phone { color: white !important; font-size: 17px !important; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); font-size: 10px; }

.powered-by { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 24px; background: #050d27; border-top: 1px solid rgba(255,255,255,.14); }
.powered-by-label { color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.powered-by a { display: inline-flex; align-items: center; opacity: .8; transition: opacity .25s ease; }
.powered-by a:hover, .powered-by a:focus-visible { opacity: 1; }
.powered-by-logo { height: 20px; width: auto; display: block; }

/* ===================================================================
   Project Cost Estimator
   =================================================================== */
.estimator-main { background: var(--cream); }
.estimator-shell { max-width: 1380px; margin: 0 auto; padding: 90px 40px 150px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }

.type-select { grid-column: 1 / -1; margin-bottom: 10px; }
.type-select-label { display: block; margin-bottom: 20px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px; background: white; border: 1px solid var(--line); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.type-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.type-card.active { border-color: var(--blue); background: linear-gradient(180deg, rgba(20,40,212,.06), rgba(20,40,212,.02)); box-shadow: inset 0 0 0 1px var(--blue); }
.type-card .type-number { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.type-card .type-title { font-size: 19px; font-weight: 620; letter-spacing: -0.02em; }
.type-card .type-copy { color: var(--muted); font-size: 13px; line-height: 1.5; }

.calc-form { display: flex; flex-direction: column; gap: 24px; }
.calc-step { position: relative; padding: 40px 34px 34px; background: white; border: 1px solid var(--line); }
.step-badge { position: absolute; top: 0; left: 0; padding: 7px 14px; background: var(--blue); color: white; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.calc-step h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 24px; }
.calc-step-hint { margin-top: 14px; color: var(--muted); font-size: 12px; font-style: italic; }

.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option-card { display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-card-face { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 12px; border: 1px solid var(--line); text-align: center; transition: border-color .2s, background .2s; }
.option-card input:checked + .option-card-face { border-color: var(--blue); background: rgba(20,40,212,.05); box-shadow: inset 0 0 0 1px var(--blue); }
.option-card-face .opt-title { font-size: 13px; font-weight: 650; }
.option-card-face .opt-sub { color: var(--muted); font-size: 11px; line-height: 1.4; }
.option-card-face .opt-price { color: var(--blue); font-size: 11px; font-weight: 700; }

.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-row { display: block; cursor: pointer; }
.option-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-row-face { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.option-row input:checked + .option-row-face { border-color: var(--blue); background: rgba(20,40,212,.05); box-shadow: inset 0 0 0 1px var(--blue); }
.option-row-face .opt-title { font-size: 14px; font-weight: 650; display: block; margin-bottom: 3px; }
.option-row-face .opt-sub { color: var(--muted); font-size: 12px; }
.option-row-face .opt-price { color: var(--muted); font-size: 12px; white-space: nowrap; }

.field-inline { max-width: 260px; }
.field-inline label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field-inline input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; font-size: 20px; font-weight: 600; outline: none; transition: border-color .2s; }
.field-inline input:focus { border-color: var(--blue); }

.addon-list { display: flex; flex-direction: column; gap: 12px; }
.addon-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.addon-row:hover { border-color: #b9bdc6; }
.addon-row.checked { border-color: var(--blue); background: rgba(20,40,212,.05); }
.addon-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.addon-row .addon-title { font-size: 14px; font-weight: 650; display: block; }
.addon-row .addon-sub { color: var(--muted); font-size: 12px; margin-top: 2px; display: block; }
.addon-row .addon-price { color: var(--blue); font-size: 12px; font-weight: 700; margin-top: 4px; display: block; }

.estimate-panel { position: sticky; top: 104px; background: var(--navy); color: white; padding: 40px; border: 1px solid var(--navy); }
.estimate-panel h3 { font-size: 20px; font-weight: 620; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.estimate-block { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.estimate-block:last-of-type { border-bottom: 0; }
.estimate-block-label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 12.5px; }
.detail-row span:first-child { color: rgba(255,255,255,.6); }
.detail-row span:last-child { color: white; text-align: right; font-weight: 600; }
.line-items { display: flex; flex-direction: column; gap: 10px; }
.line-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.line-item span:first-child { color: rgba(255,255,255,.72); }
.line-item span:last-child { color: white; font-weight: 650; white-space: nowrap; }
.line-item.line-item-addons span:first-child, .line-item.line-item-addons span:last-child { color: #aebaff; }

.estimate-total-label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.estimate-total { font-size: clamp(32px, 3.6vw, 42px); font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.estimate-total .to { font-size: 20px; font-weight: 400; color: rgba(255,255,255,.55); margin: 0 4px; }
.estimate-timeline { margin-top: 10px; color: #7fe3b0; font-size: 12.5px; font-weight: 650; }
.estimate-disclaimer { margin-top: 14px; color: rgba(255,255,255,.58); font-size: 11px; font-style: italic; line-height: 1.6; }
.estimate-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.estimate-actions .button { width: 100%; background: white; border-color: white; color: var(--navy); }
.estimate-actions .button:hover { background: transparent; color: white; border-color: white; }
.estimate-actions .button-ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); color: white; }
.estimate-actions .button-ghost:hover { background: rgba(255,255,255,.08); border-color: white; transform: none; }

.estimator-print-header { display: none; }
.hidden { display: none !important; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  .estimator-shell { display: block; padding: 0; max-width: 100%; }
  .estimate-panel { position: static; background: white; color: var(--ink); border: 1px solid var(--line); }
  .estimate-panel h3, .estimate-block-label, .detail-row span, .line-item span, .estimate-total, .estimate-timeline, .estimate-disclaimer { color: var(--ink) !important; }
  .estimate-total .to { color: var(--muted) !important; }
  .estimator-print-header { display: block; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .estimator-print-header img { height: 40px; margin-bottom: 10px; }
  .estimator-print-header p { color: var(--muted); font-size: 12px; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .header-inner { padding: 0 22px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 72px; padding: 32px 22px 40px; background: var(--cream); border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; gap: 26px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { font-size: 18px; }
  .main-nav > .button { align-self: flex-start; }
  .home-hero { min-height: calc(100vh - 72px); }
  .hero-content { width: calc(100% - 44px); }
  .hero-location, .scroll-cue { display: none; }
  .intro-section { padding: 90px 24px; grid-template-columns: 1fr; gap: 30px; }
  .section-number { margin-bottom: 14px; }
  .intro-main h2 { margin-bottom: 40px; }
  .services-section, .process-section, .values-section { padding: 85px 24px; }
  .service-row { grid-template-columns: 45px 1fr 35px; padding: 28px 0; }
  .service-row p { grid-column: 2/3; }
  .service-row b { grid-column: 3; grid-row: 1/3; }
  .feature-project, .split-callout { grid-template-columns: 1fr; }
  .feature-image, .split-image { min-height: 480px; }
  .feature-copy, .split-content { padding: 80px 24px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-card:nth-child(2) { border-right: 0; }
  .page-hero { padding: 90px 24px 80px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .services-detail-section { padding: 35px 24px 85px; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .project-editorial { padding: 85px 24px; grid-template-columns: 1fr; }
  .project-panel-large { grid-column: auto; }
  .project-panel-large .project-photo { min-height: 520px; }
  .about-story { padding: 85px 24px; grid-template-columns: 1fr; }
  .about-image { min-height: 580px; }
  .service-area { padding: 85px 24px; grid-template-columns: 1fr; }
  .contact-section { padding: 85px 24px; grid-template-columns: 1fr; }
  .contact-sidebar { padding-right: 0; padding-bottom: 50px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1/-1; }

  .estimator-shell { padding: 70px 24px 100px; grid-template-columns: 1fr; gap: 40px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .type-card { padding: 18px 12px; }
  .estimate-panel { position: static; top: auto; }
}

@media (max-width: 620px) {
  .brand-type strong { font-size: 16px; }
  .brand-type small { font-size: 6px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-content { padding: 74px 0 90px; }
  .hero-content h1 { font-size: clamp(51px,16vw,76px); }
  .hero-overlay { background: linear-gradient(90deg,rgba(4,12,37,.93),rgba(4,12,37,.56)), linear-gradient(0deg,rgba(4,12,37,.5),transparent); }
  .button-row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .intro-copy-grid, .field-row { grid-template-columns: 1fr; gap: 0; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: 38px 1fr 24px; gap: 12px; }
  .service-row p { display: none; }
  .feature-image, .split-image { min-height: 340px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card + .process-card { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card h3 { margin-top: 34px; }
  .cta-band { min-height: 430px; padding: 80px 24px; }
  .page-hero h1 { font-size: 50px; }
  .service-detail-title { grid-template-columns: 42px 1fr; }
  .project-panel-large .project-photo, .project-panel .project-photo { min-height: 380px; }
  .project-note { padding: 40px 24px 100px; }
  .about-image { min-height: 440px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { gap: 20px; flex-direction: column; }

  .type-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .type-card .type-title { font-size: 15px; }
  .type-card .type-copy { display: none; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .calc-step { padding: 34px 18px 24px; }
  .addon-row { padding: 14px; }
  .estimate-panel { padding: 28px 22px; }
  .estimate-total { font-size: 34px; }
}

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