/* ==========================================================
   Axis Towing: landing page
   ========================================================== */

:root {
  --orange: #f5821f;
  --orange-deep: #d96a0b;
  --ink: #111419;
  --asphalt: #1a1e25;
  --steel: #272c35;
  --steel-line: #373d48;
  --chrome: #c7ccd4;
  --paper: #f1f3f6;
  --white: #ffffff;
  --muted: #8e95a1;

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
h3 { font-size: 1.12rem; font-weight: 700; }

.kicker {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.4em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-lg { padding: 1.05em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: #ff9536; }

.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a {
  color: var(--chrome);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  transition: color .2s ease;
}
.nav a:hover { color: var(--orange); }
.header-call { padding: .7em 1.1em; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--white);
  margin: 5px 0; transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
  filter: saturate(.8);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,20,25,.94) 0%, rgba(17,20,25,.78) 38%, rgba(17,20,25,.15) 75%),
    linear-gradient(0deg, rgba(17,20,25,.85) 0%, rgba(17,20,25,0) 45%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 12vh, 8rem) clamp(3rem, 8vh, 5rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--chrome);
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(245,130,31,.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,130,31,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(245,130,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,130,31,0); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  line-height: .95;
  text-transform: uppercase;
  max-width: 12ch;
}
.hero h1 span { color: var(--orange); }
.lede {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #dde1e7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: .6rem 1.8rem;
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  font-size: .85rem; font-weight: 600; color: var(--chrome);
}
.hero-points li::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: .45em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p:not(.kicker) { margin: 1rem 0 0; font-size: 1.05rem; color: #4a515c; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d8dde4;
  border: 1px solid #d8dde4;
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  background: var(--paper);
  padding: 2.2rem 2rem 2.4rem;
  transition: background-color .25s ease;
}
.service:hover { background: var(--white); }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: var(--ink);
}
.service-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--orange); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.service p { margin: .6rem 0 0; color: #4a515c; font-size: .95rem; }

/* Band */
.band {
  background:
    repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 22px, transparent 22px 44px),
    var(--orange);
  color: var(--ink);
}
.band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-block: 2.2rem;
}
.band-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  text-transform: uppercase;
  line-height: 1.1;
}
.band-text strong { font-weight: 400; color: var(--white); text-shadow: 0 2px 0 rgba(0,0,0,.18); }

/* How it works */
.how { background: var(--asphalt); color: var(--white); }
.how .kicker { color: var(--orange); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  position: relative;
  padding: 2rem 1.8rem 2.2rem;
  background: var(--steel);
  border-top: 4px solid var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.25rem; }
.step p { margin: .6rem 0 0; color: var(--chrome); font-size: .95rem; }

/* Fleet */
.fleet-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.fleet-photo { margin: 0; position: relative; }
.fleet-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.fleet-photo::after {
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 45%; height: 45%;
  border-left: 6px solid var(--orange);
  border-bottom: 6px solid var(--orange);
  border-radius: 0 0 0 var(--radius);
  z-index: -1;
}
.fleet-copy p:not(.kicker) { color: #4a515c; margin: 1.1rem 0 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7rem; font-weight: 600; }
.ticks li::before {
  content: ""; flex: none;
  width: 20px; height: 20px; margin-top: .15em;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23121213' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Quote */
.quote { background: var(--ink); color: var(--white); }
.quote .kicker { color: var(--orange); }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.quote-copy > p:not(.kicker) { color: var(--chrome); margin: 1.1rem 0 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--steel-line);
  font-weight: 600;
}
.contact-list .label {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.contact-list a { text-decoration: none; color: var(--white); transition: color .2s ease; }
.contact-list a:hover { color: var(--orange); }

.quote-form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--asphalt);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.quote-form label {
  display: grid; gap: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--chrome);
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: 500 1rem/1.4 var(--body);
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
  text-transform: none; letter-spacing: 0;
}
.quote-form textarea { resize: vertical; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #68707c; }
.quote-form input:focus,
.quote-form textarea:focus { outline: none; border-color: var(--orange); }
.quote-form .invalid { border-color: #ff5a4f; }
.form-note { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--chrome); }

/* Footer */
.site-footer {
  background: #0a0c10;
  color: var(--muted);
  padding-block: 3rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem;
}
.footer-logo { height: 70px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: var(--chrome); text-decoration: none; font-weight: 600; font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.copyright { width: 100%; margin: .5rem 0 0; font-size: .8rem; }

/* Mobile call bar */
.mobile-call { display: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1.2rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .brand img { height: 52px; }
  .header-call { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--steel-line);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 1rem clamp(18px, 4vw, 40px); border-top: 1px solid var(--steel); font-size: 1rem; }

  .hero { min-height: auto; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(17,20,25,.96) 0%, rgba(17,20,25,.82) 55%, rgba(17,20,25,.45) 100%);
  }
  .hero-inner { padding-top: 7rem; }

  .steps,
  .fleet-inner,
  .quote-inner { grid-template-columns: 1fr; }
  .fleet-photo::after { display: none; }

  body { padding-bottom: 64px; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--orange);
    color: var(--ink);
    font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: currentColor; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .band-inner .btn { width: 100%; }
}
