/* DTA Logistics — design tokens
   Layout concept: Lovable structure kept (dark photo heroes, light content bands,
   navy feature/CTA bands); the logo's navy + sky blue replace the old orange,
   and the logo's arc "flight path" is the one recurring brand motif. */
:root {
  /* Colour — sampled from the supplied logo */
  --navy: #071D35;          /* logo "DT" + LOGISTICS */
  --navy-2: #0C2A4B;        /* raised navy surface */
  --blue: #059EFE;          /* logo "A" + swoosh — fills, buttons, icons on navy */
  --blue-ink: #0670B8;      /* blue for text on light backgrounds (AA 5.2:1) */
  --blue-soft: #E3F3FF;     /* icon chips on light */
  --sky-on-navy: #5CC0FF;   /* eyebrows/links on navy (AA 8.4:1) */
  --bg: #FFFFFF;
  --surface: #F4F8FC;       /* blue-biased neutral band */
  --ink: #0B1A2E;
  --muted: #4A5B70;
  --muted-on-navy: #A9BBD0;
  --border: #DCE5EF;
  --border-navy: rgba(169, 187, 208, .18);
  --danger: #B42318;
  --ok: #067647;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Jost", "DM Sans", system-ui, sans-serif; /* echoes the logo's geometric caps */

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.1rem + .9vw, 1.6rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 29, 53, .06), 0 8px 24px rgba(7, 29, 53, .08);
  --wrap: 1180px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-ink); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-size: 1.3rem; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Eyebrow labels — wide-tracked caps like the logo tagline */
.eyebrow {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.on-navy .eyebrow, .hero .eyebrow { color: var(--sky-on-navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 .95rem/1 var(--font-body);
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: var(--navy); }
.btn-primary:hover { background: #33B1FF; }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { border-color: var(--sky-on-navy); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(92, 192, 255, .14); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* Header — white so the full-colour logo is shown unaltered */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav a.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a.nav-link:hover { color: var(--blue-ink); }
.nav a.nav-link[aria-current="page"] { color: var(--blue-ink); border-bottom-color: var(--blue); }
.nav .btn { min-height: 44px; padding: .65rem 1.2rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .brand img { height: 46px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1rem max(16px, env(safe-area-inset-right, 0px)) 1.5rem max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 24px rgba(7, 29, 53, .08);
  }
  .nav[data-open="false"] { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a.nav-link { display: block; padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .nav a.nav-link[aria-current="page"] { border-bottom-color: var(--border); box-shadow: inset 3px 0 0 var(--blue); padding-left: .75rem; }
}

/* Heroes — photo under a navy wash, like the Lovable reference */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 29, 53, .94) 0%, rgba(7, 29, 53, .82) 45%, rgba(7, 29, 53, .5) 100%);
}
.hero-inner { padding-block: clamp(4rem, 9vw, 7.5rem); display: grid; gap: 1.1rem; max-width: 46rem; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: var(--step-1); color: #D6E2EE; max-width: 38rem; }
.hero-home .hero-inner { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3rem, 6vw, 4.5rem); max-width: 52rem; }
.hero-home h1 .accent { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; justify-self: start;
  font-family: var(--font-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--sky-on-navy); border: 1px solid rgba(92, 192, 255, .45); border-radius: 999px; padding: .35rem .85rem;
}
.chip svg { width: 15px; height: 15px; }
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border-navy); }
.stat dt { order: 2; font-size: .88rem; color: var(--muted-on-navy); }
.stat { display: flex; flex-direction: column; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; }

/* The brand arc — the logo's swoosh, drawn once per hero */
.arc { position: absolute; right: -4%; bottom: -12%; width: min(62vw, 760px); z-index: -1; opacity: .9; pointer-events: none; }
@media (max-width: 720px) { .arc { width: 120vw; right: -40%; opacity: .5; } }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section.alt { background: var(--surface); }
.section.on-navy { background: var(--navy); color: #fff; }
.on-navy h2, .on-navy h3 { color: #fff; }
.section-head { display: grid; gap: .8rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); max-width: 44rem; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.on-navy .section-head p { color: var(--muted-on-navy); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.media-right .media { order: 2; } }
.split .copy { display: grid; gap: 1.1rem; min-width: 0; }
.split .copy p { color: var(--muted); max-width: 36rem; }
.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.badge {
  position: absolute; right: 1.25rem; bottom: -1.25rem; background: var(--bg); border-radius: var(--radius-sm);
  padding: .9rem 1.2rem; box-shadow: var(--shadow); display: grid; line-height: 1.2;
}
.badge strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--blue-ink); }
.badge span { font-size: .85rem; color: var(--muted); }

