
:root {
  --blue: #0878df;
  --blue2: #0058ae;
  --navy: #07192d;
  --ink: #101b2b;
  --muted: #536174;
  --pale: #f2f6fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* TOP BAR */

.topbar {
  background: var(--blue2);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 7px max(22px, calc((100vw - 1160px) / 2));
  font-size: 12px;
  font-weight: 600;
  gap: 12px;
}

/* HEADER */

.header {
  height: 90px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 10px #09182b12;
}

.brand img {
  width: 205px;
  height: 77px;
  object-fit: contain;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 700;
}

.header nav > a:not(.btn):hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue2);
}

.btn-outline {
  color: white;
  border-color: #fff;
  background: #07192d66;
}

/* HERO SECTION */
/* Corrected image path */

.hero {
  position: relative;
  min-height: 530px;
  background:
    url("truck-loaded.webp") center 46% / cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #061525f5 0%,
    #061525e6 34%,
    #06152578 65%,
    #06152520 100%
  );
}

.hero-content {
  position: relative;
  padding: 76px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 900;
  color: #9dd1ff;
}

.eyebrow.blue {
  color: var(--blue);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.05em;
  max-width: 760px;
  margin: 18px 0 24px;
}

h1 span,
h2 span {
  color: var(--blue);
}

.hero p {
  font-size: 17px;
  max-width: 550px;
  color: #e4ebf3;
}

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

/* TRUST BAR */

.trust {
  background: white;
  box-shadow: 0 3px 15px #0d22300d;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 23px 0;
}

.trust-grid > div {
  padding: 0 28px;
  border-right: 1px solid #d5dee7;
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border: 0;
}

.trust strong {
  display: block;
  font-size: 15px;
}

.trust small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

/* SECTIONS */

.section {
  padding: 85px 0;
}

.services {
  background: var(--pale);
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 37px;
}

.section-heading p {
  color: var(--muted);
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 10px 0 18px;
}

/* SERVICES */

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

.service-card {
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 13px;
  padding: 27px;
  box-shadow: 0 8px 24px #10253d08;
}

.service-icon {
  font-size: 34px;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.2;
}

.service-card h3 {
  font-size: 19px;
  margin: 16px 0 8px;
}

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

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 15px;
}

.about p {
  color: var(--muted);
}

.about .btn {
  margin-top: 10px;
}

/* PHOTO GALLERY */

.gallery {
  background: var(--navy);
}

.light h2,
.light p {
  color: white;
}

.light p {
  color: #c5d1df;
}

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

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 11px;
  border: 2px solid #ffffff35;
}

/* QUOTE REQUEST */

.quote {
  background: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 65px;
}

.quote-grid > div > p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  font-weight: 700;
}

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

.quote-form {
  padding: 28px;
  border: 1px solid #dfe7ef;
  background: #f9fbfd;
  border-radius: 14px;
  box-shadow: 0 8px 30px #14273c0b;
}

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

.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cdd8e3;
  border-radius: 7px;
  background: white;
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.quote-form :is(input, select, textarea):focus {
  outline: 2px solid #0878df66;
  border-color: var(--blue);
}

.submit {
  width: 100%;
}

.form-note {
  font-size: 12px;
  color: #5d6c7c;
  margin: 13px 0 0;
}

/* FOOTER */

footer {
  background: #04101f;
  color: #d3deeb;
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  width: 200px;
  background: white;
  border-radius: 7px;
  padding: 7px;
}

.footer-grid p {
  font-size: 14px;
  max-width: 350px;
  margin-top: 15px;
}

.footer-grid h3 {
  color: white;
  font-size: 16px;
}

.footer-grid a {
  display: block;
  font-size: 14px;
  margin: 9px 0;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: #62b5ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff24;
  margin-top: 36px;
  padding-top: 20px;
  font-size: 12px;
  color: #98a8ba;
}

/* TABLET RESPONSIVENESS */

@media (max-width: 900px) {
  .header nav {
    gap: 13px;
  }

  .brand img {
    width: 155px;
  }

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

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

  .about-grid,
  .quote-grid {
    gap: 30px;
  }
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 700px) {
  .topbar {
    font-size: 10px;
  }

  .topbar span:last-child {
    display: none;
  }

  .header {
    height: 75px;
  }

  .brand img {
    width: 160px;
    height: 65px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
  }

  .header nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    box-shadow: 0 10px 18px #0002;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .header nav.open {
    display: flex;
  }

  .header nav .btn {
    justify-content: center;
  }

  .hero {
    min-height: 490px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      #061525f5,
      #061525b0
    );
  }

  .hero-content {
    padding: 55px 0;
  }

  .hero p {
    font-size: 15px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 19px 0;
  }

  .trust-grid > div {
    border: 0;
    border-bottom: 1px solid #d5dee7;
    padding: 0 0 12px !important;
  }

  .trust-grid > div:last-child {
    border: 0;
    padding-bottom: 0 !important;
  }

  .section {
    padding: 60px 0;
  }

  .service-grid,
  .about-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid img {
    height: 210px;
  }

  .about-photo img {
    height: 330px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }
}

/* SMALL MOBILE SCREENS */

@media (max-width: 430px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 260px;
  }

  .btn {
    width: 100%;
  }

  .quote-form {
    padding: 18px;
  }
}
