/* ─────────────────────────────────────────────────────
   Diamond Cut Detailing — style.css
   Design: dark/precision luxury, lime accent, Playfair Display + Exo 2
───────────────────────────────────────────────────── */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --bg:         #090909;
  --footer-bg:  #070707;
  --surface:    #0e0e0e;
  --surface-2:  #141414;
  --accent:     #A5F00F;
  --accent-h:   #BEFF2A;
  --accent-2:   #3CA500;
  --on-accent:  #090909;  /* text/icon color on lime accent surfaces */
  --text:       #F2F2F2;
  --text-2:     rgba(242, 242, 242, 0.55);
  --text-3:     rgba(242, 242, 242, 0.50); /* 4.9:1 contrast on --bg — WCAG AA */
  --card-bg:    rgba(165, 240, 15, 0.05);
  --border:     rgba(165, 240, 15, 0.14);
  --border-sub: rgba(255, 255, 255, 0.06);
  --nav-h:      64px;
  --r:          4px;
  --pill:       999px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Exo 2', system-ui, sans-serif;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background-color: #090909;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
body {
  background-color: #090909;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
main, .section, .hero, .mobile-menu {
  background-color: #090909;
  background-color: var(--bg);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-size: clamp(44px, 7vw, 86px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.75;
  font-weight: 300;
}
.text-center { text-align: center; }
.text-muted  { color: var(--text-3); font-size: 13px; }

/* ── LAYOUT ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section     { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section-header { margin-bottom: 56px; }
.section-header .eyebrow          { margin-bottom: 12px; }
.section-header .section-headline { margin-bottom: 12px; }

.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;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--pill);
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--lime  { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn--lime:hover { background: var(--accent-h); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.65); }
.btn--full  { width: 100%; justify-content: center; }

/* ── ACCENT RULE ───────────────────────────────────── */
.accent-rule {
  width: 32px; height: 2px;
  background: var(--accent); margin-bottom: 20px;
}

/* ── NAV ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9,9,9,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-link {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  padding: 9px 20px;
  border-radius: var(--pill);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-h); }

/* ── HAMBURGER ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin-right: -12px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ── MOBILE MENU ───────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 24px; color: var(--text-2); line-height: 1; transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--text); }
.mobile-link {
  font-size: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--text); }
.mobile-cta {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--on-accent);
  padding: 16px 44px;
  border-radius: var(--pill);
  margin-top: 8px;
  transition: background 0.2s;
}
.mobile-cta:hover { background: var(--accent-h); }

/* ── HERO — VIDEO (home) ───────────────────────────── */
.hero {
  position: relative;
  height: 88dvh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-video, .hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video   { z-index: 1; }
.hero-fallback { z-index: 0; }
.hero.video-fallback .hero-video { display: none; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to top,
    rgba(9,9,9,0.92) 0%,
    rgba(9,9,9,0.50) 48%,
    rgba(9,9,9,0.18) 100%
  );
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 4;
  padding-bottom: 88px; width: 100%;
}
.hero-text { max-width: 760px; }
.hero-eyebrow  { margin-bottom: 20px; }
.hero-headline { margin-bottom: 20px; }
.hero-sub {
  font-size: 18px; font-weight: 300;
  color: var(--text-2); margin-bottom: 44px;
  line-height: 1.65; max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO — PHOTO (sub-pages) ──────────────────────── */
.hero--photo {
  height: 40vh; min-height: 280px; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.2);
}
.hero--photo .hero-content { padding-bottom: 0; text-align: center; }
.hero--photo .hero-text    { max-width: 600px; margin: 0 auto; }
.hero--photo .hero-headline {
  font-size: clamp(32px, 5vw, 60px); margin-bottom: 12px;
}
.hero-sub-small {
  font-size: 16px; font-weight: 300; color: var(--text-2);
}

/* ── SERVICES PREVIEW (home) ───────────────────────── */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px 36px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
              background 0.22s var(--ease);
}
.service-preview-card:hover {
  border-color: rgba(165, 240, 15, 0.38);
  transform: translateY(-3px);
  background: rgba(165, 240, 15, 0.09);
}
.service-preview-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: 2px;
  color: var(--accent); margin-bottom: 22px;
}
.service-preview-icon svg { width: 22px; height: 22px; }
.service-preview-card h3 {
  font-size: 22px; font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px;
}
.service-preview-card p {
  font-size: 15px; color: var(--text-2); font-weight: 300;
  line-height: 1.7; margin-bottom: 28px;
}
.card-link {
  font-size: 11px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); transition: color 0.2s;
}
.card-link:hover { color: var(--accent-h); }

