:root {
  --green: #7E9F4A;
  --green-dark: #56732E;
  --cedar: #C1693C;
  --cedar-dark: #A14F29;
  --ink: #1E2722;
  --muted: #5C6B61;
  --light: #F4F1E8;
  --card: #FFFFFF;
  --line: rgba(30, 39, 34, 0.10);
  --shadow: 0 24px 70px rgba(30, 39, 34, 0.14);
  --radius: 22px;
  --container: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Play", Inter, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); }

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
}
.eyebrow.dark { color: var(--cedar-dark); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cedar); color: #fff; box-shadow: 0 14px 30px rgba(193,105,60,.35); }
.btn-primary:hover { background: var(--cedar-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--light); color: var(--ink); }

/* ===== Topbar ===== */
.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 18px; flex-wrap: wrap; padding: 6px 0; }
.phone { font-weight: 800; color: #fff; }
.phone:hover { color: var(--green); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-links a { color: rgba(255,255,255,.78); font-weight: 500; }
.topbar-links a:hover { color: var(--green); }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(23,34,41,.08);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--ink);
}

.desktop-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.desktop-nav > a,
.desktop-nav .has-menu > a {
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.desktop-nav .has-menu > a:hover {
  background: var(--light);
  color: var(--green-dark);
}

.has-menu { position: relative; }
.has-menu .submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 60;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-menu .submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.has-menu .submenu a:hover { background: var(--light); color: var(--green-dark); }

.nav-cta { background: var(--green) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(126,159,74,.35); white-space: nowrap; }
.nav-cta:hover { background: var(--green-dark) !important; }

/* Mobile hamburger button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.mobile-toggle span::before { position: absolute; top: -7px; }
.mobile-toggle span::after { position: absolute; top: 7px; }
.mobile-toggle[aria-expanded="true"] span { background: transparent; }
.mobile-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav panel */
.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 0 20px;
}
.mobile-panel.open { display: flex; }
.mobile-panel > a,
.mobile-panel details summary {
  display: block;
  padding: 12px 6px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.mobile-panel details summary::-webkit-details-marker { display: none; }
.mobile-panel > a:hover,
.mobile-panel details summary:hover { background: var(--light); color: var(--green-dark); }
.mobile-panel details a {
  display: block;
  padding: 10px 6px 10px 22px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.mobile-panel details a:hover { background: var(--light); color: var(--green-dark); }

@media (max-width: 980px) {
  .desktop-nav, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
}
@media (min-width: 981px) {
  .mobile-toggle, .mobile-panel { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--ink);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: hero-zoom 30s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero video { animation: none; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(126,159,74,.55), transparent 42%),
    linear-gradient(135deg, rgba(20,28,24,.86), rgba(20,28,24,.78));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 120px 0 80px;
}
.hero h1 { color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges span {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}

/* Quote card */
.quote-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: 16px; }
.quote-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quote-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: .96rem;
}
.quote-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.phone-card {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--light);
}
.phone-card small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.phone-card strong { font-family: var(--font-display); font-size: 1.15rem; }

/* ===== Trust strip ===== */
.trust-strip { background: var(--light); padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item b { font-family: var(--font-display); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .92rem; }

/* ===== Intro ===== */
.intro { padding: 90px 0; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story-card p { color: var(--muted); font-size: 1.05rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.mini-stats strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--green-dark); margin-bottom: 4px; }
.mini-stats span { color: var(--muted); font-size: .88rem; }
.image-stack {
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(126,159,74,.35), rgba(193,105,60,.28)),
    url('/images/2022/03/09/railing.jpg') center/cover;
  box-shadow: var(--shadow);
}

/* ===== Services ===== */
.services { padding: 90px 0; background: var(--light); }
.section-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head p { color: var(--muted); margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 38px rgba(30,39,34,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(126,159,74,.4); }
.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--light);
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card-link { font-weight: 700; color: var(--green-dark); font-size: .92rem; }
.card-link::after { content: " →"; }

/* ===== Showcase ===== */
.showcase { padding: 90px 0; }
.showcase-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.showcase p { color: var(--muted); font-size: 1.05rem; }
.showcase-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 38px; }
.showcase-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.showcase-panel li { position: relative; padding-left: 28px; color: rgba(255,255,255,.85); }
.showcase-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
}

