/* Delta Line Logistics — style.css */

:root {
  --deep: #0C453F;
  --mid: #17726A;
  --mint: #4FC2AF;
  --wash: #F1F7F5;
  --ink: #14201E;
  --body: #42544F;
  --line: #DDE6E3;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5A;

  --font: "Manrope", Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -25px rgba(20, 32, 30, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3, h4 { font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--mid);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--deep);
  color: var(--white);
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 88px 0; }
@media (max-width: 900px) { section { padding: 64px 0; } }
@media (max-width: 560px) { section { padding: 48px 0; } }

/* Mobiele standaarden */
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  h1, .page-header h1 { font-size: clamp(28px, 8vw, 40px); }
  h2 { font-size: clamp(22px, 6vw, 28px); }
  h3 { font-size: 18px; }
  p { font-size: 16px; line-height: 1.6; }
  .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  .card-grid, .why-grid, .contact-grid { gap: 16px; }
  .split { gap: 24px; }
  .section-head { margin-bottom: 32px; }
  .card-link { padding: 12px 0; margin-top: 10px; }
  .clients-strip a { padding: 6px; }
  .btn { min-height: 44px; }
}

.bg-wash { background: var(--wash); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head p { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-deep { background: var(--deep); color: var(--white); }
.btn-deep:hover { background: var(--mid); }

.btn-white { background: var(--white); color: var(--deep); }
.btn-white:hover { background: var(--wash); }

.btn-outline { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--deep); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-white:hover { border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Media frame + placeholder */
.media-frame {
  position: relative;
  aspect-ratio: var(--ar, 4 / 3);
  background: var(--wash);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-label {
  padding: 0 24px;
  text-align: center;
  color: var(--mid);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
}
.nav-link:hover { background: var(--wash); color: var(--deep); }
.nav-link[aria-current="page"] { background: var(--wash); color: var(--deep); }
.nav-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .nav-link svg,
.has-dropdown:focus-within .nav-link svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
}
.dropdown a:hover { background: var(--wash); }
.dropdown-title { display: block; font-weight: 700; color: var(--ink); }
.dropdown-sub { display: block; font-size: 0.85rem; color: var(--body); margin-top: 2px; }

.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--mid); }
.header-phone:hover { color: var(--deep); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1120px) {
  .header-phone { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 32, 30, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--deep);
  color: var(--white);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.mobile-nav-head img { height: 26px; width: auto; }
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
}
.mobile-nav-close svg { width: 24px; height: 24px; }
.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav-actions .btn {
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
}
.mobile-nav-actions .btn-contact { grid-column: 1 / -1; }
.mobile-nav-list { padding: 8px 20px 24px; }
.mobile-nav-list > li { border-top: 1px solid rgba(255,255,255,0.15); }
.mobile-nav-list > li:first-child { border-top: 0; }
.mobile-nav-list > li > a,
.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 12px 4px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.mobile-nav-list a[aria-current="page"] { color: var(--mint); }
.mobile-sub-toggle svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.mobile-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.mobile-sub.is-open { max-height: 400px; }
.mobile-sub li a {
  display: block;
  min-height: 44px;
  padding: 11px 4px 11px 16px;
  color: rgba(255,255,255,0.85);
}
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-desktop, .header-phone, .header-right { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 64px; justify-content: space-between; gap: 12px; }
  .brand { min-height: 44px; }
  .brand img { height: 40px; }
}

@media (max-width: 560px) {
  .header-inner { height: 58px; }
  .brand img { height: 36px; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 130px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,69,63,0.95) 0%, rgba(12,69,63,0.85) 30%, rgba(12,69,63,0.45) 55%, rgba(12,69,63,0.05) 85%, rgba(12,69,63,0) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--mint);
}
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero p { margin-top: 20px; font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 520px; }
.hero .btn-row { margin-top: 34px; }
.hero-inner > * { animation: hero-rise 0.7s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero { padding: 72px 0 80px; }
}
@media (max-width: 560px) {
  .hero {
    padding: 40px 0 48px;
    display: flex;
    align-items: flex-end;
    min-height: min(78vh, 600px);
    min-height: min(78svh, 600px);
    max-height: 78vh;
    max-height: 78svh;
  }
  .hero-bg { object-position: right bottom; }
  .hero::after {
    background: linear-gradient(180deg, rgba(12,69,63,0.28) 0%, rgba(12,69,63,0.32) 32%, rgba(12,69,63,0.72) 52%, rgba(12,69,63,0.9) 78%, rgba(12,69,63,0.94) 100%);
  }
  .hero p.hero-eyebrow { font-size: 11px; letter-spacing: 0.06em; gap: 10px; margin: 0 0 14px; }
  .hero p.hero-eyebrow::before { width: 20px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero p { font-size: 16px; margin-top: 14px; }
  .hero .btn-row { margin-top: 24px; }
  .hero .btn { padding: 14px 22px; }
}

/* Page header (subpages) */
.page-header {
  background: var(--deep);
  color: var(--white);
  padding: 56px 0;
}
.page-header h1 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.page-header p { margin-top: 12px; color: rgba(255,255,255,0.85); max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--white); }