/* ── MOBILE ADVANTAGE (home) ───────────────────────── */
.mobile-advantage {
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
}
.mobile-advantage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.mobile-advantage-text .eyebrow   { margin-bottom: 16px; }
.mobile-advantage-text .section-headline { margin-bottom: 20px; }
.mobile-advantage-text p {
  color: var(--text-2); font-weight: 300;
  font-size: 16px; line-height: 1.8; margin-bottom: 36px;
}
.mobile-icons { display: flex; flex-direction: column; gap: 28px; }
.mobile-icon-item { display: flex; align-items: flex-start; gap: 20px; }
.mobile-icon-box {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; min-width: 44px;
  border: 1px solid var(--border); border-radius: 2px;
  color: var(--accent); flex-shrink: 0;
}
.mobile-icon-box svg { width: 20px; height: 20px; }
.mobile-icon-text h4 {
  font-size: 15px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.02em; margin-bottom: 4px;
}
.mobile-icon-text p {
  font-size: 14px; color: var(--text-2); font-weight: 300; line-height: 1.6;
}

/* ── GALLERY TEASER (home) ─────────────────────────── */
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 32px;
}
.gallery-teaser-item {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; border-radius: var(--r);
  background: var(--surface);
}
.gallery-teaser-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease);
  /* hide alt text if image fails to load — prevents overflow on mobile */
  font-size: 0; color: transparent;
}
.gallery-teaser-item:hover img { transform: scale(1.05); }
.gallery-teaser-footer { text-align: center; }

/* ── TRUST STRIP ───────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding: 56px 0;
}
.trust-items {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; text-align: center;
}
.trust-mark {
  display: inline-grid; place-items: center;
  min-width: 52px; min-height: 52px;
  border: 1px solid var(--border);
  color: var(--accent); margin-bottom: 16px;
  font-size: 15px; font-family: var(--font-display); font-weight: 700;
}
.trust-item h3 {
  font-size: 13px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.trust-item p { font-size: 13px; color: var(--text-2); font-weight: 300; line-height: 1.6; }

/* ── CTA BANNER ────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid rgba(165, 240, 15, 0.12);
  padding: 96px 0; text-align: center;
}
.cta-banner .eyebrow    { margin-bottom: 16px; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-2); font-weight: 300;
  margin-bottom: 44px; font-size: 17px;
}

/* ── SERVICES DETAIL (services.html) ──────────────── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 16px 30px;
  min-height: 456px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
              background 0.22s var(--ease);
}
.service-card:hover {
  border-color: rgba(165, 240, 15, 0.38);
  transform: translateY(-3px);
  background: rgba(165, 240, 15, 0.09);
}
.service-card-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
}
.service-card-media--single { grid-template-columns: 1fr; }
.service-card-media figure {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r) - 1px);
  aspect-ratio: 4/3;
  background: var(--surface);
}
.service-card-media--single figure { aspect-ratio: 16/9; }
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.paint-sealant-protected-img {
  object-position: center 82%;
}
.service-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-media figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  background: rgba(7, 8, 7, 0.76);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 18px 22px;
}
.service-card h3 {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 18px 14px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
  margin: 0 18px 28px;
}
.service-card .card-link { margin: auto 18px 0; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-sub);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail--reverse .service-detail-photo { order: 2; }
.service-detail--reverse .service-detail-text  { order: 1; }
.service-detail-photo {
  border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
}
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-text .eyebrow   { margin-bottom: 16px; }
.service-detail-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 20px; line-height: 1.2;
}
.service-detail-text p {
  font-size: 16px; color: var(--text-2); font-weight: 300;
  line-height: 1.8; margin-bottom: 16px;
}
.service-benefits {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px;
}
.benefit-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-2); font-weight: 300; line-height: 1.5;
}
.benefit-dot {
  width: 6px; height: 6px; min-width: 6px;
  border-radius: 50%; background: var(--accent);
  margin-top: 8px; flex-shrink: 0;
}

/* ── PROCESS STRIP (services.html) ────────────────── */
.process-strip {
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding: 72px 0;
}
.process-strip .section-header { margin-bottom: 48px; }
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 28px;
  left: calc(16.67% + 16px); right: calc(16.67% + 16px);
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 28px; }
.process-step-num {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--accent); font-size: 16px;
  font-family: var(--font-display); font-weight: 700;
  margin-bottom: 20px; position: relative;
}
.process-step h4 {
  font-size: 13px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.process-step p { font-size: 13px; color: var(--text-2); font-weight: 300; }

/* ── SETUP PAGE ────────────────────────────────────── */
.setup-video-section { padding: 64px 0 80px; }
.setup-video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: center;
}
.setup-video-wrap {
  border-radius: var(--r); overflow: hidden;
  background: var(--surface); position: relative;
  border: 1px solid var(--border);
}
.setup-video-wrap video {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
.setup-hero-bg,
.setup-rig-video,
.setup-video-fallback {
  object-position: center 68%;
}
.setup-video-fallback {
  display: none;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-fallback-active video { display: none; }
.video-fallback-active .setup-video-fallback { display: block; }
.setup-video-copy .eyebrow { margin-bottom: 12px; }
.setup-video-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.setup-video-copy p {
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 18px;
}
.setup-video-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.setup-video-list li {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.setup-video-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.setup-photo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 48px;
  max-width: 960px; margin-left: auto; margin-right: auto;
}
.setup-photo-item {
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/3; background: var(--surface);
}
.setup-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.setup-copy-section { padding-bottom: 80px; }
.setup-copy { max-width: 680px; }
.setup-copy .eyebrow     { margin-bottom: 12px; }
.setup-copy .section-headline { margin-bottom: 20px; }
.setup-copy p {
  font-size: 16px; color: var(--text-2);
  font-weight: 300; line-height: 1.8; margin-bottom: 16px;
}

/* ── GALLERY FILTER ────────────────────────────────── */
.gallery-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  font-size: 11px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 13px 22px; /* min ~44px touch target */
  border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-2); background: transparent;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease),
              background 0.22s var(--ease);
}
.filter-btn:hover { border-color: rgba(255,255,255,0.38); color: var(--text); }
.filter-btn.active {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}

