/* Jersey City Air Duct and Insulation — site styles
   Palette pulled from the logo: deep harbor navy, cool teal/sky airflow, warm amber insulation. */

/* Self-hosted variable fonts (SIL Open Font License): Inter and Space Grotesk, latin subset. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --bg: #07111b;
  --bg-2: #0a1824;
  --bg-teal: #071a1f;
  --bg-warm: #15120c;
  --surface: #0e2131;
  --surface-2: #12293d;
  --line: rgba(94, 234, 212, 0.14);
  --line-strong: rgba(94, 234, 212, 0.3);
  --text: #e8f1f7;
  --muted: #a3b6c6;
  --cool: #5eead4;
  --sky: #38bdf8;
  --warm: #fbbf24;
  --warm-2: #fb923c;
  --grad-cool: linear-gradient(90deg, #5eead4, #38bdf8);
  --grad-warm: linear-gradient(90deg, #fbbf24, #fb923c);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before { /* film grain over the whole page */
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/brand/grain.png");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--cool); text-underline-offset: 3px; }
a:hover { color: #99f6e4; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--warm);
  color: #1a1203;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { top: 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;
}

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; isolation: isolate; }
.section > .wrap { position: relative; z-index: 1; }

/* Tinted section backgrounds — never flat black */
.bg-navy { background: radial-gradient(900px 420px at 85% 0%, rgba(56, 189, 248, 0.10), transparent 70%), var(--bg-2); }
.bg-teal { background: radial-gradient(800px 400px at 10% 10%, rgba(94, 234, 212, 0.12), transparent 70%), var(--bg-teal); }
.bg-warm { background: radial-gradient(800px 380px at 90% 100%, rgba(251, 146, 60, 0.12), transparent 70%), var(--bg-warm); }
.bg-deep { background: linear-gradient(180deg, #081420 0%, #0b1b2a 100%); }
.dots::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(94, 234, 212, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.glow-line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-warm); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.warm-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-warm { background: var(--grad-warm); color: #1a1203; box-shadow: 0 10px 30px -10px rgba(251, 146, 60, 0.7); }
.btn-warm:hover { color: #1a1203; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(251, 146, 60, 0.85); }
.btn-ghost { background: rgba(94, 234, 212, 0.06); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); background: rgba(94, 234, 212, 0.14); border-color: var(--cool); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 27, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cool); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(94, 234, 212, 0.08); }
.nav .btn { min-height: 44px; padding: 10px 18px; margin-left: 8px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 46px; height: 46px;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: rgba(8, 20, 32, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 420px) {
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.12em; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 420px at 15% 30%, rgba(94, 234, 212, 0.18), transparent 70%),
    radial-gradient(600px 400px at 90% 90%, rgba(251, 146, 60, 0.16), transparent 70%),
    linear-gradient(100deg, rgba(7, 17, 27, 0.96) 0%, rgba(7, 17, 27, 0.86) 45%, rgba(7, 17, 27, 0.45) 100%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1;
  background: linear-gradient(transparent, var(--bg-2));
}
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { color: #c5d4e0; margin-bottom: 32px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 33, 49, 0.7);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: #cfe0ea;
}
.hero-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cool); box-shadow: 0 0 10px var(--cool); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 72px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero.has-img::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 17, 27, 0.96) 10%, rgba(7, 17, 27, 0.75) 60%, rgba(7, 17, 27, 0.55));
}
.page-hero .hero-bg img { filter: saturate(0.9); }
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(163, 182, 198, 0.5); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cool); }

