:root {
  --bg: #f5f7fb;
  --ink: #111827;
  --muted: #5f6b7a;
  --panel: #ffffff;
  --panel-soft: #eaf0ff;
  --line: rgba(31, 58, 169, 0.14);
  --accent: #d11f2a;
  --accent-dark: #a71922;
  --blue: #1f3aa9;
  --blue-dark: #14246c;
  --navy: #111b3f;
  --shadow: 0 24px 70px rgba(20, 36, 108, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 27, 63, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.nav-bar {
  display: contents;
}

.nav-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(350px, 76vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: #fff;
}

.contact-card a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 84px;
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.96) 0%, rgba(245, 247, 251, 0.78) 48%, rgba(245, 247, 251, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 27, 63, 0.18), rgba(17, 27, 63, 0.02)),
    url("fasttek-hero.jpg");
  background-size:
    cover,
    cover,
    cover;
  background-position:
    center,
    center,
    58% 44%;
  background-repeat: no-repeat;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.35vw, 3rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.042em;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.hero-text,
.section-heading p,
.split p,
.careers-panel p,
.contact-grid p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  color: #28354d;
}

.hero-actions,
.career-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 58, 169, 0.26);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--navy);
}

.hero-card,
.service-card,
.careers-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
}

.card-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 30px;
  color: var(--navy);
  font-weight: 600;
}

.hero-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 14px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.section {
  position: relative;
  padding: 92px 0;
}

.section.muted {
  background:
    linear-gradient(90deg, rgba(234, 240, 255, 0.96) 0%, rgba(234, 240, 255, 0.9) 48%, rgba(234, 240, 255, 0.68) 100%),
    url("stock-industrial-aerial.jpg");
  background-position: center;
  background-size: cover;
}

#services {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 50%, rgba(255, 255, 255, 0.68) 100%),
    url("stock-atlanta-highway.jpg");
  background-position: center;
  background-size: cover;
}

#careers {
  background:
    linear-gradient(135deg, rgba(17, 27, 63, 0.9), rgba(31, 58, 169, 0.76)),
    url("stock-atlanta-highway.jpg");
  background-position: center;
  background-size: cover;
}

#careers .eyebrow,
#careers h2,
#careers p {
  color: #fff;
}

#contact {
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.98), rgba(245, 247, 251, 0.88)),
    url("stock-industrial-aerial.jpg");
  background-position: center;
  background-size: cover;
}

.subpage-hero {
  min-height: calc(100vh - 76px);
  padding: 96px 0;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.9) 48%, rgba(245, 247, 251, 0.48) 100%),
    url("stock-atlanta-highway.jpg");
  background-position: center;
  background-size: cover;
}

.about-panel {
  max-width: 860px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.about-panel p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.13rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 54px;
  align-items: start;
}

.equipment-list {
  display: grid;
  gap: 14px;
}

.equipment-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(31, 58, 169, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.equipment-list strong {
  color: var(--navy);
}

.equipment-list span {
  color: var(--muted);
  text-align: right;
}

.careers-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  padding: 42px;
}

.career-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-section {
  padding-top: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 32px;
  font-style: normal;
}

.contact-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: 30px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav {
    position: relative;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding: 12px 0 0;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-bottom: 12px;
  }

  .brand-logo {
    width: min(240px, 58vw);
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition:
      background 180ms ease,
      border-color 180ms ease;
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
  }

  .site-header.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .nav-toggle-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
  }

  .nav-toggle-label.close-label {
    display: none;
  }

  .site-header.nav-open .nav-toggle-label.menu-label {
    display: none;
  }

  .site-header.nav-open .nav-toggle-label.close-label {
    display: inline;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 600;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  body.nav-menu-open {
    overflow: hidden;
  }

  .hero-text,
  .section-heading p,
  .split p,
  .careers-panel p,
  .contact-grid p,
  .about-panel p,
  .service-card p {
    max-width: none;
    font-size: 1.02rem;
    line-height: 1.65;
  }

  h1,
  h2 {
    max-width: none;
    text-wrap: balance;
  }

  .section-heading,
  .hero-copy,
  .split > div,
  .careers-panel > div:first-child,
  .contact-grid > div:first-child {
    max-width: none;
  }

  .hero {
    padding: 72px 0 58px;
    background-position:
      center,
      center,
      48% 42%;
  }

  .hero-grid,
  .split,
  .careers-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .career-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.05rem, 9.5vw, 2.75rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .career-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .button,
  .career-actions .button {
    width: 100%;
  }

  .equipment-list div,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .equipment-list span {
    text-align: left;
  }

  .footer-inner {
    font-size: 0.95rem;
  }

  .careers-panel,
  .hero-card,
  .service-card,
  .contact-card,
  .about-panel {
    border-radius: 22px;
    padding: 24px;
  }

  .about-panel {
    padding: 28px 24px;
  }
}