/* ── GALLERY GRID ──────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--r); cursor: pointer;
  aspect-ratio: 4/3; background: var(--surface); transition: opacity 0.3s;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.gallery-item video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.gallery-item--vehicle img {
  object-position: center 72%;
}
.gallery-video-poster { display: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(9,9,9,0.72), rgba(9,9,9,0.06));
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-accent);
  background: var(--accent); padding: 3px 8px; border-radius: 2px;
}
.gallery-item.hidden { display: none; }

/* ── LIGHTBOX ──────────────────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(9,9,9,0.97); z-index: 300;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--r); user-select: none;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 28px; color: var(--text-2); line-height: 1;
  transition: color 0.2s; padding: 8px;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--text-2);
  background: rgba(255,255,255,0.06); padding: 16px 20px;
  border-radius: var(--r); transition: all 0.2s; line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.14); color: var(--text);
}

/* ── ABOUT ─────────────────────────────────────────── */
.about-story {
  max-width: 760px;
}
.about-story .eyebrow          { margin-bottom: 16px; }
.about-story .section-headline { margin-bottom: 20px; }
.about-story p {
  color: var(--text-2); font-weight: 300;
  margin-bottom: 16px; font-size: 16px; line-height: 1.8;
}
.about-story p:last-of-type { margin-bottom: 36px; }
.service-area {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 56px; text-align: center;
  margin-bottom: 80px;
}
.service-area h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.service-area p { color: var(--text-2); font-size: 15px; font-weight: 300; }
.diffs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.diff-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px 28px;
}
.diff-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 2px;
  color: var(--accent); margin-bottom: 18px;
}
.diff-icon svg { width: 20px; height: 20px; }
.diff-item h3 {
  font-size: 15px; font-family: var(--font-body);
  font-weight: 600; margin-bottom: 8px;
}
.diff-item p { font-size: 14px; color: var(--text-2); font-weight: 300; line-height: 1.6; }

