:root {
  --navy: #071b33;
  --navy-2: #082844;
  --blue: #123f73;
  --blue-soft: #e8f1fb;
  --ink: #142033;
  --muted: #586678;
  --line: #d9e2ee;
  --gold: #66b72e;
  --gold-2: #7ed957;
  --white: #ffffff;
  --cloud: #f7fafc;
  --green: #66b72e;
  --green-dark: #18754c;
  --red: #b42318;
  --shadow: 0 18px 48px rgba(7, 27, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--blue);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(102, 183, 46, 0.85);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid rgba(7, 27, 51, 0.16);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(7, 27, 51, 0.12);
}

.header-contact {
  background: var(--white);
}

.header-contact__inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  font-weight: 950;
}

.brand--header {
  align-self: center;
  transform: translateY(-6px);
}

.brand__logo-wrap {
  width: 94px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 94px;
}

.brand--header .brand__logo-wrap {
  width: 106px;
  height: 70px;
  flex-basis: 106px;
}

.brand__logo {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(7, 27, 51, 0.13));
}

.brand__stack {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand__text {
  display: block;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.12;
  white-space: nowrap;
}

.brand__slogan,
.slogan {
  color: #26445f;
  font-size: 12px;
  font-style: italic;
  font-weight: 850;
  line-height: 1.25;
}

.brand__slogan strong,
.slogan strong,
.text-green {
  color: var(--white);
}

.about .text-green {
  color: inherit;
}

.header-contact__blocks {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(14px, 2.4vw, 36px);
  align-items: center;
}

.header-contact-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.28;
}

.header-contact-card:hover {
  color: var(--blue);
}

.header-contact-card strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.header-contact-card .line-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border: 0;
}

.header-nav {
  background: var(--navy);
}

.header-nav__inner {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav__menu > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding-block: 16px;
  white-space: nowrap;
}

.nav__menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav__menu > a:not(.btn):hover::after,
.nav__menu > a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.nav__menu > a:hover,
.nav__menu > a.is-active {
  color: var(--gold);
}

.nav__contact::before {
  content: "";
  width: 6px;
  height: 6px;
  order: 2;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav__driver-link {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__driver-link:hover {
  color: var(--gold-2);
}

.nav__quote {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-arrow {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.quote-arrow::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-4px, 4px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(102, 183, 46, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(7, 27, 51, 0.2);
}

.btn--small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn--gold {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.btn--gold:hover {
  color: var(--navy);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn--light {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

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

.btn--outline:hover {
  color: var(--navy);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero__video,
.hero__fallback-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  z-index: 0;
  background: #020b16;
}

.hero__fallback-image {
  z-index: -1;
}

.hero.video-missing .hero__video {
  display: none;
}

.hero.video-missing .hero__fallback-image {
  z-index: 0;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.96) 0%, rgba(7, 27, 51, 0.78) 24%, rgba(7, 27, 51, 0.34) 48%, rgba(7, 27, 51, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 27, 51, 0.32), rgba(7, 27, 51, 0.08));
}

.hero__angle {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: min(44vw, 540px);
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.86), rgba(18, 63, 115, 0.42));
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(610px, calc(100% - 40px));
  max-width: 610px;
  margin-left: clamp(20px, 5vw, 84px);
  margin-right: auto;
  padding-block: 72px 78px;
}

.hero__label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero__label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: 0.08em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.34);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 610px;
  font-size: clamp(38px, 3.1vw, 48px);
  font-weight: 950;
  white-space: nowrap;
}

h2 {
  font-size: 42px;
  font-weight: 950;
}

h3 {
  font-size: 22px;
  font-weight: 950;
}

.slogan--hero {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
}

.slogan--hero strong {
  color: var(--white);
}

.hero__lead {
  max-width: 550px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  align-items: center;
}

.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.hero__call:hover {
  color: var(--gold);
}

.hero__call small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.hero__call strong {
  display: block;
  font-size: 20px;
}

.icon-circle {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(102, 183, 46, 0.12);
}

.line-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-block;
  flex: 0 0 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.line-icon--phone::before {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  left: 12px;
  top: 10px;
  border-left: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  border-radius: 2px 0 0 8px;
  transform: rotate(-42deg);
}

.line-icon--email::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 20px;
  height: 14px;
  border: 3px solid var(--gold);
  border-radius: 3px;
}

.line-icon--email::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

