:root {
  --blue: #2f4e8b;
  --blue-2: #304d85;
  --black: #000000;
  --charcoal: #232323;
  --white: #ffffff;
  --gray: #555555;
  --line-blue: #33a0f4;
  --field: #1a1a1a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: #111;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link,
.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.skip-link:focus {
  background: var(--black);
  clip: auto;
  color: var(--white);
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 200;
}

.site-header {
  left: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 50;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 8px 40px 20px;
}

.site-logo {
  display: block;
  width: 190px;
}

.site-logo img {
  width: 190px;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 0;
  justify-content: flex-end;
}

.primary-nav a,
.nav-item > button {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 60px;
  padding: 0 20px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a.active {
  color: #aeaeae;
}

.primary-nav a::before,
.primary-nav a::after {
  background: red;
  content: "";
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  transition: width 0.25s ease;
  width: 0;
}

.primary-nav a::before {
  top: 0;
}

.primary-nav a::after {
  bottom: 0;
}

.primary-nav a:hover::before,
.primary-nav a:hover::after {
  width: 100%;
}

.nav-item {
  align-items: center;
  display: flex;
  position: relative;
}

.nav-item > button {
  font-size: 0;
  height: 60px;
  line-height: 60px;
  margin-left: 0;
  padding-left: 10px;
  padding-right: 20px;
  width: 30px;
}

.nav-item > a {
  padding-right: 0;
}

.nav-item > button::before {
  border-bottom: 1px solid var(--white);
  border-right: 1px solid var(--white);
  content: "";
  display: block;
  height: 6px;
  left: 10px;
  position: absolute;
  top: 24px;
  transform: rotate(45deg);
  width: 6px;
}

.dropdown {
  background: var(--blue);
  box-shadow: 1px 1px 0 rgb(0 0 0 / 0.18);
  left: 0;
  min-width: 245px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transition: opacity 80ms linear;
}

.dropdown a {
  display: block;
  font-size: 14px;
  padding: 12px 18px;
  white-space: nowrap;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 50px;
  margin-left: auto;
  padding: 0;
  width: 50px;
}

.menu-toggle span:not(.sr-only) {
  background: var(--white);
  display: block;
  height: 3px;
  margin: 6px auto;
  width: 28px;
}

.hero {
  align-items: flex-end;
  background:
    linear-gradient(rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.65)),
    url("public/assets/live-night-hero-31.jpg") center center / cover;
  color: var(--white);
  display: flex;
  height: 100vh;
  min-height: 720px;
  padding: 20px max(20px, calc((100vw - 1336px) / 2)) 56px;
}

.hero-content {
  max-width: 620px;
  text-align: center;
  width: 50%;
}

.hero h1 {
  color: rgb(242 242 242 / 0.98);
  font-family: "Kanit", sans-serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 0.9;
  margin: 0 0 24px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #fff;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  color: var(--white);
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 28px;
}

.button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-height: 58px;
  padding: 16px 32px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.light-button,
.white-button {
  background: var(--white);
  color: var(--black);
}

.light-button:hover,
.white-button:hover {
  background: var(--blue);
  color: var(--white);
}

.hero .light-button {
  border-radius: 5px;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 18px;
  min-height: 47px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.dark-button {
  background: var(--black);
  border: 1px solid var(--white);
  color: var(--white);
}

.dark-button:hover {
  background: var(--blue);
}

.blue-button {
  background: var(--blue);
  border: 1px solid #1e376f;
  color: var(--white);
}

.blue-button:hover {
  background: var(--black);
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.intro-panel {
  min-height: 560px;
  padding: 82px max(30px, calc((100vw - 1220px) / 2)) 74px;
  position: relative;
}

.intro-blue {
  background: var(--blue-2);
  color: var(--white);
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: 56px;
}

.intro-repair {
  background:
    linear-gradient(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.9)),
    url("public/assets/live-hero-bg.jpg") center top / cover;
  color: var(--black);
  overflow: hidden;
  padding-left: 60px;
  padding-right: max(20px, calc((100vw - 1220px) / 2));
}

.outlined-title,
.solid-title {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.outlined-title {
  color: var(--black);
  -webkit-text-stroke: 1px #fff;
  text-shadow:
    1px 2px 0 #ffffff,
    3px 4px 0 #111111;
}

.outlined-title span,
.solid-title span {
  display: block;
  font-size: 0.52em;
  line-height: 1.1;
}

.outlined-title span {
  color: var(--white);
  -webkit-text-stroke: 0;
  text-shadow: 2px 3px 0 #d5d5d5;
  text-transform: none;
}

.solid-title {
  color: var(--black);
}

.solid-title span {
  color: var(--blue);
}

.intro-panel p,
.section-copy p,
.tow-copy p,
.breakdown-copy p {
  font-weight: 600;
  margin: 0 0 28px;
}

.truck-cutouts {
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  left: 0;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.truck-cutouts img {
  align-self: end;
  filter: drop-shadow(0 14px 16px rgb(0 0 0 / 0.35));
}

.truck-cutouts img:first-child {
  margin-left: -18px;
  max-width: 560px;
}

.truck-cutouts img:last-child {
  margin-left: -80px;
  max-width: 430px;
}

.services-overview {
  background:
    linear-gradient(rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.7)),
    url("public/assets/live-diesel-bg.jpg") center / cover;
  color: var(--white);
  padding: 82px max(20px, calc((100vw - 1225px) / 2)) 100px;
}

.section-copy {
  max-width: 1200px;
}

.light-copy .outlined-title {
  max-width: 900px;
}

.light-copy p {
  font-size: 1.05rem;
  max-width: 1160px;
}

.service-card-grid {
  display: grid;
  gap: 40px 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.image-card {
  background: rgb(0 0 0 / 0.45);
  border: 1px solid var(--line-blue);
  color: var(--white);
  display: block;
  min-height: 360px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

.image-card img {
  aspect-ratio: 1.65 / 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.image-card span {
  display: block;
  font-family: "Kanit", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
  padding: 18px 8px 10px;
  text-shadow: 2px 2px 0 #777;
  text-transform: uppercase;
}

.dual-actions {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
}

.dual-actions .button {
  width: 100%;
}

.tow-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tow-image {
  background: url("public/assets/heavy-duty-towing.jpg") center / cover;
  min-height: 520px;
}

.tow-copy {
  background:
    linear-gradient(rgb(255 255 255 / 0.96), rgb(255 255 255 / 0.96)),
    url("public/assets/live-services-bg.jpg") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(30px, calc((100vw - 1220px) / 2)) 70px 72px;
}

.tow-copy .solid-title {
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
}

.tow-copy p {
  max-width: 540px;
}

.tow-copy .button {
  max-width: 245px;
}

.reviews-band {
  background: var(--blue-2);
  border-bottom: 1px dotted var(--line-blue);
  border-top: 1px dotted var(--line-blue);
  padding: 82px max(20px, calc((100vw - 1220px) / 2)) 112px;
}

.review-widget-shell {
  background: var(--white);
  box-shadow: -10px 10px 0 var(--black);
  display: grid;
  grid-template-columns: 306px 1fr;
  min-height: 250px;
}

.review-logo-panel {
  align-items: center;
  border-right: 1px solid #9ca4ad;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}

.review-logo-panel img {
  margin-bottom: 34px;
  width: 160px;
}

.review-logo-panel .button {
  font-size: 14px;
  width: 100%;
}

.review-cards {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  padding: 28px;
}

.rating-header,
.review-cards article {
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  padding: 18px;
}

.rating-header {
  align-content: center;
  display: grid;
  text-align: center;
}

.rating-header strong {
  color: #1d1d1d;
  font-family: "Kanit", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.rating-header span {
  color: #777;
}

.review-cards article strong {
  color: var(--blue);
  display: block;
  font-family: "Kanit", sans-serif;
  margin-bottom: 8px;
}

.review-cards article p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

.footer-contact {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1.35fr 1.1fr 1.25fr;
  padding: 86px max(40px, calc((100vw - 1200px) / 2));
}

.footer-logo-social img {
  width: 210px;
}

.social-row {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  padding-left: 30px;
}

.social-row a {
  color: var(--white);
  font-family: "Kanit", sans-serif;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}

.business-info {
  font-style: normal;
  text-align: center;
}

.business-info p {
  margin: 0 0 24px;
}

.business-info a,
.site-footer a {
  color: var(--white);
}

.breakdown-copy {
  text-align: center;
}

.breakdown-copy h2 {
  font-family: "Kanit", sans-serif;
  font-size: 1.1rem;
  margin: 0 0 18px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

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

.contact-form input,
.contact-form textarea {
  background: var(--field);
  border: 1px solid #eee;
  border-radius: 0;
  color: var(--white);
  font: inherit;
  padding: 12px;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #eeeeee;
}

.captcha-placeholder {
  color: var(--white);
  margin: 12px 0;
}

.contact-form button {
  background: var(--blue);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: 700 18px "Baloo 2", system-ui, sans-serif;
  padding: 13px 20px;
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 22px 20px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.cookie-banner {
  align-items: center;
  background: #f9f9f9;
  border-top: 1px solid #ccc;
  bottom: 0;
  box-shadow: 0 -2px 5px rgb(0 0 0 / 0.1);
  display: none;
  gap: 12px;
  justify-content: center;
  left: 0;
  padding: 15px;
  position: fixed;
  right: 0;
  text-align: center;
  z-index: 200;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner button {
  background: var(--blue);
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 8px 14px;
}

.accessibility-widget,
.recaptcha-badge {
  bottom: 0;
  position: fixed;
  z-index: 80;
}

.accessibility-widget {
  align-items: center;
  background: #075de7;
  border: 3px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.35);
  display: flex;
  height: 45px;
  justify-content: center;
  left: 0;
  width: 45px;
}

.accessibility-widget span {
  border: 2px solid var(--white);
  border-radius: 999px;
  display: block;
  height: 18px;
  position: relative;
  width: 18px;
}

.accessibility-widget span::before,
.accessibility-widget span::after {
  background: var(--white);
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.accessibility-widget span::before {
  height: 23px;
  top: 17px;
  width: 3px;
}

.accessibility-widget span::after {
  height: 3px;
  top: 24px;
  width: 25px;
}

.recaptcha-badge {
  background: var(--white);
  border-radius: 2px 0 0;
  box-shadow: 0 0 4px rgb(0 0 0 / 0.35);
  height: 70px;
  right: 0;
  width: 70px;
}

.recaptcha-badge span {
  background: #4285f4;
  border-radius: 3px;
  display: block;
  height: 36px;
  left: 17px;
  position: absolute;
  top: 12px;
  width: 36px;
}

.recaptcha-badge span::before {
  border: 7px solid var(--white);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transform: rotate(35deg);
  width: 18px;
}

.page-hero {
  min-height: 520px;
}

.page-content {
  background: var(--white);
  padding: 80px max(20px, calc((100vw - 1120px) / 2));
}

.page-content h2 {
  font-family: "Kanit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.simple-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.simple-card {
  border: 1px solid #d4d4d4;
  padding: 22px;
}

.simple-card h3 {
  color: var(--blue);
  font-family: "Kanit", sans-serif;
  margin: 0 0 10px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    padding: 18px 0;
  }

  .header-inner {
    align-items: flex-start;
  }

  .site-logo,
  .site-logo img {
    width: 132px;
  }

  .menu-toggle {
    display: block;
    margin-top: 10px;
  }

  .primary-nav {
    background: var(--black);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 92px 30px 30px;
    position: fixed;
    right: 0;
    top: 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  .nav-item > button {
    padding: 14px 10px;
  }

  .nav-item {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown {
    display: none;
    min-width: 100%;
    opacity: 1;
    position: static;
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 180px 18px 58px;
  }

  .hero-content {
    margin: 0 auto;
    width: 100%;
  }

  .intro-split,
  .tow-team,
  .review-widget-shell,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    min-height: auto;
    padding: 58px 24px;
  }

  .truck-cutouts {
    opacity: 0.22;
  }

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

  .tow-copy {
    padding: 58px 24px;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .review-logo-panel {
    border-bottom: 1px solid #9ca4ad;
    border-right: 0;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-logo-social {
    justify-self: center;
  }

  .social-row {
    justify-content: center;
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    margin-top: -24px;
  }

  .service-card-grid,
  .dual-actions,
  .form-row,
  .simple-grid {
    grid-template-columns: 1fr;
  }

  .image-card {
    min-height: 0;
  }

  .reviews-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-contact {
    gap: 30px;
    padding-left: 22px;
    padding-right: 22px;
  }
}
