/* ============================================================
   TradeLink LLC — Marketing Site
   Single shared stylesheet
   ============================================================ */

/* -------- Tokens -------- */
:root {
  --blue:           #02467f;
  --blue-700:       #033a6a;
  --blue-500:       #0a5a9e;
  --blue-100:       #e7eef5;

  --steel-dark:     #1e2d3b;
  --steel-darker:   #0f1c29;
  --ink:            #131313;
  --neutral-100:    #ffffff;
  --neutral-200:    #f8f9fc;
  --neutral-250:    #f3f4f9;
  --neutral-300:    #eaecf3;
  --neutral-400:    #cdd0dc;
  --neutral-500:    #9095a8;
  --neutral-600:    #5b607a;
  --neutral-700:    #3a3f56;
  --neutral-800:    #1c1f3a;

  --accent:         #ff5a65;     /* used for live/pulse markers only */

  --white:          #ffffff;

  --shadow-card:    0 4px 14px rgba(15, 28, 41, 0.10);
  --shadow-soft:    0 12px 32px rgba(15, 28, 41, 0.10);
  --shadow-deep:    0 24px 60px rgba(0, 0, 0, 0.30);
  --shadow-lift:    0 18px 40px rgba(15, 28, 41, 0.18);

  --radius-pill:    999px;
  --radius-card:    20px;
  --radius-md:      12px;
  --radius-sm:      8px;

  --container:      1200px;
  --container-wide: 1320px;
  --container-narrow: 880px;

  --section-y:      96px;
  --section-y-sm:   64px;

  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease:           cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-700); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--blue); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------- Type -------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em 0;
  color: var(--neutral-800);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.85rem); }
h3 { font-size: clamp(1.35rem, 0.7vw + 1rem, 1.65rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1rem 0; }
strong { font-weight: 700; }

.lead {
  font-size: clamp(1rem, 0.3vw + 1rem, 1.18rem);
  color: var(--neutral-600);
  line-height: 1.6;
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 1rem;
  padding: 6px 12px;
  background: var(--blue-100);
  border-radius: var(--radius-pill);
}
.eyebrow--plain {
  background: transparent;
  padding: 0;
}

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

section { padding: var(--section-y) 0; }
@media (max-width: 900px) { section { padding: var(--section-y-sm) 0; } }

.section-light    { background: var(--neutral-200); }
.section-white    { background: var(--white); }
.section-tint     { background: var(--blue-100); }
.section-dark     { background: var(--steel-dark); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.95); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head .lead { margin-top: 14px; }
.section-head .eyebrow { margin-bottom: 16px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(2, 70, 127, 0.25);
}
.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 70, 127, 0.40);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--neutral-200);
  color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

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

.btn-ghost {
  padding: 8px 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}
.btn-ghost:hover {
  color: var(--blue-700);
  border-bottom-color: var(--blue-700);
  transform: none;
  box-shadow: none;
}
.section-dark .btn-ghost { color: var(--white); }
.section-dark .btn-ghost:hover { border-bottom-color: var(--white); }

.btn-large { padding: 18px 36px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-group--center { justify-content: center; }

/* -------- Header / Nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 28, 41, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(15, 28, 41, 0.96);
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container-wide);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-text {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1;
}
.brand-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links > li > a {
  display: inline-block;
  padding: 10px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
  position: relative;
}
.nav-links > li > a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links > li > a.active {
  color: var(--white);
}
.nav-links > li > a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; box-shadow: none; }
.nav-cta .btn:hover { box-shadow: 0 6px 16px rgba(2, 70, 127, 0.45); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--steel-dark);
    padding: 12px 24px 20px;
    border-bottom: 2px solid var(--blue);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links > li > a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin: 14px 8px 0; align-self: flex-start; }
}

/* -------- Hero -------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 120px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,41,0.78) 0%, rgba(15,28,41,0.92) 100%),
    url("../images/site-photo-1.avif") center/cover no-repeat;
  z-index: -2;
  transform: scale(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(2, 70, 127, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(2, 70, 127, 0.35) 0%, transparent 50%);
  z-index: -1;
}
.hero .container { position: relative; }
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding: 8px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw + 1rem, 5rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #ffffff 0%, #c9d6e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.hero-sub {
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.45rem);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.hero-body {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 65ch;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero-contact {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.hero-contact a { color: var(--white); font-weight: 600; }
.hero-contact a:hover { color: var(--blue-500); }
.hero-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 90, 101, 0.7);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 101, 0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 90, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 101, 0); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 700px) {
  .hero { padding: 100px 0 90px; }
  .hero-scroll-cue { display: none; }
}

/* -------- Page header (sub-pages) -------- */
.page-header {
  position: relative;
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,28,41,0.85) 0%, rgba(15,28,41,0.95) 100%),
    url("../images/site-photo-2.avif") center/cover no-repeat;
  z-index: -2;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(2,70,127,0.45) 0%, transparent 60%);
  z-index: -1;
}
.page-header.bg-services::before { background-image: linear-gradient(180deg, rgba(15,28,41,0.85), rgba(15,28,41,0.95)), url("../images/bg-welding.jpg"); }
.page-header.bg-planning::before { background-image: linear-gradient(180deg, rgba(15,28,41,0.85), rgba(15,28,41,0.95)), url("../images/bg-cta-glassroof.avif"); }
.page-header.bg-contact::before  { background-image: linear-gradient(180deg, rgba(15,28,41,0.85), rgba(15,28,41,0.95)), url("../images/site-photo-3.avif"); }
.page-header.bg-quote::before    { background-image: linear-gradient(180deg, rgba(15,28,41,0.85), rgba(15,28,41,0.95)), url("../images/bg-pipefitters.avif"); }