/* Fact bar */
.fact-bar { background: var(--mid); color: var(--white); }
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 32px;
}
.fact-item { display: flex; align-items: center; gap: 14px; }
.fact-item svg { width: 30px; height: 30px; flex-shrink: 0; }
.fact-item span { font-weight: 700; font-size: 1.02rem; }
.fact-logo {
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
}
.fact-logo img { height: 22px; width: auto; }
@media (max-width: 900px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .fact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .fact-item { flex-direction: column; text-align: center; gap: 8px; }
  .fact-item svg { width: 26px; height: 26px; }
  .fact-item span { font-size: 14px; }
  .fact-logo { padding: 5px 8px; }
  .fact-logo img { height: 18px; }
}

/* Two-column split blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-text h2 { margin-bottom: 16px; }
.split-text .btn-row { margin-top: 28px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media,
  .split.reverse .split-text { order: initial; }
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .media-frame { border-radius: 0; --ar: 4/3; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { margin-top: 10px; font-size: 0.95rem; flex-grow: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 700;
  color: var(--deep);
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
@media (max-width: 900px) { .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid, .card-grid.cols-3 { grid-template-columns: 1fr; } }

/* Clients */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
}
.clients-strip a { display: block; border-radius: 8px; }
.clients-strip img { height: 34px; width: auto; }
.clients-strip img[alt="PostNL"] { height: 37px; }

/* Why columns */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.why-item { border-top: 3px solid var(--mint); padding-top: 20px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { margin-top: 10px; font-size: 0.95rem; }
@media (max-width: 900px) { .why-grid, .why-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid, .why-grid.cols-3 { grid-template-columns: 1fr; } }

/* Vacature block */
.vacature-block {
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  overflow: hidden;
}
.vacature-block h2 { color: var(--white); }
.vacature-block p { color: rgba(255,255,255,0.85); margin-top: 16px; }
.vacature-block .media-frame { --ar: 4/3; }
@media (max-width: 560px) { .vacature-block { padding: 32px; border-radius: var(--radius); } }

/* CTA bar */
.cta-bar { background: var(--mint); }
.cta-bar h2 { font-size: 1.6rem; }
.cta-bar p { margin-top: 10px; color: var(--ink); }
.cta-bar .btn-row { margin-top: 26px; }
.cta-bar .btn { background: var(--ink); color: var(--white); }
.cta-bar .btn:hover { background: var(--deep); }
.cta-bar .btn-whatsapp { background: var(--whatsapp); }
.cta-bar .btn-whatsapp:hover { background: var(--whatsapp-dark); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); }
.footer-top { padding-top: 72px; padding-bottom: 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; max-width: 320px; }
.footer-brand address { margin-top: 20px; font-size: 0.95rem; line-height: 1.8; }
.footer-brand address a:hover { color: var(--white); }
.footer-gegevens { font-size: 0.92rem; line-height: 1.8; }
.footer-badge {
  margin-top: 16px;
  display: inline-block;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
}
.footer-badge img { height: 24px; width: auto; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-acc summary::-webkit-details-marker { display: none; }
.footer-acc summary::after {
  content: "+";
  display: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--mint);
}
.footer-acc[open] summary::after { content: "\2212"; }
@media (min-width: 561px) {
  .footer-acc summary { pointer-events: none; }
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-size: 0.95rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer { font-size: 14px; line-height: 1.5; }
  .footer-top { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 16px; gap: 12px; }
  .footer-brand img { height: 26px; margin-bottom: 12px; }
  .footer-brand p { font-size: 14px; }
  .footer-brand address { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .footer-brand address a { display: inline-block; padding: 11px 0; }
  .footer-gegevens { font-size: 14px; line-height: 1.5; }
  .footer-badge { margin-top: 10px; }
  .footer-col h4 { margin-bottom: 6px; }
  .footer-acc { border-top: 1px solid rgba(255,255,255,0.12); }
  .footer-acc summary { min-height: 44px; cursor: pointer; }
  .footer-acc summary::after { display: block; }
  .footer-acc h4 { margin: 0; }
  .footer-acc ul { padding-bottom: 8px; }
  .footer-col ul li { margin-bottom: 0; }
  .footer-col ul a { display: inline-block; padding: 12px 0; }
  .footer-bottom {
    font-size: 14px;
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: calc(20px + 72px + env(safe-area-inset-bottom));
  }
}

/* Contact and gegevens blocks */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-card svg { width: 28px; height: 28px; color: var(--mid); margin-bottom: 14px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { margin-top: 8px; font-size: 0.95rem; flex-grow: 1; }
.contact-card .btn { margin-top: 18px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.gegevens-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 480px;
}
.gegevens-card address { line-height: 1.9; }
.badge-chip {
  display: inline-block;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}
.badge-chip img { height: 24px; width: auto; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: var(--shadow);
}
.whatsapp-float:hover { background: var(--whatsapp-dark); }
.whatsapp-float svg { width: 32px; height: 32px; }
@media (max-width: 560px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
