/* Holloman Electrical Services - aligned with Holloman Corp brand system */

:root {
  --navy: #1c2a34;
  --slate: #2f4656;
  --red: #c1121c;
  --red-600: #a50f17;
  --sage: #eaefea;
  --white: #ffffff;
  --ink: #1c2a34;
  --muted: #5b6670;
  --line: #dde2e0;

  --font-body: "Poppins", system-ui, sans-serif;
  --font-display: "Figtree", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 7px;
  --header-h: 118px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 8px 30px -8px rgba(28, 42, 52, 0.18);
  --shadow-soft: 0 24px 50px -24px rgba(28, 42, 52, 0.22);
  --shadow-lift: 0 30px 60px -22px rgba(28, 42, 52, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

/* Fine grain texture (fixed, non-repainting, pointer-safe) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* Typography - Corp signature */
.em, .section-title em, .strengths__title em, .hero__tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red);
  flex-shrink: 0;
}
.eyebrow__no {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 0.85rem; color: var(--red); letter-spacing: 0;
  font-feature-settings: "tnum" 1;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.eyebrow--light::before { background: var(--red); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
  text-wrap: pretty;
}

/* Split section header (editorial rhythm) */
.section-head {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head .section-title { margin-bottom: 0; }
.section-head .lead { margin-top: 0.25rem; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; }
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section--white { background: var(--white); }
.section--sage { background: var(--sage); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  padding: 0.85rem 1.45rem;
  font-weight: 600; font-size: 0.92rem;
  border-radius: var(--radius);
  will-change: transform;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(193, 18, 28, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  background: var(--red-600); transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(193, 18, 28, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--white {
  background: #fff; color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(28, 42, 52, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(28, 42, 52, 0.55); }
.btn--white:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--lg { padding: 1rem 1.75rem; font-size: 0.98rem; }
.btn--block { width: 100%; justify-content: center; }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading .btn__label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%;
  vertical-align: -2px; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

.utility-bar {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; padding-block: 0.3rem; flex-wrap: wrap; gap: 0.15rem 1rem;
}
.utility-bar p { margin: 0; }
.utility-bar a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; color: #fff; }
.utility-bar a:hover { opacity: 0.85; }

.nav-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.is-scrolled .nav-bar {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: rgba(28, 42, 52, 0.08);
  box-shadow: 0 10px 30px -18px rgba(28, 42, 52, 0.35);
}
.nav-bar__inner { display: flex; align-items: center; gap: 2rem; height: 80px; }
.is-scrolled .nav-bar__inner { height: 68px; }
.brand img { height: 50px; width: auto; transition: height 0.3s var(--ease); }
.is-scrolled .brand img { height: 42px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__list a {
  font-weight: 500; font-size: 0.92rem; color: var(--navy);
  white-space: nowrap; transition: color 0.2s;
}
.nav__list a:hover { color: var(--red); }
.nav__cta { margin-left: 0.25rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex-direction: column;
  gap: 5px; align-items: center; justify-content: center; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--slate); color: #fff;
  display: flex; align-items: flex-start; justify-content: center;
  padding: calc(var(--header-h) + 0.75rem) 1.25rem 2.5rem;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav {
  text-align: center; width: min(100%, 420px);
  margin-block: auto; /* center when short; scroll from top when tall */
}
.mobile-menu ul {
  display: flex; flex-direction: column;
  gap: clamp(0.85rem, 2.8vh, 1.3rem);
  margin-bottom: 1.5rem;
}
.mobile-menu nav > ul a {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5.2vw, 1.5rem);
  font-weight: 700;
  display: inline-block; padding: 0.15rem 0.5rem;
}
.mobile-menu nav > ul a:hover { color: #ffb3b8; }
.mobile-menu__cta { display: inline-flex; }
.mobile-menu__contact {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.75);
}
.mobile-menu__contact a {
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mobile-menu__contact a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 100dvh;
  padding-top: var(--header-h);
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: visible;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: center 35%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 30, 38, 0.82) 0%, rgba(20, 30, 38, 0.45) 55%, rgba(20, 30, 38, 0.25) 100%);
}
.hero__inner { padding-block: clamp(3rem, 8vw, 5rem) clamp(6rem, 14vw, 10rem); max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82); margin-bottom: 1.4rem;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 0.7rem; text-wrap: balance;
}
.hero__tagline {
  position: relative;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.12; color: #fff;
  margin-bottom: 1.6rem; padding-left: 1.1rem;
}
.hero__tagline::before {
  content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em;
  width: 4px; background: var(--red); border-radius: 2px;
}
.hero__lead { color: rgba(255,255,255,0.9); font-size: 1.06rem; margin-bottom: 2.1rem; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Trust ribbon */
.trust-ribbon { background: var(--slate); }
.trust-ribbon__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.trust-ribbon__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.15rem; padding-inline: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.trust-ribbon__item:first-child { border-left: 0; }
.trust-ribbon__num {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; line-height: 1;
  font-feature-settings: "tnum" 1;
}
.trust-ribbon__label {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* About */
.about__lead { margin-bottom: 2.75rem; }

/* Strengths row */
.strengths {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.strengths__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-top: 1.4rem; border-top: 2px solid var(--navy);
}
.strengths__icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--sage); color: var(--red);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.strengths__item:hover .strengths__icon { background: var(--red); color: #fff; transform: translateY(-2px); }
.strengths__icon svg { width: 26px; height: 26px; }
.strengths__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; color: var(--navy); margin-bottom: 0.35rem; line-height: 1.2;
}
.strengths__item p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* Inline stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--red);
}
.stat-strip__item {
  padding: 1.5rem 1.5rem 0.25rem 0;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.stat-strip__item:first-child { border-left: 0; padding-left: 0; }
.stat-strip__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--red); line-height: 1; letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.stat-strip__label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 0.6rem;
}

/* Kinetic capability marquee */
.marquee {
  overflow: hidden; background: var(--slate);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: inline-flex; align-items: center;
  white-space: nowrap; padding-block: 1.05rem;
  animation: marquee 42s linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .kw {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(1rem, 2vw, 1.5rem); color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-right: 1.3rem;
}
.marquee__dot {
  width: 8px; height: 8px; background: var(--red); transform: rotate(45deg);
  flex-shrink: 0; margin-right: 1.3rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services__intro { margin-bottom: 2.5rem; }
.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  counter-reset: svc;
}
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-increment: svc;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease); z-index: 2;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.photo-conduit { object-position: center 28%; }
.photo-access { object-position: 22% 50%; }
.photo-camera { object-position: 80% 18%; }
.photo-trays { object-position: center 42%; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.7rem 1.7rem 1.6rem; }
.svc-card__body::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute; top: 1.4rem; right: 1.5rem;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 1.6rem; line-height: 1; color: var(--line);
  transition: color 0.4s var(--ease);
}
.svc-card:hover .svc-card__body::before { color: var(--red); }
.svc-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; padding-right: 2.2rem; }
.svc-card__icon {
  flex-shrink: 0; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--red); color: #fff; border-radius: var(--radius);
  box-shadow: 0 10px 20px -10px rgba(193, 18, 28, 0.55);
}
.svc-card__icon svg { width: 24px; height: 24px; }
.svc-card__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.18rem; color: var(--navy); line-height: 1.2;
  letter-spacing: -0.01em;
}
.svc-card__list { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.svc-card__list li {
  font-size: 0.9rem; color: var(--muted);
  padding-left: 1.25rem; position: relative;
}
.svc-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
}
.svc-card__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
  transition: color 0.2s, gap 0.2s;
}
.svc-card__link:hover { color: var(--red); gap: 0.6rem; }
.svc-card__arrow { color: var(--red); }