/* Service hero split */
.svc-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.svc-hero .media { position: relative; }
.svc-hero .media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.svc-hero .media::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px; z-index: -1;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.22), rgba(251, 146, 60, 0.18));
  filter: blur(2px);
}
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--cool);
}
.tag.warm { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.35); color: var(--warm); }
@media (max-width: 900px) {
  .svc-hero { grid-template-columns: 1fr; gap: 36px; }
  .svc-hero .media::before { inset: -10px -10px 10px 10px; }
}

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, #0b1b29 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -24px rgba(56, 189, 248, 0.35); }
.svc-card { text-decoration: none; color: var(--text); }
.svc-card:hover { color: var(--text); }
.svc-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 20, 32, 0.85)); }
.svc-card .thumb .tag { position: absolute; left: 14px; bottom: 14px; z-index: 1; background: rgba(7, 17, 27, 0.85); }
.svc-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card h2, .svc-card h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.svc-card .more { margin-top: auto; font-weight: 600; color: var(--cool); font-size: 0.95rem; display: inline-flex; gap: 6px; align-items: center; }
.svc-card .more::after { content: "→"; transition: transform 0.2s; }
.svc-card:hover .more::after { transform: translateX(4px); }

/* Filter chips on services page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filters button {
  font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(14, 33, 49, 0.8); color: var(--muted);
  border: 1px solid var(--line);
  min-height: 44px;
}
.filters button[aria-pressed="true"] { color: #062026; background: var(--grad-cool); border-color: transparent; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(10, 24, 36, 0.7); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; margin-bottom: 10px; }
.stat p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo-stack { position: relative; }
.split .photo-stack img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split .photo-stack .main { aspect-ratio: 4 / 4.4; }
.split .photo-stack .inset {
  position: absolute; width: 46%; aspect-ratio: 1; right: -18px; bottom: -28px;
  border: 4px solid var(--bg-teal);
}
.badge-float {
  position: absolute; left: -14px; top: 26px;
  background: rgba(7, 17, 27, 0.88); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--font-head);
}
.badge-float strong { display: block; font-size: 1.5rem; }
.badge-float span { color: var(--muted); font-size: 0.85rem; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px;
  background: rgba(94, 234, 212, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line-strong);
}
.checks li strong { display: block; }
.checks li span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split .photo-stack .inset { right: 8px; bottom: -22px; width: 42%; }
  .badge-float { left: 10px; }
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  position: relative; padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(14, 33, 49, 0.6);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700;
  color: #1a1203; background: var(--grad-warm);
  box-shadow: 0 0 30px -6px rgba(251, 191, 36, 0.6);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.quote {
  margin: 0; padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 41, 61, 0.9), rgba(10, 24, 36, 0.9));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.quote:first-child { background: linear-gradient(160deg, rgba(251, 191, 36, 0.12), rgba(10, 24, 36, 0.9) 60%); border-color: rgba(251, 191, 36, 0.25); }
.quote .stars { color: var(--warm); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.quote blockquote { margin: 0 0 22px; font-size: 1.03rem; }
.quote:first-child blockquote { font-size: 1.15rem; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #062026; background: var(--grad-cool);
}
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 24, 36, 0.7); font-size: 0.95rem; color: #cfe0ea; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(70px, 9vw, 110px) 0; }
.cta-band .hero-bg img { object-position: center 35%; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 80% 50%, rgba(251, 146, 60, 0.25), transparent 70%),
    linear-gradient(90deg, rgba(8, 20, 32, 0.97) 0%, rgba(8, 20, 32, 0.85) 55%, rgba(8, 20, 32, 0.6));
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 10px; max-width: 18ch; }
.cta-inner p { color: #c5d4e0; margin: 0; max-width: 52ch; }

/* Service detail content */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.byline { font-size: 0.9rem; color: var(--muted); margin: 0 0 20px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c9d7e2; }
.prose ul { margin: 0 0 1.4em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--cool); }
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 14px; margin: 0 0 1.4em; }
.numbered li {
  counter-increment: n; position: relative; padding: 16px 18px 16px 62px;
  border-radius: var(--radius-sm); background: rgba(14, 33, 49, 0.6); border: 1px solid var(--line); margin: 0;
}
.numbered li::before {
  content: counter(n); position: absolute; left: 16px; top: 14px;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--cool); background: rgba(94, 234, 212, 0.1); border: 1px solid var(--line-strong);
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 1.6em; }
.benefit { padding: 20px; border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(251, 191, 36, 0.07), rgba(14, 33, 49, 0.4)); border: 1px solid rgba(251, 191, 36, 0.18); }
.benefit h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit p { font-size: 0.95rem; margin: 0; color: var(--muted); }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts span { color: var(--muted); white-space: nowrap; }
.facts strong { text-align: right; }
.side-call { background: linear-gradient(160deg, rgba(251, 191, 36, 0.16), rgba(14, 33, 49, 0.95) 65%); border-color: rgba(251, 191, 36, 0.3); }
.side-call .phone { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text); text-decoration: none; display: block; margin: 4px 0 14px; }
.side-call .btn { width: 100%; }
.side-call .btn + .btn { margin-top: 10px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: var(--radius-sm); background: rgba(14, 33, 49, 0.7); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-strong); background: rgba(18, 41, 61, 0.8); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  color: var(--cool); background: rgba(94, 234, 212, 0.1); font-size: 1.2rem; transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: #c9d7e2; }
.faq .answer p:last-child { margin: 0; }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius); background: rgba(14, 33, 49, 0.6); border: 1px solid var(--line); }
.value .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(94, 234, 212, 0.1); border: 1px solid var(--line-strong); }
.value .icon svg { width: 24px; height: 24px; stroke: var(--cool); }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: rgba(14, 33, 49, 0.6); border: 1px solid var(--line); }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(94, 234, 212, 0.1); border: 1px solid var(--line-strong); }
.info-list .ic svg { width: 20px; height: 20px; stroke: var(--cool); }
.info-list .lbl { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 2px; }
.info-list a, .info-list address { color: var(--text); font-style: normal; font-weight: 600; text-decoration: none; }
.info-list li > span:last-child { min-width: 0; }
.info-list a:hover { color: var(--cool); }
.contact-photo { margin-top: 22px; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.form-card {
  scroll-margin-top: 90px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(18, 41, 61, 0.95), rgba(9, 22, 34, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(56, 189, 248, 0.35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.field .req { color: var(--warm); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #081521;
  border: 1px solid rgba(163, 182, 198, 0.28);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 50px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cool); box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25); }
.field input::placeholder, .field textarea::placeholder { color: #7891a5; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: #c9d7e2; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--cool); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.45); color: #fecaca;
}
.form-error.show { display: block; }
.form-success { text-align: center; padding: 20px 6px; }
.form-success .tick {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: rgba(94, 234, 212, 0.12); border: 1px solid var(--line-strong); box-shadow: 0 0 40px -6px rgba(94, 234, 212, 0.5);
}
.form-success .tick svg { width: 34px; height: 34px; stroke: var(--cool); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(26, 18, 3, 0.35); border-top-color: #1a1203; animation: spin 0.8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(94, 234, 212, 0.08), transparent 70%),
    radial-gradient(700px 300px at 100% 100%, rgba(251, 146, 60, 0.07), transparent 70%),
    #061019;
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
  font-size: 0.97rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.75fr; gap: 44px; }
.email { font-size: 0.92em; overflow-wrap: anywhere; }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cool); margin-bottom: 18px; }
.footer-about p { color: var(--muted); margin: 18px 0 0; max-width: 40ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--cool); flex: none; margin-top: 4px; }
.footer-contact a, .footer-contact address { color: var(--text); text-decoration: none; font-style: normal; min-width: 0; }
.footer-contact a:hover { color: var(--cool); }
.footer-services { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.footer-services li { margin-bottom: 8px; break-inside: avoid; }
.footer-services a { color: var(--muted); text-decoration: none; }
.footer-services a:hover { color: var(--cool); }
.footer-bottom {
  margin-top: 56px; padding: 22px 0 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.9rem;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cool); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-services { columns: 1; } }

