/* ============================================================
   BILL LEE'S CONTRACTING — Premium Redesign
   Fonts: DM Serif Display (headlines) + DM Sans (body)
   Palette: Warm cream + deep amber + charcoal
   ============================================================ */

/* ===== 1. CUSTOM PROPERTIES ===== */
:root {
  /* Light palette */
  --color-bg: #FAF8F5;
  --color-surface: #FFFFFF;
  --color-text: #1C1917;
  --color-text-body: #44403C;
  --color-text-muted: #78716C;
  --color-accent: #B45309;
  --color-accent-hover: #92400E;
  --color-accent-soft: rgba(180, 83, 9, 0.08);
  --color-accent-glow: rgba(180, 83, 9, 0.12);
  --color-border: rgba(28, 25, 23, 0.09);
  --color-border-accent: rgba(180, 83, 9, 0.25);
  --color-error: #DC2626;
  --color-error-glow: rgba(220, 38, 38, 0.12);

  /* Dark palette (hero, dark sections, footer) */
  --dark-bg: #1C1917;
  --dark-bg-elevated: #292524;
  --dark-text: #FAF8F5;
  --dark-text-body: #D6D3D1;
  --dark-text-muted: #A8A29E;
  --dark-border: rgba(250, 248, 245, 0.08);
  --dark-accent: #D97706;
  --dark-accent-hover: #F59E0B;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 128px;
  --section-padding-mobile: 80px;
  --container-max: 1180px;
  --container-narrow: 700px;
  --card-padding: 36px;
  --card-gap: 24px;
  --header-height: 72px;

  /* Radius — varied intentionally */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:
    0 1px 3px rgba(28, 25, 23, 0.04),
    0 6px 24px rgba(28, 25, 23, 0.06);
  --shadow-card-hover:
    0 2px 6px rgba(28, 25, 23, 0.06),
    0 12px 40px rgba(28, 25, 23, 0.1);
  --shadow-btn:
    0 1px 3px rgba(28, 25, 23, 0.1),
    0 4px 12px rgba(180, 83, 9, 0.08);
  --shadow-btn-hover:
    0 2px 8px rgba(28, 25, 23, 0.12),
    0 8px 24px rgba(180, 83, 9, 0.15);
}

/* ===== 2. RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* Scrollbar — warm toned */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #D6D3D1; border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 400; /* DM Serif Display looks best at 400 */
}

h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  margin-bottom: 12px;
}

h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

p {
  max-width: 65ch;
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.section-intro {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--color-text-body);
  max-width: 56ch;
  margin-bottom: 48px;
}

/* ===== 4. UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section-padding {
  padding-top: clamp(var(--section-padding-mobile), 10vw, var(--section-padding));
  padding-bottom: clamp(var(--section-padding-mobile), 10vw, var(--section-padding));
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ===== 5. HEADER ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid rgba(250, 248, 245, 0.06);
}

.nav--scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 20px rgba(28, 25, 23, 0.06);
  border-bottom: none;
}

/* Logo — dark on scroll, light on hero */
.nav__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--dark-text);
  text-decoration: none;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: color 0.4s ease, opacity 0.25s ease;
}

.nav--scrolled .nav__logo {
  color: var(--color-text);
}

.nav__logo:hover { opacity: 0.8; }

.nav__logo span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  color: var(--dark-text-muted);
  margin-top: -2px;
  transition: color 0.4s ease;
}

.nav--scrolled .nav__logo span {
  color: var(--color-text-muted);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-body);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav--scrolled .nav-link { color: var(--color-text-body); }
.nav-link:hover { color: var(--dark-text); }
.nav--scrolled .nav-link:hover { color: var(--color-text); }
.nav-link.active { color: var(--dark-accent); }
.nav--scrolled .nav-link.active { color: var(--color-accent); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav--scrolled .nav-link::after { background: var(--color-accent); }

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav right */
.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__phone {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-body);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.nav--scrolled .nav__phone { color: var(--color-text-body); }
.nav__phone:hover { color: var(--dark-text); }
.nav--scrolled .nav__phone:hover { color: var(--color-text); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--dark-text);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  transition: color 0.4s ease;
}

.nav--scrolled .nav__menu-btn { color: var(--color-text); }

.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  left: 11px;
}

.nav__menu-btn span:nth-child(1) { top: 15px; }
.nav__menu-btn span:nth-child(2) { top: 21px; }
.nav__menu-btn span:nth-child(3) { top: 27px; }

.nav__menu-btn.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__menu-btn.is-active span:nth-child(2) { opacity: 0; }
.nav__menu-btn.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--color-bg);
  z-index: 999;
  padding: calc(var(--header-height) + 32px) 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--color-border);
}

