/* ==========================================================================
   Autonexis — Mobile Fleet Maintenance
   Design tokens
   ========================================================================== */
:root {
  --orange: #fa6015;
  --orange-dark: #d94e0a;
  --orange-light: #fff1e8;
  --ink: #15151a;
  --ink-soft: #3d3d45;
  --ink-mute: #6b6b74;
  --line: #e7e4df;
  --bg: #ffffff;
  --bg-alt: #f7f5f2;
  --bg-dark: #15151a;
  --bg-dark-soft: #202027;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(21, 21, 26, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(21, 21, 26, 0.15);
  --max: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: #c9c9d1;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.section-dark .eyebrow {
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2.h-lg {
  font-size: clamp(28px, 3.6vw, 42px);
}

.lede {
  font-size: 18px;
  color: var(--ink-mute);
  margin-top: 14px;
}

.section-dark .lede {
  color: #a7a7b3;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
}

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

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

.btn-outline-ink {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-ink:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.top-bar {
  background: var(--ink);
  color: #b7b7c1;
  font-size: 13px;
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #b7b7c1;
  transition: color 0.15s ease;
}

.top-bar a:hover {
  color: var(--orange);
}

.top-bar-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-links span {
  color: #6f6f7a;
  margin-right: 4px;
}

.top-bar-tag {
  font-weight: 600;
  color: #d8d8de;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: auto;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.main-nav a {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}

nav.main-nav a.active {
  color: var(--orange-dark);
  background: var(--orange-light);
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(250, 96, 21, 0.35), transparent 60%),
    linear-gradient(180deg, #15151a 0%, #1c1c23 100%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 60px, transparent 60px 130px);
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
  opacity: 0.5;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero .lede {
  color: #c6c6d1;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #e4e4ea;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
  flex-shrink: 0;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(6px);
}

.hero-panel h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 18px;
}

.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-stat svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-stat strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 2px;
}

.hero-stat p {
  font-size: 13.5px;
  color: #a7a7b3;
}

/* ==========================================================================
   Page banner (interior pages)
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 68px 0 56px;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 320px at 88% 0%, rgba(250, 96, 21, 0.32), transparent 60%);
}

.page-banner .wrap {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #a7a7b3;
  margin-bottom: 14px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(28px, 3.6vw, 40px);
}

.page-banner p {
  color: #c6c6d1;
  max-width: 620px;
  margin-top: 12px;
  font-size: 17px;
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 26px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--orange-dark);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--ink-mute);
}

.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-dark);
}

.card a.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.card a.card-link:hover svg {
  transform: translateX(3px);
}

/* Feature split (image/content side by side) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.split-media .art-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  aspect-ratio: 4 / 3.1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-media .art-frame svg {
  width: 100%;
  height: 100%;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 26px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  flex: 1 1 220px;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--orange-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  background: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-mute);
}

/* ==========================================================================
   Region / service-area cards
   ========================================================================== */
.region-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.region-head {
  background: var(--ink);
  color: var(--white);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.region-head svg {
  width: 26px;
  height: 26px;
  color: var(--orange);
  flex-shrink: 0;
}

.region-head span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 2px;
}

.region-head strong {
  font-size: 19px;
}

.region-body {
  padding: 26px 30px 30px;
}

.region-body p {
  font-size: 15px;
  color: var(--ink-mute);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.region-tags span {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 64px 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 8px;
  font-size: 16px;
}

.cta-band .btn-dark {
  flex-shrink: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 10px;
}

.contact-info-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 22px;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-row:last-of-type {
  border-bottom: none;
}

.info-row svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-row span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a9aa4;
  font-weight: 700;
  margin-bottom: 3px;
}

.info-row a,
.info-row div {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.info-row a:hover {
  color: var(--orange);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--ink);
  color: #9a9aa4;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 480px;
  }

  .split,
  .split.reverse .split-media {
    grid-template-columns: 1fr;
    order: 0;
  }

  .split {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 30px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  body.nav-open nav.main-nav {
    transform: translateX(0);
  }

  nav.main-nav a {
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .header-phone span {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .brand-text span {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .cta-band .wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .top-bar .wrap {
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding: 56px 0 72px;
  }
}
