/* ============================================================
   Brothers in Business — Premium Construction Website
   Layout: Canvas right 67vw (fixed) | Text left 33vw (scrolls)
   Typography: Syne (display) + Barlow (body)
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Dark palette — slightly lightened, forest-toned */
  --void:          #0d1710;
  --void-2:        #111f15;
  --deep-green:    #162d1f;
  --mid-green:     #1c3a27;
  --accent-green:  #1f4a30;
  --bright-green:  #6a8709;
  --glow-green:    rgba(106, 135, 9, 0.28);
  --glow-green-2:  rgba(106, 135, 9, 0.12);

  /* Warm/light palette for friendly sections */
  --warm-bg:       #f5f1ea;
  --warm-bg-2:     #eeeae1;
  --warm-text:     #1a2a1e;
  --warm-text-mid: #4a5e50;
  --warm-text-muted: #7a8e7e;
  --warm-border:   rgba(106, 135, 9, 0.18);

  /* Dark text palette */
  --text-warm:     #f2efe8;
  --text-mid:      #b0bfb5;
  --text-muted:    #607068;
  --green-accent:  #7a9c12;
  --border:        rgba(255, 255, 255, 0.07);
  --border-green:  rgba(106, 135, 9, 0.32);

  /* Typography */
  --font-display:  'Syne', sans-serif;
  --font-body:     'Barlow', sans-serif;

  /* Spacing */
  --section-pad:   120px;
  --nav-h:         92px;
  --switcher-h:    40px;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background-color: var(--void);
  color: var(--text-warm);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Section Switcher ──────────────────────────────────────── */
.section-switcher {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--switcher-h);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--void);
  border-bottom: 1px solid rgba(106, 135, 9, 0.2);
}

.switcher-tab {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.switcher-tab:hover {
  color: var(--text-warm);
}

.switcher-tab--active {
  color: var(--green-accent);
  border-bottom-color: var(--bright-green);
}

/* ─── Loader ────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.loader-bar-track {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

#loader-bar {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--bright-green), var(--green-accent));
  transition: width 0.1s linear;
}

#loader-percent {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── Navbar ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--switcher-h);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(13, 23, 16, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: auto;
}

.nav-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--text-warm); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1px solid var(--border-green);
  border-radius: 6px;
  color: var(--text-warm);
  background: rgba(46, 122, 79, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: rgba(46, 122, 79, 0.28);
  border-color: var(--bright-green);
  box-shadow: 0 0 20px var(--glow-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-warm);
  transition: all 0.3s ease;
}

/* ─── Canvas — fixed right 67vw ─────────────────────────────── */
.canvas-wrap {
  position: fixed;
  right: 0;
  top: 0;
  width: 67vw;
  height: 100vh;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.canvas-wrap.visible {
  opacity: 1;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Soft gradient vignette on the left edge of canvas (blends into body bg) */
.canvas-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--void), transparent);
  z-index: 2;
  pointer-events: none;
}

/* ─── Scroll Container — hero panels on left ─────────────────── */
#scroll-container {
  position: relative;
  z-index: 5;
}

/* ─── Hero Panels ───────────────────────────────────────────── */
.hero-panel {
  width: 36vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--switcher-h) + 40px) 5vw 80px 7vw;
  position: relative;
}

.hero-panel-cta {
  min-height: 110vh;
}

/* Panel text elements — start hidden, animate in via JS */
.panel-el {
  opacity: 0;
  transform: translateY(36px);
}

/* Panel label */
.hero-panel .section-label {
  margin-bottom: 4px;
}

/* Panel heading */
.panel-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--text-warm);
}

.panel-heading-lg {
  font-size: clamp(4rem, 6.5vw, 7.5rem);
}

/* Panel body */
.panel-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 380px;
  margin-top: 4px;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}

.scroll-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  animation: nudgeDown 2s ease-in-out infinite;
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─── CTA Buttons (hero + sections) ─────────────────────────── */
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-primary {
  background: #111111;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.cta-primary:hover {
  background: #222222;
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: var(--text-warm);
  border: 1px solid var(--border-green);
}

.cta-secondary:hover {
  background: rgba(46, 122, 79, 0.1);
  border-color: var(--bright-green);
}

/* ─── Shared section labels / headings / body ─────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-accent);
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--text-warm);
}

.section-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── Post-hero Site Sections ────────────────────────────────── */
.site-section {
  position: relative;
  z-index: 10;
  padding: var(--section-pad) clamp(40px, 7vw, 110px);
}

/* Reveal animations */
.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── About Section — WARM / LIGHT ──────────────────────────── */
.about-section {
  background: var(--warm-bg);
  color: var(--warm-text);
}

.about-section .section-label { color: var(--bright-green); }
.about-section .section-heading { color: var(--warm-text); }
.about-section .section-body { color: var(--warm-text-mid); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.about-visual { position: relative; }

.about-image-frame {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #d4e4d8 0%, #b8cebe 40%, #c8d8c8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--warm-border);
  box-shadow: 0 20px 60px rgba(26, 74, 46, 0.12);
}

.about-image-placeholder { text-align: center; }

.about-image-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warm-text-muted);
  text-transform: uppercase;
}