/* Coverage / licensed states */
.coverage__grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.coverage__figure { margin-top: 1.5rem; font-weight: 600; color: var(--navy); }
.coverage__figure-num {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4rem); color: var(--red);
  margin-right: 0.5rem; vertical-align: -0.15em;
}
/* Legend */
.map-legend {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-top: 1.6rem; font-weight: 600; font-size: 0.9rem; color: var(--slate);
}
.map-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.map-legend__key {
  width: 0.95rem; height: 0.95rem; border-radius: 3px;
  background: #e4e9e6; border: 1px solid var(--line);
}
.map-legend__key--on {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 3px 8px -2px rgba(193, 18, 28, 0.6);
}

/* US map */
.coverage__map { position: relative; }
.us-map-wrap { position: relative; }
.us-map { display: block; width: 100%; height: auto; overflow: visible; }
.us-map .state {
  fill: #e4e9e6; stroke: #fff; stroke-width: 1;
  transition: fill 0.35s var(--ease), filter 0.35s var(--ease);
}
.us-map .state.is-licensed {
  fill: var(--red);
  filter: drop-shadow(0 4px 10px rgba(193, 18, 28, 0.35));
}
.us-map .state.is-licensed:hover,
.us-map .state.is-licensed:focus {
  fill: var(--red-600);
  filter: drop-shadow(0 6px 14px rgba(193, 18, 28, 0.5));
  cursor: pointer;
  transform-box: fill-box; transform-origin: center;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
/* Tooltip pill */
.us-map__tip {
  position: absolute; top: 0; left: 0;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  background: var(--slate); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.01em; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(28, 42, 52, 0.55);
  pointer-events: none; opacity: 0; transform: translate(-50%, -140%) scale(0.96);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 3;
}
.us-map__tip.is-on { opacity: 1; transform: translate(-50%, -160%) scale(1); }

/* Screen-reader-only utility */
.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;
}