.line-icon--pin::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.line-icon--pin::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.trust-bar {
  background: var(--gold);
  color: var(--navy);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.trust-bar__grid div {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-left: 1px solid rgba(7, 27, 51, 0.16);
  font-weight: 950;
  line-height: 1.3;
}

.trust-bar__grid div:last-child {
  border-right: 1px solid rgba(7, 27, 51, 0.16);
}

.trust-bar__grid span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(7, 27, 51, 0.12);
}

.section {
  padding-block: 82px;
}

.section:nth-of-type(even) {
  background: var(--cloud);
}

.section__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.section__copy p,
.section__heading p {
  color: var(--muted);
  font-size: 18px;
}

.section__copy p:last-child,
.section__heading p:last-child {
  margin-bottom: 0;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section__heading--center {
  margin-inline: auto;
  text-align: center;
}

.about__panel,
.solutions__panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__panel p,
.solutions__panel p {
  color: var(--muted);
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 28px;
  color: #26364b;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.82);
}

.check-list--two {
  columns: 2;
  column-gap: 28px;
}

.services--dark {
  color: var(--white);
  background: var(--navy);
}

.services--dark .section__heading p {
  color: rgba(255, 255, 255, 0.82);
}

.services__image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.image-service-card {
  --service-position: center;
  position: relative;
  min-height: 318px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 27, 51, 0.08) 0%, rgba(7, 27, 51, 0.22) 38%, rgba(7, 27, 51, 0.88) 100%),
    url("../images/victory-line-student-transportation.png") var(--service-position) / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.image-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.7), rgba(7, 27, 51, 0.18) 54%, rgba(7, 27, 51, 0.4)),
    linear-gradient(180deg, rgba(7, 27, 51, 0.04), rgba(7, 27, 51, 0.76));
}

.image-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 183, 46, 0.55);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.image-service-card__content {
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.2), rgba(7, 27, 51, 0.78));
}

.image-service-card h3 {
  color: var(--gold);
  font-size: 22px;
  line-height: 1.12;
}

.image-service-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.image-service-card--school {
  --service-position: 52% 50%;
}

.image-service-card--7d {
  --service-position: 61% 52%;
}

.image-service-card--care {
  --service-position: 43% 48%;
}

.image-service-card--monitors {
  --service-position: 73% 50%;
}

.image-service-card--mckinney {
  --service-position: 34% 47%;
}

.image-service-card--sped {
  --service-position: 64% 55%;
}

.image-service-card--district {
  --service-position: 47% 42%;
}

.image-service-card--metco {
  --service-position: 82% 52%;
}

.image-service-card--after-school {
  --service-position: 52% 58%;
}

.image-service-card--private {
  --service-position: 72% 58%;
}

.image-service-card--medical {
  --service-position: 86% 48%;
}

.image-service-card--community {
  --service-position: 26% 54%;
}

.safety {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.97), rgba(8, 40, 68, 0.96)),
    var(--navy);
}

.safety__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
}

.safety .section__copy p {
  color: rgba(255, 255, 255, 0.82);
}

.safety__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.safety__grid div {
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 850;
}

.safety__grid div:nth-child(3n + 2) {
  border-top-color: var(--green);
}

.safety__grid div:nth-child(3n + 3) {
  border-top-color: #66a3ff;
}

.serve__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.serve__grid span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
}

.solutions {
  background: var(--white);
}

.why {
  background: var(--cloud);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why__grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.why__grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 63, 115, 0.34);
  box-shadow: var(--shadow);
}

.why__grid article:nth-child(2) {
  border-top-color: var(--green-dark);
}

.why__grid article:nth-child(3) {
  border-top-color: var(--blue);
}

.why__grid article:nth-child(4) {
  border-top-color: var(--red);
}

.why__grid h3 {
  color: var(--navy);
}

.why__grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.drivers {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.98), rgba(8, 40, 68, 0.95)),
    var(--navy);
}

.drivers__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.drivers__copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.drivers__subheadline {
  font-size: 21px;
  font-weight: 850;
}

.drivers__note {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
}

.drivers .check-list li {
  color: rgba(255, 255, 255, 0.92);
}

.drivers .check-list li::before {
  background: var(--gold);
}

.driver-form {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.contact-cta {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(102, 183, 46, 0.16), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(102, 183, 46, 0.16), transparent 24%),
    linear-gradient(135deg, #06162a, #0b3157 58%, #06162a);
}

.contact-cta__route {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.12) 32.3% 32.7%, transparent 33% 100%),
    linear-gradient(34deg, transparent 0 44%, rgba(102, 183, 46, 0.24) 44.2% 44.7%, transparent 45% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 92px);
}

.contact-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 27, 51, 0.56), rgba(7, 27, 51, 0.2)),
    linear-gradient(90deg, rgba(7, 27, 51, 0.46), rgba(7, 27, 51, 0.12));
}