.about-image-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--warm-text-muted);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 96px;
  height: 96px;
  background: var(--bright-green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 8px 32px var(--glow-green);
}

.badge-icon { font-size: 1.2rem; color: #fff; }

.badge-text {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-copy .section-heading {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 0.96;
}

.about-copy strong { color: var(--warm-text); font-weight: 600; }

.about-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--warm-border);
  margin-top: 4px;
}

.about-pillars li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--warm-border);
}

.pillar-icon {
  color: var(--bright-green);
  font-size: 0.55rem;
  margin-top: 7px;
  flex-shrink: 0;
}

.about-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--warm-text);
  margin-bottom: 3px;
}

.about-pillars span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-text-muted);
  line-height: 1.55;
}

/* ─── Services Section — DARK ────────────────────────────────── */
.services-section {
  background: var(--void-2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card:hover {
  background: rgba(46, 122, 79, 0.08);
  border-color: var(--border-green);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.service-icon {
  width: 46px;
  height: 46px;
  color: var(--bright-green);
}

.service-icon svg { width: 100%; height: 100%; }

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-warm);
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.service-link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--bright-green);
  letter-spacing: 0.12em;
}

/* ─── Projects Section ──────────────────────────────────────── */
.projects-section {
  background: var(--deep-green);
}

.projects-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--bright-green);
  color: var(--text-warm);
  background: rgba(46, 122, 79, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 10px;
  max-width: 1360px;
  margin: 0 auto;
}

.project-card {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 10px;
}

.project-card-wide { grid-column: span 2; }
.project-card.hidden { display: none; }

.project-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 10px;
}

.project-card:hover .project-img { transform: scale(1.05); }

/* Roofing */
.project-img-1  { background-image: url('../assets/project-roofing-house.png'); background-size: cover; background-position: center; }
.project-img-r2 { background-image: url('../assets/roofing-1.jpg'); background-size: cover; background-position: center; }
.project-img-r3 { background-image: url('../assets/roofing-2.jpg'); background-size: cover; background-position: center top; }
.project-img-r4 { background-image: url('../assets/roofing-deck.jpg'); background-size: cover; background-position: center; }
.project-img-r5 { background-image: url('../assets/roofing-victorian.png'); background-size: cover; background-position: center; }
.project-img-r6 { background-image: url('../assets/roofing-5.jpg'); background-size: cover; background-position: center; }

/* Storm Repair */
.project-img-s1 { background-image: url('../assets/storm-repair-1.jpg'); background-size: cover; background-position: center; }
.project-img-s2 { background-image: url('../assets/storm-repair-2.jpg'); background-size: cover; background-position: center; }
.project-img-s3 { background-image: url('../assets/storm-repair-3.jpg'); background-size: cover; background-position: center; }
.project-img-s4 { background-image: url('../assets/storm-repair-4.jpg'); background-size: cover; background-position: center; }
.project-img-s5 { background-image: url('../assets/storm-repair-5.jpg'); background-size: cover; background-position: center; }
.project-img-s6 { background-image: url('../assets/storm-repair-6.jpg'); background-size: cover; background-position: center; }

/* Remodeling */
.project-img-m1 { background-image: url('../assets/remodel-bedroom.png'); background-size: cover; background-position: center; }
.project-img-m2 { background-image: url('../assets/remodel-living-1.png'); background-size: cover; background-position: center; }
.project-img-m3 { background-image: url('../assets/remodel-kitchen-1.png'); background-size: cover; background-position: center; }
.project-img-m4 { background-image: url('../assets/remodel-bath.png'); background-size: cover; background-position: center; }
.project-img-m5 { background-image: url('../assets/remodel-dining.png'); background-size: cover; background-position: center; }
.project-img-m6 { background-image: url('../assets/remodel-living-2.png'); background-size: cover; background-position: center; }
.project-img-m7 { background-image: url('../assets/remodel-living-3.png'); background-size: cover; background-position: center; }
.project-img-m8 { background-image: url('../assets/remodel-kitchen-2.png'); background-size: cover; background-position: center; }

/* New Build / Construction */
.project-img-2  { background-image: url('../assets/project-framing.png'); background-size: cover; background-position: center; }
.project-img-3  { background-image: url('../assets/project-framing-2.png'); background-size: cover; background-position: center; }
.project-img-4  { background-image: url('../assets/project-construction-ext.png'); background-size: cover; background-position: center; }
.project-img-c4 { background-image: url('../assets/newbuild-framing-3.png'); background-size: cover; background-position: center; }
.project-img-c5 { background-image: url('../assets/newbuild-exterior.png'); background-size: cover; background-position: center; }
.project-img-c6 { background-image: url('../assets/newbuild-framing-4.png'); background-size: cover; background-position: center; }


.project-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10,20,12,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-category {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-warm);
  line-height: 1.2;
}

