/* ============================================================
   SOLUTION INDY — pit-lane industrial theme
   Fonts: Anton (display) + Barlow (body) — local files, no CDN
   ============================================================ */

@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e4c86;
  --navy-deep: #071b2e;
  --navy-black: #050f1c;
  --orange: #f5761e;
  --amber: #fdb515;
  --sky: #29abe2;
  --off-white: #f4f6f8;
  --ink: #0a0e14;
  --line: rgba(244, 246, 248, 0.14);

  --font-display: 'Anton', Impact, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;
}

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

::selection { background: var(--orange); color: var(--navy-black); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  box-shadow: inset 0 0 180px rgba(0,0,0,0.55);
}

/* ---------- race-lap scroll progress ---------- */
#lap-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  z-index: 1000;
  background:
    linear-gradient(90deg, var(--orange), var(--amber), var(--sky));
  box-shadow: 0 0 10px rgba(253, 181, 21, 0.6);
  transition: width 0.08s linear;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--navy-black);
  border-bottom: 3px solid var(--orange);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.utility-bar strong { color: var(--amber); }
.utility-bar .u-right { display: flex; gap: 18px; flex-wrap: wrap; }
.utility-bar .u-right a:hover { color: var(--amber); }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 15, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }

nav.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
nav.main-nav a { position: relative; padding: 4px 0; }
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle button {
  background: transparent;
  color: var(--off-white);
  border: none;
  padding: 6px 12px;
  opacity: 0.55;
}
.lang-toggle button.active { background: var(--orange); opacity: 1; color: var(--navy-black); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 4px;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy-black); box-shadow: 0 4px 0 #9c4a09; }
.btn-primary:hover { box-shadow: 0 6px 0 #9c4a09; }
.btn-outline { background: transparent; border-color: var(--off-white); color: var(--off-white); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 26px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 140px;
  overflow: hidden;
  background: var(--navy-black);
}
.hero::before {
  content: '';
  position: absolute;
  inset: -4%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(41,171,226,0.16), transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(245,118,30,0.14), transparent 55%);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* ---------- animated service motifs (hero backdrop) ---------- */
.hero-bg-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-icon {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero-icon svg { width: 100%; height: 100%; display: block; }
.hero-icon-fan {
  top: 8%;
  right: 4%;
  width: clamp(90px, 14vw, 180px);
  height: clamp(90px, 14vw, 180px);
}
.hero-icon-bolt {
  top: 14%;
  left: 5%;
  width: clamp(46px, 7vw, 96px);
  height: clamp(84px, 13vw, 176px);
}
.fan-blades {
  transform-origin: 100px 100px;
  animation: spin 11s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.circuit-lines .line {
  stroke-dasharray: 14 10;
  animation: flow 3s linear infinite;
}
.circuit-lines .line-2 { animation-duration: 2.3s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -240; } }

.pipe-flow .pipe {
  stroke-dasharray: 18 14;
  animation: flow 4.5s linear infinite;
}

.bolt-flicker {
  animation: flicker 2.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes flicker {
  0%, 18%, 22%, 100% { opacity: 0.22; }
  20% { opacity: 0.65; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-black);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.4s infinite;
}
.eyebrow .gauge { width: 22px; height: 22px; flex-shrink: 0; }
.eyebrow .gauge .needle {
  transform-origin: 12px 12px;
  animation: needle-sweep 3.2s ease-in-out infinite;
}
@keyframes needle-sweep {
  0%, 100% { transform: rotate(-38deg); }
  50% { transform: rotate(38deg); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(42px, 6vw, 84px);
  color: var(--off-white);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}
.hero h1 span { color: var(--navy-deep); -webkit-text-stroke: 1.5px var(--off-white); }
.hero .sub {
  max-width: 520px;
  margin-top: 22px;
  font-size: 18px;
  color: rgba(244,246,248,0.85);
}
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.rating-card {
  background: var(--off-white);
  color: var(--navy-black);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 10px 10px 0 var(--navy);
  transform: rotate(-2deg);
}
.rating-card .stars { color: var(--amber); font-size: 22px; letter-spacing: 2px; }
.rating-card .score { font-family: var(--font-display); font-size: 46px; margin: 4px 0; }
.rating-card p { margin: 0; font-weight: 600; font-size: 14px; }
.rating-card a { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--orange); }

/* ---------- checker ticker ---------- */
.ticker-wrap {
  background: var(--orange);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.ticker {
  display: inline-flex;
  animation: scroll 22s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--navy-black);
  padding: 10px 26px;
  white-space: nowrap;
}
.ticker span::after { content: '\25C6'; margin-left: 26px; opacity: 0.6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- trust strip ---------- */
.trust-strip { padding: 40px 0; background: var(--navy-deep); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(244,246,248,0.85);
}
.trust-item svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ---------- section basics ---------- */
section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .kicker {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-top: 10px;
  color: var(--off-white);
}
.section-head p { margin-top: 16px; color: rgba(244,246,248,0.7); font-size: 17px; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-top: 6px solid var(--sky);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-8px); }
.service-card.hvac { border-top-color: var(--orange); }
.service-card.electrical { border-top-color: var(--amber); }
.service-card svg { transition: transform 0.35s ease; }
.service-card:hover svg { transform: scale(1.12) rotate(-6deg); }
.service-card .num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 42px;
  color: rgba(244,246,248,0.08);
}
.service-card svg { width: 46px; height: 46px; margin-bottom: 22px; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; color: var(--off-white); }
.service-card p { color: rgba(244,246,248,0.65); font-size: 15px; margin: 0 0 18px; }
.service-card ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: rgba(244,246,248,0.8); }
.service-card li { padding: 6px 0; border-top: 1px dashed var(--line); }
.service-card li:first-child { border-top: none; }

/* ---------- process ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 34px; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 22px, transparent 22px 40px);
}
.process-step { position: relative; padding: 0 20px; text-align: left; }
.process-step .step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--amber);
  margin-bottom: 20px;
  position: relative; z-index: 2;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; color: var(--off-white); }
.process-step p { font-size: 14px; color: rgba(244,246,248,0.65); margin: 0; }

/* ---------- checkerboard divider ---------- */
.checker-strip {
  height: 22px;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--ink) 75%),
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0px;
  background-color: var(--off-white);
}

