@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:opsz,wght@9..40,400;9..40,500&display=swap');

:root {
  /* Header height. Hero offsets below depend on this — if the nav logo or
     nav-inner padding changes, update this or the hero will clip under the nav. */
  --nav-h: 120px;
  --color-accent: #2B8DC4;
  --color-accent-dark: #1F6FA0;
  --color-accent-light: #EBF4FB;
  --color-bg-1: #FAFAF7;
  --color-bg-2: #F0EBE3;
  --color-bg-dark: #162433;
  --color-text: #1A1918;
  --color-text-light: #EDE8E2;
  --color-text-muted: #6B6560;
  --color-divider: #DDD7CF;

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg-1);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--color-text); }
h1 { font-size: clamp(48px, 6vw, 96px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 60px); line-height: 1.2; font-weight: 600; }
h3 { font-weight: 600; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; }
p { line-height: 1.75; margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--color-accent); }

.section { padding: 100px 7%; }
.section.tight { padding: 80px 7%; }
.bg-1 { background: var(--color-bg-1); }
.bg-2 { background: var(--color-bg-2); }
.bg-dark { background: var(--color-bg-dark); color: var(--color-text-light); }
.bg-dark h2, .bg-dark h3 { color: var(--color-text-light); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 3px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 18px 34px;
  transition: background 0.25s ease;
  border: 1px solid var(--color-accent);
}
.btn:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn.btn-outline {
  background: transparent;
  border: 1px solid var(--color-text-light);
  color: var(--color-text-light);
}
.btn.btn-outline:hover { background: rgba(255,255,255,0.1); }

.text-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--color-accent); }
.text-link.on-dark { color: var(--color-text-light); }
.text-link.on-dark:hover { color: var(--color-accent); }

/* ---------- NAV ---------- */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: var(--color-bg-1);
  border-bottom: 1px solid var(--color-divider);
}

/* Pages with no dark hero image behind the nav (thank-you, commercial,
   affiliate, visualizer, privacy, terms, 404) must render the nav in its solid
   state from the start — otherwise the default transparent nav puts white text
   on the cream page background and the links are invisible. */
