/* Norton Civil — design system
   References: civilsydney.com.au + civilandearth.com.au
   Brand palette extracted from logo. Sharp corners throughout. */

:root {
  --red: #FF170D;
  --red-hover: #D6100A;
  --blue: #2058C0;
  --black: #0F0F0F;
  --charcoal: #1F1F1F;
  --ink: #2D2D2D;
  --muted: #6B7280;
  --surface: #F5F5F5;
  --surface-dim: #EDEDED;
  --border: #E5E5E5;
  --white: #FFFFFF;
  --max: 1280px;
  --shadow-sm: 0 2px 8px rgba(15, 15, 15, 0.06);
  --shadow-md: 0 14px 36px rgba(15, 15, 15, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 15, 15, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  color: var(--charcoal);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

a { color: var(--charcoal); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}
.on-dark .eyebrow { color: #fff; }
.on-dark .eyebrow::before { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 2px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15,15,15,0.04);
}
.nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 28px 0 24px;
  min-height: 100px;
}
.nav .brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 48px;
}
.nav .brand img {
  height: 80px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--red-hover); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* ---------- Services dropdown ---------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color .2s ease;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active { color: var(--red); }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 8px 0;
  display: none;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--charcoal);
  font-weight: 600;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: var(--surface); color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--charcoal);
  cursor: pointer;
  padding: 4px;
  align-self: center;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  .nav { min-height: 76px; padding-right: 16px; padding-left: 16px; }
  .nav .brand { margin-right: 24px; }
  .nav .brand img { height: 44px; }
  .nav-links { gap: 22px; } /* tighten so links fit longer before the hamburger */
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 24px 24px;
    gap: 14px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 10px 0; font-size: 14px; }
  .nav-toggle { display: block; }
  /* Services dropdown inline within the mobile menu — centered, pushes items below down when open */
  .nav-dropdown { flex-direction: column; align-items: center; width: 100%; }
  .nav-dropdown-toggle { padding: 10px 0; font-size: 14px; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu {
    position: static;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 4px 0 6px;
    text-align: center;
  }
  .nav-dropdown-menu a { padding: 8px 0; }
}

/* ---------- Back link (top-left of sub pages) ---------- */
.back-bar {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.back-link svg { width: 18px; height: 18px; stroke: var(--red); transition: transform .2s ease; }
.back-link:hover { color: var(--red); }
.back-link:hover svg { transform: translateX(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/desktop-1.jpg'); /* matches the slideshow's first frame — loads early as LCP */
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-bg { background-image: url('assets/cover-1.jpg'); } /* mobile's first slideshow frame */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.68) 45%, rgba(15,15,15,0.32) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow {
  color: #fff;
  text-shadow: 0 0 14px rgba(255,255,255,0.5), 0 0 28px rgba(255,255,255,0.3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 72px);
  margin: 14px 0 22px;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead {
  font-size: 19px;
  color: #fff;
  margin: 0 0 36px;
  max-width: 600px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { min-height: 580px; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  /* Stack buttons: Contact Us on top, Call Today underneath — sized to text, both equal width */
  .hero-cta { flex-direction: column-reverse; align-items: stretch; width: fit-content; }
  .hero-cta .btn { width: 100%; min-width: 0; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--charcoal);
  padding: 0;
  border-top: 4px solid var(--red);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.stat p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* Keep the 3 stats side by side on tablet and mobile */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 30px 18px; }
  .stat strong { font-size: 34px; }
}
@media (max-width: 600px) {
  .stat { padding: 22px 10px; }
  .stat strong { font-size: 24px; }
  .stat span { font-size: 10px; letter-spacing: 0.1em; }
  .stat p { font-size: 11px; line-height: 1.45; }
}

/* ---------- Section base ---------- */
section.band { padding: 110px 0; }
section.band.tight { padding: 80px 0; }

.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head.left { margin: 0 0 50px; text-align: left; }
.section-head .eyebrow { margin: 0 auto 16px; }
.section-head.left .eyebrow { margin: 0 0 16px; }
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.on-dark .section-head h2 { color: #fff; }
.on-dark .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Services ---------- */
.services {
  background: var(--surface);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-card {
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background .2s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: #fafafa; }
.service-card .icon-tile {
  width: 56px;
  height: 56px;
  background: var(--charcoal);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.service-card .icon-tile svg { width: 30px; height: 30px; stroke: var(--red); }
.service-card h3 {
  font-size: 19px;
  color: var(--charcoal);
  font-family: 'Inter Tight', sans-serif;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.service-card .more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card .more svg { width: 14px; height: 14px; stroke: var(--red); transition: transform .25s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Split (about preview) ---------- */
.split-section {
  background: var(--white);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split-media { margin-top: 48px; } /* raise image so its top lines up with the heading (past the eyebrow) */
.split-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 18px auto 0;
}
.split .figure {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--red);
  padding: 2px;
  background: #fff;
}
.split .figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.split .figure::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 88px;
  height: 88px;
  background: var(--red);
  z-index: -1;
}
.split h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 18px;
}
.split p {
  color: var(--ink);
  font-size: 17px;
  margin: 0 0 14px;
  line-height: 1.7;
}
.checklist {
  margin: 22px 0 32px;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 15px;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li .check {
  width: 22px;
  height: 22px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checklist li .check svg { width: 14px; height: 14px; stroke: #fff; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split .figure { aspect-ratio: 4/3; }
  .split-media { order: 2; margin-top: 0; } /* text first, image + logo below when stacked */
}

/* ---------- Capability banner (full-bleed) ---------- */
.capability {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}
.capability .bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/work-4.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.capability .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.72) 55%, rgba(15,15,15,0.4) 100%);
  z-index: 1;
}
.capability .container { position: relative; z-index: 2; padding: 80px 32px; }
.capability h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: #fff;
  margin: 14px 0 22px;
  max-width: 720px;
}
.capability p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 32px;
}

/* ---------- Project gallery ---------- */
.gallery {
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile .tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0) 55%);
  display: flex;
  align-items: flex-end;
  padding: 22px 24px;
}
.tile .tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.tile h3 {
  color: #fff;
  font-size: 18px;
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
}
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.big { grid-column: span 2; grid-row: span 2; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .tile.big, .tile.wide, .tile.tall { grid-column: auto; grid-row: auto; }
  .tile.big { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; }
}

/* ---------- Service image banner (horizontal scroller, always 3 at a time) ---------- */
.service-banner { margin-top: 48px; }
.img-scroller {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}
.img-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.img-slide img { height: 340px; width: auto; display: block; } /* same height, natural width, no fill, no crop */
@media (max-width: 600px) {
  .img-slide img { height: 230px; }
}

/* Red "See more" scroll indicator */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 14px 0 0 auto;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  user-select: none;
  cursor: pointer;
}
.scroll-hint svg { width: 24px; height: 24px; stroke: var(--red); animation: scrollNudge 1.2s ease-in-out infinite; }
@keyframes scrollNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }

