/* ============================================================
   KODY DAVISON PROPERTY MAINTENANCE (KDPM)
   Design System: Graphite + Brushed Steel
   ============================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --bg-primary:     #0e1114;
  --bg-secondary:   #14181d;
  --bg-card:        #1a1f26;
  --accent:         #a8b6c4;
  --accent-light:   #dce4ec;
  --accent-dim:     rgba(168, 182, 196, 0.09);
  --accent-border:  rgba(168, 182, 196, 0.15);
  --accent-border-h:rgba(168, 182, 196, 0.42);
  --text-primary:   #f1f4f7;
  --text-secondary: #98a3af;
  --text-muted:     #626d79;
  --max-w:          1280px;
  --section-pad:    clamp(80px, 10vw, 120px);
  --radius:         14px;
  --radius-sm:      9px;
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     0.3s var(--ease);
  --nav-h:          76px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }
button { font-family: inherit; }
ul, ol { list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
p  { max-width: 70ch; }

.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: -60px; left: 16px; z-index: 2000;
  background: var(--accent); color: #0e1114;
  padding: 0.7rem 1.2rem; border-radius: 0 0 6px 6px;
  font-size: 0.85rem; font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #0e1114; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
section { padding: var(--section-pad) clamp(20px, 4vw, 48px); }

/* === LABELS & EYEBROWS === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 62ch;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.btn-primary { background: var(--accent-light); color: #0e1114; }
.btn-primary:hover {
  background: #ffffff;
  color: #0e1114;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(168, 182, 196, 0.22);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(168, 182, 196, 0.55);
}
.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.15rem clamp(20px, 4vw, 48px);
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(14, 17, 20, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--accent-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo lockup: KD mark + wordmark */
.nav-logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-mark-img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  transition: height var(--transition);
}
#navbar.scrolled .logo-mark-img { height: 29px; }
.logo-lockup { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-logo { display: block; }
.footer-logo img { height: 76px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0e1114;
  background: var(--accent-light);
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  font-weight: 700;
}
.nav-links .nav-cta:hover { background: #ffffff; color: #0e1114; }
.nav-links .nav-cta svg { width: 14px; height: 14px; fill: currentColor; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px clamp(20px, 4vw, 48px) 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(168, 182, 196,0.10) 0%, transparent 68%);
  top: -300px; right: -220px;
}
.hero-glow-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(120, 138, 158, 0.07) 0%, transparent 70%);
  bottom: -120px; left: -140px;
}
.hero-svg-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-svg-bg svg { width: 100%; height: 100%; opacity: 0.05; }

/* Optional hero photo layer — shows only when images/hero.jpg exists */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero-photo.loaded { opacity: 0.22; }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--bg-primary) 12%, rgba(14, 17, 20,0.72) 55%, rgba(14, 17, 20,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-title { max-width: 16ch; margin-bottom: 1.4rem; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 2.4rem;
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2.75rem;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.hero-trust li svg { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollFade 2.5s ease-in-out infinite;
}
.scroll-hint-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
@keyframes scrollFade {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.8; }
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--bg-primary); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 182, 196,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--accent-border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.34), 0 0 0 1px rgba(168, 182, 196,0.08);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 42px; height: 42px;
  color: var(--accent);
  margin-bottom: 1.35rem;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; position: relative; }
.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.3rem;
  position: relative;
}
.services-more {
  margin-top: 2.5rem;
  padding: 1.6rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.services-more h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Chip rows — used for the extra services and the service-area towns */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.79rem;
  line-height: 1.3;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}
.chips li:hover { border-color: var(--accent-border-h); color: var(--text-primary); }
.chips-lg li {
  background: var(--bg-card);
  padding: 0.55rem 1.15rem;
  font-size: 0.87rem;
}

/* ============================================================
   WORK / GALLERY — before / during / after
   ============================================================ */
#work { background: var(--bg-secondary); }

.job + .job { margin-top: clamp(36px, 5vw, 64px); }
.job-head { max-width: 74ch; margin-bottom: 1.35rem; }
.job-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin-bottom: 0.7rem; }
.job-head p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; max-width: 74ch; }

