:root {
  --ink: #212529;
  --muted: #979cb6;
  --blue: #000046;
  --blue-dark: #09265e;
  --footer-blue: #0b2a60;
  --accent: #9cf151;
  --line: #eef1f8;
  --paper: #ffffff;
  --bg: #f7f8fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--muted);
  background: var(--bg);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

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

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

.topbar {
  background: #f2f4fa;
  color: #979cb6;
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.contact-strip-inner,
.split-section,
.check-section,
.why-section,
.gallery-section,
.contact-wrap,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}

.phone-link::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #d8dced;
  border-radius: 50%;
}

.nav {
  background: var(--paper);
  border-bottom: 1px solid #f0f2f8;
  box-shadow: 0 10px 28px rgba(0, 0, 70, .04);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--blue-dark);
  border-radius: 2px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quote-link::after {
  content: "›";
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  background: var(--accent);
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
}

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

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 70, .82), rgba(9, 38, 94, .42), rgba(0, 0, 70, .08));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 96px;
  max-width: 760px;
  justify-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1,
.split-copy h2,
.section-head h2,
.why-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--blue);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 6vw, 72px);
  max-width: 760px;
}

.hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
}

.primary-action {
  color: var(--blue);
  background: var(--accent);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .72);
}

.contact-strip {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 70, .04);
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.contact-strip a,
.contact-strip address {
  margin: 0;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px 28px;
  color: var(--blue);
  background: #ffffff;
  font-style: normal;
  font-size: 17px;
  font-weight: 700;
}

.contact-strip span,
.contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.split-section,
.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 92px 0;
}

.split-copy h2,
.why-copy h2,
.section-head h2,
.contact-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.split-copy p:not(.eyebrow),
.why-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.split-image,
.why-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 70, .1);
}

.split-image img,
.why-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-section,
.gallery-section {
  padding: 86px 0;
}

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

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

.check-grid article {
  min-height: 190px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 70, .04);
}

.check-grid h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 20px;
}

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

.why-section {
  background: #ffffff;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 8px;
  background: var(--blue);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.contact-section {
  padding: 0 0 92px;
  background: var(--bg);
}

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding: 54px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 70, .06);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-list a,
.contact-list address {
  margin: 0;
  color: var(--blue);
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
}

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

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

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

.contact-form span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dde2ee;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--blue);
  background: #f8f9fc;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(9, 38, 94, .12);
}

.contact-form button {
  justify-self: start;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  color: var(--blue);
  background: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-success {
  color: #218838;
}

.form-status.is-error {
  color: #c82333;
}

.footer {
  color: #ffffff;
  background: var(--footer-blue);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.45fr .8fr 1.15fr 1.05fr;
  gap: 44px;
  align-items: start;
  padding: 50px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, .72);
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
  letter-spacing: 0;
}

.footer h2 {
  color: #ffffff;
  font-size: 32px;
  text-transform: uppercase;
}

.footer h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer p,
.footer a {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  display: block;
}

.fmcsa-card {
  margin-top: 0;
  max-width: 300px;
}

.fmcsa-card img {
  width: 215px;
  height: auto;
  margin-bottom: 12px;
}

.footer .fmcsa-card p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.45;
}

.copyright {
  padding: 0 0 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  text-align: center;
}

.copyright-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .72);
  padding-top: 18px;
}

@media (max-width: 980px) {
  .topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    min-height: 560px;
  }

  .contact-strip-inner,
  .split-section,
  .why-section,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .check-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .topbar-inner,
  .nav-inner,
  .contact-strip-inner,
  .split-section,
  .check-section,
  .gallery-section,
  .contact-wrap,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    white-space: normal;
    font-size: 25px;
  }

  .nav-links a:not(.quote-link) {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 88px 0 54px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .split-section,
  .why-section,
  .check-section,
  .gallery-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .check-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    padding: 24px;
  }

  .contact-form button {
    width: 100%;
  }

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