/* Red highlight for equipment names */
.hl { color: var(--red); font-weight: 700; }

/* Service checklist as a side-by-side row (under the photos) */
.checklist-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  margin: 36px 0 28px;
}
.checklist-row li { border-bottom: 0; padding: 0; }
/* Side by side on desktop, stacked only on mobile */
@media (max-width: 768px) { .checklist-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.cta-band .container {
  padding: 90px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 0;
  max-width: 600px;
}
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  background: var(--black);
  color: #fff;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.6) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; padding: 90px 32px; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  color: #fff;
  margin: 14px 0 16px;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  max-width: 640px;
  margin: 0;
}
/* Compact hero for service pages — less wasted space above the content */
.page-hero.compact { min-height: 0; }
.page-hero.compact .container { padding-top: 48px; padding-bottom: 48px; }
.band.service-detail { padding-top: 56px; }

/* ---------- About narrative ---------- */
.narrative {
  background: var(--white);
}
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.narrative .figure {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--red);
  padding: 2px;
  background: #fff;
  margin-top: 38px; /* drop image so its top lines up with the heading (past the eyebrow) */
}
.narrative .figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.narrative .figure::after {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 88px;
  height: 88px;
  background: var(--red);
  z-index: -1;
}
.narrative h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 22px;
}
.narrative p {
  color: var(--ink);
  font-size: 17px;
  margin: 0 0 18px;
  line-height: 1.75;
}
@media (max-width: 960px) {
  .narrative-grid { grid-template-columns: 1fr; gap: 50px; }
  .narrative .figure { margin-top: 0; order: 2; } /* text first, image below once stacked */
}