/* Safety callout */
.safety { display: grid; grid-template-columns: 1fr 1fr; }
.safety__media { position: relative; min-height: 360px; overflow: hidden; }
.safety__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.safety__panel {
  background: var(--slate); color: #fff;
  display: flex; align-items: center;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.safety__inner { max-width: 46ch; }
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.section-title--light { color: #fff; }
.safety__lead { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; line-height: 1.75; }
.safety__points { display: grid; gap: 0.75rem; }
.safety__points li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.95rem; color: rgba(255, 255, 255, 0.9);
}
.safety__points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; background: var(--red);
}

/* Why */
.why__intro { margin-bottom: 2rem; }
.why__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border-top: 1px solid var(--line);
}
.why__grid li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.why__grid li:nth-child(even) {
  padding-left: 1.5rem; border-left: 1px solid var(--line);
}
.why__marker {
  flex-shrink: 0; width: 8px; height: 8px;
  background: var(--red); margin-top: 0.55em;
}
.why__grid p { font-size: 0.95rem; color: var(--ink); line-height: 1.55; }

/* Markets */
.markets__intro { margin-bottom: 2.5rem; }
.markets__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
}
.market-card {
  position: relative; overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-card); min-height: 220px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.market-card--wide,
.market-card:first-child { grid-column: span 2; }
.market-card__cap { height: 5px; background: var(--slate); position: relative; z-index: 2; }
.market-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
/* Portrait slot beside the wide Industrial card */
.markets__grid > .market-card:nth-child(2) img {
  aspect-ratio: 3 / 4;
}
.market-card:hover img { transform: scale(1.06); }
.market-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.5rem 1.4rem;
  background: linear-gradient(0deg, rgba(20, 30, 38, 0.92) 0%, rgba(20, 30, 38, 0.4) 60%, transparent 100%);
}
.market-card__label h3 {
  position: relative;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.08rem; color: #fff; padding-left: 0.85rem; letter-spacing: -0.01em;
}
.market-card__label h3::before {
  content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em;
  width: 3px; background: var(--red);
}

/* CTA band */
.cta-band__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-band__text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--navy); line-height: 1.35; margin-bottom: 0.75rem;
}
.cta-band__phone { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.cta-band__phone a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* Contact */
.contact__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem); align-items: start;
}
.contact__info, .contact__form-wrap { min-width: 0; }
.contact__details { margin-top: 2rem; }
.contact__details li {
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.contact__details li:last-child { border-bottom: 1px solid var(--line); }
.contact__k {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.25rem;
}
.contact__v { font-size: 1.05rem; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
a.contact__v:hover { color: var(--red); }

.contact__form-wrap {
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-card); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--navy); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--radius); padding: 0.8rem 0.95rem;
  transition: border-color 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c1121c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.4rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
}
.field--invalid input, .field--invalid textarea { border-color: var(--red); }
.field__error { color: var(--red); font-size: 0.78rem; min-height: 0; }
.holloman-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.2rem; }
.form__status.is-success { color: #1a7f4b; }
.form__status.is-error { color: var(--red); }

/* Footer */
.footer {
  position: relative; background: var(--slate);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--red);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3rem;
}
.footer__grid > * { min-width: 0; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 46px; width: auto; }
.footer__tagline { margin: 1.4rem 0 1.25rem; font-size: 0.9rem; max-width: 34ch; line-height: 1.6; }
.footer__parent { color: #ffb3b8; font-weight: 600; font-size: 0.88rem; display: inline-flex; gap: 0.35rem; }
.footer__parent:hover { color: #fff; }
.footer__col h4 {
  color: #fff; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1rem; font-weight: 700;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a { font-size: 0.9rem; overflow-wrap: anywhere; }
.footer__col a:hover { color: #fff; }
.footer__addr { font-size: 0.9rem; line-height: 1.5; }

.footer__bar { background: var(--navy); }
.footer__bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 1rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.7);
}
.footer__legal { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #ffb3b8; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); }
.reveal-ready [data-reveal] { will-change: transform, opacity; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .strengths { grid-template-columns: 1fr; gap: 1.5rem; }
  .coverage__grid { grid-template-columns: 1fr; align-items: start; }
  .coverage__map { max-width: 620px; margin: 0.5rem auto 0; width: 100%; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav, .nav__cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .trust-ribbon__inner { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .trust-ribbon__item:nth-child(odd) { border-left: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .safety__media { min-height: 260px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .markets__grid { grid-template-columns: 1fr; }
  .market-card:first-child, .market-card--wide { grid-column: span 1; }
}

@media (max-width: 640px) {
  :root { --header-h: 118px; }
  .utility-bar__inner {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.1rem; font-size: 0.78rem; text-align: center; padding-block: 0.45rem;
  }
  .nav-bar__inner, .is-scrolled .nav-bar__inner { height: 62px; }
  .brand img, .is-scrolled .brand img { height: 40px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar-inner { flex-direction: column; gap: 0.35rem; text-align: center; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip__item { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
  .stat-strip__item:first-child { border-top: 0; padding-top: 1.5rem; }
  .map-legend { gap: 1rem; font-size: 0.85rem; }
}

@media (max-width: 900px) and (min-width: 641px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__media img { height: 100%; }
  .marquee__track { animation: none !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