.page-header h1 {
  color: var(--white);
  margin-bottom: .6rem;
}
.page-header .lead {
  color: rgba(255,255,255,0.85);
  max-width: 70ch;
  margin: 0 auto;
}
.page-header .container { position: relative; z-index: 1; }
.crumbs {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.crumbs a { color: rgba(255,255,255,0.85); }
.crumbs a:hover { color: var(--white); }
.crumbs span:not(:first-child) { opacity: 0.5; }

/* -------- Credentials strip -------- */
.creds {
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  padding: 64px 0;
}
.creds h4 {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
  text-align: center;
}
.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
}
.cred {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.4;
}
.cred-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.cred-check svg { width: 12px; height: 12px; }

/* -------- Process steps (How It Works) -------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neutral-300), var(--neutral-300), transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 6px var(--white);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.process-step:hover .process-num {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  margin: 0;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process::before { display: none; }
}

/* -------- Industries strip -------- */
.industries-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  padding: 24px 12px;
  text-align: center;
  transition: all .25s var(--ease);
  color: var(--neutral-800);
}
.industry-pill:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  color: var(--blue);
}
.industry-pill svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
}
.industry-pill span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .industries-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .industries-strip { grid-template-columns: repeat(2, 1fr); }
}

/* -------- Service cards (photo backgrounds) -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 340px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none;
  color: var(--white);
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,41,0) 0%, rgba(15,28,41,0.40) 50%, rgba(15,28,41,0.95) 100%);
  z-index: 1;
  transition: background .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  color: var(--white);
}
.service-card:hover::before {
  background: linear-gradient(180deg, rgba(2,70,127,0.10) 0%, rgba(15,28,41,0.55) 50%, rgba(15,28,41,0.97) 100%);
}
.service-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 28px;
  z-index: 2;
}
.service-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.service-card-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--blue-500);
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 3px;
}
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
  color: var(--white);
}
.service-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s var(--ease), margin .3s var(--ease);
}
.service-card:hover p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}
.service-card-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 2;
  transition: all .3s var(--ease);
  backdrop-filter: blur(6px);
}
.service-card:hover .service-card-arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(-45deg);
}
.service-card-arrow svg { width: 16px; height: 16px; }

/* Service-specific backgrounds */
.bg-welding   { background-image: url("../images/bg-welding.jpg"); }
.bg-electrical{ background-image: url("../images/bg-electrical.jpg"); }
.bg-civil     { background-image: url("../images/bg-civil.avif"); }
.bg-workforce { background-image: url("../images/bg-workforce.avif"); }
.bg-crane     { background-image: url("../images/bg-crane.avif"); }
.bg-fire      { background-image: url("../images/bg-fire.avif"); }
.bg-millwright{ background-image: url("../images/bg-millwright.avif"); }
.bg-pipefitters{ background-image: url("../images/bg-pipefitters.avif"); }
.bg-safety    { background-image: url("../images/bg-safety.avif"); }

/* -------- Generic card -------- */
.card {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  padding: 32px;
  border-radius: var(--radius-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--blue);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue);
  margin-bottom: 18px;
  transition: all .25s var(--ease);
}
.card:hover .card-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(-4deg);
}
.card-icon svg { width: 24px; height: 24px; }

/* -------- Option / hiring card -------- */
.option-card {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  transition: all .25s var(--ease);
  height: 100%;
}
.option-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.option-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(2,70,127,0.25);
}
.option-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* -------- Stats -------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 56px;
  padding: 48px 32px;
  background: var(--steel-dark);
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(2,70,127,0.45), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(2,70,127,0.30), transparent 60%);
  color: var(--white);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.10);
}
.stat-num {
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff, #c9d6e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 14px;
  color: rgba(255,255,255,0.75);
}
@media (max-width: 700px) {
  .stat:not(:last-child)::after { display: none; }
  .stats { padding: 32px 20px; }
}