/* Mobile floating action bar: Call + Free Quote */
.mobile-bar {
  display: none;
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  grid-template-columns: 1fr 1.3fr; gap: 8px;
  padding: 8px; border-radius: 20px;
  background: rgba(8, 20, 32, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-bar .btn { min-height: 48px; padding: 10px 12px; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; }
  /* On pages with a hero, the bar slides in once the hero buttons scroll away. */
  .js .mobile-bar.wait { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .site-footer { padding-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }

/* Phone layout refinements */
.hide-sm { display: inline; }
@media (max-width: 600px) {
  .hide-sm { display: none; }
  body { font-size: 1rem; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }
  .lead { font-size: 1.02rem; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.6rem; }

  /* Hero: compact, buttons side by side, trust points as a tidy 2x2 grid */
  .hero { min-height: 0; padding: 30px 0 44px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { margin-bottom: 14px; }
  .hero .lead { margin-bottom: 22px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { padding: 12px 10px; }
  .hero::before {
    background:
      radial-gradient(420px 300px at 20% 20%, rgba(94, 234, 212, 0.16), transparent 70%),
      linear-gradient(180deg, rgba(7, 17, 27, 0.78) 0%, rgba(7, 17, 27, 0.9) 55%, rgba(7, 17, 27, 0.97) 100%);
  }
  .hero-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero-chips li { padding: 7px 10px; font-size: 0.82rem; border-radius: 10px; }

  /* Service cards become compact rows: thumbnail left, text right */
  .grid-3 { gap: 12px; }
  .svc-card { flex-direction: row; align-items: stretch; }
  .svc-card .thumb { flex: 0 0 112px; aspect-ratio: auto; min-height: 112px; }
  .svc-card .thumb::after, .svc-card .thumb .tag { display: none; }
  .svc-card .thumb img { position: absolute; inset: 0; }
  .svc-card .body { padding: 14px 14px 14px 16px; }
  .svc-card h2, .svc-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .svc-card p { font-size: 0.88rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-card .more { font-size: 0.85rem; }
  .card:hover { transform: none; }

  /* Stats as a 2x2 grid */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n + 3) { border-bottom: 0; }
  .stat .num { font-size: 2rem; }
  .stat p { font-size: 0.85rem; }

  /* Shorter photo stacks, no overlapping inset */
  .split .photo-stack .main { aspect-ratio: 4 / 3; }
  .split .photo-stack .inset { display: none; }
  .badge-float { top: 12px; left: 12px; padding: 10px 14px; }

  .step { padding: 20px 18px; }
  .step::before { width: 40px; height: 40px; margin-bottom: 12px; }
  .areas li { padding: 6px 12px; font-size: 0.85rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters button { flex: none; }
  .cta-inner .btn-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .page-hero { padding: 26px 0 22px; }
  .page-hero + .section { padding-top: 24px; }
}
@media (max-width: 920px) {
  /* On phones and tablets the quote form comes first on the contact page. */
  .contact-grid > .form-card { order: -1; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Gallery */
.g-grid { columns: 3 300px; column-gap: 16px; }
.g-item {
  position: relative; display: block; margin: 0 0 16px; break-inside: avoid;
  border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface);
}
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: auto; transition: transform 0.4s ease, filter 0.4s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.g-cap {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; color: var(--cool); background: rgba(7, 17, 27, 0.85);
  border: 1px solid var(--line-strong);
}
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0; color: var(--text);
}
.lightbox::backdrop { background: rgba(3, 8, 14, 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 12px; color: #c9d7e2; font-size: 0.95rem; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--text);
  background: rgba(14, 33, 49, 0.9); border: 1px solid var(--line-strong);
}
.lb-btn:hover { border-color: var(--cool); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }
@media (max-width: 640px) {
  .g-grid { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .g-cap { display: none; }
}
