:root {
    --ink: #15211d;
    --muted: #5d6c65;
    --forest: #173f35;
    --forest-2: #245f4e;
    --fern: #3f8068;
    --sand: #eee7d7;
    --gold: #d8a63c;
    --sky: #e8f2ee;
    --paper: #fff;
    --line: #d9e2de;
    --danger: #a63632;
    --warning: #9b6717;
    --success: #246c4b;
    --shadow: 0 16px 40px rgba(20, 48, 39, .1);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #f6f8f7; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .7em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 1000; padding: .7rem 1rem; color: #fff; background: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { background: var(--paper); position: relative; z-index: 20; }
.topbar { max-width: 1280px; margin: auto; min-height: 78px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 250px; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sand); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.08rem; }
.brand small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; padding: .64rem .78rem; border-radius: 9px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest-2); background: var(--sky); }
.site-nav .nav-cta { color: #fff; background: var(--forest); }
.site-nav .nav-cta:hover { color: #fff; background: var(--forest-2); }
.site-nav .nav-360 { color: #1e2b27; background: var(--gold); }
.site-nav .nav-360:hover, .site-nav .nav-360[aria-current="page"] { color: #fff; background: var(--forest-2); }
.site-nav .nav-quote { color: #fff; background: var(--forest); }
.site-nav .nav-quote:hover, .site-nav .nav-quote[aria-current="page"] { color: #fff; background: var(--fern); }
.nav-toggle { display: none; width: 46px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 9px; padding: 9px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--forest); }

.hero-banner { min-height: 610px; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--forest) url('/images/banner.webp') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,35,29,.92) 0%, rgba(12,35,29,.72) 48%, rgba(12,35,29,.25) 100%); }
.hero-content { position: relative; width: min(1180px, calc(100% - 40px)); padding: 90px 0; }
.hero-content h1 { max-width: 820px; text-wrap: balance; }
.hero-content > p:not(.eyebrow) { max-width: 650px; font-size: 1.18rem; color: rgba(255,255,255,.88); }
.eyebrow { margin-bottom: .8rem; color: var(--gold); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .72rem 1.15rem; border: 1px solid var(--forest); border-radius: 10px; background: var(--forest); color: #fff; text-decoration: none; font-weight: 800; box-shadow: none; }
.button:hover { background: var(--forest-2); border-color: var(--forest-2); }
.button-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.button-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.button-secondary { color: var(--forest); background: var(--sky); border-color: var(--sky); }
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-small { min-height: 36px; padding: .45rem .7rem; font-size: .82rem; border-radius: 8px; }
.button-360 { color: #17241f; background: var(--gold); border-color: var(--gold); white-space: nowrap; }
.button-360:hover { color: #fff; background: var(--forest-2); border-color: var(--forest-2); }

.feature-360 { padding: 28px 0; color: #fff; background: linear-gradient(115deg, #102f27, #245f4e); border-bottom: 5px solid var(--gold); }
.feature-360-inner, .featured-service-360 { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.feature-360 h2, .featured-service-360 h2 { margin-bottom: .35rem; }
.feature-360 p:not(.eyebrow), .featured-service-360 p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.82); }
.feature-360-mark { width: 110px; height: 110px; display: grid; place-content: center; text-align: center; border: 2px solid var(--gold); border-radius: 50%; color: #fff; background: rgba(255,255,255,.07); box-shadow: 0 0 0 8px rgba(216,166,60,.12); }
.feature-360-mark span { display: block; font-size: 2rem; line-height: 1; font-weight: 950; }
.feature-360-mark small { margin-top: 7px; color: var(--gold); font-size: .55rem; font-weight: 900; letter-spacing: .15em; }
.feature-360-actions { display: grid; gap: 8px; justify-items: center; }
.light-link { color: #fff; }
.featured-service-360 { margin-bottom: 30px; padding: 30px; color: #fff; border-radius: var(--radius); background: linear-gradient(115deg, #102f27, #2d725e); box-shadow: var(--shadow); }
.service-grid-spaced { margin-top: 20px; }
.card-360 { border: 2px solid var(--gold); background: linear-gradient(145deg, #fff, #fbf6e9); }
.card-360 .card-icon { width: 62px; color: #fff; background: var(--forest); }
.card-360 .eyebrow { margin-bottom: .45rem; }
.stat-360 { border: 2px solid var(--gold); background: #fbf6e9; }

.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.page-shell.narrow { width: min(780px, calc(100% - 40px)); }
.section { padding: 76px 0; }
.section-inner { width: min(1180px, calc(100% - 40px)); margin: auto; }
.section.alt { background: var(--sky); }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.lead { color: var(--muted); font-size: 1.12rem; }
.intro-grid, .split-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 8px 28px rgba(20,48,39,.06); }
.card > :last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: var(--forest); background: var(--sand); font-weight: 900; }
.card-link { display: inline-flex; margin-top: 12px; font-weight: 800; text-decoration: none; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--fern); font-weight: 900; }
.callout { padding: 32px; border-radius: var(--radius); background: var(--forest); color: #fff; }
.callout p { color: rgba(255,255,255,.78); }
.callout .button { background: var(--gold); border-color: var(--gold); color: #1e2b27; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.9rem; color: var(--forest); }
.stat span { color: var(--muted); font-size: .9rem; }

.service-hero { padding: 78px 0; color: #fff; background: var(--forest); }
.service-hero .section-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 50px; align-items: center; }
.service-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; }
.service-hero-360 { background: radial-gradient(circle at 82% 45%, rgba(216,166,60,.24), transparent 28%), linear-gradient(115deg, #102f27, #245f4e); }
.service-hero-360 .section-inner { grid-template-columns: 1fr auto; }
.feature-360-mark-large { width: 250px; height: 250px; }
.feature-360-mark-large span { font-size: 4.4rem; }
.feature-360-mark-large small { font-size: .75rem; }
.service-photo { min-height: 310px; border-radius: var(--radius); background: url('/uploads/gallery/thumbs/1769664011_Lin-Avenue-27-01-2026-orthophoto.webp') center/cover; box-shadow: var(--shadow); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: steps; }
.process-card { counter-increment: steps; position: relative; padding: 62px 22px 24px; border-radius: 15px; border: 1px solid var(--line); background: #fff; }
.process-card::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 18px; left: 22px; color: var(--gold); font-weight: 900; font-size: 1.5rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border: 0; padding: 0; background: #ddd; border-radius: 14px; overflow: hidden; cursor: zoom-in; min-height: 240px; }
.gallery-item img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.lightbox { width: min(1100px, calc(100% - 30px)); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #111; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.86); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { padding: 12px 18px; }
.lightbox-close { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; font-size: 1.4rem; }

.stacked-form { display: grid; gap: 24px; }
fieldset { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
legend { padding: 0 .5rem; color: var(--forest); font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full, .full { grid-column: 1 / -1; }
.form-grid > label { min-width: 0; }
.form-grid input, .form-grid select, .form-grid textarea { min-width: 0; max-width: 100%; }
label { display: grid; gap: 6px; color: #34443d; font-size: .9rem; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 46px; padding: .7rem .82rem; border: 1px solid #bccac4; border-radius: 9px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(63,128,104,.18); border-color: var(--fern); }
label small, .help-text { color: var(--muted); font-weight: 500; }
.checkbox-label { align-content: end; }
.checkbox-label span { display: flex; align-items: center; gap: 9px; }
.checkbox-label input { width: auto; min-height: 0; }

.quote-page { background: #f6f8f7; }
.quote-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 40%, rgba(216,166,60,.22), transparent 28%), linear-gradient(118deg, #0d2c24 0%, #18493c 55%, #2f735f 100%); border-bottom: 5px solid var(--gold); }
.quote-hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.quote-hero-inner { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 480px; margin: auto; padding: 74px 0; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: center; gap: 70px; }
.quote-hero-copy h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.7rem); text-wrap: balance; }
.quote-hero-copy > p:not(.eyebrow) { max-width: 730px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.quote-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.quote-trust-row span { padding: 8px 12px; color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .84rem; font-weight: 750; }
.quote-trust-row b { color: var(--gold); margin-right: 4px; }
.quote-hero-orbit { position: relative; width: 280px; height: 280px; display: grid; place-items: center; margin: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.018); }
.quote-orbit-ring { width: 200px; height: 200px; display: grid; place-content: center; text-align: center; border: 3px solid var(--gold); border-radius: 50%; background: rgba(6,31,24,.42); box-shadow: inset 0 0 40px rgba(216,166,60,.12), 0 18px 50px rgba(0,0,0,.22); }
.quote-orbit-ring span { font-size: 4.4rem; line-height: .95; font-weight: 950; letter-spacing: -.07em; }
.quote-orbit-ring small { margin-top: 10px; color: var(--gold); font-weight: 900; letter-spacing: .18em; }
.quote-hero-orbit i { position: absolute; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(216,166,60,.14); }
.orbit-dot-one { left: 12px; top: 72px; }.orbit-dot-two { right: 7px; top: 126px; }.orbit-dot-three { left: 92px; bottom: 1px; }
.quote-workspace { padding-top: 64px; }
.quote-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; margin-bottom: 30px; }
.quote-intro h2 { margin: 0; }
.quote-intro > p { max-width: 520px; margin: 0; color: var(--muted); }
.quote-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 26px; align-items: start; }
.quote-builder { padding: clamp(20px, 3.6vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 22px 55px rgba(20,48,39,.11); }
.quote-builder fieldset { background: #fbfcfb; }
.quote-step { padding: clamp(20px, 3vw, 28px); border-radius: 17px; }
.quote-step legend { padding: 0 9px; font-size: 1.08rem; }
.quote-step legend span { width: 34px; height: 34px; display: inline-grid; place-items: center; margin-right: 7px; color: #fff; border-radius: 50%; background: var(--forest); font-size: .9rem; }
.quote-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.quote-service-card { position: relative; min-height: 180px; display: flex; flex-direction: column; gap: 7px; padding: 18px; overflow: hidden; border: 2px solid var(--line); border-radius: 15px; background: #fff; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.quote-service-card:hover { transform: translateY(-2px); border-color: #9ebcaf; box-shadow: 0 10px 25px rgba(20,48,39,.08); }
.quote-service-card:has(input:checked) { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(63,128,104,.13); }
.quote-service-card-360 { color: #fff; border-color: var(--gold); background: radial-gradient(circle at 100% 0, rgba(216,166,60,.3), transparent 35%), linear-gradient(135deg, #12372e, #276451); }
.quote-service-card-360:hover, .quote-service-card-360:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,166,60,.2), 0 14px 30px rgba(20,48,39,.18); }
.quote-service-card input { position: absolute; opacity: 0; pointer-events: none; }
.service-card-check { position: absolute; right: 13px; bottom: 13px; width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--forest); opacity: 0; transform: scale(.7); transition: .18s ease; }
.quote-service-card-360 .service-card-check { color: #17241f; background: var(--gold); }
.quote-service-card:has(input:checked) .service-card-check { opacity: 1; transform: scale(1); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; min-height: 33px; }
.service-card-top b { color: var(--fern); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.quote-service-card-360 .service-card-top b { color: var(--gold); }
.service-card-top i { width: 32px; height: 32px; display: grid; place-items: center; color: var(--forest); border-radius: 50%; background: var(--sky); font-style: normal; font-size: .75rem; font-weight: 950; }
.quote-service-card-360 .service-card-top i { width: 48px; color: #17241f; background: var(--gold); }
.quote-service-card > strong { font-size: 1.04rem; line-height: 1.25; }
.service-card-price { color: var(--muted); font-size: .83rem; }
.service-card-price b { color: var(--forest); font-size: 1.45rem; }
.quote-service-card-360 .service-card-price, .quote-service-card-360 small { color: rgba(255,255,255,.72); }
.quote-service-card-360 .service-card-price b { color: var(--gold); }
.quote-service-card small { margin-top: auto; padding-right: 28px; color: var(--muted); font-weight: 550; }
.quote-quantity-label { width: min(420px, 100%); margin-top: 18px; }
.quote-quantity-label > span { font-weight: 850; }
.quote-quantity-label input { max-width: 140px; font-size: 1.12rem; font-weight: 850; }
.quote-submit { width: 100%; min-height: 62px; padding-inline: 24px; font-size: 1.08rem; box-shadow: 0 12px 25px rgba(216,166,60,.22); }
.quote-submit b { margin-left: auto; font-size: 1.35rem; }
.quote-privacy-note { margin: -10px 0 0; color: var(--muted); text-align: center; font-size: .8rem; }
.quote-sidebar { position: sticky; top: 20px; padding: 27px; color: #fff; border-radius: 20px; background: linear-gradient(150deg, #12372e, #205847); box-shadow: 0 18px 45px rgba(20,48,39,.18); }
.quote-sidebar h3 { margin-bottom: 14px; font-size: 1.35rem; }
.quote-live-price { min-height: 88px; display: grid; align-content: center; padding: 16px 0 21px; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); }
.quote-live-price strong { display: block; color: var(--gold); font-size: 2.15rem; line-height: 1.05; }
.quote-live-price span { display: block; margin-top: 5px; font-size: .8rem; }
.quote-saving { margin-top: 14px; padding: 10px 12px; color: #183c31; border-radius: 9px; background: var(--gold); font-size: .8rem; font-weight: 900; }
.quote-sidebar ul { list-style: none; margin: 21px 0; padding: 0; display: grid; gap: 15px; }
.quote-sidebar li { display: grid; }
.quote-sidebar li b { font-size: .84rem; }
.quote-sidebar li span { color: rgba(255,255,255,.64); font-size: .78rem; }
.quote-sidebar-callout { padding: 16px; border: 1px solid rgba(216,166,60,.4); border-radius: 12px; background: rgba(216,166,60,.08); }
.quote-sidebar-callout span, .quote-sidebar-callout strong { display: block; }
.quote-sidebar-callout span { margin-bottom: 4px; color: var(--gold); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.quote-sidebar-callout strong { font-size: .82rem; line-height: 1.45; }
#quote-address-picker { margin-bottom: 10px; padding: 5px; border: 1px solid #d4dfda; border-radius: 13px; background: #fff; }
gmp-place-autocomplete { width: 100%; color-scheme: light; }
.selected-address { margin-top: 12px; padding: 12px 14px; border: 1px solid #a9d1bd; border-radius: 9px; color: var(--success); background: #edf8f2; font-weight: 800; }
.quote-result { max-width: 980px; margin: auto; }
.quote-success-banner { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 30px; padding: 26px 30px; color: #fff; border-radius: 20px; background: linear-gradient(120deg, #12372e, #2b6d59); box-shadow: var(--shadow); }
.quote-success-banner h1 { margin-bottom: .2em; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.quote-success-banner p:last-child { margin: 0; color: rgba(255,255,255,.75); }
.quote-success-icon { width: 64px; height: 64px; display: grid; place-items: center; color: #173f35; border-radius: 50%; background: var(--gold); font-size: 1.8rem; font-weight: 950; box-shadow: 0 0 0 9px rgba(216,166,60,.12); }
.quote-result-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; }
.quote-number { display: inline-flex; margin-bottom: 9px; padding: 6px 10px; color: var(--forest); border-radius: 8px; background: var(--sand); font-size: .8rem; font-weight: 900; }
.quote-total { min-width: 240px; padding: 20px; text-align: right; border-radius: 14px; color: #fff; background: var(--forest); }
.quote-total small, .quote-total span { display: block; color: rgba(255,255,255,.75); }
.quote-total strong { display: block; color: var(--gold); font-size: 2.4rem; line-height: 1.1; }
.quote-paper { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quote-customer { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 24px; border-bottom: 2px solid var(--forest); }
.quote-lines { margin: 26px 0; }
.quote-lines > div { display: flex; justify-content: space-between; gap: 25px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.quote-lines .discount-line { color: var(--success); }
.quote-lines .quote-note { color: var(--muted); font-size: .88rem; }
.quote-lines .gst-line { color: var(--muted); font-size: .9rem; }
.quote-lines .grand-total { margin-top: 8px; padding-top: 18px; border-top: 3px solid var(--forest); border-bottom: 0; font-size: 1.3rem; }
.quote-next-step { display: grid; gap: 2px; margin: 24px 0; padding: 16px 18px; color: #173f35; border-left: 5px solid var(--gold); border-radius: 0 10px 10px 0; background: #fbf6e9; }
.quote-next-step span { color: var(--muted); font-size: .9rem; }
.delete-service-form { margin-top: 12px; }
.auth-card, .installer-card { width: min(720px, calc(100% - 30px)); margin: auto; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.auth-shell, .installer-shell { min-height: 82vh; padding: 60px 0; display: grid; place-items: center; }
.installer-page { background: linear-gradient(135deg, #e7f0ec, #f7f3e9); }
.installer-card { width: min(920px, calc(100% - 30px)); }
.notice { padding: 13px 16px; margin: 0 0 18px; border-radius: 10px; border: 1px solid; }
.notice.error { color: #73201c; background: #fff0ef; border-color: #ecc2bf; }
.notice.success { color: #174e35; background: #edf8f2; border-color: #b9ddc9; }
.notice.info { color: #235064; background: #edf7fb; border-color: #bddce8; }
.notice.warning { color: #6e4711; background: #fff8e8; border-color: #eed6a0; }
.notice ul { margin: 0; }
.flash-stack { position: fixed; right: 20px; top: 94px; width: min(390px, calc(100% - 40px)); z-index: 100; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #52615b; background: #f1f5f3; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.status { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; background: #edf1ef; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.status-Pending, .status-Unpaid { color: #805211; background: #fff2d6; }
.status-Approved, .status-Paid, .status-Completed { color: #165338; background: #e2f5e9; }
.status-Denied, .status-Cancelled { color: #77221f; background: #fde8e7; }
.status-In-Progress { color: #1e5168; background: #e5f2f8; }
.empty-state { padding: 42px; text-align: center; color: var(--muted); border: 1px dashed #bfcac6; border-radius: 14px; background: #fff; }

.admin-shell { width: min(1460px, calc(100% - 30px)); margin: 24px auto 70px; display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; align-items: start; }
.admin-sidebar { position: sticky; top: 18px; padding: 22px; border-radius: 16px; background: var(--forest); color: #fff; }
.admin-sidebar h2 { font-size: 1.3rem; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a { padding: .62rem .7rem; border-radius: 8px; color: rgba(255,255,255,.84); text-decoration: none; font-size: .9rem; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.admin-main { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(20,48,39,.06); }
.admin-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 25px; }
.admin-heading h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.admin-heading p { color: var(--muted); }
.admin-section { margin-top: 34px; }
.admin-section h2 { font-size: 1.45rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf9; }
.metric strong { display: block; color: var(--forest); font-size: 1.8rem; }
.metric span { color: var(--muted); font-size: .83rem; }
.filter-bar { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.filter-bar label { min-width: 170px; }
.compact-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.compact-form input, .compact-form select { width: auto; min-width: 110px; min-height: 36px; padding: .4rem .55rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.day-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.day-card > strong { display: block; margin-bottom: 10px; }
.slot-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.slot-available { color: var(--success); }
.slot-blocked { color: var(--danger); }

.invoice-paper { width: min(900px, 100%); margin: auto; padding: 45px; border: 1px solid var(--line); background: #fff; }
.invoice-head { display: flex; justify-content: space-between; gap: 25px; border-bottom: 3px solid var(--forest); padding-bottom: 20px; }
.invoice-meta { text-align: right; }
.invoice-summary { width: min(390px, 100%); margin: 24px 0 0 auto; }
.invoice-summary div { display: flex; justify-content: space-between; padding: 6px 0; }
.invoice-summary .total { margin-top: 7px; padding-top: 10px; border-top: 2px solid var(--ink); font-size: 1.16rem; font-weight: 900; }
.line-item { display: grid; grid-template-columns: minmax(220px, 1fr) 110px 140px 46px; gap: 10px; align-items: end; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; }
.line-item .remove-item { width: 40px; height: 40px; border: 0; border-radius: 8px; background: #fbe9e8; color: var(--danger); font-weight: 900; }

.site-footer { padding: 55px 24px 20px; color: rgba(255,255,255,.78); background: #102f27; }
.footer-grid { width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h3 { font-size: .95rem; }
.site-footer a, .site-footer span { display: block; margin: 5px 0; color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { width: min(1180px, 100%); margin: 35px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; font-size: .85rem; }
.footer-bottom span, .footer-bottom a { display: inline; margin: 0; }

@media (max-width: 1050px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; left: 18px; right: 18px; top: 72px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
    .site-nav.open { display: grid; }
    .site-nav a { padding: .8rem; }
    .card-grid, .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-grid { grid-template-columns: repeat(3, 1fr); }
    .quote-layout { grid-template-columns: minmax(0,1fr) 280px; }
}

@media (max-width: 820px) {
    .hero-banner { min-height: 520px; }
    .hero-overlay { background: rgba(12,35,29,.78); }
    .intro-grid, .split-grid, .service-hero .section-inner { grid-template-columns: 1fr; }
    .service-hero-360 .feature-360-mark { margin: auto; }
    .service-photo { min-height: 250px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .calendar-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-360-inner, .featured-service-360 { grid-template-columns: auto 1fr; }
    .feature-360-inner .button, .featured-service-360 .button { grid-column: 1 / -1; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .quote-hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 35px; padding: 60px 0; }
    .quote-hero-orbit { width: 220px; height: 220px; }
    .quote-orbit-ring { width: 160px; height: 160px; }
    .quote-orbit-ring span { font-size: 3.4rem; }
    .quote-layout { grid-template-columns: 1fr; }
    .quote-sidebar { position: static; grid-row: 1; }
    .quote-sidebar ul { grid-template-columns: repeat(3,1fr); gap: 10px; }
    .quote-intro { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 580px) {
    .topbar { padding-inline: 15px; }
    .brand { min-width: 0; }
    .brand small { display: none; }
    .hero-content { width: min(100% - 30px, 1180px); padding: 65px 0; }
    .page-shell, .section-inner { width: min(100% - 28px, 1180px); }
    .section, .page-shell { padding-top: 52px; padding-bottom: 52px; }
    .card-grid, .card-grid.two, .form-grid, .metric-grid, .gallery-grid, .calendar-grid { grid-template-columns: 1fr; }
    .process-grid, .stats-row { grid-template-columns: 1fr 1fr; }
    .admin-shell { width: min(100% - 18px, 1460px); }
    .admin-main { padding: 19px; }
    .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
    .admin-heading, .invoice-head { display: block; }
    .admin-heading .button { margin-top: 10px; }
    .invoice-meta { text-align: left; margin-top: 18px; }
    .invoice-paper { padding: 22px; }
    .line-item { grid-template-columns: 1fr 1fr; }
    .line-item > label:first-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .quote-result-head, .quote-customer { display: grid; grid-template-columns: 1fr; }
    .quote-total { min-width: 0; text-align: left; }
    .quote-lines > div { align-items: flex-start; }
    .quote-hero-inner { width: min(100% - 28px, 1180px); padding: 48px 0; }
    .quote-hero-copy h1 { font-size: clamp(2.3rem, 12vw, 3.7rem); }
    .quote-hero-orbit { width: 190px; height: 190px; }
    .quote-orbit-ring { width: 140px; height: 140px; }
    .quote-orbit-ring span { font-size: 3rem; }
    .quote-orbit-ring small { font-size: .55rem; }
    .quote-service-grid { grid-template-columns: 1fr; }
    .quote-sidebar ul { grid-template-columns: 1fr; }
    .quote-builder { padding: 14px; border-radius: 17px; }
    .quote-step { padding: 18px 15px; }
    .quote-success-banner { grid-template-columns: 1fr; padding: 24px; }
    .feature-360-inner, .featured-service-360 { grid-template-columns: 1fr; text-align: center; }
    .feature-360-mark { margin: auto; }
    .table-wrap.responsive { border: 0; background: transparent; }
    .responsive table, .responsive thead, .responsive tbody, .responsive th, .responsive td, .responsive tr { display: block; }
    .responsive thead { display: none; }
    .responsive tr { margin-bottom: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
    .responsive td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 5px; border: 0; }
    .responsive td::before { content: attr(data-label); color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
}

@media print {
    .site-header, .site-footer, .admin-sidebar, .no-print, .flash-stack { display: none !important; }
    body { background: #fff; }
    .admin-shell, .admin-main { display: block; width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; }
    .invoice-paper { width: 100%; border: 0; padding: 0; }
    .quote-page { width: 100%; padding: 0; }
    .quote-success-banner { color: #000; background: #fff; border: 1px solid #bbb; box-shadow: none; }
    .quote-paper { padding: 0; border: 0; box-shadow: none; }
}
