:root {
  --navy: #202636;        /* real brand dark navy */
  --navy-deep: #131a26;   /* hero fallback / deep shade (kept for hero) */
  --ink: #080b12;         /* footer near-black, faint cool tint — lifts the blue LOGISTICS wordmark */
  --blue: #2D5885;        /* real brand primary blue */
  --cyan: #03ACF1;        /* real brand bright accent */
  --cyan-hover: #2bb8f5;  /* lighter cyan for hover */
  --steel: #4a5568;
  --steel-light: #8b96a5;
  --line: #e4e8ee;
  --paper: #f6f7f9;
  --white: #ffffff;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  height: 30px;
  width: auto;
  flex: none;
}

.brand-wordmark {
  height: 30px;
  width: auto;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.site-nav a:hover { color: var(--white); }

.site-nav .nav-cta {
  color: var(--navy);
  background: var(--cyan);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.18s ease;
}
.site-nav .nav-cta:hover { background: var(--cyan-hover); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 26, 38, 0.62) 0%, rgba(19, 26, 38, 0.42) 42%, rgba(19, 26, 38, 0.82) 100%),
    linear-gradient(90deg, rgba(19, 26, 38, 0.55) 0%, rgba(19, 26, 38, 0.10) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 82px;
  color: var(--white);
  max-width: 820px;
}

.hero-eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
  max-width: 15ch;
}

.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 7px;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(3, 172, 241, 0.28);
}
.btn-primary:hover { background: var(--cyan-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.55); }

/* Focus states (a11y) */
a:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll-line {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--white);
  animation: scrollcue 1.7s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0; }
}

/* ---------- Shared section furniture ---------- */
.section {
  padding: 92px 0;
}

.section-eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 44px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--navy);
  max-width: 20ch;
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
}

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

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px 32px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(32, 38, 54, 0.09);
  border-color: #d3dae4;
}

.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(3, 172, 241, 0.1);
  color: var(--cyan);
  margin-bottom: 20px;
}
.svc-icon svg { width: 27px; height: 27px; }

.svc-card h3 {
  margin: 0 0 9px;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.svc-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--steel);
}

/* ---------- Why choose us ---------- */
.why {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
}
.why-icon svg { width: 23px; height: 23px; }

.why-item h3 {
  margin: 2px 0 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.why-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--steel);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-lead {
  margin: 0 0 26px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--steel);
  max-width: 42ch;
}

.contact-details {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--navy);
}
.contact-details a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-details a:hover { color: var(--blue); }

.ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(45, 88, 133, 0.09);
  color: var(--blue);
}
.ci svg { width: 20px; height: 20px; }

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ---------- Quote form ---------- */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px 34px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #d6dce4;
  border-radius: 8px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(3, 172, 241, 0.16);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--steel-light); }
.field textarea { resize: vertical; min-height: 96px; }

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

/* In flight: drop to a pale cyan so it stops reading as "press me", but keep
   the label at full strength rather than fading the whole button. */
.form-submit.is-sending,
.form-submit.is-sending:hover {
  background: #8fd9f8;
  color: var(--navy);
  box-shadow: none;
}

/* Sent: the button itself becomes the confirmation and stays locked. Green
   rather than brand cyan so it can't be mistaken for a live control. */
.form-submit.is-sent,
.form-submit.is-sent:hover {
  background: #1a7a43;
  color: var(--white);
  box-shadow: none;
  opacity: 1;
}
.form-submit.is-sent::before {
  content: "✓";
  font-weight: 700;
  font-size: 1.06em;
  line-height: 1;
  margin-right: 10px;
}

.form-submit:disabled { cursor: default; }
.form-submit:disabled:active { transform: none; }

.form-status {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.5;
  min-height: 1.2em;
}
.form-status:focus { outline: none; }
.form-status.is-error { color: #c0392b; }
/* Quiet note under the sent button — the button carries the thank-you, so this
   line stays secondary instead of competing with it. */
.form-status.is-ok { color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
}
.footer-brand .brand-wordmark { height: 28px; }

.footer-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.96rem;
}
.footer-details a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-details a:hover { color: var(--cyan); }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.footer-bar p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .header-inner { height: 68px; }
  .hero-content { padding-top: 68px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section { padding: 66px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll-line { animation: none; }
  .svc-card { transition: none; }
}
