/* ================================================================
   AAI MECHANICAL — styles.css  (Line Card Overhaul)
   ================================================================
   Colors:
     --red:        #c8102e   (brand red — buttons, accents, text, small elements)
     --red-dark:   #a50d26   (darker red — large section/hero backgrounds + hover)
     --gold:       #d4af37   (24/7 emergency accent)
     --dark-bg:    #1a1a1a   (primary dark)
     --charcoal:   #2c2c2c   (secondary dark)
     --gray-mid:   #3a3a3a   (dark sections)
     --white:      #ffffff
     --light-gray: #f5f5f5
     --text-dark:  #2c2c2c
     --text-muted: #666666
   ================================================================ */

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #c8102e;
  --red-dark:   #a50d26;
  --gold:       #d4af37;
  --gold-light: #f0d060;
  --dark-bg:    #1a1a1a;
  --charcoal:   #2c2c2c;
  --gray-mid:   #3a3a3a;
  --gray-line:  #444444;
  --white:      #ffffff;
  --light-gray: #f5f5f5;
  --text-dark:  #2c2c2c;
  --text-muted: #666666;
  --border:     #e0e0e0;
  --header-h:   120px;
  --radius:     4px;
  --trans:      0.22s ease;
  --shadow-sm:  0 2px 10px rgba(0,0,0,0.15);
  --shadow-md:  0 6px 28px rgba(0,0,0,0.25);
  --shadow-glow:0 0 24px rgba(200,16,46,0.25);
  --max-w:      1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
ul { list-style: none; }

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

/* ----------------------------------------------------------------
   NOISE TEXTURE OVERLAY (for all dark sections)
   Applied via ::before pseudo-element
   ---------------------------------------------------------------- */
.dark-section {
  position: relative;
  background: var(--dark-bg);
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.dark-section > * { position: relative; z-index: 1; }

/* ----------------------------------------------------------------
   RED SWOOSH DIVIDERS
   ---------------------------------------------------------------- */
.swoosh-down {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin-bottom: -1px;
}
.swoosh-down svg { display: block; width: 100%; }

.swoosh-up {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.swoosh-up svg { display: block; width: 100%; }

/* ----------------------------------------------------------------
   GOLD TEXT UTILITY
   ---------------------------------------------------------------- */
.gold { color: var(--gold); }
.gold-bold { color: var(--gold); font-weight: 800; }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans),
              border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn:hover { transform: translateY(-2px); }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--red);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark-bg);
  border-color: var(--gold);
  font-weight: 900;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-lg { padding: 16px 42px; font-size: 0.95rem; }

/* ----------------------------------------------------------------
   ANGLED RED CHECKMARKS
   ---------------------------------------------------------------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}
.check-icon {
  flex-shrink: 0;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  transform: rotate(-10deg);
  margin-top: 1px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

/* Light variant (on white backgrounds) */
.check-list.light .check-item { color: var(--text-dark); }

/* ----------------------------------------------------------------
   EMERGENCY GOLD CALLOUT
   ---------------------------------------------------------------- */
.emergency-gold {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.emergency-gold::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-gold 1.8s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,175,55,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(212,175,55,0); }
}

/* ----------------------------------------------------------------
   QR CODE PLACEHOLDER
   ---------------------------------------------------------------- */
.qr-placeholder {
  width: 96px;
  height: 96px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  flex-shrink: 0;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 60px;
  height: 60px;
}
.qr-cell {
  border-radius: 1px;
  background: var(--dark-bg);
}
.qr-cell.w { background: transparent; }
.qr-scan-label {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-bg);
  line-height: 1;
}

/* ----------------------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 3px solid var(--red);
  z-index: 1000;
  transition: box-shadow var(--trans), background var(--trans);
}
.site-header.scrolled {
  box-shadow: 0 3px 24px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo in header — 10px padding top/bottom → 100px rendered logo in 120px header */
.site-logo {
  display: block;
  height: 100%;
  padding: 10px 0;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav */
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--trans);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--trans);
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }
.nav-link.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 20;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------------------------------------------------------------
   PAGE OFFSET
   ---------------------------------------------------------------- */
.page-wrap { padding-top: var(--header-h); }

/* ================================================================
   HERO — HOME
   ================================================================ */
.home-hero {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  padding: 0;
}

/* Noise texture overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
/* Diagonal red accent stripe */
.home-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: linear-gradient(135deg, transparent 45%, rgba(200,16,46,0.07) 45%);
  pointer-events: none;
  z-index: 0;
}

.home-hero .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 540px;
  padding: 64px 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: normal;
  color: var(--red);
}