/* ===== Process ===== */
.process { padding: 90px 0; background: var(--ink); color: #fff; }
.process .eyebrow.dark { color: var(--green); }
.process h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,.7); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.process-card h3 { color: #fff; }
.process-card p { color: rgba(255,255,255,.7); margin: 0; font-size: .94rem; }

/* ===== Why ===== */
.why { padding: 90px 0; }
.why-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.why-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why-list li { position: relative; padding-left: 30px; font-weight: 600; }
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cedar);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.area-card { background: var(--light); border-radius: var(--radius); padding: 32px; }
.area-card h3 { margin-bottom: 10px; }
.area-card p { color: var(--muted); }
.city-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city-cloud span {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ===== CTA band ===== */
.cta-band { padding: 70px 0; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 520px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer p { color: rgba(255,255,255,.68); }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--green); }
.badge-links, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.85); font-weight: 600; }

/* ===== Back to top ===== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(126,159,74,.45);
  z-index: 40;
  transition: transform .2s ease, background .2s ease;
}
.back-top:hover { transform: translateY(-3px); background: var(--green-dark); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 90px 0 60px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .showcase-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .image-stack { min-height: 260px; order: -1; }
  .section-head { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero { min-height: 560px; }
  .hero-grid { padding: 76px 0 50px; }
  .trust-grid { grid-template-columns: 1fr; }
  .service-grid, .process-grid, .footer-top { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .cta-inner { justify-content: flex-start; }
  .cta-inner .hero-actions { justify-content: flex-start !important; }
  .brand-text { display: none; }
  .intro, .services, .showcase, .process, .why { padding: 56px 0; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* highlight "Services" trigger when on a service page */
.desktop-nav .has-menu > a[aria-current="page"] {
  background: var(--light);
  color: var(--green-dark);
}

/* =========================================================
   INNER-PAGE HERO SYSTEM
   (used on about, services, faqs, contact, and all
   individual service-detail pages)
   ========================================================= */
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.10), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 130px 0 76px;
  max-width: 760px;
}
.hero-copy { color: rgba(255,255,255,.86); font-size: 1.08rem; }

/* shorter hero on inner pages */
.hero.hero-custom-decks, .hero.hero-deck-remodel, .hero.hero-composite-decks,
.hero.hero-patios, .hero.hero-wooden-decks, .hero.hero-pergolas,
.hero.hero-patio-covers, .hero.hero-trex-deck, .hero.hero-faq,
.hero.hero-services, .hero.contact-hero {
  min-height: 460px;
}

/* secondary / outline buttons for use on dark hero backgrounds */
.btn-secondary {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn-outline { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--light); color: var(--ink); }

