/* =============================================================
   STX THEME — theme.css
   Southern Tier Express | stx.net
   ============================================================= */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --stx-black:   #131313;
  --stx-charcoal:#252525;
  --stx-red:     #bd2e2a;
  --stx-darkred: #540000;
  --stx-white:   #ffffff;
  --stx-grey:    #9a9a9a;
  --stx-light:   #f4f4f4;
  --stx-border:  rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--stx-black);
  color: var(--stx-white);
  overflow-x: hidden;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--stx-red);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--stx-charcoal);
  border-bottom: 1px solid var(--stx-border);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.topbar a { color: var(--stx-grey); text-decoration: none; transition: color .2s; }
.topbar a:hover,
.topbar a:focus { color: var(--stx-white); }
.topbar .phone-link { color: var(--stx-white); font-weight: 600; font-size: .9rem; }
.topbar .phone-link:hover { color: var(--stx-red); }
.topbar-divider {
  width: 1px;
  height: 1rem;
  background: var(--stx-border);
  display: inline-block;
  vertical-align: middle;
  margin: 0 .75rem;
}

/* ─── NAVBAR ─── */
.navbar-stx {
  background: var(--stx-black);
  border-bottom: 2px solid var(--stx-red);
  padding: .85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.navbar-stx .navbar-brand img { height: 48px; width: auto; }
.navbar-stx .nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: .4rem .85rem;
  position: relative;
  transition: color .2s;
}
.navbar-stx .nav-link::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: 0;
  height: 2px;
  background: var(--stx-red);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.navbar-stx .nav-link:hover,
.navbar-stx .nav-link:focus { color: var(--stx-white); }
.navbar-stx .nav-link:hover::after,
.navbar-stx .nav-link:focus::after { transform: scaleX(1); }
.navbar-stx .dropdown-menu {
  background: var(--stx-charcoal);
  border: 1px solid var(--stx-border);
  border-top: 2px solid var(--stx-red);
  border-radius: 0 0 6px 6px;
  min-width: 200px;
  padding: .5rem 0;
}
.navbar-stx .dropdown-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: .55rem 1.25rem;
  transition: background .15s, color .15s;
}
.navbar-stx .dropdown-item:hover,
.navbar-stx .dropdown-item:focus {
  background: rgba(189,46,42,.15);
  color: var(--stx-white);
}
.navbar-toggler { border-color: var(--stx-grey); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-quote {
  background: var(--stx-red);
  color: var(--stx-white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  padding: .55rem 1.4rem;
  border-radius: 3px;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.btn-quote:hover,
.btn-quote:focus { background: var(--stx-darkred); color: var(--stx-white); transform: translateY(-1px); }

/* ─── BUTTONS ─── */
.btn-primary-stx {
  background: var(--stx-red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid var(--stx-red);
  padding: .8rem 2rem;
  border-radius: 3px;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
  display: inline-block;
}
.btn-primary-stx:hover,
.btn-primary-stx:focus { background: var(--stx-darkred); border-color: var(--stx-darkred); color: #fff; transform: translateY(-2px); }

.btn-outline-stx {
  background: transparent;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.4);
  padding: .8rem 2rem;
  border-radius: 3px;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
  display: inline-block;
}
.btn-outline-stx:hover,
.btn-outline-stx:focus { border-color: #fff; background: rgba(255,255,255,.07); color: #fff; transform: translateY(-2px); }

.btn-white {
  background: var(--stx-white);
  color: var(--stx-darkred);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  padding: .9rem 2.2rem;
  border-radius: 3px;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-white:hover,
.btn-white:focus { background: #e8e8e8; color: var(--stx-darkred); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--stx-white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.5);
  padding: .87rem 2.2rem;
  border-radius: 3px;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-outline-white:hover,
.btn-outline-white:focus { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--stx-black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(19,19,19,.96) 40%, rgba(84,0,0,.45) 100%),
    url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,.08) 2px, rgba(0,0,0,.08) 4px
  );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--stx-red);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--stx-red); }
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stx-border);
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--stx-red);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stx-grey);
  margin-top: .2rem;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: .5;
  animation: bounce 2s infinite;
}
.scroll-cue span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }

/* ─── SECTION GENERIC ─── */
section { padding: 5rem 0; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stx-red);
  display: block;
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
  color: var(--stx-white);
}
.section-title .accent { color: var(--stx-red); }
.section-body {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 600px;
}
.divider-red {
  width: 48px;
  height: 3px;
  background: var(--stx-red);
  margin: 1.25rem 0;
}