.hero-subline {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 460px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: color var(--trans);
}
.hero-phone-link:hover { color: var(--gold); }
.hero-phone-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-phone-icon svg { width: 18px; height: 18px; }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Red glow behind logo */
.hero-right::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 8px 32px rgba(200,16,46,0.3));
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--red-dark);
  padding: 48px 0;
  overflow: hidden;
}
/* Diagonal texture for page heroes */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(0,0,0,0.06) 40px, rgba(0,0,0,0.06) 41px
  );
  pointer-events: none;
}
/* Right accent triangle */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 35%;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.12) 40%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-hero-sub {
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
}

/* Dark hero variant (Careers) */
.page-hero.dark {
  background: var(--dark-bg);
}
.page-hero.dark .page-hero-title { color: var(--white); }

/* ================================================================
   FEATURES SECTION (HOME)
   ================================================================ */
.features-section {
  background: var(--light-gray);
  padding: 64px 0 56px;
  position: relative;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 10px;
}

.features-heading {
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  max-width: 760px;
  margin: 0 auto 52px;
  line-height: 1.45;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 6px;
  padding: 40px 28px 36px;
  text-align: center;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(200,16,46,0.04) 50%);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(200,16,46,0.12);
}
.feature-card:not(.feature-primary)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:not(.feature-primary):hover::after {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 68px;
  height: 68px;
  background: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}
/* Red ring */
.feature-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0.5;
}
.feature-icon-wrap svg { width: 30px; height: 30px; }

.feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================================================================
   NOW SERVICING (HOME)
   ================================================================ */
.servicing-section {
  position: relative;
}
.servicing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

/* Left: dark textured */
.servicing-dark {
  background: var(--dark-bg);
  padding: 64px 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.servicing-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* Red left-border accent */
.servicing-dark::after {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 4px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}
.servicing-dark > * { position: relative; z-index: 1; }

.servicing-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.servicing-sub {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.servicing-sub::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
}

.servicing-list { display: flex; flex-direction: column; gap: 10px; }
.servicing-list li {
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.servicing-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.1;
}

/* Right: red */
.servicing-red {
  background: var(--red-dark);
  padding: 64px 48px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.servicing-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 16px,
    rgba(0,0,0,0.06) 16px, rgba(0,0,0,0.06) 17px
  );
  pointer-events: none;
}
.servicing-red > * { position: relative; z-index: 1; }

.servicing-cta-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.servicing-cta-body {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}
.servicing-cta-emergency {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================================================================
   SERVICE CATEGORIES (HOME & SERVICES PAGE)
   ================================================================ */
.service-cats {
  background: var(--charcoal);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.service-cats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.service-cats > * { position: relative; z-index: 1; }

.service-cats-heading {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.service-cats-sub {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
}

.service-cats-grid {
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  gap: 0 40px;
  align-items: start;
}
.service-cats-divider {
  background: var(--red);
  align-self: stretch;
  border-radius: 2px;
  position: relative;
}
/* Dot on divider */
.service-cats-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--charcoal), 0 0 0 6px var(--red);
}

.service-cat-column {}
.service-cat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.cat-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cat-icon-wrap svg { width: 20px; height: 20px; }

.service-cat-list { display: flex; flex-direction: column; gap: 9px; }
.service-cat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}
.service-cat-list li::before {
  content: '›';
  color: var(--red);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ================================================================
   WHY AAI / ABOUT SECTION
   ================================================================ */
.why-section {
  background: var(--dark-bg);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
/* Noise texture */
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.why-section > .container { position: relative; z-index: 1; }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

.why-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.why-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.why-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 14px;
}

.why-apart-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin: 36px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-apart-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,16,46,0.3);
}

/* Sidebar badge */
.why-badge {
  background: var(--charcoal);
  border-radius: 6px;
  padding: 36px 28px;
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--red);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  text-align: center;
}
.why-badge-num {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 30px rgba(200,16,46,0.4);
}
.why-badge-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin: 6px 0;
}
.why-badge-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.why-badge-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 16px auto;
}
.why-badge-stat { margin-bottom: 12px; }
.why-badge-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.why-badge-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================================
   GET STARTED CTA SECTION (HOME)
   ================================================================ */
.cta-section {
  background: var(--dark-bg);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
/* Radial red glow behind text */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(165,13,38,0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cta-eyebrow::before, .cta-eyebrow::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.cta-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.cta-headline span { color: var(--red); }
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cta-phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-phone-num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color var(--trans);
}
.cta-phone-num:hover { color: var(--gold-light); }
.cta-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ================================================================
   SERVICE CARDS (SERVICES PAGE)
   ================================================================ */
.service-cards-section {
  background: var(--dark-bg);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.service-cards-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.service-cards-section > .container { position: relative; z-index: 1; }

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--charcoal);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gray-line);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border-color: var(--red);
}

