:root {
  --navy: #0f2a6b;
  --navy-dark: #0a1d4d;
  --navy-deep: #071438;
  --red: #c8102e;
  --red-dark: #a00c24;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-alt: #f4f7fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 107, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; color: var(--navy-deep); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .6rem; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }
.center { text-align: center; margin-top: 2.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.3rem; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; font-family: inherit; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,16,46,.35); }
.btn-navy { background: var(--navy); color: #fff; margin-top: 1.5rem; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; margin-top: .6rem; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* Topbar */
.topbar { background: var(--navy-deep); color: #cbd5e1; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; gap: 1rem; }
.topbar a { color: #fff; }
.topbar a strong { color: #ff8a9b; }

/* Header */
.site-top { position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 16px rgba(7,20,56,.08); }
.header { position: relative; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 600; font-size: .95rem; }
.nav > a:not(.btn) { color: var(--ink); position: relative; }
.nav > a:not(.btn):hover { color: var(--red); }
.nav-cta { padding: .55rem 1.1rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* Hero */
.hero { position: relative; color: #fff; padding: 4.5rem 0 2.5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(7,20,56,.95) 0%, rgba(15,42,107,.85) 50%, rgba(15,42,107,.6) 100%),
  url('images/exterior-before-after.jpeg') center 85% / cover no-repeat; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3bf; background: rgba(200,16,46,.2); border: 1px solid rgba(255,138,155,.4); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.eyebrow.dark { color: var(--red); background: #fdecef; border-color: #f8c9d1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); margin-bottom: 1.2rem; }
.lead { font-size: 1.12rem; color: #dbe4f5; max-width: 600px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 540px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .9rem 1rem; text-align: center; }
.stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.35rem; color: #fff; }
.stat span { font-size: .85rem; color: #cbd5e1; }

/* Form */
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 2rem; box-shadow: 0 25px 60px rgba(0,0,0,.35); border-top: 6px solid var(--red); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.form-sub { color: var(--muted); margin-bottom: 1.2rem; }
.form-card label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .85rem; color: var(--navy-deep); }
.form-card input, .form-card select, .form-card textarea { display: block; width: 100%; margin-top: .3rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-size: .95rem; background: #f8fafc; transition: .2s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(15,42,107,.12); }
.form-card .invalid { border-color: var(--red); }
.form-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .7rem; }
.form-msg { text-align: center; font-weight: 600; font-size: .9rem; margin-top: .4rem; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: var(--red); }

/* Trust badges */
.trust-band { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.6rem 1rem; border-left: 1px solid rgba(255,255,255,.08); }
.trust-item:first-child { border-left: 0; }
.tb-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(200,16,46,.15); border: 1px solid rgba(255,138,155,.3); color: #ff8a9b; }
.tb-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.05rem; line-height: 1.25; }
.trust-item span:not(.tb-icon) { color: #94a3b8; font-size: .9rem; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #cbd5e1; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,42,107,.16); }
.card-img { height: 210px; background-size: cover; background-position: right center; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.3rem; }
.card-sub { color: var(--red); font-weight: 700; font-size: .9rem; margin: .2rem 0 .6rem; }
.card-body > p:not(.card-sub) { color: var(--muted); flex: 1; }
.link { margin-top: 1rem; font-weight: 700; color: var(--navy); }
.link:hover { color: var(--red); }

.mini-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.mini { background: var(--bg-alt); border-radius: var(--radius); padding: 1.4rem; border-left: 4px solid var(--red); }
.mini-icon { font-size: 1.7rem; margin-bottom: .5rem; }
.mini h4 { font-size: 1.02rem; margin-bottom: .3rem; }
.mini p { color: var(--muted); font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); background: #000; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .5s; }
.g-wide img { aspect-ratio: 16 / 9; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(7,20,56,.9)); }

/* Numbered */
.numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.num-card { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.num-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--red)); }
.num { font-family: 'Poppins', sans-serif; font-size: 2.6rem; font-weight: 800; color: #e3e9f6; display: block; line-height: 1; margin-bottom: .6rem; }
.num-card h3 { margin-bottom: .5rem; }
.num-card p { color: var(--muted); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.6rem 1.3rem; position: relative; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; }
.steps h4 { color: #fff; margin-bottom: .4rem; }
.steps p { color: #cbd5e1; font-size: .92rem; }

/* Areas */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.areas-grid > div > p { color: var(--muted); }
.towns { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.5rem; }
.towns li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.towns b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .72rem; flex-shrink: 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 440px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--red-dark), var(--red)); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe1e6; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-img img { border-radius: 18px; box-shadow: var(--shadow); }
.about-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.features { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature > span { font-size: 1.4rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 12px; flex-shrink: 0; }
.feature h4 { margin-bottom: .15rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; overflow: hidden; }
.faq summary { padding: 1.1rem 1.3rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-deep); color: #cbd5e1; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 1rem; }
.footer h4 { color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.footer ul a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-size: .85rem; color: #94a3b8; }

/* Mobile bar */
.mobile-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.lb-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1.2rem 4%; gap: .3rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-130%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: -1; }
  .nav.open { transform: none; visibility: visible; }
  .nav > a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: .5rem; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .areas-grid, .about-grid { grid-template-columns: 1fr; }
  .cards, .numbered { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-item { justify-content: flex-start; gap: .8rem; padding: 1.3rem .6rem; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .tb-icon { width: 46px; height: 46px; }
  .trust-item strong { font-size: .98rem; }
  .trust-item span:not(.tb-icon) { font-size: .85rem; }
  body { padding-bottom: 64px; }
  .section { padding: 4rem 0; }
  .hero { padding-top: 3rem; }
  .logo img { height: 46px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat strong { font-size: 1.05rem; }
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .steps, .mini-cards { grid-template-columns: 1fr; }
  .towns { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
  .mobile-bar a { padding: 1.1rem; text-align: center; font-weight: 800; color: #fff; }
  .mb-call { background: var(--red); }
  .mb-quote { background: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Review buttons */
.review-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.review-btns .btn { margin-top: 0; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.btn-google:hover { border-color: #4285F4; box-shadow: 0 6px 16px rgba(66,133,244,.25); transform: translateY(-2px); }

/* Topbar phones */
.topbar-phones { color: #fff; white-space: nowrap; }
.topbar-phones .sep { color: #94a3b8; margin: 0 .25rem; }
@media (max-width: 480px) { .topbar-phones { white-space: normal; text-align: center; font-size: .8rem; } }
.topbar-phones strong { white-space: nowrap; }
.tb-short { display: none; }
@media (max-width: 480px) { .tb-label { display: none; } .tb-short { display: inline; } }

/* ===== Deck projects page ===== */
.nav > a.active { color: var(--red); }
.page-hero { position: relative; color: #fff; padding: 4rem 0 3.5rem; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(7,20,56,.95) 0%, rgba(15,42,107,.85) 55%, rgba(15,42,107,.55) 100%),
  url('images/decks/backyard-after-01.jpg') center 60% / cover no-repeat; }
.page-hero-inner { position: relative; max-width: 1200px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: .8rem 0 1rem; max-width: 760px; }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: .9rem; color: #cbd5e1; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { color: #94a3b8; }
.crumbs [aria-current] { color: #ffb3bf; }

.project-nav { background: #fff; border-bottom: 1px solid var(--line); }
.project-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: 1rem 0; font-weight: 600; font-size: .95rem; }
.project-nav-inner > span { color: var(--muted); }
.project-nav-inner a { color: var(--navy); padding: .4rem .9rem; border-radius: 999px; background: var(--bg-alt); }
.project-nav-inner a:hover { background: var(--navy); color: #fff; }

.project-head { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 2.5rem; align-items: start; margin-bottom: 2.5rem; }
.project-head p { color: var(--muted); font-size: 1.05rem; }
.project-facts { list-style: none; background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: grid; gap: .8rem; border-left: 4px solid var(--red); }
.section-alt .project-facts { background: #fff; }
.project-facts li { display: grid; gap: .1rem; }
.project-facts span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.project-facts strong { color: var(--navy-deep); }

.ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-tag { position: absolute; top: .8rem; left: .8rem; font-weight: 800; font-size: .8rem; letter-spacing: .04em; padding: .35rem .75rem; border-radius: 8px; color: #fff; z-index: 1; }
.ba-tag.before { background: rgba(7,20,56,.85); }
.ba-tag.after { background: var(--red); }

.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-bottom: 3rem; }
.mini-steps li { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px; }
.mini-steps b { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .9rem; }
.mini-steps h4 { font-size: 1rem; margin-bottom: .15rem; }
.mini-steps p { color: var(--muted); font-size: .88rem; }

.gallery-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.gallery-head h3 { font-size: 1.4rem; }
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-bar button { font: inherit; font-weight: 700; font-size: .9rem; padding: .55rem 1rem; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .2s; }
.filter-bar button:hover { border-color: var(--navy); }
.filter-bar button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.photo-grid .g-item img { aspect-ratio: 1 / 1; }
.photo-grid .g-item figcaption { font-size: .88rem; padding: 2rem .9rem .8rem; }
.photo-grid.single { grid-template-columns: minmax(0, 900px); justify-content: center; }
.photo-grid.single .g-item img { aspect-ratio: 5 / 4; }
.g-item:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Lightbox navigation */
.lightbox { flex-direction: column; gap: .8rem; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; object-fit: contain; }
.lb-cap { color: #e2e8f0; font-size: .95rem; text-align: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-nav[hidden] { display: none; }

/* Deck card link on home page */
.card-img-link { display: block; }
.card-badge { display: inline-block; margin-top: .4rem; font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--bg-alt); padding: .25rem .6rem; border-radius: 6px; }

@media (max-width: 900px) {
  .project-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .mini-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .ba-pair { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
  .photo-grid .g-item figcaption { display: none; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.8rem; top: auto; bottom: 1.2rem; transform: none; }
}

/* Before / After project cards */
.cards-title { font-size: 1.4rem; margin-bottom: 1.2rem; }
.ba-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .25s; }
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,42,107,.16); }
.ba-card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.ba-card-pair .g-item { border-radius: 0; box-shadow: none; }
.ba-card-pair .g-item img { aspect-ratio: 3 / 4; }
.ba-card-pair figcaption, .ba-thumbs figcaption { display: none; }
.ba-card-pair .ba-tag { top: .6rem; left: .6rem; font-size: .72rem; padding: .3rem .6rem; }
.ba-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ba-card-body h4 { font-size: 1.15rem; margin-bottom: .3rem; }
.ba-card-body > p { color: var(--muted); font-size: .92rem; flex: 1; }
.ba-thumbs-label { font-size: .8rem; font-weight: 700; color: var(--navy); margin: 1rem 0 .5rem; }
.ba-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .4rem; }
.ba-thumbs .g-item { border-radius: 8px; box-shadow: none; }
.ba-thumbs .g-item img { aspect-ratio: 1 / 1; }
@media (max-width: 1000px) { .ba-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .ba-cards { grid-template-columns: 1fr; } .ba-card-pair .g-item img { aspect-ratio: 4 / 5; } }
.ba-card-pair .split-left img { object-position: 0% 50%; }
.ba-card-pair .split-right img { object-position: 100% 50%; }
.page-hero-bg.ext { background:
  linear-gradient(100deg, rgba(7,20,56,.95) 0%, rgba(15,42,107,.85) 55%, rgba(15,42,107,.5) 100%),
  url('images/exterior/porch-after.jpg') center 40% / cover no-repeat; }
.ba-tag.repair { background: #b45309; }
.ba-thumbs .ba-tag { top: .25rem; left: .25rem; font-size: .58rem; padding: .15rem .35rem; border-radius: 4px; }
.page-hero-bg.int { background:
  linear-gradient(100deg, rgba(7,20,56,.95) 0%, rgba(15,42,107,.85) 55%, rgba(15,42,107,.5) 100%),
  url('images/interior/parlor-186.jpg') center 45% / cover no-repeat; }
.nav > a { white-space: nowrap; }
/* Hero review button + QR card */
.btn-yellow { background: #fbbf24; color: #111827; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(251,191,36,.25); }
.btn-yellow:hover { background: #f59e0b; transform: translateY(-2px); }
.review-card { display: inline-flex; align-items: center; gap: 1rem; padding: .75rem 1.3rem .75rem .75rem; margin-bottom: 2rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); color: #fff; max-width: 420px; transition: background .2s, transform .2s; }
.review-card:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.review-qr { width: 84px; height: 84px; flex: none; background: #fff; padding: 5px; border-radius: 8px; image-rendering: pixelated; }
.review-card strong { display: block; font-size: 1.05rem; }
.review-card small { display: block; color: #cbd5e1; font-size: .88rem; margin-top: .2rem; line-height: 1.4; }
.rc-star { color: #fbbf24; }
.hero-ctas { margin-bottom: 1.2rem; }
/* Map address bar */
.map-addr { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; padding: .85rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); }
.map-addr:hover .map-dir { text-decoration: underline; }
.map-dir { color: var(--red); font-weight: 700; }
