@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #10192e;
  --muted: #6d7f99;
  --soft: #f4f7fb;
  --line: #e1e8f2;
  --white: #ffffff;
  --brand: #2168ff;
  --brand-2: #5f6cff;
  --deep: #111a2e;
  --deeper: #0c1426;
  --shadow: 0 18px 34px rgba(16, 25, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

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

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

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

.topbar {
  color: #c6d2e8;
  background: var(--deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 34px;
  min-height: 30px;
  align-items: center;
}

.topbar a,
.topbar span:last-child {
  color: #77a7ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 max(22px, calc((100vw - 1210px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 210px;
  height: 54px;
  overflow: hidden;
  background: var(--white);
}

.brand-mark img {
  width: 206px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.nav-menu a {
  position: relative;
  padding: 28px 0;
  color: #58677f;
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--brand);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: var(--deep);
  border-radius: 5px;
  font-size: 0.84rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: url("../images/logistics-hero.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 31, 0.82), rgba(10, 15, 31, 0.62) 45%, rgba(10, 15, 31, 0.54));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
  gap: 64px;
  align-items: center;
  padding: 76px 0 96px;
  color: var(--white);
}

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

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

.badge {
  display: inline-flex;
  padding: 8px 13px;
  color: var(--white);
  background: var(--brand);
  border-radius: 4px;
  font-size: 0.66rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
p {
  font-size: 0.92rem;
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.55rem, 4.05vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.accent-text {
  color: var(--brand);
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.05vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 600;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 46px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-trust span::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  font-size: 0.86rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(33, 104, 255, 0.28);
}

.btn-primary:hover {
  background: #1557e6;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.btn-light {
  color: var(--deep);
  background: var(--white);
}

.quote-card,
.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-card {
  font-weight: 400;
}

.quote-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.22rem;
  font-weight: 400;
}

.quote-card h2 img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand);
  filter: brightness(0) saturate(100%) invert(39%) sepia(93%) saturate(3490%) hue-rotate(214deg) brightness(101%) contrast(101%);
}

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

label {
  display: grid;
  gap: 7px;
  color: #8a99b3;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-card label {
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  color: var(--ink);
  background: #fbfdff;
  font: 600 0.86rem Inter, "Segoe UI", Arial, sans-serif;
  text-transform: none;
}

.quote-card input,
.quote-card select,
.quote-card textarea {
  font-weight: 400;
}

.quote-card input::placeholder,
.quote-card textarea::placeholder {
  color: #e2e8f0;
  opacity: 1;
}

.turnstile-row {
  min-height: 65px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(33, 104, 255, 0.16);
  border-color: var(--brand);
}

.section {
  padding: 92px 0;
}

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

.stat-section {
  position: relative;
  z-index: 3;
  padding-top: 0;
  padding-bottom: 86px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: -28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 132px;
  padding: 28px 28px 30px;
  text-align: center;
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--brand);
  font-size: 1.65rem;
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 190px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.split>p,
.stack p,
.section-heading p,
.service-card p,
.values-grid p,
.services-list p,
.process-grid p,
.contact-details p,
.site-footer p,
.industry-grid p,
.faq-list p {
  color: var(--muted);
  font-size: 0.86rem;
}

.center {
  align-items: center;
}

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

.section-heading.spread {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
  align-items: end;
}

.section-heading.spread a,
.service-card a {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-grid,
.testimonial-grid,
.values-grid,
.process-grid,
.footer-grid,
.industry-grid {
  display: grid;
  gap: 24px;
}

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

.service-grid.expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.values-grid article,
.process-grid div,
.contact-details,
.office-panel,
.testimonial-grid figure,
.industry-grid article,
.faq-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(16, 25, 46, 0.04);
}

.service-card,
.values-grid article,
.process-grid div,
.contact-details,
.testimonial-grid figure,
.industry-grid article,
.faq-list article {
  padding: 30px;
}

.service-card {
  min-height: 250px;
}

.service-card p,
.industry-grid p,
.faq-list p,
.services-list p,
.process-grid p,
.values-grid p {
  line-height: 1.55;
}

.testimonial-grid figcaption {
  font-size: 0.82rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 46px;
  margin-bottom: 24px;
  padding: 0 11px;
  color: var(--brand);
  background: #edf4ff;
  border-radius: 9px;
  font-size: 0.66rem;
  font-weight: 900;
}

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

.industry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--brand);
  background: #edf4ff;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 900;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid figure {
  margin: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f6b51e;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

blockquote {
  margin: 0;
  color: #253b57;
  font-size: 0.92rem;
}

figcaption {
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
}

.faq-section {
  padding-top: 40px;
}

.faq-list {
  display: grid;
  max-width: 850px;
  margin: 0 auto;
  gap: 16px;
}

.faq-list article {
  padding: 22px 28px;
}

.legal-section {
  background: var(--soft);
}

.legal-content {
  max-width: 900px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(16, 25, 46, 0.04);
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content a {
  color: var(--brand);
  font-weight: 800;
}

.cta-band {
  color: var(--white);
  background: var(--deep);
}

.cta-band h2 {
  max-width: 760px;
}

.page-hero {
  padding: 104px 0 84px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 20, 39, 0.9), rgba(13, 20, 39, 0.72)),
    url("../images/logistics-hero.jpg") center / cover no-repeat;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  font-weight: 600;
}