/* per-page accent gradients */
.hero-custom-decks .hero-bg,
.hero-deck-remodel .hero-bg {
  background: linear-gradient(135deg, var(--ink) 0%, #33453a 55%, var(--green-dark) 140%);
}
.hero-composite-decks .hero-bg,
.hero-trex-deck .hero-bg {
  background: linear-gradient(135deg, var(--ink) 0%, #463526 55%, var(--cedar-dark) 140%);
}
.hero-patios .hero-bg,
.hero-patio-covers .hero-bg {
  background: linear-gradient(135deg, var(--ink) 0%, #2f4138 55%, var(--green) 140%);
}
.hero-wooden-decks .hero-bg,
.hero-pergolas .hero-bg {
  background: linear-gradient(135deg, var(--ink) 0%, #4a3526 55%, var(--cedar) 140%);
}
.hero-faq .hero-bg,
.hero-services .hero-bg,
.contact-hero .hero-bg {
  background: linear-gradient(135deg, var(--ink) 0%, #324339 55%, var(--green-dark) 140%);
}

/* =========================================================
   PAGE HERO (used on the About page)
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--ink);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(126,159,74,.5), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(193,105,60,.35), transparent 45%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.08rem; }
.page-hero-inner { padding: 130px 0 76px; max-width: 760px; }

/* =========================================================
   GENERAL SECTION HELPERS
   ========================================================= */
.intro-section { padding: 86px 0; }
.intro-section.service-detail-intro { padding-top: 96px; }
.center { text-align: center; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
}
.section-heading.center { margin-left: auto; margin-right: auto; }
.section-heading p { color: var(--muted); }

/* =========================================================
   MATERIALS / FEATURE GRID (service-detail pages)
   ========================================================= */
.materials-section { padding: 86px 0; background: var(--light); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 38px rgba(30,39,34,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(126,159,74,.4); }
.feature-card span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

/* =========================================================
   IMAGE STRIP
   ========================================================= */
.image-strip { padding: 0 0 86px; }
.image-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.image-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  padding: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(126,159,74,.55), rgba(193,105,60,.45)),
    var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.image-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,28,24,.55));
}
.image-tile span { position: relative; z-index: 1; }
.image-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* =========================================================
   CHOICE SECTION (dark, with benefit list)
   ========================================================= */
.choice-section { padding: 86px 0; background: var(--ink); color: #fff; }
.choice-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.choice-card h2 { color: #fff; }
.choice-card > div > p { color: rgba(255,255,255,.75); }
.benefit-list { display: flex; flex-direction: column; gap: 14px; }
.benefit-list > div {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--green);
  margin-bottom: 4px;
}
.benefit-list p { margin: 0; color: rgba(255,255,255,.7); font-size: .94rem; }

/* =========================================================
   CTA SECTION (card style, used on most subpages)
   ========================================================= */
.cta-section { padding: 70px 0; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
}
.cta-card h2 { color: #fff; margin-bottom: 8px; }
.cta-card p { color: rgba(255,255,255,.9); margin: 0; max-width: 520px; }
.cta-card .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-card .btn-primary:hover { background: var(--light); color: var(--ink); }

/* =========================================================
   TRUST SECTION (badge links row, contact/services pages)
   ========================================================= */
.trust-section { padding: 40px 0; background: var(--light); }
.trust-section .trust-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-section .trust-grid a {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--muted);
}
.trust-section .trust-grid a:hover { color: var(--green-dark); }

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-section { padding: 86px 0; background: var(--light); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.faq-sidebar { position: sticky; top: 110px; }
.faq-sidebar p { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-family: var(--font-display);
  position: relative;
  padding-right: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding-top: 12px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-section { padding: 86px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services-grid .service-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.services-grid .service-card h2 { font-size: 1.1rem; margin-bottom: 8px; }
.services-grid .service-card h2 a { color: var(--ink); }
.services-grid .service-card h2 a:hover { color: var(--green-dark); }
.services-grid .service-card p { color: var(--muted); font-size: .94rem; }
.learn-more { font-weight: 700; color: var(--green-dark); font-size: .92rem; }
.learn-more::after { content: " \2192"; }

.process-section { padding: 86px 0; background: var(--ink); color: #fff; }
.process-section h2 { color: #fff; }
.process-step {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 14px;
}
.process-step h3 { color: #fff; }
.process-step p { color: rgba(255,255,255,.7); margin: 0; font-size: .94rem; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section { padding: 86px 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: 0 14px 38px rgba(30,39,34,.06);
}
.contact-info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 42px;
}
.form-intro { color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.contact-form textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; }

.contact-method { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-method:last-of-type { border-bottom: none; }
.contact-method strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }

.quote-points { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-points ul {
  margin: 0; padding-left: 20px;
  color: var(--muted);
  font-size: .92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.contact-cards-section { padding: 0 0 86px; }
.contact-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.mini-card span {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--light);
  color: var(--green-dark);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .85rem;
  margin-bottom: 12px;
}
.mini-card h3 { font-size: 1rem; }
.mini-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.map-section { padding: 0 0 86px; }
.map-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
.map-layout iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-intro { padding: 86px 0; }
.about-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-photo-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.about-photo-card img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.photo-note {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  background: rgba(20,28,24,.78);
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.photo-note strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.photo-note span { font-size: .88rem; color: rgba(255,255,255,.8); }
.story-card p { color: var(--muted); }

.split-feature { padding: 86px 0; background: var(--light); }
.split-feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.feature-image-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.feature-image-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.feature-copy p { color: var(--muted); }
.check-grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.check-grid li { position: relative; padding-left: 28px; font-weight: 600; font-size: .95rem; }
.check-grid li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.mission-section { padding: 86px 0; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mission-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 14px 38px rgba(30,39,34,.06);
}
.mission-card.large { background: var(--light); border: none; }
.mission-card.large h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.mission-card.dark-card { background: var(--ink); color: #fff; border: none; }
.mission-card.dark-card h3 { color: #fff; }
.mission-card.dark-card p { color: rgba(255,255,255,.75); }
.mission-card p { color: var(--muted); margin: 0; }
.mission-card h3 { margin-top: 0; }

.relationship-section { padding: 86px 0; background: var(--light); }
.relationship-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-area-card { background: #fff; }

.material-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
  align-items: center;
}
.material-logo-grid img {
  max-height: 48px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: .65;
  transition: opacity .2s ease, filter .2s ease;
}
.material-logo-grid img:hover { filter: none; opacity: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-content, .page-hero-inner { padding: 110px 0 60px; }
  .feature-grid, .image-strip-grid, .services-grid, .contact-card-grid,
  .mission-grid, .material-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-card, .faq-layout, .contact-grid, .map-layout,
  .about-intro-grid, .split-feature-grid, .relationship-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-sidebar { position: static; }
  .about-photo-card, .feature-image-frame { order: -1; min-height: 280px; }
  .about-photo-card img, .feature-image-frame img { min-height: 280px; }
  .cta-card { padding: 36px; }
}
@media (max-width: 620px) {
  .feature-grid, .image-strip-grid, .services-grid, .contact-card-grid,
  .mission-grid, .material-logo-grid, .form-row, .check-grid {
    grid-template-columns: 1fr;
  }
  .hero.hero-custom-decks, .hero.hero-deck-remodel, .hero.hero-composite-decks,
  .hero.hero-patios, .hero.hero-wooden-decks, .hero.hero-pergolas,
  .hero.hero-patio-covers, .hero.hero-trex-deck, .hero.hero-faq,
  .hero.hero-services, .hero.contact-hero, .page-hero { min-height: 400px; }
  .hero-content, .page-hero-inner { padding: 90px 0 50px; }
  .intro-section, .materials-section, .choice-section, .cta-section,
  .faq-section, .services-section, .process-section, .contact-section,
  .contact-cards-section, .map-section, .about-intro, .split-feature,
  .mission-section, .relationship-section { padding: 50px 0; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 30px; }
}

/* =========================================================
   SCROLL-REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; transition: none;
  }
}

/* subtle continuous motion accents */
.hero-badges span, .city-cloud span {
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-badges span:hover, .city-cloud span:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.2);
}
.city-cloud span:hover { background: var(--light); border-color: var(--green); color: var(--green-dark); }

.back-top { animation: back-top-pulse 3s ease-in-out infinite; }
.back-top:hover { animation: none; }
@keyframes back-top-pulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(126,159,74,.45); }
  50% { box-shadow: 0 14px 30px rgba(126,159,74,.75), 0 0 0 8px rgba(126,159,74,.12); }
}

.nav-cta {
  animation: nav-cta-glow 4s ease-in-out infinite;
}
@keyframes nav-cta-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(126,159,74,.35); }
  50% { box-shadow: 0 10px 28px rgba(126,159,74,.6); }
}
@media (prefers-reduced-motion: reduce) {
  .back-top, .nav-cta { animation: none; }
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.gallery-filter {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.gallery-filter-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
  overflow-x: auto;
}
.gallery-filter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  background: var(--light);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gallery-filter-link:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.gallery-filter-link span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(30,39,34,.08);
  font-size: .78rem;
}
.gallery-filter-link:hover span { background: rgba(255,255,255,.25); }

.gallery-section { padding: 70px 0; scroll-margin-top: 80px; }
.gallery-section:nth-of-type(even) { background: var(--light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  margin: 0;
  background: var(--light);
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-tile:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.gallery-tile.is-hidden { display: none; }
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.gallery-tile:hover img { transform: scale(1.07); }
.gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(20,28,24,.72);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.gallery-count::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,.85);
}

.gallery-more { text-align: center; margin-top: 36px; }
.gallery-more-count { font-weight: 500; opacity: .75; font-size: .85rem; margin-left: 6px; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,14,12,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: lightbox-fade .2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { max-width: min(94vw, 1100px); max-height: 90vh; margin: 0; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-figure figcaption { color: #fff; margin-top: 14px; font-size: .92rem; opacity: .85; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 22px; right: 22px; width: 46px; height: 46px; font-size: 24px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 28px; }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .gallery-section { padding: 46px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-tile.is-hidden { display: none; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-close { width: 40px; height: 40px; top: 12px; right: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* =========================================================
   REVIEWS PAGE
   ========================================================= */
/* ----- Hero with embedded review form ----- */
.reviews-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
}
.reviews-hero .hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--ink) 0%, #324339 55%, var(--green-dark) 140%);
}
.reviews-hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.10), transparent 50%);
}
.reviews-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 120px 0 90px;
}
.reviews-hero-intro h1 { color: #fff; }
.reviews-hero-intro p { color: rgba(255,255,255,.86); font-size: 1.05rem; }
.reviews-hero-intro strong { color: #fff; }
.reviews-hero-note { font-size: .95rem; }
.reviews-hero-note a { color: #fff; text-decoration: underline; }

.leave-review-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.leave-review-title { font-size: 1.5rem; margin-bottom: 18px; }

.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.review-form input,
.review-form select,
.review-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.review-form textarea { resize: vertical; }
.review-form .form-note { color: var(--muted); font-size: .85rem; margin: 0; }

/* Honeypot — visually and physically hidden from real users */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-errors {
  background: #fdecec;
  border: 1px solid #f5b5b5;
  color: #9b2c2c;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.form-errors ul { margin: 0; padding-left: 18px; }
.form-success {
  background: rgba(126,159,74,.12);
  border: 1px solid rgba(126,159,74,.4);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.form-success h3 { color: var(--green-dark); margin-bottom: 6px; }
.form-success p { color: var(--muted); margin: 0; }

/* ----- Review cards ----- */
.reviews-section { padding: 86px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 14px 38px rgba(30,39,34,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card h3 { font-size: 1.05rem; margin: 0; }
.review-body { color: var(--muted); font-size: .92rem; margin: 0; }
.review-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.review-project { color: var(--muted); font-size: .8rem; }
.review-date { color: var(--muted); font-size: .78rem; opacity: .8; }

.stars { display: inline-flex; gap: 2px; font-size: 1.02rem; line-height: 1; }
.stars .star { color: rgba(30,39,34,.18); }
.stars .star.filled { color: #E2A100; }

@media (max-width: 1100px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .reviews-hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 96px 0 64px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .reviews-section { padding: 50px 0; }
  .reviews-hero-grid { padding: 80px 0 50px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .leave-review-card { padding: 26px; }
  .review-form .form-row { grid-template-columns: 1fr; }
}
/* =========================================================
   BLOG LISTING PAGE
   ========================================================= */
.blog-filter {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244,241,232,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.blog-filter-inner {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-filter-inner::-webkit-scrollbar { display: none; }
.blog-filter-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-filter-link:hover { border-color: var(--green); color: var(--green-dark); }
.blog-filter-link.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.blog-section { padding: 64px 0 90px; background: var(--light); }

/* ---- Featured post ---- */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(30,39,34,.08);
  margin-bottom: 52px;
  color: var(--ink);
  transition: box-shadow .3s ease, transform .3s ease;
}
.blog-featured-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-featured-image { position: relative; min-height: 360px; overflow: hidden; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-featured-card:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.blog-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cedar-dark);
}
.blog-featured-body h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.18;
  margin: 0;
}
.blog-featured-body p { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.65; }

/* ---- Post grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(30,39,34,.05);
  transition: box-shadow .28s ease, transform .28s ease;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-7px); }
.blog-card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.07); }

/* ---- Gradient placeholders (for image-less posts) ---- */
.blog-image-placeholder {
  width: 100%; height: 100%; min-height: 190px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}
.blog-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.18), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(193,105,60,.40), transparent 50%);
}
.blog-image-placeholder::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  border: 3px solid rgba(255,255,255,.18);
  border-radius: 20px;
  transform: rotate(18deg);
}
/* Alternate placeholder tints so a grid of them isn't monotone */
.blog-card:nth-child(3n+2) .blog-image-placeholder { background: linear-gradient(135deg, var(--cedar-dark) 0%, var(--cedar) 100%); }
.blog-card:nth-child(3n+2) .blog-image-placeholder::before { background: radial-gradient(circle at 78% 22%, rgba(255,255,255,.20), transparent 45%), radial-gradient(circle at 15% 90%, rgba(86,115,46,.42), transparent 50%); }
.blog-card:nth-child(3n+3) .blog-image-placeholder { background: linear-gradient(135deg, var(--ink) 0%, #3c5142 100%); }
.blog-featured-image .blog-image-placeholder { min-height: 360px; }

.blog-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card-body h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.blog-card-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0; flex: 1; }

/* ---- Meta row ---- */
.blog-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-category {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(126,159,74,.12);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-date { color: var(--muted); font-size: .8rem; }
.blog-read-more {
  margin-top: 4px;
  font-weight: 700;
  font-size: .86rem;
  color: var(--green-dark);
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s ease;
}
.blog-card:hover .blog-read-more,
.blog-featured-card:hover .blog-read-more { gap: 10px; }

.blog-empty {
  text-align: center;
  padding: 70px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.blog-empty h2 { margin-bottom: 12px; }
.blog-empty p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 980px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-image, .blog-featured-image .blog-image-placeholder { min-height: 240px; }
  .blog-featured-body { padding: 36px 30px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .blog-section { padding: 44px 0 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px 24px; }
}