.site-nav.solid {
  background: var(--color-bg-1);
  border-bottom: 1px solid var(--color-divider);
}
.site-nav.solid .nav-link { color: var(--color-text); }
.site-nav.solid .nav-link.active { color: var(--color-accent); }
.site-nav.solid .nav-cta {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.site-nav.solid .nav-toggle span { background: var(--color-text); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  max-width: 1600px;
  margin: 0 auto;
}
.nav-logo img { height: 84px; width: auto; transition: filter 0.3s ease; }
/* Logo renders in its original brand blue on all backgrounds (no white-out filter). */
.nav-logo.dark-mode img { filter: none; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav.scrolled .nav-link { color: var(--color-text); }
/* Any light nav state must use dark link text — white links vanish on the
   cream background. Covers hover/active so no state falls back to white. */
.site-nav.scrolled .nav-link,
.site-nav.solid .nav-link { color: #1a1a1a; }
.site-nav.scrolled .nav-link:hover,
.site-nav.solid .nav-link:hover,
.site-nav.scrolled .nav-link.active,
.site-nav.solid .nav-link.active { color: var(--color-accent); }
.nav-link:hover { color: var(--color-accent); }
.nav-link.active { color: var(--color-accent); border-bottom: 1px solid var(--color-accent); }
.nav-cta {
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 22px;
  /* Solid brand-blue fill in every nav state (transparent-over-hero, scrolled,
     and .solid) so the primary CTA stays prominent on any background. Was a
     white outline button, which disappeared against light nav backgrounds. */
  border: 1px solid var(--color-accent);
  color: #fff;
  background: var(--color-accent);
  transition: all 0.25s ease;
}
.site-nav.scrolled .nav-cta {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.nav-cta:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text-light); margin: 5px 0; transition: background 0.3s ease; }
.site-nav.scrolled .nav-toggle span { background: var(--color-text); }

.mobile-panel {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--color-bg-1);
  transition: max-height 0.35s ease;
}
.mobile-panel.open { max-height: 480px; }
.mobile-panel ul { display: flex; flex-direction: column; padding: 8px 7% 24px; }
.mobile-panel .nav-link { color: var(--color-text); padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
.mobile-panel .nav-cta { display: inline-block; margin-top: 16px; text-align: center; background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-panel { display: block; }
}

/* Mobile floating CTA bar */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    z-index: 999;
    background: var(--color-bg-dark);
  }
  .mobile-cta-bar a {
    flex: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .mobile-cta-bar .call { background: var(--color-accent); }
  .mobile-cta-bar .estimate { background: var(--color-accent-dark); }
  body { padding-bottom: 56px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: calc(100vh + var(--nav-h));
  min-height: 634px;
  background-image: url('images/hero-exterior.jpg');
  background-size: cover;
  /* Horizontal position shifted left of center so the roadside GFS sign in the
     photo sits clear of the left-aligned headline instead of behind it. */
  background-position: 20% 30%;
  margin-top: calc(-1 * var(--nav-h));
  will-change: background-position;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Two scrims: the vertical one grounds the bottom of the hero; the
     left-to-right one gives the left-aligned headline and eyebrow a dark
     backdrop so they stay legible over bright areas of the photo (parking
     lot, sky) and don't compete with the building signage in the image. */
  background:
    linear-gradient(
      to right,
      rgba(22,36,51,0.82) 0%,
      rgba(22,36,51,0.55) 38%,
      rgba(22,36,51,0.10) 70%,
      rgba(22,36,51,0.00) 100%
    ),
    linear-gradient(
      to top,
      rgba(22,36,51,0.90) 0%,
      rgba(22,36,51,0.45) 45%,
      rgba(22,36,51,0.15) 100%
    );
}
.hero-content {
  position: absolute;
  bottom: 80px;
  left: 7%;
  max-width: 640px;
  z-index: 2;
}
.hero-content h1 { color: var(--color-text-light); margin-bottom: 20px; }
/* Hero eyebrow needs more breathing room than section eyebrows — it sits above
   a very large display headline, where 16px reads as cramped. */
.hero-content .eyebrow { margin-bottom: 28px; }
.hero-content p { color: var(--color-text-light); opacity: 0.85; font-size: 18px; max-width: 520px; margin-bottom: 28px; }

.page-hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  margin-top: calc(-1 * var(--nav-h));
  display: flex;
  align-items: flex-end;
}
.page-hero.md { min-height: calc(var(--nav-h) + 380px); }
/* 380px (not 300) so a two-line page title — e.g. "About GFS Flooring
   Supply" — can't push the eyebrow up underneath the sticky nav logo. */
/* min-height must clear the sticky header (--nav-h, now up to 120px) plus the
   hero content itself, or a two-line H1 rides up underneath the logo.
   Was a flat 380px, which broke once the header grew. */
.page-hero.sm { min-height: calc(var(--nav-h) + 300px); }
.page-hero .hero-content { bottom: 60px; max-width: 700px; }
.page-hero .hero-content h1 { font-size: clamp(40px, 5vw, 68px); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--color-bg-dark);
  padding: 18px 7%;
  display: flex;
  justify-content: center;
  gap: 0;
}
.trust-bar ul { display: flex; }
.trust-bar li {
  padding: 0 32px;
  border-right: 1px solid rgba(237,232,226,0.15);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
}
.trust-bar li:last-child { border-right: none; }
@media (max-width: 768px) {
  .trust-bar ul { flex-direction: column; text-align: center; gap: 12px; }
  .trust-bar li { border-right: none; border-top: 1px solid rgba(237,232,226,0.15); padding: 12px 0 0; }
  .trust-bar li:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Two column generic ---------- */
.two-col {
  display: grid;
  grid-template-columns: 55% 42%;
  gap: 3%;
  align-items: center;
}
.two-col.img-first { grid-template-columns: 45% 52%; gap: 3%; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Stats */
.stats-grid { display: flex; flex-direction: column; gap: 32px; }
.stat-item .stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
}
.stat-item .stat-label { font-size: 14px; color: var(--color-text-muted); margin-top: 4px; }

/* Process / services rows */
.row-list { }
.row-item {
  display: flex;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-divider);
  gap: 40px;
}
.row-item:last-child { border-bottom: none; }
.row-num {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-accent);
  font-size: 72px;
  width: 15%;
  flex-shrink: 0;
}
.row-title { font-family: var(--font-display); font-weight: 600; font-size: 28px; width: 35%; flex-shrink: 0; }
.row-desc { font-size: 15px; color: var(--color-text-muted); }
.bg-dark .row-item { border-bottom: 1px solid rgba(237,232,226,0.08); }
.bg-dark .row-desc { color: var(--color-text-light); opacity: 0.55; }
.dark-divider { border-right: 1px solid rgba(237,232,226,0.12); padding-right: 40px; margin-right: 0; }