.nav__mobile.is-open {
  transform: translateX(0);
}

.nav__mobile .nav-link {
  font-size: 18px;
  font-weight: 500;
  padding: 14px 0;
  display: block;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.nav__mobile .nav-link.active {
  color: var(--color-accent);
}

.nav__mobile .nav-link::after {
  display: none;
}

.nav__mobile-phone {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.nav__mobile-phone a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ===== 6. HERO (Dark, dramatic) ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 48px) clamp(24px, 5vw, 64px) 96px;
  overflow: hidden;
  background: var(--dark-bg);
}

/* Subtle warm grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* Mouse glow — warm amber tint */
.hero__mouse-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at 50% 50%, rgba(180, 83, 9, 0.04), transparent 50%);
  transition: background 0.15s ease;
}

/* Grid lines — hidden; too techy for contractor */
.hero__grid-lines {
  display: none;
}

/* Vignette — warm fade */
.hero .hero__vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  pointer-events: none;
  z-index: 4;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

/* Label with flanking lines */
.hero__label-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(217, 119, 6, 0.3);
}

.hero__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-accent);
  white-space: nowrap;
}

/* Headline */
.hero__title {
  margin-bottom: 0;
}

.hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--dark-text);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(64px, 12vw, 140px);
}

.hero__title-line--accent {
  color: var(--dark-accent);
  font-size: clamp(32px, 5vw, 68px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 8px;
  font-style: italic;
}

/* Subtitle */
.hero__subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--dark-text-muted);
  max-width: 400px;
  margin-top: 32px;
  margin-bottom: 48px;
  line-height: 1.65;
}

/* Actions */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__actions-divider {
  width: 1px;
  height: 20px;
  background: rgba(250, 248, 245, 0.12);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}

.hero__btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.3);
}

.hero__btn:active {
  transform: translateY(0);
  transition: transform 0.08s;
}

.hero__btn:focus-visible {
  outline: 2px solid var(--dark-accent);
  outline-offset: 3px;
}

.hero__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.hero__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.hero__link:hover { color: var(--dark-text); }
.hero__link:hover::after { opacity: 0.6; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(250, 248, 245, 0.15);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll span {
  width: 2px;
  height: 6px;
  background: rgba(250, 248, 245, 0.3);
  border-radius: 1px;
  animation: heroScrollPulse 2.5s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 0.15; }
}

/* Hero CTAs reused in CTA sections */
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 90svh;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 72px;
  }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .hero__actions-divider { display: none; }
  .hero__btn { width: 100%; max-width: 300px; padding: 18px 32px; }
  .hero__title-line { font-size: clamp(52px, 14vw, 72px); }
  .hero__title-line--accent { font-size: clamp(26px, 7.5vw, 40px); }
  .hero__label-line { width: 24px; }
}

@media (max-width: 375px) {
  .hero__title-line { font-size: 48px; }
  .hero__title-line--accent { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { display: none; }
  .hero__mouse-glow { display: none; }
}

/* --- Inner Page Hero --- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 72px) clamp(20px, 4vw, 48px) 72px;
  text-align: center;
  background: var(--dark-bg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Warm radial glow */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 65%, rgba(180, 83, 9, 0.06), transparent 70%);
  pointer-events: none;
}

/* Bottom transition into light content */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
  z-index: 3;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--dark-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dark-text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--dark-text-muted);
  transition: color 0.25s ease;
}

.breadcrumb a:hover { color: var(--dark-accent); }
.breadcrumb span[aria-hidden] { opacity: 0.4; }

/* ===== 7. BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  will-change: transform;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  transition: transform 0.08s ease;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  background: transparent;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
  white-space: nowrap;
  will-change: transform;
}

.btn-secondary:hover {
  background: var(--color-accent-soft);
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.08);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(1px);
  transition: transform 0.08s ease;
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===== 8. CARDS ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-card-hover);
}

@media (hover: none) {
  .card:hover {
    transform: none;
    border-color: var(--color-border);
    box-shadow: var(--shadow-card);
  }
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.card:hover .service-card__icon {
  transform: translateY(-3px);
  color: var(--color-accent-hover);
}

.service-card__icon svg { width: 40px; height: 40px; }

.service-card h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2vw, 24px);
}

.service-card p {
  color: var(--color-text-body);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Section CTA */
.section-cta {
  margin-top: 56px;
}

/* Placeholder images */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E7E5E4 0%, #D6D3D1 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s ease;
}