.work-tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
  display: block;
}

.job-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.job-shot { margin: 0; }

.work-media {
  position: relative;
  /* Job photos are phone shots, so portrait. 4:5 keeps almost the whole
     frame — a 4:3 landscape slot cropped away more than half of it. */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  /* Placeholder pattern shows through until a real photo is dropped in */
  background:
    repeating-linear-gradient(115deg, rgba(168, 182, 196, 0.055) 0 2px, transparent 2px 13px),
    linear-gradient(160deg, #232930 0%, #14181d 100%);
}
.work-media:hover {
  border-color: var(--accent-border-h);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.34);
}
.work-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
  opacity: 0;
}
.work-media img.loaded { opacity: 1; }
.work-media:hover img { transform: scale(1.04); }

.job-stage {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  background: rgba(14, 17, 20, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 0.28rem 0.85rem;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.work-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.work-ph svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.4; opacity: 0.6; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--bg-primary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-frame { position: relative; border-radius: var(--radius); }
.about-photo-frame .photo-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(168, 182, 196,0.055) 0 2px, transparent 2px 13px),
    linear-gradient(160deg, #232930 0%, #14181d 100%);
}
.about-photo-frame img[data-optional] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.94) contrast(1.04);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}
.about-photo-frame img[data-optional].loaded { opacity: 1; }
.about-photo-frame::before,
.about-photo-frame::after {
  content: '';
  position: absolute;
  width: 64px; height: 64px;
  z-index: 2;
  pointer-events: none;
}
.about-photo-frame::before {
  top: -10px; left: -10px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.about-photo-frame::after {
  bottom: -10px; right: -10px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.about-badge {
  position: absolute;
  bottom: 26px; left: -22px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.badge-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}
.about-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(165deg, #232a33 0%, #161b22 55%, #10141a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(4.25rem, 10vw, 5.5rem);
  text-align: center;
}
.af-mark {
  width: clamp(120px, 46%, 190px);
  height: auto;
  opacity: 0.92;
}
.af-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0;
}
.af-name span {
  display: block;
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.af-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 260px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--accent-border);
}
.af-list li {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.about-bio {
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 1.4rem 0 2.1rem;
  font-size: 0.97rem;
}
.about-bio p + p { margin-top: 1rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2.1rem;
}
.stat-item {
  background: var(--bg-card);
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--accent-border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  display: block;
}
.about-highlights { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2.1rem; }
.about-highlights li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.about-highlights li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.6em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--bg-primary); overflow: hidden; }
.testimonials-header { margin-bottom: 3rem; text-align: center; }
.testimonials-header .section-label { justify-content: center; }
.testimonial-carousel { max-width: 860px; margin: 0 auto; }
.testimonial-track { overflow: hidden; min-height: 240px; position: relative; }
.testimonial-slide { display: none; animation: tFadeIn 0.5s var(--ease) both; }
.testimonial-slide.active { display: block; }
@keyframes tFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.t-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.t-stars svg { width: 17px; height: 17px; fill: var(--accent-light); }
.t-text {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 0 auto 2rem;
  max-width: 66ch;
  text-align: center;
}
.t-text::before { content: '\201C'; color: var(--accent); }
.t-text::after  { content: '\201D'; color: var(--accent); }
.t-author { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.t-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}
.t-title { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; }
.t-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.7rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-source-mark { width: 13px; height: 13px; flex-shrink: 0; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.c-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.c-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.c-btn svg { pointer-events: none; width: 16px; height: 16px; fill: currentColor; }
.c-dots { display: flex; gap: 7px; align-items: center; }
.c-dot {
  width: 7px; height: 7px;
  border-radius: 4px;
  background: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  border: none; padding: 0; display: block;
}
.c-dot.active { width: 24px; background: var(--accent); }
.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.reviews-cta a:hover { color: var(--accent); }
.reviews-cta svg { width: 16px; height: 16px; }

/* ============================================================
   AREAS
   ============================================================ */
#areas { background: var(--bg-secondary); }
.areas-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 68ch;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--bg-primary); }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  margin-bottom: 0.85rem;
  transition: border-color var(--transition);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--accent-border-h); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.5rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 1.5rem 1.35rem; }
