* {
  box-sizing: border-box;
}

:root {
  --bg: #34353b;
  --header: rgba(38, 39, 46, 0.96);
  --nav: rgba(18, 19, 24, 0.98);
  --panel: rgba(31, 33, 40, 0.96);
  --panel-dark: rgba(19, 20, 25, 0.98);
  --yellow: #efc83a;
  --red: #e1261c;
  --text: #f3f3f3;
  --text-dark: #161616;
  --muted: rgba(255,255,255,0.76);
  --line: rgba(255,255,255,0.12);
  --shadow: 0 18px 40px rgba(0,0,0,0.24);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 28px;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(52,53,59,0.84), rgba(52,53,59,0.84)),
    url("bg-texture.png") center/cover fixed no-repeat;
}

.site-shell {
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.top-header {
  background: linear-gradient(180deg, rgba(40,41,48,0.96), rgba(48,49,57,0.94));
}

.top-header__inner {
  padding: 22px 34px;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}

.top-header__right {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.contact-line {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-line span {
  font-size: 22px;
  color: #f1f1f1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  min-width: 160px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.main-nav {
  min-height: 62px;
  padding: 0 34px;
  background: linear-gradient(180deg, var(--nav), rgba(24,26,32,0.96));
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  padding: 18px 0 16px;
  white-space: nowrap;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero {
  min-height: 655px;
  padding: 46px 34px 0;
  background:
    linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.10)),
    url("hero-bg.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero__overlay-card {
  width: min(870px, 100%);
  margin-top: 18px;
  padding: 34px 46px 40px;
  border-radius: 22px;
  background: rgba(35, 29, 25, 0.52);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(2px);
  box-shadow: 0 20px 46px rgba(0,0,0,0.26);
}

.hero__logo {
  display: block;
  height: 124px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 14px;
}

.hero h1 {
  margin: 0 0 14px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05;
  text-shadow: 0 2px 3px rgba(0,0,0,0.55);
}

.hero p {
  margin: 0 0 28px;
  max-width: 740px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.38;
  text-shadow: 0 2px 3px rgba(0,0,0,0.55);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, rgba(22,23,28,0.98), rgba(30,32,39,0.98));
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 14px 24px;
  border-right: 1px solid var(--line);
}

.service-item:last-child { border-right: none; }

.service-label {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}

.service-icon {
  position: relative;
  width: 86px;
  height: 56px;
}

.service-icon--day::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  width: 40px;
  height: 22px;
  background: #ffffff;
  border-radius: 4px;
}
.service-icon--day::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 20px;
  width: 28px;
  height: 22px;
  background: #ffffff;
  border-radius: 4px 6px 4px 4px;
  box-shadow: -11px 0 0 var(--yellow) inset;
}
.service-icon--night::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 4px;
  width: 38px;
  height: 38px;
  background: var(--yellow);
  border-radius: 50%;
}
.service-icon--night::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 1px;
  width: 30px;
  height: 30px;
  background: #23252c;
  border-radius: 50%;
}
.service-icon--haulage::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 44px;
  height: 25px;
  background: var(--yellow);
  border-radius: 3px;
}
.service-icon--haulage::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  width: 28px;
  height: 23px;
  background: #ffffff;
  border-radius: 3px 6px 3px 3px;
}
.service-icon--warehouse::before {
  content: "";
  position: absolute;
  inset: 18px 16px 0;
  border: 5px solid var(--red);
  border-top: none;
}
.service-icon--warehouse::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 3px;
  height: 25px;
  border-left: 5px solid var(--red);
  border-top: 5px solid var(--red);
  border-right: 5px solid var(--red);
  transform: skewY(-18deg);
  transform-origin: center;
}

.content-panel {
  padding: 68px 34px;
  background: rgba(36, 38, 46, 0.96);
}

.section-head {
  max-width: 860px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-head h2,
.contact-copy h2 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.05;
  color: #ffffff;
}

.section-head p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

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

.card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #ffffff;
}

.card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255,255,255,0.76);
}

.contact-panel {
  padding: 64px 34px;
  background: linear-gradient(180deg, rgba(18,19,24,0.98), rgba(25,27,33,0.98));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-details a,
.contact-details span {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
}

.contact-form {
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--text-dark);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
}

.submit-button {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--text-dark);
  padding: 16px 20px;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

/* This is the anti-overlap fix */
@media (max-width: 1220px) {
  .top-header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .top-header__right {
    grid-template-columns: 1fr;
    justify-items: start;
    width: 100%;
  }

  .contact-line {
    justify-content: flex-start;
  }

  .quote-button {
    margin-top: 4px;
  }

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

@media (max-width: 860px) {
  body { padding: 12px; }

  .top-header__inner,
  .main-nav,
  .hero,
  .content-panel,
  .contact-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero__overlay-card { padding: 24px; }
  .hero__logo { height: 96px; }
  .brand__logo { max-width: 260px; }

  .contact-line span {
    font-size: 18px;
  }

  .quote-button {
    font-size: 18px;
    padding: 14px 22px;
  }

  .main-nav { gap: 24px; }
}

@media (max-width: 560px) {
  .service-strip,
  .cards {
    grid-template-columns: 1fr;
  }

  .contact-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-header__right {
    justify-items: start;
  }

  .contact-line span { font-size: 16px; }
  .main-nav a { font-size: 18px; }

  .hero h1 { font-size: 34px; }

  .hero p,
  .section-head p,
  .contact-copy p {
    font-size: 18px;
  }

  .service-label { font-size: 24px; }

  .section-head h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .contact-details a,
  .contact-details span {
    font-size: 20px;
  }
}