.service-card-header {
  background: var(--gray-mid);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--red);
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 26px; height: 26px; }

.service-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.service-card-body {
  padding: 24px;
}
.service-card-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ================================================================
   ABOUT PAGE SPECIFICS
   ================================================================ */
.about-intro-section {
  background: var(--white);
  padding: 64px 0;
}
.about-intro-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-dark);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.35;
  text-align: center;
}
.about-intro-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
}

/* Who We Are */
.who-section {
  background: var(--light-gray);
  padding: 64px 0;
}
.who-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.who-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.who-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.who-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.who-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
/* Right: stat box */
.who-stat-box {
  background: var(--dark-bg);
  border-radius: 6px;
  padding: 40px 32px;
  border-top: 4px solid var(--red);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.who-stat-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}
.who-stat-box > * { position: relative; z-index: 1; }
.who-stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.who-stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}
.who-stat-divider {
  width: 36px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 20px;
}
.who-stat-item { margin-bottom: 14px; }
.who-stat-item-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.who-stat-item-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================================
   STATS BAND
   ================================================================ */
.stats-band {
  background: var(--red-dark);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 16px,
    rgba(0,0,0,0.06) 16px, rgba(0,0,0,0.06) 17px
  );
  pointer-events: none;
}
.stats-band > .container { position: relative; z-index: 1; }
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}

/* ================================================================
   SERVICES PAGE SPECIFIC
   ================================================================ */
.services-intro-band {
  background: var(--red-dark);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}
.services-intro-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(0,0,0,0.06) 40px, rgba(0,0,0,0.06) 41px
  );
  pointer-events: none;
}
.services-intro-band > .container { position: relative; z-index: 1; }

.services-intro-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.services-intro-body {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 14px;
}
.services-intro-cta-text,
.services-intro-cta {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

/* Services tabs — decorative labels only, no interactive states */
.services-tabs-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.services-tab {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.22);
  border-right: 1px solid rgba(255,255,255,0.2);
  user-select: none;
}
.services-tab:last-child { border-right: none; }

/* ================================================================
   LOCATIONS PAGE
   ================================================================ */
.map-section { background: var(--white); line-height: 0; }
#map { display: block; }

/* Leaflet popup — brand-styled overrides */
.aai-popup .leaflet-popup-content-wrapper {
  border-radius: 4px;
  border-top: 3px solid var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  padding: 0;
}
.aai-popup .leaflet-popup-content {
  margin: 16px 18px 18px;
}
.aai-popup .leaflet-popup-tip-container { margin-top: -1px; }
.aai-popup .leaflet-popup-tip { box-shadow: none; }
.aai-popup .leaflet-popup-close-button {
  color: #999;
  font-size: 18px;
  top: 6px; right: 8px;
}
.aai-popup .leaflet-popup-close-button:hover { color: var(--red); }

.locations-info { background: var(--light-gray); padding: 64px 0; }
.locations-info-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.locations-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.location-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--red);
  transition: transform var(--trans), box-shadow var(--trans);
}
.location-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.location-card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 6px;
}
.location-card-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.location-card address {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.location-main-badge {
  display: inline-block;
  margin-top: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section {
  background: var(--white);
  padding: 64px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-intro {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.contact-info-value a { color: var(--red); transition: opacity var(--trans); }
.contact-info-value a:hover { opacity: 0.75; }
.contact-info-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-bg);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-left: 3px solid var(--gold);
}
.emergency-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-gold 1.8s ease-in-out infinite;
}

/* Contact Form */
.contact-form-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}
.form-label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); }
.form-control.error { border-color: #e53e3e; }
.form-error { font-size: 0.78rem; color: #e53e3e; display: none; }
.form-error.visible { display: block; }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  color: #065f46;
  font-size: 0.93rem;
  font-weight: 700;
  margin-top: 16px;
}
.form-success.visible { display: block; }
.contact-bottom-img {
  height: 260px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  position: relative;
  overflow: hidden;
}
.contact-bottom-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ================================================================
   CAREERS PAGE
   ================================================================ */
.why-join { background: var(--white); padding: 64px 0; }
.why-join-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--red);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.3;
}
.why-join-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.why-join-photo {
  height: 220px;
  background: var(--charcoal);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  position: relative;
}
.why-join-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}
.why-join-photo span { position: relative; z-index: 1; text-align: center; }