.placeholder-image::before {
  content: attr(data-label);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.6;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.placeholder-image::after {
  content: 'PHOTO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(28, 25, 23, 0.05);
  z-index: 1;
  pointer-events: none;
}

.placeholder-image:hover {
  transform: scale(1.02);
}

@media (hover: none) {
  .placeholder-image:hover { transform: none; }
}

.placeholder-image--wide { aspect-ratio: 21 / 9; }
.placeholder-image--portrait { aspect-ratio: 3 / 4; max-width: 320px; margin: 0 auto; }

/* Grids */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
  margin-top: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-item__number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--dark-accent);
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-block;
}

.trust-item__plus {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--dark-accent);
  line-height: 1;
}

.trust-item__text {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--dark-accent);
}

.trust-item__icon { color: var(--dark-accent); }
.trust-item__icon svg { width: 40px; height: 40px; }

.trust-item__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
  margin-top: 40px;
}

.projects-grid .placeholder-image--wide {
  grid-column: 1 / -1;
}

/* Stats row (about page) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-block__number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-block;
}

.stat-block__text {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--color-accent);
}

.stat-block__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Cursor glow — hidden for contractor site */
.cursor-glow {
  display: none !important;
}

/* Final CTA section */
.final-cta {
  text-align: center;
  background: var(--dark-bg);
  color: var(--dark-text-body);
}

.final-cta h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.final-cta p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  color: var(--dark-text-muted);
}

.final-cta .btn-primary {
  background: var(--dark-accent);
  color: var(--dark-bg);
}

.final-cta .btn-primary:hover {
  background: var(--dark-accent-hover);
}

.final-cta .btn-secondary {
  color: var(--dark-accent);
  border-color: var(--dark-accent);
}

.final-cta .btn-secondary:hover {
  background: rgba(217, 119, 6, 0.1);
  color: var(--dark-accent-hover);
}

/* ===== 9. SECTION VARIANTS ===== */

/* Section-light (default — most sections are light now) */
.section-light {
  background: var(--color-surface);
  color: var(--color-text-body);
  position: relative;
}

.section-light h2,
.section-light h3,
.section-light h4 { color: var(--color-text); }
.section-light p { color: var(--color-text-body); }
.section-light .section-label { color: var(--color-accent); }

.section-light .card {
  background: var(--color-bg);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.section-light .card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-card-hover);
}

.section-light .placeholder-image {
  background: linear-gradient(135deg, #F5F5F4 0%, #E7E5E4 100%);
  border-color: var(--color-border);
}

.section-light .stat-block__number,
.section-light .stat-block__text { color: var(--color-accent); }

/* Smooth section transitions */
.section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
  pointer-events: none;
}

/* Services preview (homepage — on cream bg) */
.services-preview {
  background: var(--color-bg);
}

.services-preview .section-cta { text-align: center; }

/* About preview (homepage) */
.about-preview { text-align: center; }
.about-preview p { margin-left: auto; margin-right: auto; }
.about-preview .section-cta { text-align: center; }

/* Trust bar — dark, dramatic */
.trust-bar {
  background: var(--dark-bg);
  color: var(--dark-text-body);
  position: relative;
}

.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.trust-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

/* Projects preview */
.projects-preview .section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== 10. SERVICES PAGE ===== */
.service-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.service-detail--flipped .service-detail__content { order: 2; }
.service-detail--flipped .service-detail__visual { order: 1; }