.contact-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: 88px;
}

.contact-cta__badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-cta h2 {
  display: inline;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(18, 96, 214, 0.86);
  font-size: 44px;
}

.contact-cta p {
  display: inline-block;
  max-width: 820px;
  margin: 28px 0 0;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(18, 96, 214, 0.78);
  font-size: 20px;
  font-weight: 850;
}

.contact-cta__blocks {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 34px 0;
  text-align: left;
}

.contact-cta__blocks a,
.contact-cta__blocks div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.contact-cta__blocks strong {
  display: block;
  color: var(--white);
  font-size: 20px;
}

.contact-cta__blocks span:last-child {
  min-width: 0;
  color: var(--white);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact {
  background: var(--cloud);
}

.contact__layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: start;
}

.contact__details p {
  color: var(--muted);
  font-size: 18px;
}

.contact__info {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact__info a,
.contact__info p {
  display: block;
  margin: 0;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cfdbea;
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(18, 63, 115, 0.12);
  outline: none;
}

textarea {
  resize: vertical;
}

.monitor-field {
  margin: 0;
  padding: 16px;
  border: 1px solid #cfdbea;
  border-radius: var(--radius);
}

.monitor-field legend {
  padding-inline: 6px;
}

.monitor-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  font-weight: 800;
}

.monitor-field input {
  width: auto;
  margin: 0;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green-dark);
  font-weight: 850;
}

.drivers .form-status {
  color: var(--navy);
}

.faq {
  background: var(--white);
}

.faq__list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(7, 27, 51, 0.06);
}

summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 950;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

details a {
  color: var(--blue);
  font-weight: 850;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: #041224;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.78fr;
  gap: 52px;
  padding-block: 64px 42px;
}

.brand--footer {
  color: var(--white);
  margin-bottom: 18px;
}

.brand--footer .brand__logo-wrap {
  width: 110px;
  height: 92px;
  flex-basis: 110px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
}

.brand--footer .brand__text,
.brand--footer .brand__slogan {
  color: var(--white);
  white-space: normal;
}

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

.footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.footer p {
  margin: 0 0 18px;
}

.footer address {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-style: normal;
}

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

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 7px 0;
}

.footer__bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  margin: 0;
  font-size: 14px;
}

.thank-you-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #041224;
}

.thank-you-header {
  background: var(--white);
  border-bottom: 1px solid rgba(7, 27, 51, 0.14);
}

.thank-you-header__inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}

.thank-you-header .brand__logo-wrap {
  width: 118px;
  height: 86px;
  flex-basis: 118px;
}

.thank-you-header .brand__text {
  font-size: clamp(18px, 2.2vw, 24px);
}

.thank-you-header .brand__slogan {
  max-width: 420px;
  color: #26445f;
  font-size: 13px;
  white-space: normal;
}

.thank-you-main {
  flex: 1;
}

.thank-you-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 560px;
  padding-block: clamp(72px, 10vw, 128px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 27, 51, 0.96) 0%, rgba(8, 40, 68, 0.94) 58%, rgba(4, 18, 36, 0.98) 100%),
    url("../images/victory-line-student-transportation.png") center/cover;
}

.thank-you-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(44vw, 540px);
  background: rgba(102, 183, 46, 0.18);
  clip-path: polygon(0 0, 76% 0, 100% 100%, 0 100%);
}

.thank-you-content {
  position: relative;
  max-width: 840px;
}