.why-join-intro {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.why-join-points { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin: 0 auto; }
.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 26px;
  background: var(--light-gray);
  border-radius: 4px;
  border-left: 4px solid var(--red);
  transition: transform var(--trans), box-shadow var(--trans);
}
.why-point:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.why-point-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
}
.why-point-title { font-weight: 800; color: var(--text-dark); margin-bottom: 3px; font-size: 0.95rem; }
.why-point-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.careers-cta-banner {
  background: var(--red-dark);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 16px,
    rgba(0,0,0,0.07) 16px, rgba(0,0,0,0.07) 17px
  );
}
.careers-cta-banner > .container { position: relative; z-index: 1; }
.careers-cta-banner h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.jobs-section { background: var(--white); padding: 64px 0; }
.jobs-inner { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.jobs-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.jobs-sidebar-heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.87rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--trans);
}
.filter-item:hover { color: var(--red); }
.filter-count {
  background: var(--light-gray);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}
.jobs-list { display: flex; flex-direction: column; gap: 24px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  transition: box-shadow var(--trans), border-color var(--trans);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--red); }
.job-card-title { font-size: 1.1rem; font-weight: 800; color: var(--red); margin-bottom: 16px; }
.job-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.job-meta-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.job-meta-value { font-size: 0.87rem; color: var(--text-dark); font-weight: 600; }
.job-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.job-card-actions { display: flex; gap: 12px; }

/* ================================================================
   FOOTER — 5-column grid: Logo | Call Us | Email Us | Hours | QR
   ================================================================ */
.site-footer {
  background: var(--charcoal);
  border-top: 3px solid var(--red);
}

.footer-swoosh { display: none; }

