:root {
  --red: #b31942;
  --blue: #0a3161;
  --blue-deep: #071b34;
  --ink: #18212f;
  --muted: #5d6878;
  --line: #d9e1ec;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 49, 97, 0.12);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--blue);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-call {
  display: grid;
  gap: 1px;
  min-width: 178px;
  padding: 11px 15px;
  color: var(--white);
  text-decoration: none;
  background: var(--blue);
  border-radius: 8px;
}

.nav-call span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.nav-call strong {
  font-size: 1.02rem;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.94), rgba(7, 27, 52, 0.72) 48%, rgba(7, 27, 52, 0.28)),
    linear-gradient(0deg, rgba(7, 27, 52, 0.72), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) 320px;
  gap: 42px;
  align-items: end;
  padding: 108px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  background: #961636;
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dispatch-card {
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dispatch-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 800;
}

.dispatch-card a {
  display: block;
  color: var(--blue);
  font-size: 1.9rem;
  font-weight: 950;
  text-decoration: none;
}

.dispatch-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px 0 0 20px;
  border-top: 1px solid var(--line);
}

.trust-strip {
  background: var(--blue);
  color: var(--white);
}

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

.trust-grid div {
  padding: 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 1.35rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: 94px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 128px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-intro p,
.media-copy p,
.coverage p,
.employment-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-credential {
  display: inline-grid;
  gap: 8px;
  margin-top: auto;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-credential img {
  width: 150px;
  height: auto;
}

.service-credential span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.service-photo,
.roadside-photo {
  margin: 28px 0 0;
}

.service-photo img,
.roadside-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.roadside-photo img {
  aspect-ratio: 16 / 10;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 950;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-note {
  padding: 34px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-note-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  gap: 30px;
  align-items: start;
}

.about-note p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.media-band {
  padding: 70px 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  color: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.feature-image {
  position: relative;
  margin: 0;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image .towing-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(180px, 38%);
  height: auto;
  aspect-ratio: auto;
  padding: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 225, 236, 0.9);
  box-shadow: 0 12px 30px rgba(7, 27, 52, 0.22);
}

.media-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
}

.coverage {
  background: var(--soft);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.brand-row img {
  width: 100%;
  height: 78px;
  padding: 14px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-panel {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.location-group-heading {
  margin-bottom: 16px;
  color: var(--blue-deep);
}

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

.location-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.location-grid p {
  margin: 16px 0;
  color: var(--muted);
}

.location-grid a {
  color: var(--red);
  font-weight: 950;
  text-decoration: none;
}

.satellite-locations {
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.satellite-locations h3 {
  margin-bottom: 14px;
}

.satellite-locations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.satellite-locations li::before {
  content: "\2022";
  margin-right: 8px;
  color: var(--red);
}

.employment-section {
  color: var(--white);
  background:
    linear-gradient(rgba(7, 27, 52, 0.9), rgba(7, 27, 52, 0.94)),
    url("/images/247breakdownservices-banner.jpeg") center / cover;
}

.employment-teaser {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 54px;
  align-items: center;
}

.employment-section p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.employment-teaser .button {
  min-width: 170px;
}

.employment-modal {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(7, 27, 52, 0.4);
}

.employment-modal::backdrop {
  background: rgba(7, 27, 52, 0.78);
  backdrop-filter: blur(5px);
}

.employment-modal-shell {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.employment-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 30px;
  color: var(--white);
  background: var(--blue-deep);
}

.employment-modal-header .eyebrow {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.employment-modal-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.modal-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.employment-form {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.employment-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.employment-form legend {
  padding: 0 10px;
  color: var(--blue);
  font-size: 1.18rem;
  font-weight: 950;
}

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

.employment-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.employment-form .wide {
  grid-column: 1 / -1;
}

.employment-form input,
.employment-form textarea,
.employment-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.employment-form textarea {
  resize: vertical;
}

.employment-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.employment-form-actions .button {
  width: auto;
}

body.modal-open {
  overflow: hidden;
}

.message-field {
  display: none !important;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr 1.15fr;
  gap: 42px;
  padding: 54px 0;
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-phone {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 950;
  text-decoration: none;
}

.site-footer ul {
  margin: 0;
  padding-left: 20px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .nav-call {
    margin-left: auto;
  }

  .hero-content,
  .split-grid,
  .about-note-inner,
  .media-grid,
  .coverage-grid,
  .employment-teaser,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 84px;
  }

  .section-intro {
    position: static;
    min-height: 0;
  }

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

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

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

  .site-header {
    position: relative;
  }

  .brand img {
    width: 154px;
  }

  .nav-call {
    display: none;
  }

  .site-nav {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 70px 0 42px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .dispatch-card a {
    font-size: 1.65rem;
  }

  .trust-grid,
  .service-grid,
  .brand-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .employment-form .wide {
    grid-column: auto;
  }

  .employment-modal {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .employment-modal-shell {
    max-height: calc(100vh - 20px);
  }

  .employment-modal-header,
  .employment-form {
    padding: 22px 18px;
  }

  .employment-form fieldset {
    padding: 18px 14px;
  }

  .service-credential {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .mobile-call-bar {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: block;
    background: var(--red);
  }

  .mobile-call-bar a {
    display: block;
    padding: 14px;
    color: var(--white);
    font-weight: 950;
    text-align: center;
    text-decoration: none;
  }
}