@media (max-width: 768px) {
  .row-item { flex-wrap: wrap; gap: 8px; }
  .row-num { width: auto; font-size: 48px; }
  .row-title { width: 100%; order: 1; }
  .row-desc { width: 100%; order: 2; }
}

/* Before/After slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-width: 900px;
  height: 500px;
  cursor: ew-resize;
  user-select: none;
}
.ba-slider img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { width: 100%; height: 100%; }
.ba-before { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; }
.ba-before img { width: 900px; max-width: none; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; left: 50%;
  width: 2px; height: 100%; background: #fff;
  transform: translateX(-1px);
}
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ba-label {
  position: absolute; bottom: 12px;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  color: #fff; background: rgba(22,36,51,0.55); padding: 4px 10px; border-radius: 2px;
}
.ba-label.before { left: 12px; } .ba-label.after { right: 12px; }
/* ---------- DRAFT PLACEHOLDERS (pre-launch only) ----------
   Highly visible amber blocks marking unverified/unwritten content on
   commercial.html and affiliate.html. Every instance MUST be resolved or
   removed before launch — grep for "draft-todo" to find them all. */
.draft-todo {
  border: 2px dashed #c47f17;
  background: rgba(196,127,23,0.07);
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 2px;
}
.draft-todo::before {
  content: 'DRAFT — NOT LIVE COPY';
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #c47f17;
  margin-bottom: 10px;
}
.draft-todo p { font-size: 14px; color: var(--color-text-muted); margin: 0 0 8px; line-height: 1.7; }
.draft-todo p:last-child { margin-bottom: 0; }
.draft-todo ul { margin: 8px 0 0 18px; font-size: 14px; color: var(--color-text-muted); line-height: 1.8; }

.ba-placeholder {
  background: var(--color-bg-2);
  min-height: 400px; max-width: 900px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 40px;
  border: 2px dashed var(--color-divider);
  border-radius: 2px;
}
.ba-placeholder p { font-style: italic; font-size: 14px; color: var(--color-text-muted); max-width: 480px; line-height: 1.7; }

/* Gallery teaser strip */
.gallery-strip { display: flex; gap: 12px; margin-top: 40px; }
.gallery-strip figure { margin: 0; width: calc(33.333% - 8px); height: 400px; overflow: hidden; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-strip figure:hover img { transform: scale(1.03); }
@media (max-width: 768px) {
  .gallery-strip { flex-direction: column; }
  .gallery-strip figure { width: 100%; height: 260px; }
}

/* Video section */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 2px; overflow: hidden; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Brand strip */
.brand-strip {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 32px 7%;
  text-align: center;
}
.brand-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.brand-row span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 32px; color: var(--color-text-muted); }
.brand-row .dot { color: var(--color-divider); }

/* Pull quote */
.pull-quote { max-width: 780px; margin: 0 auto; text-align: center; }
.pull-quote .mark { font-family: var(--font-display); font-weight: 500; color: var(--color-accent); font-size: 120px; line-height: 0.5; margin-bottom: 24px; }
.pull-quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.5; color: var(--color-text-light); }
.pull-quote .attr { display: block; margin-top: 24px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-text-light); opacity: 0.6; }