/* ---------- About stats ---------- */
.about-stats { background: var(--surface); }
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stat {
  background: #fff;
  border-left: 4px solid var(--red);
  padding: 34px 30px;
}
.about-stat strong {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 42px;
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.about-stat span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
@media (max-width: 900px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .about-stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Equipment showcase (about page) ---------- */
.equipment {
  background: var(--black);
}
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.equipment-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.equipment-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.equipment-tile .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.92), transparent);
  padding: 26px 28px;
  color: #fff;
}
.equipment-tile .label span {
  display: block;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.equipment-tile .label h3 {
  color: #fff;
  font-size: 22px;
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
}
@media (max-width: 800px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-section { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.contact-info {
  background: var(--black);
  color: #fff;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.contact-info .eyebrow { color: #fff; }
.contact-info .eyebrow::before { background: var(--red); }
.contact-info h2 {
  color: #fff;
  font-size: 32px;
  margin: 0 0 14px;
}
.contact-info .lead {
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
  font-size: 15px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon-wrap svg { width: 20px; height: 20px; stroke: #fff; }
.contact-item h4 {
  margin: 0 0 2px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.contact-item a, .contact-item span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.contact-item a:hover { color: var(--red); }

.contact-form {
  background: #fff;
  padding: 48px 44px;
}
.contact-form h3 {
  font-size: 24px;
  margin: 0 0 6px;
}
.contact-form .form-intro {
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,23,13,0.12);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form .btn { width: 100%; justify-content: center; padding: 14px 22px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
  /* Home contact: Request a quote on top, details below when stacked */
  #contact .contact-form { order: -1; }
}

/* ---------- Home contact section (#contact) overrides ---------- */
#contact { background: var(--black); }
#contact .section-head h2 { color: #fff; }
#contact .section-head p { color: rgba(255,255,255,0.72); }
#contact .contact-info { background: #fff; }
#contact .contact-info::before { background: var(--red); }
#contact .contact-info .eyebrow { color: var(--red); }
#contact .contact-info .eyebrow::before { background: var(--red); }
#contact .contact-info h2 { color: var(--charcoal); }
#contact .contact-info .lead { color: var(--muted); }
#contact .contact-info .contact-item { border-bottom-color: var(--border); }
#contact .contact-info .contact-item h4 { color: var(--muted); }
#contact .contact-info .contact-item a,
#contact .contact-info .contact-item span { color: var(--charcoal); }
#contact .contact-info .contact-item a:hover { color: var(--red); }
/* Request a quote (form) side: black background, white text */
#contact .contact-form { background: var(--black); }
#contact .contact-form h3 { color: #fff; font-size: 32px; }
#contact .contact-form .form-intro { color: rgba(255,255,255,0.6); }
#contact .contact-form .field label { color: #fff; }
/* Match "Talk to the team" and "Request a quote" heading sizes */
#contact .contact-info h2 { font-size: 32px; }
/* Tighten the section so it fits on screen — text/input sizes unchanged, just less wasted space */
#contact.band { padding: 80px 0; }
#contact .section-head { margin-bottom: 34px; }
#contact .contact-info,
#contact .contact-form { padding: 38px 40px; }
#contact .contact-info .lead { margin-bottom: 16px; }
#contact .contact-item { padding: 11px 0; }
#contact .contact-form .form-intro { margin-bottom: 16px; }
#contact .field { margin-bottom: 12px; }
#contact .contact-form .field textarea { min-height: 64px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #FFFFFF;
  color: var(--muted);
  padding: 44px 0 22px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-brand img { width: 170px; height: auto; max-width: 100%; margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  max-width: 320px;
  margin: 0;
  color: var(--muted);
}
.site-footer h4 {
  color: var(--charcoal);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 6px; font-size: 14px; }
.site-footer ul li a { color: var(--muted); transition: color .2s ease; }
.site-footer ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--red); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; align-items: start; }
  /* drop the Navigate column so it lines up with the blurb (past the logo) */
  .footer-grid > div:nth-child(2) { margin-top: 72px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Home service link cards (image) ---------- */
.service-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--charcoal);
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}
.svc-text {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.svc-text h3 {
  font-size: 21px;
  color: var(--charcoal);
  font-family: 'Inter Tight', sans-serif;
}
.svc-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.svc-text .more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-text .more svg { width: 14px; height: 14px; stroke: var(--red); transition: transform .25s ease; }
.svc-card:hover .svc-text .more svg { transform: translateX(4px); }

/* CTA cell that fills the empty grid slot — Norton logo + contact buttons */
.svc-cta {
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 30px;
  text-align: center;
}
.svc-cta-logo { width: auto; height: auto; max-width: 78%; max-height: 90px; }
.svc-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 240px;
}
.svc-cta .btn { justify-content: center; }

@media (max-width: 1000px) {
  .service-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-links { grid-template-columns: 1fr; }
}

/* ---------- Service detail intro split ---------- */
.service-detail { background: var(--white); }
.service-detail .narrative-grid { grid-template-columns: 1.1fr 1fr; }
.service-detail .figure { aspect-ratio: 4/3; }

/* ---------- Draft chip ---------- */
.draft-flag {
  display: inline-block;
  background: rgba(255,23,13,0.1);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 14px;
  border: 1px dashed var(--red);
}