/* ─── SERVICES ─── */
#services { background: var(--stx-charcoal); }
.service-card {
  background: var(--stx-black);
  border: 1px solid var(--stx-border);
  border-radius: 6px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
  color: var(--stx-white);
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stx-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover,
.service-card:focus-within {
  border-color: rgba(189,46,42,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  color: var(--stx-white);
}
.service-card:hover::before,
.service-card:focus-within::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; color: var(--stx-red); margin-bottom: 1rem; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}
.service-card p { font-size: .9rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.65; margin: 0; }
.service-arrow {
  margin-top: 1.2rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stx-red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
}

/* ─── WHY STX ─── */
#why { background: var(--stx-black); }
.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 6px;
  transition: background .2s;
}
.why-feature:hover { background: rgba(255,255,255,.03); }
.why-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(189,46,42,.12);
  border: 1px solid rgba(189,46,42,.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--stx-red);
}
.why-feature h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.why-feature p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.65; margin: 0; }
.why-img-wrap { position: relative; border-radius: 8px; overflow: hidden; }
.why-img-wrap img { width: 100%; height: 500px; object-fit: cover; display: block; }
.why-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84,0,0,.3), transparent 60%);
}

/* ─── EXPERTISE ─── */
#expertise { background: var(--stx-charcoal); }
.expertise-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--stx-black);
  border: 1px solid var(--stx-border);
  border-radius: 100px;
  padding: .65rem 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
}
.expertise-pill:hover,
.expertise-pill:focus { border-color: var(--stx-red); color: var(--stx-white); background: rgba(189,46,42,.1); }
.expertise-pill i { color: var(--stx-red); font-size: 1rem; }

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(100deg, var(--stx-darkred) 0%, var(--stx-red) 60%, #d44040 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
}
.cta-band p { font-size: 1.05rem; font-weight: 300; opacity: .85; max-width: 500px; }

/* ─── REVIEWS ─── */
#about { background: var(--stx-black); }
.review-card {
  background: var(--stx-charcoal);
  border: 1px solid var(--stx-border);
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
}
.stars { color: #f5a623; font-size: 1rem; letter-spacing: .1em; margin-bottom: .75rem; }
.review-text { font-size: .92rem; color: rgba(255,255,255,.7); line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.reviewer {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stx-grey);
}

/* ─── FOOTER ─── */
footer {
  background: #0a0a0a;
  border-top: 2px solid var(--stx-red);
  padding: 4rem 0 2rem;
}
footer .footer-logo img { height: 52px; margin-bottom: 1.25rem; }
footer .footer-tagline { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 260px; }
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stx-red);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-links a:hover,
.footer-links a:focus { color: var(--stx-white); }
.footer-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--stx-white);
  letter-spacing: .04em;
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
  transition: color .2s;
}
.footer-phone:hover { color: var(--stx-red); }
.footer-bottom {
  border-top: 1px solid var(--stx-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.hero-content > * { opacity: 0; animation: fadeUp .7s ease forwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .4s; }
.hero-content > *:nth-child(4) { animation-delay: .55s; }
.hero-stats { animation: fadeUp .7s ease forwards; animation-delay: .7s; opacity: 0; }

/* ─── FOCUS VISIBLE ─── */
:focus-visible { outline: 2px solid var(--stx-red); outline-offset: 3px; }

/* ─── SUBPAGE HERO ─── */
.subpage-hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
  background: var(--stx-charcoal);
}
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.subpage-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19,19,19,.97) 45%, rgba(84,0,0,.5) 100%);
}
.subpage-hero .container { position: relative; z-index: 2; }
.breadcrumb-stx { display: flex; align-items: center; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; flex-wrap: wrap; }
.breadcrumb-stx li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb-stx li + li::before { content: '/'; color: rgba(255,255,255,.25); font-size: .8rem; }
.breadcrumb-stx a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb-stx a:hover { color: var(--stx-white); }
.breadcrumb-stx .current {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stx-red);
}
.subpage-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.05;
  margin-bottom: .75rem;
}
.subpage-title .accent { color: var(--stx-red); }
.subpage-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  line-height: 1.7;
  margin: 0;
}