.faq-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; max-width: 68ch; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--bg-secondary); text-align: center; }
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-wrap .section-label { justify-content: center; }
.contact-wrap h2 { margin-bottom: 1rem; }
.contact-intro {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 2.25rem;
}
.contact-rule {
  width: 56px; height: 1px;
  background: var(--accent);
  opacity: 0.45;
  margin-bottom: 2.25rem;
}
.contact-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-bottom: 2.25rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  transition: border-color var(--transition), transform var(--transition);
  text-align: left;
  min-height: 84px;
}
.contact-item:hover { border-color: var(--accent-border-h); transform: translateY(-2px); }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-icon svg { width: 17px; height: 17px; fill: currentColor; }
.contact-text { min-width: 0; }
.contact-label {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-value {
  display: block;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}
.contact-value a { color: var(--text-primary); }
.contact-value a:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Social row */
.social-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.social-row a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--accent-border);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 48px) 1.75rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--accent-border);
}
.footer-about p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.1rem;
  max-width: 42ch;
}
.footer-abn { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.9rem; }
.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a, .footer-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-base {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-base p { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: rgba(14, 17, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--accent-border);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.call-bar .btn { flex: 1; padding: 0.85rem 0.75rem; font-size: 0.75rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .job-photos    { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 420px; }
  .about-badge { left: auto; right: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(44px, 8vw, 60px); --nav-h: 68px; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.35rem;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(14, 17, 20, 0.985);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.75rem clamp(20px, 4vw, 48px) 2.25rem;
    border-bottom: 1px solid var(--accent-border);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; padding: 0.35rem 0; }
  .nav-links .nav-cta { width: 100%; justify-content: center; padding: 0.85rem 1.2rem; }
  .nav-toggle { display: flex; }

  #hero { min-height: auto; padding: 104px clamp(20px, 4vw, 48px) 56px; }
  .hero-subtitle { margin-bottom: 1.9rem; }
  .hero-trust { margin-top: 1.9rem; gap: 0.55rem 1.2rem; }
  .hero-eyebrow { margin-bottom: 1.15rem; }
  .hero-title { max-width: 100%; }
  .scroll-hint { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.35rem 1.4rem; }
  .service-icon { width: 34px; height: 34px; margin-bottom: 0.9rem; }
  .service-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
  .service-desc { margin-bottom: 0; }
  .services-more { margin-top: 1.5rem; padding: 1.25rem 1.35rem; }
  .job-photos { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

  /* The KD stand-in panel is decorative — drop it on phones until there is a
     real photo of Kody to show. */
  .about-photo-wrap:not(.has-photo) { display: none; }
  .about-grid { gap: 0; }
  .contact-items { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-base { flex-direction: column; text-align: center; }

  /* Sticky call bar on phones */
  .call-bar { display: flex; }
  body { padding-bottom: 74px; }
  footer { padding-bottom: 1.75rem; }
}

/* Narrow screens: the extra-services pills stack one per row and eat the
   page, so render them as a single flowing line of text instead. */
@media (max-width: 620px) {
  .services-more .chips {
    display: block;
    font-size: 0.86rem;
    line-height: 1.95;
    color: var(--text-secondary);
  }
  .services-more .chips li {
    display: inline;
    border: 0;
    padding: 0;
    background: none;
  }
  .services-more .chips li:not(:last-child)::after {
    content: ' \00b7 ';
    color: var(--accent);
  }
}

@media (max-width: 480px) {
  .job-stage { left: 5px; top: 5px; padding: 0.2rem 0.5rem; font-size: 0.52rem; letter-spacing: 0.08em; }
  .job-photos { gap: 0.4rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--accent-border);
  }
  .about-badge { bottom: 14px; right: 12px; padding: 0.8rem 1rem; }
  .badge-num { font-size: 1.6rem; }
  .logo-img { height: 38px; }
  .contact-item { padding: 1rem 1.1rem; }
  .carousel-controls { gap: 1rem; }
}