/* Testimonial row */
.testi-row { display: flex; margin-top: 40px; }
.testi-item { flex: 1; padding: 0 32px; border-right: 1px solid var(--color-divider); }
.testi-item:first-child { padding-left: 0; }
.testi-item:last-child { border-right: none; }
.stars { color: var(--color-accent); font-size: 16px; margin-bottom: 12px; }
.testi-name { font-weight: 500; font-size: 14px; }
.testi-loc { font-size: 12px; color: var(--color-text-muted); margin-bottom: 12px; }
.testi-quote { font-style: italic; font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) {
  .testi-row { flex-direction: column; gap: 32px; }
  .testi-item { border-right: none; padding: 0; border-bottom: 1px solid var(--color-divider); padding-bottom: 24px; }
  .testi-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* Service area */
.area-list { columns: 2; column-gap: 12px; font-size: 15px; }
.area-list li { padding: 5px 0; break-inside: avoid; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-weight: 500; font-size: 16px; color: var(--color-text);
}
.faq-icon { color: var(--color-accent); font-weight: 500; font-size: 20px; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { font-size: 15px; color: var(--color-text-muted); line-height: 1.75; padding-bottom: 16px; }

/* Final CTA banner */
.final-cta { text-align: center; }
.final-cta h2 { color: var(--color-text-light); margin-bottom: 16px; font-weight: 600; }
.final-cta p { color: var(--color-text-light); opacity: 0.65; font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.final-cta .phone { display: block; padding-top: 16px; color: var(--color-text-light); opacity: 0.55; font-size: 16px; }

/* Footer */
.site-footer { background: var(--color-bg-dark); color: var(--color-text-light); padding: 80px 7% 40px; }
.footer-top { display: grid; grid-template-columns: 45% 55%; gap: 40px; }
/* Logo renders in its original brand blue (no white-out filter). */
.footer-logo img { height: 92px; margin-bottom: 20px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 20px; margin-bottom: 20px; max-width: 380px; }
.footer-meta { font-size: 13px; color: var(--color-text-light); opacity: 0.6; line-height: 2; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin: 0 0 16px; opacity: 0.85; }
.footer-cols li { font-size: 13px; opacity: 0.6; padding: 6px 0; }
.footer-cols a:hover { opacity: 1; color: var(--color-accent); }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 60px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; opacity: 0.55;
}
.footer-bottom a { margin-left: 16px; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* Fade in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* Photo placeholder */
.photo-placeholder {
  background: var(--color-bg-2);
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.photo-placeholder p { font-style: italic; font-size: 13px; color: var(--color-divider); }

/* Roomvo placeholder */
.roomvo-placeholder {
  background: var(--color-bg-2);
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.roomvo-placeholder p { font-style: italic; color: var(--color-text-muted); }

/* ---------- SERVICES PAGE BLOCKS ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.service-block img, .service-block .photo-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.service-block .text-col { padding: 60px 7%; display: flex; flex-direction: column; justify-content: center; }
.service-block.reverse { direction: rtl; }
.service-block.reverse .text-col { direction: ltr; }
.service-block .bullets li { font-size: 14px; padding: 6px 0; }
.service-block .bullets li::before { content: "\2014"; color: var(--color-accent); margin-right: 10px; }
.service-block h2 { margin: 8px 0 16px; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; direction: ltr !important; }
  .service-block img, .service-block .photo-placeholder { min-height: 280px; }
}

/* ---------- ABOUT PAGE ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 1/1; background: var(--color-bg-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.team-photo span { font-family: var(--font-display); font-weight: 500; font-size: 60px; color: var(--color-text-muted); }
.team-card h3 { margin-bottom: 6px; }
.team-role { font-size: 13px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.team-desc { font-size: 14px; color: var(--color-text-muted); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

.compare-row { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(237,232,226,0.12); align-items: baseline; }
.compare-row:last-child { border-bottom: none; }
.compare-topic { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-gfs, .compare-box { font-size: 15px; opacity: 0.85; }
.compare-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 4px; }
@media (max-width: 700px) { .compare-row { grid-template-columns: 1fr; } }

/* ---------- GALLERY PAGE ---------- */
.filter-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 40px; }
.filter-tab {
  flex-shrink: 0; padding: 10px 20px; border-radius: 2px;
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--color-divider); background: transparent; color: var(--color-text);
  transition: all 0.2s ease;
}
.filter-tab.active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.masonry { column-count: 3; column-gap: 12px; }
.masonry figure { break-inside: avoid; margin: 0 0 12px; position: relative; overflow: hidden; border-radius: 1px; }
.masonry img { width: 100%; display: block; border-radius: 1px; }
.masonry .overlay {
  position: absolute; inset: 0; background: rgba(22,36,51,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.masonry figure:hover .overlay { opacity: 1; }
.masonry .overlay span { color: var(--color-text-light); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 600px) { .masonry { column-count: 1; } }

/* ---------- REVIEWS PAGE ---------- */
.review-summary { text-align: center; padding: 40px; }
.review-summary .stars { font-size: 28px; justify-content: center; display: flex; }
.review-summary p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; margin-top: 12px; }
.review-large { max-width: 760px; margin: 0 auto; padding: 60px 0; border-bottom: 1px solid var(--color-divider); text-align: center; }
.review-large .mark { font-family: var(--font-display); font-weight: 500; color: var(--color-accent); font-size: 120px; line-height: 0.5; margin-bottom: 24px; }
.review-large p.quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; }
.review-large .attr { display: block; margin-top: 24px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-text-muted); }
.review-small-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--color-divider); max-width: 900px; margin: 0 auto; }
.review-small-pair .testi-quote { font-size: 15px; }
@media (max-width: 700px) { .review-small-pair { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- BLOG PAGE ---------- */
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.article-card { border: 1px solid var(--color-divider); border-radius: 2px; overflow: hidden; }
.article-card .article-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card .article-body { padding: 28px; }
.article-cat { font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--color-accent); letter-spacing: 0.1em; }
.article-card h3 { margin: 10px 0; }
.article-excerpt { font-size: 14px; color: var(--color-text-muted); margin-bottom: 14px; }
.article-date { font-size: 12px; color: var(--color-text-muted); }
.coming-soon { display: inline-block; font-size: 11px; font-weight: 500; color: var(--color-text-muted); background: var(--color-bg-2); padding: 3px 8px; border-radius: 2px; margin-left: 10px; }
@media (max-width: 800px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 42% 54%; gap: 4%; }
.contact-left h3 { margin-bottom: 12px; }
.contact-block { padding: 32px 0; border-bottom: 1px solid var(--color-divider); }
.contact-block:first-child { padding-top: 0; }
.contact-block p { font-size: 15px; }
.map-embed { width: 100%; height: 240px; border: none; border-radius: 2px; margin-top: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--color-divider); border-radius: 2px; padding: 12px 14px;
  width: 100%; font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--color-text);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-submit { width: 100%; text-align: center; padding: 16px 34px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 404 ---------- */
.notfound-wrap { position: relative; text-align: center; padding: 140px 7%; overflow: hidden; }
.notfound-bg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; color: var(--color-divider);
  font-size: clamp(120px, 16vw, 200px); opacity: 0.4; z-index: 0; pointer-events: none;
}
.notfound-fg { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.notfound-fg p { color: var(--color-text-muted); margin-bottom: 32px; }
.notfound-fg .text-link { display: block; margin-top: 20px; }

/* ---------- HOMEPAGE INLINE FORM ---------- */
.home-form-section {
  background: var(--color-bg-2);
  padding: 100px 7%;
}
.home-form-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.home-form-inner .eyebrow { display: block; margin-bottom: 16px; }
.home-form-inner h2 { margin-bottom: 14px; }
.home-form-inner .form-lead {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.home-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.home-form-grid .form-group.full { grid-column: 1 / -1; }
.home-form-grid .form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 8px;
}
.home-form-grid input,
.home-form-grid select,
.home-form-grid textarea {
  font-family: inherit;
  resize: vertical;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--color-text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}
.home-form-grid input:focus,
.home-form-grid select:focus,
.home-form-grid textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.home-form-select-wrap { position: relative; }
.home-form-select-wrap::after {
  content: "↓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 13px;
  pointer-events: none;
}
.home-form-submit-row {
  margin-top: 24px;
  text-align: center;
}
.home-form-submit-row .btn {
  padding: 18px 48px;
  font-size: 12px;
}
.home-form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-text-muted);
}
@media (max-width: 640px) {
  .home-form-grid { grid-template-columns: 1fr; }
  .home-form-grid .form-group.full { grid-column: 1; }
}