/* ─── SERVICES PAGE ─── */
.service-detail-card {
  background: var(--stx-charcoal);
  border: 1px solid var(--stx-border);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  border-color: rgba(189,46,42,.35);
}
.service-detail-card .card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--stx-black);
}
.service-detail-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-detail-card:hover .card-img img { transform: scale(1.05); }
.service-detail-card .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,19,19,.8) 100%);
}
.service-detail-card .card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 1.8rem;
  color: var(--stx-red);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.service-detail-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-detail-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
  color: var(--stx-white);
}
.service-detail-card .card-desc {
  font-size: .9rem;
  font-weight: 300;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}
.service-detail-card .card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.service-detail-card .card-bullets li {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  padding: .3rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--stx-border);
}
.service-detail-card .card-bullets li:last-child { border-bottom: none; }
.service-detail-card .card-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stx-red);
}
.service-detail-card .card-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stx-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s, color .2s;
  margin-top: auto;
}
.service-detail-card .card-link:hover { color: #e04440; gap: .7rem; }

/* ─── SERVICE PROCESS STRIP ─── */
.process-strip { background: var(--stx-black); padding: 4.5rem 0; }
.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.process-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(189,46,42,.15);
  line-height: 1;
  margin-bottom: .25rem;
}
.process-step-icon {
  font-size: 1.8rem;
  color: var(--stx-red);
  margin-bottom: .75rem;
  display: block;
}
.process-step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.process-step p {
  font-size: .83rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin: 0;
}
.process-connector {
  position: absolute;
  top: 2.5rem;
  right: -10%;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, var(--stx-red), transparent);
  opacity: .3;
}

/* ─── CONTENT PAGE LAYOUT ─── */
.content-body { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.7); line-height: 1.85; }
.content-body h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--stx-white); margin-top: 2rem; margin-bottom: .75rem; }
.content-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--stx-white); margin-top: 1.5rem; margin-bottom: .5rem; }
.content-body p { margin-bottom: 1.25rem; }
.content-body ul { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.content-body ul li { margin-bottom: .4rem; color: rgba(255,255,255,.65); }
.content-body strong { color: var(--stx-white); font-weight: 600; }

/* ─── SIDEBAR ─── */
.sidebar-card { background: var(--stx-charcoal); border: 1px solid var(--stx-border); border-radius: 6px; padding: 1.75rem; margin-bottom: 1.5rem; }
.sidebar-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--stx-white); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--stx-red); }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--stx-border); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--stx-white); }
.sidebar-nav a.active { color: var(--stx-red); }
.sidebar-nav i { color: var(--stx-red); font-size: .7rem; }

/* ─── FEATURE IMAGE ─── */
.feature-image { border-radius: 8px; overflow: hidden; position: relative; margin-bottom: 2rem; }
.feature-image img { width: 100%; height: 340px; object-fit: cover; display: block; }
.feature-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(84,0,0,.25), transparent 60%); }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box { background: rgba(189,46,42,.08); border: 1px solid rgba(189,46,42,.25); border-left: 4px solid var(--stx-red); border-radius: 0 6px 6px 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; }

/* ─── SPEC TABLE ─── */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.spec-table th, .spec-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--stx-border); font-size: .88rem; }
.spec-table th { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--stx-grey); background: rgba(255,255,255,.03); }
.spec-table td { color: rgba(255,255,255,.65); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(255,255,255,.02); color: var(--stx-white); }

/* ─── ICON GRID (Why STX / Expertise pages) ─── */
.icon-grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; background: var(--stx-black); border: 1px solid var(--stx-border); border-radius: 6px; height: 100%; transition: border-color .25s, transform .25s; }
.icon-grid-item:hover { border-color: rgba(189,46,42,.4); transform: translateY(-3px); }
.icon-grid-item .icon { font-size: 2.2rem; color: var(--stx-red); margin-bottom: 1rem; }
.icon-grid-item h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.icon-grid-item p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; margin: 0; }