.values { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; padding: 0; margin: .4rem 0 0; }
.values li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; }

.icon-chip { width: 46px; height: 46px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); flex-shrink: 0; }
.icon-chip svg { width: 22px; height: 22px; }
.icon-chip.sm { width: 34px; height: 34px; border-radius: 8px; }
.icon-chip.sm svg { width: 17px; height: 17px; }
.on-navy .icon-chip { background: rgba(5, 158, 254, .14); color: var(--sky-on-navy); }

/* Service cards: 3 + 2 centred, as in the reference */
.service-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(6, 1fr); }
.service-card { grid-column: span 2; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.04); }
.service-card .thumb .icon-chip { position: absolute; left: 1rem; bottom: 1rem; background: var(--blue); color: var(--navy); }
.service-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.service-card .body p { color: var(--muted); font-size: .95rem; flex: 1; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--blue-ink); text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-navy .text-link { color: var(--sky-on-navy); }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } .service-card, .service-card:nth-child(4) { grid-column: auto; } .service-card:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - .75rem); justify-self: center; width: 100%; } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } .service-card:nth-child(5) { max-width: none; } }

/* Feature tiles (Why DTA on navy, approach lists on light) */
.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { display: grid; gap: .75rem; align-content: start; padding: 1.6rem; border-radius: var(--radius); }
.on-navy .feature { background: var(--navy-2); border: 1px solid var(--border-navy); }
.on-navy .feature p { color: var(--muted-on-navy); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .95rem; }
.feature-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--border); }
.feature-list .feature { border-radius: 0; padding: 2rem 1.75rem 2.25rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 700px) { .feature-list .feature { padding-right: 2.25rem; } }

/* Process steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: .75rem; }
.step .icon-chip { width: 64px; height: 64px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); position: relative; z-index: 1; }
.alt .step .icon-chip { background: var(--bg); }
.step .icon-chip svg { width: 26px; height: 26px; }
.step .num { position: absolute; top: -10px; left: calc(50% + 18px); z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .75rem/30px var(--font-label); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.2rem; margin-top: .35rem; }
.step p { color: var(--muted); font-size: .94rem; max-width: 18rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Mission / Vision / Purpose */
.mvp { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mvp article { border-top: 2px solid var(--blue); padding-top: 1.6rem; display: grid; gap: .8rem; align-content: start; }
.mvp p { color: var(--muted); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; color: var(--blue-ink); transition: transform .2s, background .2s; }
.faq summary .plus svg { width: 15px; height: 15px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue-soft); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.4rem 0; }

/* CTA band */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta .wrap { display: grid; justify-items: center; gap: 1rem; }
.cta p { color: var(--muted-on-navy); font-size: var(--step-1); max-width: 40rem; }
.cta .hero-actions { justify-content: center; }
.cta .arc { left: -10%; right: auto; bottom: -40%; transform: scaleX(-1); opacity: .35; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.05fr; } }
.contact-copy { display: grid; gap: 1.2rem; min-width: 0; }
.contact-copy > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; }
.contact-list .val { color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.copy-btn { font: 600 .8rem/1 var(--font-body); color: var(--blue-ink); background: var(--blue-soft); border: 0; border-radius: 6px; padding: .4rem .6rem; cursor: pointer; }
.contact-copy .media img { aspect-ratio: 16 / 10; }
.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; min-width: 0; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 158, 254, .25); background: var(--bg); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .85rem; min-height: 0; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: var(--blue-soft); display: grid; gap: .7rem; }
.form-status h3 { font-family: var(--font-body); font-size: 1.05rem; }
.form-status pre { white-space: pre-wrap; word-break: break-word; font: .88rem/1.55 var(--font-body); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: .8rem; margin: 0; max-height: 220px; overflow: auto; }
.form-status .row { display: flex; flex-wrap: wrap; gap: .6rem; }
.form-status .btn { min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .94rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 26rem; }
.footer-brand img { height: 104px; width: auto; }
.site-footer h2 { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: var(--muted-on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .contact-line { display: flex; gap: .6rem; align-items: center; }
.site-footer .contact-line svg { width: 17px; height: 17px; color: var(--sky-on-navy); flex-shrink: 0; }
.site-footer .text-link { color: var(--sky-on-navy); }
.footer-bottom { margin-top: 3rem; border-top: 1px solid var(--border-navy); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .86rem; }
.footer-bottom .tag { font-family: var(--font-label); letter-spacing: .08em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