.thank-you-badge {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thank-you-content h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.thank-you-lead {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 850;
}

.thank-you-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.thank-you-contact a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.thank-you-contact a:hover {
  color: var(--gold-2);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.thank-you-footer .footer__grid {
  grid-template-columns: 1.25fr 1fr;
}

.thank-you-footer .brand--footer .brand__slogan strong {
  color: var(--white);
}

[data-animate] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
  }

  [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .brand--header .brand__logo-wrap {
    width: 98px;
    height: 66px;
    flex-basis: 98px;
  }

  .header-contact__inner {
    gap: 20px;
  }

  .header-contact__blocks {
    gap: 18px;
  }

  .header-contact-card {
    font-size: 13px;
  }

  .header-contact-card strong {
    font-size: 16px;
  }

  .nav__menu {
    gap: 16px;
    font-size: 11px;
  }

  .nav__driver-link {
    font-size: 11px;
  }
}

@media (max-width: 1060px) {
  .header-contact__inner {
    min-height: 84px;
  }

  .header-contact__blocks {
    grid-template-columns: repeat(2, max-content);
  }

  .header-contact-card--location {
    display: none;
  }

  .header-nav__inner {
    min-height: 60px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    z-index: 1000;
    padding: 12px 16px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--white);
    background: var(--navy-2);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu > a:not(.btn) {
    min-height: auto;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav__menu > a:not(.btn)::after {
    display: none;
  }

  .nav__driver-link {
    color: var(--gold);
  }

  .nav__quote {
    margin-left: auto;
  }

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

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

  .trust-bar__grid div {
    border-bottom: 1px solid rgba(7, 27, 51, 0.16);
  }

  .section__split,
  .safety__inner,
  .drivers__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-contact__inner {
    min-height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding-block: 10px;
  }

  .brand--header .brand__logo-wrap {
    width: 76px;
    height: 56px;
    flex-basis: 76px;
  }

  .header-contact__blocks {
    display: flex;
    justify-content: flex-end;
  }

  .header-contact-card:not(.header-contact-card--phone) {
    display: none;
  }

  .header-contact-card--phone {
    justify-content: flex-end;
    text-align: right;
    font-size: 13px;
  }

  .header-contact-card .line-icon {
    display: none;
  }

  .brand__logo-wrap {
    width: 64px;
    height: 54px;
    flex-basis: 64px;
  }

  .brand__text {
    max-width: 220px;
    white-space: normal;
    font-size: 16px;
  }

  .hero {
    min-height: 590px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 27, 51, 0.94) 0%, rgba(7, 27, 51, 0.82) 58%, rgba(7, 27, 51, 0.42) 100%),
      linear-gradient(0deg, rgba(7, 27, 51, 0.38), rgba(7, 27, 51, 0.12));
  }

  .hero__angle {
    width: 100%;
    clip-path: none;
    background: rgba(7, 27, 51, 0.34);
  }

  .hero__content {
    width: min(610px, calc(100% - 28px));
    margin-left: 14px;
    padding-block: 50px 58px;
  }

  h1 {
    font-size: clamp(30px, 7vw, 36px);
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 20px;
  }

  .slogan--hero {
    font-size: 16px;
  }

  .section__copy p,
  .section__heading p,
  .drivers__copy p,
  .contact__details p {
    font-size: 16px;
  }

  .hero__lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .hero__call {
    width: 100%;
  }

  .hero__call {
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
  }

  .trust-bar__grid,
  .services__image-grid,
  .safety__grid,
  .serve__grid,
  .why__grid,
  .form-grid,
  .contact-cta__blocks {
    grid-template-columns: 1fr;
  }

  .trust-bar__grid div,
  .trust-bar__grid div:last-child {
    border-inline: 0;
  }

  .section {
    padding-block: 66px;
  }

  .section__heading {
    margin-bottom: 28px;
  }

  .about__panel,
  .solutions__panel,
  .quote-form {
    padding: 22px;
  }

  .check-list--two {
    columns: 1;
  }

  .image-service-card {
    min-height: 300px;
  }

  .image-service-card__content {
    padding: 22px;
  }

  .contact-cta {
    min-height: auto;
  }

  .contact-cta__content {
    padding-block: 70px;
  }

  .contact-cta h2 {
    display: block;
    padding: 10px 12px;
    font-size: 30px;
  }

  .contact-cta p {
    font-size: 17px;
  }

  .contact-cta__blocks {
    gap: 18px;
    margin: 28px 0;
  }

  .monitor-field label {
    display: flex;
    margin: 10px 0 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .thank-you-header__inner {
    min-height: auto;
    padding-block: 14px;
  }

  .thank-you-header .brand {
    align-items: center;
  }

  .thank-you-header .brand__logo-wrap {
    width: 94px;
    height: 72px;
    flex-basis: 94px;
  }

  .thank-you-hero {
    min-height: auto;
    padding-block: 76px;
  }

  .thank-you-hero::before {
    width: 72vw;
  }

  .thank-you-content p {
    font-size: 16px;
  }

  .thank-you-actions .btn {
    width: 100%;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: clamp(24px, 7.2vw, 30px);
  }

  .btn {
    padding-inline: 16px;
  }

  .nav__menu {
    left: 14px;
    right: 14px;
  }

  .nav__quote {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 11px;
  }

  summary {
    font-size: 16px;
  }

  .thank-you-header .brand {
    gap: 8px;
  }

  .thank-you-header .brand__logo-wrap {
    width: 78px;
    height: 60px;
    flex-basis: 78px;
  }

  .thank-you-header .brand__slogan {
    font-size: 11px;
  }

  .thank-you-badge {
    font-size: 12px;
  }
}