/* ── QUOTE FORM ────────────────────────────────────── */
.quote-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: start; margin-bottom: 80px;
}
.quote-form   { display: flex; flex-direction: column; gap: 24px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--3  { grid-template-columns: 1fr 1fr 100px; }
.form-group   { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); color: var(--text);
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  padding: 13px 16px; transition: border-color 0.2s; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; cursor: pointer;
}
.form-group select option { background: var(--surface-2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-grid { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 300; color: var(--text-2);
  cursor: pointer; transition: color 0.2s;
}
.checkbox-label:hover { color: var(--text); }
.checkbox-label input[type="checkbox"] {
  width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0;
}
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; margin-bottom: 16px;
}
.sidebar-card h3 {
  font-size: 13px; font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px; color: var(--text);
}
.steps-list { counter-reset: steps; }
.steps-list li {
  counter-increment: steps; display: flex;
  gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text-2); font-weight: 300;
  margin-bottom: 12px; line-height: 1.5;
}
.steps-list li::before {
  content: counter(steps); display: flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%; background: var(--accent);
  color: var(--on-accent); font-size: 11px; font-weight: 700;
}
.sidebar-card p {
  font-size: 14px; font-weight: 300; color: var(--text-2); margin-bottom: 6px; line-height: 1.6;
}
.sidebar-card a { color: var(--accent); transition: color 0.2s; }
.sidebar-card a:hover { color: var(--accent-h); }
.sidebar-phone {
  font-family: var(--font-body); font-size: 22px; font-weight: 700;
  letter-spacing: 0.02em; color: var(--accent) !important;
  text-decoration: none; display: inline-block;
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: start; margin-bottom: 40px;
}
.footer-logo img { height: 44px; width: auto; margin-bottom: 12px; }
.footer-tagline {
  font-size: 13px; font-weight: 300; color: var(--text-3);
  max-width: 240px; line-height: 1.65;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-link {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3); transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px; font-weight: 300; color: var(--text-3);
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-grid           { grid-template-columns: repeat(2, 1fr); }
  .about-story            { max-width: 100%; }
  .quote-layout           { grid-template-columns: 1fr; }
  .diffs-grid             { grid-template-columns: 1fr 1fr; }
  .trust-items            { grid-template-columns: repeat(3, 1fr); }
  .services-full-grid     { grid-template-columns: 1fr 1fr; }
  .service-detail         { grid-template-columns: 1fr; gap: 40px; }
  .service-detail--reverse .service-detail-photo { order: unset; }
  .service-detail--reverse .service-detail-text  { order: unset; }
  .mobile-advantage-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-steps::before  { display: none; }
  .process-steps          { grid-template-columns: 1fr; gap: 32px; }
  .setup-video-feature    { grid-template-columns: 1fr; }
  .setup-photo-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container     { padding: 0 20px; }
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu   { display: flex; }
  .nav-inner     { padding: 0 20px; }

  .hero          { height: 86dvh; min-height: 560px; }
  .hero--photo   { height: 36dvh; min-height: 270px; }
  .hero-content  { padding-bottom: 48px; }
  .hero-ctas     { flex-direction: column; align-items: flex-start; }

  .section       { padding: 64px 0; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .services-full-grid    { grid-template-columns: 1fr; }
  .service-card          { min-height: auto; }
  .gallery-teaser-grid   { grid-template-columns: 1fr 1fr; }
  .trust-items   { grid-template-columns: 1fr; gap: 24px; }
  .diffs-grid    { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-nav    { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row      { grid-template-columns: 1fr; }
  .form-row--3   { grid-template-columns: 1fr; }
  .service-area  { padding: 36px 24px; }
  .setup-photo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid        { grid-template-columns: 1fr; }
  .gallery-teaser-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .hero-headline { font-size: clamp(36px, 10vw, 56px); }
}

/* ── UTILITY ───────────────────────────────────────── */
/* Used on about.html service-area — suppress default section bottom padding */
.section--flush-bottom { padding-bottom: 0; }
/* Quote form heading — scaled down from default section-headline */
.quote-form-heading {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 36px;
}
/* Fieldset reset — used in quote form */
.fieldset-reset { border: none; padding: 0; }
/* Fieldset legend styled as a label row */
.fieldset-legend {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-2);
  margin-bottom: 16px; display: block;
}
/* Sidebar info text spacing */
.sidebar-info + .sidebar-info { margin-top: 12px; }
/* Service area eyebrow — adds bottom margin */
.service-area-eyebrow { margin-bottom: 12px; }
/* Setup page mobile-icons variant — constrained width with top spacing */
.mobile-icons--setup { max-width: 680px; margin-top: 48px; }

/* ── ACCESSIBILITY ─────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 20px; border-radius: 0 0 var(--r) var(--r);
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; z-index: 9999; transition: top 0.15s;
}
.skip-link:focus { top: 0; }
.gallery-item:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