/* -------- Split sections -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-img--with-frame::after {
  content: "";
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-card);
  z-index: -1;
}
.split-content > .eyebrow:first-child { margin-bottom: 16px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
  .split-img--with-frame::after { display: none; }
}

/* -------- Testimonial -------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  padding: 56px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 24px;
  left: 44px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.12;
  pointer-events: none;
}
.testimonial-quote {
  font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--neutral-800);
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial-body {
  color: var(--neutral-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--neutral-300);
}
.testimonial-attr img {
  height: 44px;
  width: auto;
}
.testimonial-attr-name {
  font-weight: 600;
  color: var(--neutral-800);
  font-size: 1rem;
}
.testimonial-attr-role {
  color: var(--neutral-600);
  font-size: 0.9rem;
}
@media (max-width: 600px) { .testimonial { padding: 32px 28px; } }

/* -------- Service anchor sub-nav -------- */
.anchor-nav {
  position: sticky;
  top: 70px;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-300);
  padding: 12px 0;
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-inner {
  display: flex;
  gap: 6px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  white-space: nowrap;
}
.anchor-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-pill);
  transition: all .15s var(--ease);
}
.anchor-nav a:hover { background: var(--blue-100); color: var(--blue); }

/* -------- Contact / form -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-block {
  background: var(--white);
  padding: 22px 26px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.contact-block:hover {
  border-color: var(--blue);
  transform: translateX(2px);
}
.contact-block-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-100);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all .15s var(--ease);
}
.contact-block:hover .contact-block-icon {
  background: var(--blue);
  color: var(--white);
}
.contact-block-icon svg { width: 20px; height: 20px; }
.contact-block-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neutral-600);
  margin-bottom: 4px;
}
.contact-block-value {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.35;
}
.contact-block-value a { color: inherit; }
.contact-block-value a:hover { color: var(--blue); }

.form {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.form h3 { margin-bottom: 8px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row--single { grid-template-columns: 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--neutral-700);
}
.field-help {
  font-size: 0.78rem;
  color: var(--neutral-500);
  margin-top: 2px;
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--neutral-200);
  color: var(--neutral-800);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(2, 70, 127, 0.12);
  background: var(--white);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--neutral-500); }
.field textarea { min-height: 140px; resize: vertical; }
.form .privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin: 12px 0 22px;
}
.form .privacy input { width: 16px; height: 16px; accent-color: var(--blue); }
.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 8px 0;
}
.form-fieldset-legend {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--neutral-300);
  width: 100%;
}

/* -------- Hours -------- */
.hours {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  padding: 28px 30px;
}
.hours h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--neutral-300);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--neutral-800); font-weight: 500; }
.hours-row .time { color: var(--neutral-600); font-variant-numeric: tabular-nums; }
.hours-row.closed .time { color: var(--accent); font-weight: 600; }

/* -------- FAQ -------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item:hover { border-color: var(--neutral-400); }
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--neutral-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302467f' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body {
  padding: 0 28px 24px;
  color: var(--neutral-600);
  line-height: 1.7;
}
.faq-body ul { list-style: none; padding: 0; margin: 0.5rem 0; }
.faq-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}
.faq-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* -------- CTA banner -------- */
.cta-banner {
  position: relative;
  background: var(--steel-dark);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15,28,41,0.78), rgba(15,28,41,0.85)),
    url("../images/bg-cta-glassroof.avif") center/cover no-repeat;
  z-index: -2;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(2,70,127,0.40) 0%, transparent 60%);
  z-index: -1;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
  max-width: 60ch;
  font-size: 1.08rem;
}
.cta-banner .btn-group { justify-content: center; }
@media (max-width: 900px) { .cta-banner { padding: 80px 0; } }

/* -------- Strike callout -------- */
.callout {
  background: var(--blue);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin: 28px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  border-left: 6px solid var(--white);
  box-shadow: 0 12px 28px rgba(2,70,127,0.30);
}

/* -------- Map -------- */
.map-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--neutral-300);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -------- Footer -------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.70);
  padding: 80px 0 24px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 52px; height: 52px; margin-bottom: 14px; }
.footer-brand .brand-text { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; line-height: 1; }
.footer-brand .brand-tag {
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-brand p { margin-top: 16px; font-size: 0.94rem; line-height: 1.65; max-width: 38ch; color: rgba(255,255,255,0.65); }

.footer-col h5 {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.68);
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.78);
}
.footer-contact-line svg { width: 16px; height: 16px; color: var(--blue-500); flex-shrink: 0; }
.footer-contact-line a { color: rgba(255,255,255,0.78); }
.footer-contact-line a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50);
}
.footer-bottom-links a { color: rgba(255,255,255,0.65); margin-left: 18px; }
.footer-bottom-links a:hover { color: var(--white); }

.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  transition: all .2s var(--ease);
}
.socials a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

/* -------- Back to top -------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 10px 28px rgba(2,70,127,0.40);
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-700);
  transform: translateY(-3px);
}
.back-to-top svg { width: 18px; height: 18px; }

/* -------- Reveal-on-scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Helpers -------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