/* ---------- HEADER SCALE-UP + SECOND NAV CTA (Aug 2026) ---------- */

/* Mobile: logo at 1.5x rather than 2x, with tightened bar padding so the
   sticky header grows ~14% (78px -> 89px) instead of ~54%. --nav-h must match
   the real rendered height or .hero / .page-hero offsets will clip. */
@media (max-width: 900px) {
  :root { --nav-h: 89px; }
  .nav-inner { padding: 13px 7%; }
  .nav-logo img { height: 63px; }
  .footer-logo img { height: 72px; }
}

/* Secondary nav CTA — phone. Outline treatment against the solid blue
   primary CTA so the two read as different actions, not a matched pair. */
.nav-cta-call {
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 20px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta-call:hover { background: var(--color-accent); color: #fff; }
/* On the transparent-over-hero nav the outline needs to be light to be seen. */
.site-nav:not(.scrolled):not(.solid) .nav-cta-call {
  border-color: var(--color-text-light);
  color: var(--color-text-light);
}
.site-nav:not(.scrolled):not(.solid) .nav-cta-call:hover {
  background: var(--color-text-light);
  color: var(--color-text);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) {
  .nav-actions { display: none; }
  .mobile-panel .nav-cta-call,
  .mobile-panel .nav-cta {
    display: inline-block;
    margin-top: 8px;
    text-align: center;
  }
}

/* Nav now carries 8 links + 2 CTAs + a 2x logo. At the default 34px gap it
   overflows below ~1440px, so the gap tightens progressively rather than
   dropping a nav item or wrapping. */
@media (max-width: 1500px) { .nav-links { gap: 24px; } }
@media (max-width: 1350px) {
  :root { --nav-h: 95px; }
  .nav-links { gap: 15px; font-size: 13px; }
  .nav-cta, .nav-cta-call { padding: 10px 12px; letter-spacing: 0.06em; font-size: 11px; }
  .nav-logo img { height: 66px; }
  .nav-inner { padding: 14px 4%; }
  .nav-actions { gap: 8px; }
}
/* Neither CTA may wrap — "Get Free Estimate" breaks to two lines otherwise,
   which pushes the nav taller and collides with the last nav link. */
.nav-cta, .nav-cta-call { white-space: nowrap; }
.nav-inner { gap: 16px; }
/* "Contact Us" wraps to two lines at tighter widths without this. */
.nav-links .nav-link { white-space: nowrap; }

/* Mobile overrides must come last — the <=1350px block above also matches
   mobile widths and would otherwise win on cascade order. Bar height here is
   89px vs 78px before the logo change (+14%, within the 15% budget). */
@media (max-width: 900px) {
  :root { --nav-h: 88px; }
  .nav-inner { padding: 12px 7%; gap: 12px; }
  .nav-logo img { height: 63px; }
  .footer-logo img { height: 72px; }
}

/* The light-outline treatment above is for the transparent nav sitting over a
   dark hero. The mobile panel has a cream background, so the phone CTA must
   revert to the blue outline or it renders near-invisible when the menu opens. */
.site-nav .mobile-panel .nav-cta-call,
.site-nav:not(.scrolled):not(.solid) .mobile-panel .nav-cta-call {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

/* ---------- SERVICE CARD GRID (services page) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 700px)  { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.svc-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.svc-card img,
.svc-card .svc-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.svc-card .svc-ph { background: var(--color-bg-3, #d8d3cb); }
.svc-body { padding: 16px 18px 20px; }
.svc-body h3 { font-size: 17px; margin: 0 0 6px; }
.svc-body p { font-size: 13px; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* Scroll reveal — cards fade/slide in on entry. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card:hover { transform: none; }
}

/* ---------- TEAM SCROLLER (about page) ---------- */
.team-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 18px;
  scrollbar-width: thin;
}
.team-scroll::-webkit-scrollbar { height: 8px; }
.team-scroll::-webkit-scrollbar-thumb { background: var(--color-divider); border-radius: 4px; }
.team-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: 3px;
  overflow: hidden;
}
.team-card .team-ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-3, #d8d3cb);
  display: block;
}
.team-card .team-info { padding: 14px 16px 18px; }
.team-card .team-info h3 { font-size: 18px; margin: 0 0 4px; }
.team-card .team-info a { font-size: 13px; color: var(--color-accent); word-break: break-all; }
.team-hint { font-size: 12px; color: var(--color-text-muted); font-style: italic; margin-top: 6px; }