/* ─── REVIEWS PAGE ─── */
.review-card-lg { background: var(--stx-charcoal); border: 1px solid var(--stx-border); border-radius: 8px; padding: 2rem; height: 100%; position: relative; }
.review-card-lg::before { content: '\201C'; position: absolute; top: 1rem; right: 1.5rem; font-size: 5rem; line-height: 1; color: rgba(189,46,42,.12); font-family: Georgia, serif; }
.review-card-lg .stars { color: #f5a623; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.review-card-lg .review-text { font-size: .95rem; color: rgba(255,255,255,.7); line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.review-card-lg .reviewer-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--stx-white); }
.review-card-lg .reviewer-title { font-size: .8rem; color: var(--stx-grey); margin-top: .15rem; }
.rating-summary { background: var(--stx-red); border-radius: 8px; padding: 2.5rem; text-align: center; }
.rating-summary .big-number { font-family: 'Barlow Condensed', sans-serif; font-size: 5rem; font-weight: 800; line-height: 1; }
.rating-summary .stars-lg { font-size: 1.5rem; letter-spacing: .15em; color: #f5a623; margin: .5rem 0; }
.rating-summary p { font-size: .85rem; opacity: .85; margin: 0; }

/* ─── CAREERS PAGE ─── */
.job-card { background: var(--stx-charcoal); border: 1px solid var(--stx-border); border-radius: 6px; padding: 1.75rem; display: flex; align-items: flex-start; gap: 1.25rem; transition: border-color .25s, transform .2s; }
.job-card:hover { border-color: rgba(189,46,42,.4); transform: translateY(-2px); }
.job-icon { flex-shrink: 0; width: 52px; height: 52px; background: rgba(189,46,42,.12); border: 1px solid rgba(189,46,42,.3); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--stx-red); }
.job-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.job-card .job-meta { font-size: .8rem; color: var(--stx-grey); margin-bottom: .6rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.job-card .job-meta span { display: flex; align-items: center; gap: .25rem; }
.job-card p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.6; margin: 0; }

/* ─── CONTACT PAGE ─── */
.contact-info-block { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; background: var(--stx-charcoal); border: 1px solid var(--stx-border); border-radius: 6px; margin-bottom: 1rem; transition: border-color .2s; }
.contact-info-block:hover { border-color: rgba(189,46,42,.3); }

/* ─── RESOURCES PAGE ─── */
.resource-card { background: var(--stx-charcoal); border: 1px solid var(--stx-border); border-radius: 6px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; text-decoration: none; color: var(--stx-white); }
.resource-card:hover { border-color: rgba(189,46,42,.4); transform: translateY(-3px); color: var(--stx-white); }
.resource-card .resource-type { font-family: 'Barlow Condensed', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--stx-red); margin-bottom: .6rem; }
.resource-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.resource-card p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.65; flex: 1; margin: 0; }

/* ─── GALLERY PAGE ─── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--stx-border);
  background: transparent;
  color: rgba(255,255,255,.5);
  padding: .5rem 1.1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1;
}
.gallery-filter-btn:hover {
  border-color: rgba(189,46,42,.5);
  color: var(--stx-white);
  background: rgba(189,46,42,.08);
}
.gallery-filter-btn.active {
  background: var(--stx-red);
  border-color: var(--stx-red);
  color: var(--stx-white);
}

.gallery-grid {
  columns: 3;
  column-gap: 10px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  display: block;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,19,19,.88) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stx-red);
  margin-bottom: .2rem;
}
.gallery-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--stx-white);
  line-height: 1.2;
}
.gallery-item-zoom {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 34px;
  height: 34px;
  background: rgba(189,46,42,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .25s, transform .25s;
}
.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: scale(1);
}
.gallery-item[data-cat] { transition: opacity .3s, transform .3s; }
.gallery-item.hidden {
  display: none;
}

/* ── Lightbox ── */
.stx-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem;
}
.stx-lightbox.open { display: flex; }
.stx-lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.stx-lightbox img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}
.stx-lightbox-caption {
  text-align: center;
}
.stx-lightbox-caption .cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stx-red);
  margin-bottom: .25rem;
}
.stx-lightbox-caption .title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--stx-white);
}
.stx-lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  padding: 0;
}
.stx-lightbox-close:hover { color: var(--stx-white); }
.stx-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(189,46,42,.75);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.stx-lightbox-nav:hover { background: var(--stx-red); }
.stx-lightbox-prev { left: -3.5rem; }
.stx-lightbox-next { right: -3.5rem; }
.stx-lightbox-counter {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-top: -.25rem;
}

@media (max-width: 768px) {
  .gallery-grid { columns: 2; }
  .stx-lightbox-prev { left: 0; }
  .stx-lightbox-next { right: 0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 576px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: 100svh; }
  .hero-stats { gap: 1.5rem; }
  .subpage-hero { padding: 3.5rem 0 2.5rem; }
  .process-connector { display: none; }
  .job-card { flex-direction: column; }
  .feature-image img { height: 220px; }
}
