/* ROOT */
:root {
  --ink: #172027; --muted: #62717d; --line: #d8e1e8; --soft: #f3f7fa;
  --white: #ffffff; --blue: #105c7f; --blue-dark: #0b3148;
  --red: #c93131; --shadow: 0 22px 55px rgba(15,42,60,0.16);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--ink); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,p { overflow-wrap: anywhere; }

/* SCROLL REVEAL */
.reveal {
  opacity:0; transform:translateY(36px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left {
  opacity:0; transform:translateX(-40px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right {
  opacity:0; transform:translateX(40px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal-right.visible { opacity:1; transform:translateX(0); }
.stagger-1{transition-delay:.05s} .stagger-2{transition-delay:.13s}
.stagger-3{transition-delay:.21s} .stagger-4{transition-delay:.29s}
.stagger-5{transition-delay:.37s} .stagger-6{transition-delay:.45s}

/* PAGE LOADER */
.page-loader {
  position:fixed; inset:0; background:var(--blue-dark);
  display:flex; align-items:center; justify-content:center;
  z-index:100; transition: opacity .5s, visibility .5s;
}
.page-loader.hidden { opacity:0; visibility:hidden; pointer-events:none; }
.loader-inner { display:flex; flex-direction:column; align-items:center; gap:20px; color:white; }
.loader-mark {
  width:56px; height:56px; border:2px solid white; border-radius:10px;
  display:grid; place-items:center; font-weight:900; font-size:1.1rem;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}
@keyframes loaderPulse { from{transform:scale(1);opacity:.8} to{transform:scale(1.05);opacity:1} }
.loader-bar { width:120px; height:2px; background:rgba(255,255,255,.2); border-radius:2px; overflow:hidden; }
.loader-fill { height:100%; background:var(--red); animation: loaderFill .8s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes loaderFill { from{width:0} to{width:100%} }

/* HEADER */
.site-header {
  position:fixed; z-index:20; top:0; left:0; right:0;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:18px clamp(18px,4vw,56px);
  color:var(--white);
  transition: background 200ms ease, box-shadow 200ms ease, color 200ms ease, padding 200ms ease;
}
.site-header.is-scrolled, .site-header.nav-open {
  color:var(--ink); background:rgba(255,255,255,0.96);
  box-shadow:0 10px 35px rgba(15,42,60,0.12);
  backdrop-filter:blur(14px);
  padding-top:12px; padding-bottom:12px;
}
.brand { display:inline-flex; align-items:center; gap:12px; }
.brand-mark {
  display:grid; width:46px; height:46px; place-items:center;
  border:2px solid currentColor; border-radius:8px; font-weight:800;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.brand:hover .brand-mark {
  transform:rotate(-6deg) scale(1.08);
  background:var(--red); border-color:var(--red); color:white;
}
.brand strong, .brand small { display:block; }
.brand small { font-size:.78rem; opacity:.76; }
.site-nav {
  display:flex; align-items:center; gap:clamp(16px,3vw,32px); font-weight:700;
}
.site-nav a { padding:8px 0; position:relative; }
.site-nav a::after {
  content:''; position:absolute; bottom:-2px; left:0; right:0;
  height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s cubic-bezier(.22,1,.36,1);
}
.site-nav a:hover::after { transform:scaleX(1); }
.nav-toggle {
  display:none; width:44px; height:44px; padding:10px;
  border:1px solid currentColor; border-radius:8px;
  color:inherit; background:transparent; cursor:pointer;
  transition: background .2s, color .2s;
}
.nav-toggle:hover { background:var(--red); border-color:var(--red); color:white; }
.nav-toggle span { display:block; height:2px; margin:5px 0; background:currentColor; }

/* HERO */
.hero {
  position:relative; min-height:100vh;
  display:flex; flex-direction:column; overflow:hidden; color:var(--white);
}
.hero-media, .hero-shade { position:absolute; inset:0; }
.hero-media {
  background-color:#0d2233;
  background-image:url("assets/logistics-hero.png");
  background-position:center; background-size:cover; background-repeat:no-repeat;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom { from{transform:scale(1)} to{transform:scale(1.07)} }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(9,28,43,0.90) 0%, rgba(9,28,43,0.65) 50%, rgba(9,28,43,0.25) 100%),
    linear-gradient(180deg, rgba(9,28,43,0.15) 0%, rgba(9,28,43,0.5) 100%);
}
.hero-body {
  position:relative; z-index:1;
  flex:1; display:flex; align-items:center;
  padding: 100px clamp(18px,7vw,92px) 48px;
}
.hero-content { width:min(700px,100%); }

/* Hero animations */
.hero-eyebrow {
  margin:0 0 14px; color:#ffcc66;
  font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em;
  opacity:0; transform:translateY(16px);
  animation: fadeUp .65s .2s cubic-bezier(.22,1,.36,1) forwards;
}
.hero h1 {
  font-size:clamp(2.5rem,6vw,5.8rem); line-height:.95; letter-spacing:-.02em;
  opacity:0; transform:translateY(22px);
  animation: fadeUp .75s .4s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-copy {
  max-width:600px; margin:20px 0 0;
  color:rgba(255,255,255,.85); font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.65;
  opacity:0; transform:translateY(18px);
  animation: fadeUp .75s .62s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-actions {
  display:flex; flex-wrap:wrap; gap:12px; margin-top:28px;
  opacity:0; transform:translateY(16px);
  animation: fadeUp .75s .82s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes fadeUp { to{opacity:1; transform:translateY(0)} }

.hero-facts {
  position:relative; z-index:1;
  display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,.2);
  background:rgba(8,24,36,.7); backdrop-filter:blur(12px);
  opacity:0; animation: fadeUp .8s 1s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-facts span {
  min-height:72px; display:flex; align-items:center;
  padding:16px clamp(18px,4vw,56px);
  border-right:1px solid rgba(255,255,255,.16); font-weight:800;
  transition: background .25s;
}
.hero-facts span:last-child { border-right:none; }
.hero-facts span:hover { background:rgba(255,255,255,.07); }

/* BUTTONS */
.button {
  display:inline-flex; min-height:48px; align-items:center; justify-content:center;
  padding:13px 22px; border:1px solid transparent; border-radius:8px;
  font-weight:800; line-height:1.15;
  position:relative; overflow:hidden;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform:translateY(-2px); }
.button:active { transform:translateY(0); }
.button::before {
  content:''; position:absolute;
  top:0; left:-120%; width:60%; height:100%;
  background:linear-gradient(105deg, transparent 20%, rgba(255,255,255,.38) 50%, transparent 80%);
  transform:skewX(-20deg);
  animation: shimmer 2.8s 1.5s infinite;
}
@keyframes shimmer { 0%{left:-120%} 60%{left:140%} 100%{left:140%} }
.button.primary {
  color:var(--white); background:var(--red);
  box-shadow:0 4px 18px rgba(201,49,49,.35);
}
.button.primary:hover { box-shadow:0 8px 28px rgba(201,49,49,.5); }
.button.secondary {
  color:var(--white); border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.12); backdrop-filter:blur(8px);
}
.button.secondary:hover { background:rgba(255,255,255,.22); }
.contact .button.secondary {
  color:var(--blue-dark); border-color:var(--line); background:var(--white);
}
.contact .button.secondary:hover { background:var(--soft); }

/* SECTIONS */
.section { width:min(1180px,calc(100% - 36px)); margin:0 auto; padding:clamp(72px,10vw,120px) 0; }
.section-kicker {
  margin:0 0 12px; color:var(--red);
  font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  display:flex; align-items:center; gap:10px;
}
.section-kicker::before {
  content:''; display:block; width:28px; height:2px;
  background:currentColor; flex-shrink:0;
}
.process .section-kicker, .contact .section-kicker { color:#ffcc66; }
h2 { font-size:clamp(2rem,4vw,3.8rem); line-height:1.02; letter-spacing:-.01em; }
h3 { margin:0 0 12px; font-size:1.15rem; line-height:1.18; }

/* INTRO */
.intro {
  display:grid; grid-template-columns:.85fr 1fr;
  gap:clamp(32px,6vw,88px); align-items:start;
}
.intro p:last-child { margin:0; color:var(--muted); font-size:1.08rem; }

/* SERVICES */
.section-head { max-width:780px; margin-bottom:34px; }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service-card {
  min-height:238px; padding:28px 24px;
  border:1px solid var(--line); border-radius:12px;
  background:var(--white); box-shadow:0 12px 35px rgba(15,42,60,.07);
  position:relative; overflow:hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.service-card::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:3px; background:var(--red);
  transform:scaleX(0); transform-origin:left;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.service-card:hover {
  transform:translateY(-6px);
  box-shadow:0 22px 55px rgba(15,42,60,.14);
  border-color:rgba(201,49,49,.2);
}
.service-card:hover::after { transform:scaleX(1); }
.service-card p { margin:0; color:var(--muted); }
.service-icon {
  display:inline-flex; margin-bottom:28px;
  color:var(--red); font-weight:900; font-size:1.4rem;
  width:48px; height:48px; align-items:center; justify-content:center;
  background:rgba(201,49,49,.08); border-radius:10px;
  transition: transform .3s, background .3s;
}
.service-card:hover .service-icon {
  transform:scale(1.1) rotate(-4deg);
  background:rgba(201,49,49,.15);
}

/* PROCESS */
.process-band {
  background:var(--blue-dark); color:var(--white);
  position:relative; overflow:hidden;
}
.process-band::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16,92,127,.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,49,49,.12) 0%, transparent 50%);
  animation: pulseBg 6s ease-in-out infinite alternate;
}
@keyframes pulseBg { from{opacity:.6} to{opacity:1} }
.timeline {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; margin:0; padding:0; list-style:none;
  background:rgba(255,255,255,.16); position:relative; z-index:1;
}
.timeline li {
  min-height:210px; padding:28px 24px;
  background:var(--blue-dark); cursor:default;
  transition: background .3s; position:relative;
}
.timeline li:hover { background:rgba(16,92,127,.8); }
.step-num {
  display:block; font-size:3rem; font-weight:900;
  color:rgba(255,255,255,.06); line-height:1; margin-bottom:8px;
  transition:color .3s;
}
.timeline li:hover .step-num { color:rgba(255,255,255,.14); }
.timeline strong { display:block; margin-bottom:12px; font-size:1.1rem; }
.timeline span { display:block; color:rgba(255,255,255,.72); font-size:.95rem; }
.timeline li::after {
  content:''; position:absolute; top:28px; right:-5px;
  width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,.3); z-index:2;
  transition: background .3s, transform .3s;
}
.timeline li:last-child::after { display:none; }
.timeline li:hover::after { background:var(--red); transform:scale(1.4); }

/* COMPANY */
.company { display:grid; grid-template-columns:.8fr 1fr; gap:clamp(32px,6vw,84px); }
.company-copy p { margin:0; color:var(--muted); font-size:1.08rem; }
.facts-list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin:0; }
.facts-list div {
  padding:20px; border:1px solid var(--line); border-radius:10px; background:var(--soft);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.facts-list div:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 24px rgba(15,42,60,.09);
  border-color:var(--blue);
}
.facts-list dt {
  margin-bottom:8px; color:var(--muted);
  font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em;
}
.facts-list dd { margin:0; font-weight:800; }
.facts-list a { color:var(--blue); }

/* CONTACT */
.contact { padding:0 clamp(18px,4vw,56px) clamp(72px,10vw,120px); }
.contact-inner {
  width:min(1180px,100%); margin:0 auto;
  display:grid; grid-template-columns:1fr auto; gap:32px; align-items:center;
  padding:clamp(34px,6vw,64px); border-radius:16px;
  background: linear-gradient(135deg, rgba(16,92,127,.92), rgba(11,49,72,.96)), var(--blue);
  color:var(--white); box-shadow:var(--shadow);
  position:relative; overflow:hidden;
  transition: transform .3s, box-shadow .3s;
}
.contact-inner:hover {
  transform:translateY(-4px);
  box-shadow:0 32px 70px rgba(15,42,60,.22);
}
.contact-inner::before {
  content:''; position:absolute; right:-80px; top:-80px;
  width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  animation: orbFloat 5s ease-in-out infinite alternate;
}
.contact-inner::after {
  content:''; position:absolute; right:80px; bottom:-60px;
  width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,49,49,.12), transparent 70%);
  animation: orbFloat 7s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from{transform:translate(0,0) scale(1)}
  to{transform:translate(20px,-20px) scale(1.1)}
}
.contact p { max-width:690px; margin-top:16px; color:rgba(255,255,255,.78); }
.contact-actions { display:flex; flex-wrap:wrap; gap:12px; position:relative; z-index:1; }

/* FOOTER */
.site-footer {
  display:flex; justify-content:space-between; gap:18px;
  padding:28px clamp(18px,4vw,56px);
  color:var(--muted); border-top:1px solid var(--line);
}
.site-footer p { margin:0; }
.site-footer a { color:var(--blue); font-weight:800; transition:color .2s; }
.site-footer a:hover { color:var(--red); }

/* SCROLL TOP */
.scroll-top {
  position:fixed; bottom:28px; right:28px;
  width:48px; height:48px;
  background:var(--red); color:white; border:none; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:1.2rem; font-weight:700;
  box-shadow:0 6px 20px rgba(201,49,49,.4);
  opacity:0; transform:translateY(12px);
  transition: opacity .3s, transform .3s, box-shadow .2s;
  z-index:30;
}
.scroll-top.visible { opacity:1; transform:translateY(0); }
.scroll-top:hover { box-shadow:0 10px 28px rgba(201,49,49,.55); transform:translateY(-3px); }

/* RESPONSIVE - tablet */
@media (max-width:900px) {
  .nav-toggle { display:block; }
  .site-nav {
    position:absolute; top:100%; left:0; right:0;
    display:none; padding:12px 18px 22px;
    color:var(--ink); background:rgba(255,255,255,.98);
    box-shadow:0 20px 35px rgba(15,42,60,.12);
  }
  .site-nav.is-open { display:grid; gap:6px; }
  .site-nav a { padding:12px 0; }
  .hero-body { padding:90px clamp(18px,5vw,48px) 40px; }
  .hero-facts, .intro, .company, .contact-inner { grid-template-columns:1fr; }
  .service-grid, .timeline { grid-template-columns:repeat(2,1fr); }
  .contact-actions { margin-top:0; }
  .timeline li::after { display:none; }
}

/* RESPONSIVE - mobile */
@media (max-width:620px) {
  .site-header { padding:12px 16px; }
  .brand small { display:none; }
  .brand-mark { width:40px; height:40px; }
  .hero-body { padding:80px 18px 32px; }
  .hero h1 { font-size:clamp(2.2rem,12vw,3.4rem); }
  .hero-media { background-position:65% center; }
  .hero-facts { grid-template-columns:1fr; }
  .hero-facts span {
    min-height:58px; border-right:none;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .hero-facts span:last-child { border-bottom:none; }
  .service-grid, .timeline, .facts-list { grid-template-columns:1fr; }
  .button { width:100%; justify-content:center; }
  .service-card, .timeline li { min-height:auto; }
  .site-footer { flex-direction:column; }
  .scroll-top { bottom:16px; right:16px; width:42px; height:42px; }
  .contact-inner { grid-template-columns:1fr; }
}