.footer-main {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.footer-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.footer-main > * { position: relative; z-index: 1; }

/* 5 equal columns, divided by subtle vertical rules */
.footer-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Every column gets side padding + right-border divider */
.footer-col {
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child  { border-right: none; }

/* QR column gets extra horizontal breathing room */
.footer-col.footer-col-qr { padding: 0 0 0 36px; }

/* Col 1 — Logo only, centered */
.footer-col-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-large {
  width: 200px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Col 5 — QR, centered stack */
.footer-col-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Column label (CALL US / EMAIL US / etc.) — subtle, tight, uppercase */
.footer-col-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 12px;
}

/* Phone number — visual hero of Call Us column */
.footer-col-phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 10px;
  transition: color var(--trans);
  display: block;
}
.footer-col-phone:hover { color: var(--gold); }

/* Gold accent text (24/7 Emergency Service) */
.footer-col-gold {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Primary value text (email, hours) — prominent, readable */
.footer-col-primary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  word-break: break-word;
}
.footer-col-primary a { color: var(--white); transition: color var(--trans); }
.footer-col-primary a:hover { color: var(--gold); }

/* Secondary note */
.footer-col-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* Email column: keep address on one line */
.footer-col:nth-child(3) .footer-col-primary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Phone & email are selectable/copyable like text */
.footer-col-primary a,
.footer-col-phone {
  user-select: all;
  cursor: text;
}

/* Footer bottom strip */
.footer-bottom {
  background: var(--dark-bg);
  padding: 18px 0;
}
.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}
.footer-address strong {
  display: block;
  color: rgba(255,255,255,0.7);
  font-weight: 800;
  margin-bottom: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-center { text-align: center; }
.footer-exp {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}
.footer-family {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 4px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.social-link:hover { background: var(--red); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ================================================================
   SECTION HEADINGS (shared)
   ================================================================ */
.section-label-top {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 10px;
}
.section-title-center {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.section-title-center.white { color: var(--white); }
.section-sub-center {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.section-sub-center.white { color: rgba(255,255,255,0.6); }

/* ================================================================
   SECTION VARIETY — LAYOUT OVERRIDES
   ================================================================ */

/* Features section: asymmetric bento — first card is primary/featured */
.features-grid {
  grid-template-columns: 1.6fr 1fr 1fr;
}
.feature-card.feature-primary {
  background: var(--red-dark);
  border-color: transparent;
  padding: 48px 40px;
}
.feature-card.feature-primary .feature-icon-wrap svg circle,
.feature-card.feature-primary .feature-icon-wrap svg path { stroke: rgba(255,255,255,0.8); }
.feature-card.feature-primary .feature-title { color: var(--white); font-size: 1.25rem; }
.feature-card.feature-primary .feature-desc { color: rgba(255,255,255,0.82); }
.feature-card.feature-primary .feature-icon-wrap {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

/* Services cards: mixed grid — featured cards span 2 columns */
.service-card.service-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.service-card.service-card-wide .service-card-header {
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px;
  min-width: 200px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
}
.service-card.service-card-wide .service-card-body { padding: 28px 32px; }

/* Who We Are — stat strip above content */
.who-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.who-stat-strip-item {
  padding: 28px 24px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--border);
}
.who-stat-strip-item:last-child { border-right: none; }
.who-stat-strip-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}
.who-stat-strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* ================================================================
   STAGGER ANIMATION DELAYS (set via JS, defined here for reference)
   ================================================================ */
[data-stagger] { transition-delay: var(--stagger-delay, 0ms) !important; }

/* Counter number transition */
.who-stat-strip-num,
.stat-num {
  transition: color 0.3s ease;
}

/* ================================================================
   RESPONSIVE — 1024px
   ================================================================ */
@media (max-width: 1024px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 0; }
  .hero-eyebrow { justify-content: center; }
  .hero-headline { max-width: 100%; }
  .hero-subline { margin: 0 auto; }
  .hero-cta-group { justify-content: center; }
  .hero-right { margin-top: 32px; }
  .hero-right::before { display: none; }
  .hero-logo-img { max-width: 340px; }

  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-badge { position: static; }
  .who-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Footer: tighter padding at 1024px, still 5-col */
  .footer-inner { padding: 44px 0; }
  .footer-col { padding: 0 14px; }
  .footer-col:first-child { padding-left: 0; }
  .footer-col.footer-col-qr { padding: 0 0 0 20px; }
  .footer-col-phone { font-size: 1.15rem; }
  .footer-col-primary { font-size: 0.88rem; }
  .footer-logo-large { width: 160px; height: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .service-card.service-card-wide { grid-column: span 1; display: block; }
  .service-card.service-card-wide .service-card-header { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); min-width: auto; flex-direction: row; align-items: center; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 24px; }
  .stat-item:nth-child(2n) { border-bottom: none; }
}

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    padding: 10px 0 18px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 998;
  }
  .site-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { padding: 13px 24px; font-size: 0.9rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--red); background: rgba(200,16,46,0.04); }

  .servicing-inner { grid-template-columns: 1fr; }
  .servicing-dark { padding: 48px 24px; }
  .servicing-dark::after { display: none; }
  .servicing-red { padding: 48px 24px; }

  .service-cats-grid { grid-template-columns: 1fr; }
  .service-cats-divider { display: none; }
  .service-cat-column + .service-cat-column { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }

  .service-cards-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; gap: 20px; }

  .why-join-photos { grid-template-columns: 1fr; }
  .jobs-inner { grid-template-columns: 1fr; }
  .jobs-sidebar { position: static; }
  .job-meta { grid-template-columns: 1fr 1fr; }
  .job-card-actions { flex-direction: column; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Footer: logo spans full width on top, then 2x2 info grid below */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col-logo { grid-column: 1 / -1; justify-content: center; padding: 0 0 28px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }
  .footer-col { padding: 16px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .footer-col:nth-child(odd):not(.footer-col-logo) { border-right: 1px solid rgba(255,255,255,0.06); }
  .footer-col:last-child { border-bottom: none; }
  .footer-col-qr { align-items: flex-start; }
  .footer-col-phone { font-size: 1.3rem; }
  .footer-logo-large { width: 180px; height: auto; }
  .footer-bottom-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-right { align-items: center; }
  .footer-address { text-align: center; }
  .who-stat-strip { grid-template-columns: 1fr; }
  .who-stat-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .who-stat-strip-item:last-child { border-bottom: none; }

  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }

  .services-tabs-wrap { flex-direction: column; }
  .services-tab { width: 100%; text-align: center; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .services-tab:last-child { border-bottom: none; }

  .cta-actions { flex-direction: column; gap: 16px; }
  .cta-divider { width: 48px; height: 1px; }
  .cta-section { padding: 64px 0; }
}

/* ================================================================
   RESPONSIVE — 480px
   ================================================================ */
@media (max-width: 480px) {
  .features-section, .service-cats, .why-section,
  .about-intro-section, .who-section, .why-join,
  .jobs-section, .contact-section, .locations-info { padding: 44px 0; }

  .stat-item { border: none; padding: 12px 0; }
  .stats-band-grid { gap: 8px; }

  .job-meta { grid-template-columns: 1fr; }
  .why-point { flex-direction: column; gap: 10px; }

  .footer-top { padding: 40px 0 32px; }
  .footer-bottom { padding: 20px 0; }
}