.project-location {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ─── Reviews Section — WARM / LIGHT ────────────────────────── */
.reviews-section {
  background: var(--warm-bg-2);
  color: var(--warm-text);
}

.reviews-section .section-label { color: var(--bright-green); }
.reviews-section .section-heading { color: var(--warm-text); }
.reviews-section .section-header { margin-bottom: 60px; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto 72px;
}

.review-card {
  padding: 44px 36px;
  border: 1px solid var(--warm-border);
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 16px rgba(26, 74, 46, 0.06);
}

.review-card:hover {
  box-shadow: 0 12px 40px rgba(26, 74, 46, 0.12);
  transform: translateY(-4px);
}

.review-card-featured {
  border-color: rgba(46, 122, 79, 0.3);
  background: linear-gradient(145deg, #fff 0%, #f0f7f2 100%);
}

.review-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.6;
  color: var(--bright-green);
  opacity: 0.4;
}

.review-text {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 400;
  color: var(--warm-text-mid);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bright-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-author > div:nth-child(2) { flex: 1; }

.review-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--warm-text);
}

.review-author span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--warm-text-muted);
}

.review-stars {
  color: #f0a825;
  font-size: 0.78rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* Trust Metrics */
.trust-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 12px;
  padding: 48px 0;
  box-shadow: 0 4px 24px rgba(26, 74, 46, 0.08);
}

.metric {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 800;
  color: var(--warm-text);
  line-height: 1;
}

.metric-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--bright-green);
  vertical-align: super;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-text-muted);
  margin-top: 8px;
}

.metric-divider {
  width: 1px;
  height: 56px;
  background: var(--warm-border);
}

/* ─── Why Section ───────────────────────────────────────────── */
.why-section {
  background: var(--void-2);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
}

.why-copy {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-copy .section-heading {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.why-item:first-child { border-top: 1px solid var(--border); }

.why-check {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bright-green);
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(46, 122, 79, 0.08);
}

.why-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-warm);
  margin-bottom: 4px;
}

.why-content span {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section {
  background: var(--mid-green);
  text-align: center;
  padding: var(--section-pad) clamp(40px, 10vw, 160px);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(46, 122, 79, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-big-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 9rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--text-warm);
}

.cta-section .cta-buttons { justify-content: center; }

/* ─── Contact Section ───────────────────────────────────────── */
.contact-section {
  background: var(--void);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-warm);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-mid);
  transition: color 0.2s ease;
}

.contact-link:hover { color: var(--text-warm); }

.contact-icon { font-size: 0.95rem; width: 18px; flex-shrink: 0; }

.service-areas {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-areas strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.social-links { display: flex; gap: 12px; }

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.social-link svg { width: 17px; height: 17px; }

.social-link:hover {
  border-color: var(--border-green);
  color: var(--bright-green);
  background: rgba(46, 122, 79, 0.1);
}

/* ─── Contact Form ──────────────────────────────────────────── */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 40px;
}

.form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 700;
  color: var(--text-warm);
}

.form-subheading {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: -8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-warm);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.18); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bright-green);
  background: rgba(46, 122, 79, 0.06);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23607068' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option { background: #0e1f14; color: var(--text-warm); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  padding: 18px;
}

/* ─── Footer Bar ────────────────────────────────────────────── */
.footer-bar {
  background: #060c07;
  border-top: 1px solid var(--border);
  padding: 28px clamp(40px, 7vw, 110px);
  position: relative;
  z-index: 10;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bar-inner > span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-nav { display: flex; gap: 24px; }

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--text-warm); }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-accent);
}

.footer-credit {
  text-align: center;
  padding: 10px 48px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  opacity: 0.6;
}

/* ─── Mobile ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
    --nav-h: 76px;
  }

  /* Navbar mobile */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 23, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-cta { display: none; }

  /* Canvas: full width on mobile, sits behind content */
  .canvas-wrap {
    width: 100vw;
    opacity: 0.35;
    right: 0;
    left: 0;
  }

  .canvas-wrap::before { display: none; }

  /* Hero panels: full width with dark backdrop */
  .hero-panel {
    width: 100%;
    min-height: 100vh;
    padding: calc(var(--nav-h) + var(--switcher-h) + 32px) 7vw 60px;
    background: rgba(13, 23, 16, 0.8);
    backdrop-filter: blur(4px);
  }

  .panel-heading { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .panel-heading-lg { font-size: clamp(3.2rem, 10vw, 5rem); }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .project-card { height: 220px; }
  .project-card-wide { grid-column: span 1; }
  .project-overlay { opacity: 1; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-metrics { flex-wrap: wrap; padding: 36px 20px; }
  .metric { min-width: 130px; }
  .metric-divider { display: none; }

  /* Why */
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-copy { position: static; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-bar-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 20px; }

  .nav-logo img { height: 52px; }

  .section-heading { font-size: clamp(2rem, 7.5vw, 3.2rem); }
  .cta-big-heading { font-size: clamp(2.8rem, 10vw, 4.5rem); }

  .site-section { padding: var(--section-pad) 20px; }

  .cta-buttons { flex-direction: column; }
  .cta-button { text-align: center; }
}