.service-detail__visual .placeholder-image {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-detail:hover .service-detail__visual .placeholder-image {
  transform: scale(1.03);
}

@media (hover: none) {
  .service-detail:hover .service-detail__visual .placeholder-image { transform: none; }
}

.service-detail__content .section-label { margin-bottom: 12px; }
.service-detail__content h2 { margin-bottom: 24px; }
.service-detail__content p { margin-bottom: 20px; }
.service-detail__content .btn-secondary { margin-top: 24px; }

/* Service area */
.service-area { text-align: center; }
.service-area p { margin-left: auto; margin-right: auto; }

/* ===== 11. ABOUT PAGE ===== */
.about-story {
  position: relative;
  background: var(--color-bg);
}

.about-story .accent-line {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 0;
}

.accent-line__svg {
  width: 2px;
  height: 100%;
  display: block;
}

.about-portrait { margin-top: 56px; }

/* Why us */
.about-why {
  background: var(--dark-bg);
  color: var(--dark-text-body);
}

.about-why h2 { color: var(--dark-text); }
.about-why .section-label { color: var(--dark-accent); }
.about-why .section-label::before { background: var(--dark-accent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.why-item {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.why-item:hover {
  border-color: rgba(217, 119, 6, 0.2);
  background: rgba(217, 119, 6, 0.04);
  transform: translateY(-4px);
}

.why-item h3 {
  color: var(--dark-text);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.why-item:hover h3 { color: var(--dark-accent); }

.why-item p {
  color: var(--dark-text-body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* About stats */
.about-stats {
  padding-top: clamp(80px, 10vw, 100px);
  padding-bottom: clamp(80px, 10vw, 100px);
}

/* ===== 12. CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 32px; }

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

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

.form-group input.is-error,
.form-group textarea.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px var(--color-error-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2378716C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  font-size: 13px;
  color: var(--color-error);
  font-weight: 500;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success h3 { color: var(--color-text); margin-bottom: 12px; }
.form-success p { color: var(--color-text-body); margin-bottom: 24px; margin-left: auto; margin-right: auto; }

/* Contact info cards */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card { padding: 24px; }

.contact-info-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-info__phone {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.contact-info__phone:hover { color: var(--color-accent-hover); }

.contact-info__note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.section-light .contact-info-card address {
  color: var(--color-text-body);
  font-size: 15px;
  line-height: 1.6;
}

/* Map */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.06);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  padding-left: 20px;
  margin-left: -20px;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.faq-item.faq-open {
  border-left-color: var(--color-accent);
  background: var(--color-accent-soft);
}

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

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.25s ease, padding-left 0.3s ease;
}

.faq-open .faq-toggle {
  color: var(--color-accent);
  padding-left: 4px;
}

.faq-toggle:hover { color: var(--color-accent); }

.faq-icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.35s ease, color 0.25s ease;
}

.faq-open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
}

.faq-answer a {
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== 13. FOOTER ===== */
.site-footer {
  background: var(--dark-bg);
  border-top: none;
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-cta {
  text-align: center;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--dark-text);
}

.footer-cta .btn-primary {
  background: var(--dark-accent);
  color: var(--dark-bg);
}

.footer-cta .btn-primary:hover {
  background: var(--dark-accent-hover);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--dark-text);
  display: inline-block;
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.footer-logo:hover { opacity: 0.8; }

.footer-logo span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  color: var(--dark-text-muted);
  margin-top: -1px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
  color: var(--dark-text);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-nav ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-services a,
.footer-contact a {
  font-size: 14px;
  color: var(--dark-text-muted);
  display: inline-block;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-nav a:hover,
.footer-services a:hover,
.footer-contact a:hover {
  color: var(--dark-accent);
  transform: translateX(3px);
}

.footer-contact address {
  font-size: 14px;
  color: var(--dark-text-muted);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--dark-text-muted);
  margin: 0 auto;
}

.footer-credit {
  margin-top: 8px;
}

.footer-credit a {
  color: var(--dark-text-muted);
  transition: color 0.25s ease;
}

.footer-credit a:hover {
  color: var(--dark-accent);
}

/* ===== 14. MEDIA QUERIES ===== */

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__menu-btn { display: block; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .service-detail .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail--flipped .service-detail__content { order: 1; }
  .service-detail--flipped .service-detail__visual { order: 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .placeholder-image--wide { grid-column: 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .page-hero {
    min-height: 240px;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .section-cta { text-align: center; }

  .section-cta .btn-primary,
  .section-cta .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  .card { padding: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-form .btn-primary { width: 100%; }
  .footer-cta h2 { font-size: 28px; }
  .footer-cta .btn-primary { width: 100%; max-width: 280px; }
}

@media (max-width: 375px) {
  body { font-size: 15px; }
  .page-hero__title { font-size: 32px; }
  h2 { font-size: 26px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 0 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 14px 14px;
  }

  .trust-item__number { font-size: 36px; }
  .stat-block__number { font-size: 40px; }
}

/* ===== 15. REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-glow { display: none !important; }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== 16. HIGH CONTRAST ===== */
@media (forced-colors: active) {
  .btn-primary,
  .btn-secondary { border: 2px solid ButtonText; }
  .card { border: 1px solid ButtonText; }
  .nav__cta { border: 2px solid ButtonText; }
}

/* ===== 17. PRINT ===== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  body { font-size: 12pt; line-height: 1.5; }

  .nav, .nav__overlay, .nav__mobile, .cursor-glow,
  .hero::before, .hero::after,
  .final-cta, .footer-cta, .map-embed,
  .btn-primary, .btn-secondary, .skip-link {
    display: none !important;
  }

  .hero { min-height: auto; padding: 24pt 0; }
  .section-padding { padding: 24pt 0; }

  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666 !important; }
  a[href^="tel:"]::after { content: ""; }

  .faq-answer { max-height: none !important; overflow: visible !important; }
  .footer-grid { display: block; }
  .footer-brand, .footer-contact { margin-bottom: 12pt; }
  .footer-nav, .footer-services { display: none; }
}