.stack {
  display: grid;
  gap: 14px;
}

.values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.office-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  background: var(--line);
}

.office-panel div {
  padding: 32px;
  background: var(--white);
}

.office-panel h2 {
  font-size: 1.05rem;
  line-height: 1.35;
}

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

.services-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.services-list span {
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 900;
}

.services-list h2 {
  font-size: 1.18rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid strong {
  color: var(--brand);
  font-size: 1rem;
}

.contact-section {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.contact-item {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
}

.contact-item a {
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 900;
}

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

.form-row.invalid input,
.form-row.invalid select,
.form-row.invalid textarea,
.validated-form label.invalid input,
.validated-form label.invalid select,
.validated-form label.invalid textarea {
  border-color: #b42318;
}

.error-message {
  display: none;
  color: #b42318;
  font-weight: 800;
}

.form-row.invalid .error-message {
  display: block;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  padding: 72px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep);
}

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

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
  background: var(--white);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(204, 216, 238, 0.86);
}

.site-footer p {
  color: rgba(204, 216, 238, 0.72);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid rgba(204, 216, 238, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-footer .footer-social a:hover {
  border-color: rgba(33, 104, 255, 0.72);
  background: rgba(33, 104, 255, 0.12);
  transform: translateY(-1px);
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-address {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.footer-pin {
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.2;
}

.footer-address strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Space Grotesk", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.footer-address p {
  margin: 0;
}

.footer-contact-line,
.footer-phone {
  margin: 14px 0 0;
  line-height: 1.65;
}

.footer-contact-line + .footer-contact-line {
  margin-top: 2px;
}

.footer-contact-line span,
.footer-phone span {
  color: #f04488;
  font-weight: 800;
}

.site-footer .footer-contact-line a,
.site-footer .footer-phone a {
  display: inline;
  margin: 0;
}

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

.copyright {
  width: min(1210px, calc(100% - 44px));
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 7px 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 73px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 8px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: rgba(10, 15, 31, 0.76);
  }

  .split,
  .contact-grid,
  .footer-grid,
  .office-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid.expanded,
  .testimonial-grid,
  .values-grid,
  .process-grid,
  .metrics,
  .industry-grid,
  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(100% - 28px, 1210px);
  }

  .topbar {
    display: none;
  }

  .brand-mark {
    width: 178px;
    height: 46px;
  }

  .brand-mark img {
    width: 174px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-layout {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
  }

  .section {
    padding: 64px 0;
  }

  .stat-section {
    padding-bottom: 52px;
  }

  .quote-grid,
  .service-grid,
  .service-grid.expanded,
  .testimonial-grid,
  .values-grid,
  .process-grid,
  .metrics,
  .industry-grid,
  .services-list {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 22px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section-heading.spread {
    display: block;
  }

  .services-list article {
    grid-template-columns: 1fr;
  }

  .mobile-contact-bar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    z-index: 80;
    display: flex;
    gap: 20px;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 12px 26px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(16, 25, 46, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 54px;
    min-height: 38px;
    color: #6f7280;
    font-size: 0.72rem;
    font-weight: 400;
  }

  .mobile-contact-bar img {
    width: 14px;
    height: 14px;
    object-fit: contain;
  }

  .mobile-contact-bar a:first-child {
    color: #6f7280;
    background: transparent;
  }

  .mobile-contact-bar a:last-child {
    color: #6f7280;
    background: transparent;
  }
}