/* ---------- reviews ---------- */
.reviews {
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.reviews-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.reviews-score { display: flex; align-items: center; gap: 24px; }
.reviews-score .big { font-family: var(--font-display); font-size: 100px; color: var(--off-white); }
.reviews-score .stars { color: var(--amber); font-size: 30px; letter-spacing: 4px; }
.reviews-score .count { color: rgba(244,246,248,0.75); font-size: 15px; margin-top: 6px; }
.reviews .btn-primary { flex-shrink: 0; }

/* ---------- area ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.area-chip {
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- cta banner ---------- */
.cta-banner {
  background: var(--orange);
  color: var(--navy-black);
  text-align: center;
  padding: 70px 24px;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.cta-banner h2 { font-size: clamp(30px, 5vw, 56px); }
.cta-banner .phone-big {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 60px);
  border-bottom: 4px solid var(--navy-black);
}

/* ---------- footer ---------- */
footer {
  background: var(--navy-black);
  padding: 60px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-grid img { height: 60px; margin-bottom: 14px; }
.footer-grid p { color: rgba(244,246,248,0.6); max-width: 320px; }
.footer-grid h4 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid li { color: rgba(244,246,248,0.75); line-height: 2; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  color: rgba(244,246,248,0.4);
  font-size: 12px;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .rating-card { transform: none; justify-self: start; }
  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 36px; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  nav.main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-black);
    padding: 16px 24px;
    border-bottom: 3px solid var(--orange);
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .utility-bar .u-right { display: none; }
  .header-actions .btn-outline { display: none; }
  .reviews-inner { flex-direction: column; text-align: center; }
  .reviews-score { flex-direction: column; }
  .rating-card { box-shadow: 6px 6px 0 var(--navy); }
  .trust-inner { justify-content: flex-start; gap: 22px; }
}
@media (max-width: 400px) {
  .hero { padding: 70px 0 100px; }
  .reviews-score .big { font-size: 72px; }
}
