/* ============================================================
   DSB Logistics — cinematic site styles
   Loads tokens from ../styles.css (linked separately in the page)
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: #0a1d31;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0; line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--dsb-blue-400); color: #04121f; }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0a1d31; }
::-webkit-scrollbar-thumb { background: var(--dsb-blue-700); border-radius: 10px; border: 3px solid #0a1d31; }
::-webkit-scrollbar-thumb:hover { background: var(--dsb-blue-500); }

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

.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gradient-brand); display: inline-block; }
.eyebrow.on-dark { color: var(--dsb-blue-300); }
.eyebrow.center { justify-content: center; }

/* chevron motif overlay */
.chevpattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M6 8l12 14L6 36' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.05'/%3E%3Cpath d='M24 8l12 14L24 36' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200; background: linear-gradient(90deg, var(--dsb-blue-500), var(--dsb-blue-300)); box-shadow: 0 0 12px rgba(56,166,226,0.7); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-md);
  padding: 15px 28px; border-radius: var(--radius-md); border: 1.5px solid transparent;
  cursor: pointer; overflow: hidden; white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), background var(--duration-base), color var(--duration-base), border-color var(--duration-base);
}
.btn i { width: 18px; height: 18px; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-18deg); transition: left 0.6s var(--ease-out); }
.btn:hover::after { left: 130%; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(26,117,192,0.45); }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-ghost { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.13); border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--color-primary); border-color: var(--border-default); }
.btn-outline:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 34px; font-size: var(--text-lg); }

/* ============================================================
   NAV
   ============================================================ */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0;
  transition: background var(--duration-base), box-shadow var(--duration-base), padding var(--duration-base), border-color var(--duration-base);
  border-bottom: 1px solid transparent; }
header.nav.scrolled { background: rgba(9,24,40,0.82); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 8px 30px rgba(4,15,28,0.4); padding: 11px 0; border-bottom-color: rgba(110,190,237,0.14); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 48px; transition: height var(--duration-base); filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
header.nav.scrolled .nav-logo { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a.link { color: #eaf3fb; font-weight: 500; font-size: var(--text-md); position: relative; padding: 4px 0; opacity: 0.9; }
.nav-links a.link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--dsb-blue-400); box-shadow: 0 0 8px rgba(56,166,226,0.8); transition: width var(--duration-base); }
.nav-links a.link:hover { opacity: 1; }
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; }
.nav-toggle i { width: 30px; height: 30px; }

/* ============================================================
   HERO — animated road, aurora, speedlines, glass card
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 120% at 70% -10%, #1a4e80 0%, #0e2740 45%, #081726 100%); }

/* perspective road floor */
.hero-road { position: absolute; left: 50%; bottom: -6%; width: 260%; height: 72%; z-index: 1;
  transform: translateX(-50%) perspective(520px) rotateX(61deg); transform-origin: 50% 100%;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(110,190,237,0.30) 89px 91px),
    repeating-linear-gradient(0deg, transparent 0 89px, rgba(110,190,237,0.16) 89px 91px);
  animation: roadmove 2.6s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 50% 100%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 85% at 50% 100%, #000 25%, transparent 72%); }
@keyframes roadmove { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 91px; } }
.hero-horizon { position: absolute; left: 0; right: 0; top: 44%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(110,190,237,0.55), transparent);
  box-shadow: 0 0 40px 8px rgba(56,166,226,0.35); }

/* drifting aurora glows */
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 1; opacity: 0.55; pointer-events: none; }
.aurora.a1 { width: 620px; height: 620px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(56,166,226,0.55), transparent 65%); animation: drift1 16s ease-in-out infinite; }
.aurora.a2 { width: 520px; height: 520px; bottom: -120px; left: -100px; background: radial-gradient(circle, rgba(26,117,192,0.5), transparent 65%); animation: drift2 19s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-60px,40px);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(50px,-40px);} }

/* streaming chevrons */
.speedlines { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.chev { position: absolute; color: rgba(110,190,237,0.0); animation: chevfly linear infinite; }
.chev svg { display: block; }
@keyframes chevfly { 0% { transform: translateX(-12vw); opacity: 0; } 12% { opacity: 0.5; } 88% { opacity: 0.5; } 100% { transform: translateX(112vw); opacity: 0; } }

.hero-bg { position: absolute; inset: -10% 0 0 0; z-index: 0; }
.hero-bg image-slot { width: 100%; height: 116%; opacity: 0.32; --is-radius: 0; }
.hero-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,23,38,0.55) 0%, transparent 22%, transparent 60%, rgba(8,23,38,0.85) 100%),
              linear-gradient(95deg, rgba(8,23,38,0.7) 0%, transparent 55%); }

.hero-content { position: relative; z-index: 5; padding: 130px 0 90px; max-width: 880px; }
.hero h1 { color: #fff; font-size: clamp(42px, 5.6vw, 78px); font-weight: 700; max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(100deg, #6FBEED, #38A6E2 55%, #1E8AD2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.word { display: inline-block; vertical-align: top; }
.word > span { display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease-out); }
body.loaded .word > span { opacity: 1; transform: none; }
.hero h1 .word:nth-child(1) > span { transition-delay: .05s; }
.hero h1 .word:nth-child(2) > span { transition-delay: .14s; }
.hero h1 .word:nth-child(3) > span { transition-delay: .23s; }
.hero h1 .word:nth-child(4) > span { transition-delay: .34s; }
.hero h1 .word:nth-child(5) > span { transition-delay: .45s; }
.hero-sub { color: #c7ddf0; font-size: clamp(17px, 1.5vw, 21px); line-height: var(--leading-relaxed); max-width: 56ch; margin-top: 24px; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease-out); }
body.loaded .hero-sub { opacity: 1; transform: none; transition-delay: .55s; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero .hero-actions { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease-out); }
body.loaded .hero .hero-actions { opacity: 1; transform: none; transition-delay: .68s; }
.hero-mini { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s var(--ease-out); }
body.loaded .hero-mini { opacity: 1; transform: none; transition-delay: .8s; }
.hero-mini .m { display: flex; align-items: center; gap: 10px; color: #cfe1f1; font-weight: 500; }
.hero-mini .m i { width: 20px; height: 20px; color: var(--dsb-blue-300); }

/* floating live-shipment glass card */
.live-card { position: absolute; right: max(32px, calc(50% - 660px + 24px)); bottom: 96px; z-index: 6; width: 340px;
  background: rgba(13,34,56,0.55); border: 1px solid rgba(110,190,237,0.25); border-radius: var(--radius-lg);
  padding: 20px; backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 24px 60px rgba(4,15,28,0.55);
  opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
body.loaded .live-card { opacity: 1; transform: none; transition-delay: .85s; }
.live-card .lc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.live-card .lc-id { font-family: var(--font-mono); font-size: 13px; color: #9cc6e8; letter-spacing: 0.02em; }
.live-card .lc-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #5fe0a6; background: rgba(30,158,99,0.16); padding: 5px 11px; border-radius: var(--radius-pill); }
.live-card .lc-dot { width: 7px; height: 7px; border-radius: 50%; background: #34e29a; box-shadow: 0 0 0 0 rgba(52,226,154,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(52,226,154,0.55);} 70%{ box-shadow: 0 0 0 9px rgba(52,226,154,0);} 100%{ box-shadow: 0 0 0 0 rgba(52,226,154,0);} }
.live-card .lc-route { display: flex; align-items: center; justify-content: space-between; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 14px; }
.live-card .lc-route i { width: 18px; height: 18px; color: var(--dsb-blue-300); }
.lc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.12); overflow: hidden; position: relative; }
.lc-bar > span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gradient-brand); border-radius: 6px; transition: width 2.4s var(--ease-out); }
body.loaded .lc-bar > span { width: 68%; transition-delay: 1.3s; }
.lc-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #9cc6e8; }

.scrolldown { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6; color: rgba(255,255,255,0.65); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.scrolldown i { width: 22px; height: 22px; animation: bob 1.8s var(--ease-standard) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(7px);} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--color-navy); border-top: 1px solid rgba(110,190,237,0.12); border-bottom: 1px solid rgba(110,190,237,0.12); padding: 22px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; width: 140px; height: 100%; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--color-navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--color-navy), transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee-track .mi { display: inline-flex; align-items: center; gap: 46px; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1px rgba(155,198,232,0.5); text-transform: uppercase; }
.marquee-track .mi .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dsb-blue-400); -webkit-text-stroke: 0; box-shadow: 0 0 10px rgba(56,166,226,0.8); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
section.block { padding: 110px 0; position: relative; }
.light { background: var(--surface-card); color: var(--text-body); }
.lightgray { background: var(--surface-page); }
.dark { background: #0b2138; color: #c7ddf0; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-muted); }
.dark .section-head p { color: #9cc6e8; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 28px 18px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(110,190,237,0.08), rgba(110,190,237,0.02)); border: 1px solid rgba(110,190,237,0.16); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 60px); color: #fff; line-height: 1; }
.stat .num .suf { color: var(--dsb-blue-300); }
.stat .lab { margin-top: 12px; color: #9cc6e8; font-weight: 500; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media image-slot { width: 100%; height: 480px; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.about-media .glowring { position: absolute; inset: -14px; border-radius: var(--radius-2xl); background: var(--gradient-brand); filter: blur(34px); opacity: 0.3; z-index: -1; }
.about-badge { position: absolute; left: -26px; bottom: -26px; background: var(--gradient-brand); color: #fff; padding: 22px 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge .b-num { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; }
.about-badge .b-lab { font-size: 13px; opacity: 0.92; margin-top: 4px; max-width: 16ch; }
.about-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.about-list .it { display: flex; gap: 14px; align-items: flex-start; }
.about-list .it i { width: 22px; height: 22px; color: var(--color-primary); flex: none; margin-top: 2px; }
.about-list .it strong { color: var(--text-strong); display: block; font-size: var(--text-md); margin-bottom: 2px; }
.about-list .it span { color: var(--text-muted); font-size: var(--text-md); line-height: var(--leading-snug); }

/* ---------- services (glow tilt cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { position: relative; border-radius: var(--radius-lg); padding: 34px 30px; overflow: hidden;
  background: rgba(13,34,56,0.5); border: 1px solid rgba(110,190,237,0.16);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base), border-color var(--duration-base);
  transform-style: preserve-3d; }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(56,166,226,0.7), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--duration-base); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(4,15,28,0.5); border-color: transparent; }
.svc:hover::before { opacity: 1; }
.svc-ico { width: 58px; height: 58px; border-radius: var(--radius-md); background: rgba(56,166,226,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background var(--duration-base), box-shadow var(--duration-base); }
.svc-ico i { width: 28px; height: 28px; color: var(--dsb-blue-300); }
.svc:hover .svc-ico { background: var(--gradient-brand); box-shadow: 0 10px 24px rgba(26,117,192,0.45); }
.svc:hover .svc-ico i { color: #fff; }
.svc h3 { font-size: var(--text-xl); margin-bottom: 10px; color: #fff; }
.svc p { color: #9cc6e8; line-height: var(--leading-relaxed); font-size: var(--text-md); }

/* ============================================================
   ROUTE NETWORK (signature)
   ============================================================ */
.routemap { position: relative; }
.route-wrap { position: relative; margin-top: 30px; border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #123a5f, #0a1d31 70%); border: 1px solid rgba(110,190,237,0.18); }
.route-svg { display: block; width: 100%; height: auto; }
.route-path { fill: none; stroke: rgba(110,190,237,0.35); stroke-width: 2; stroke-linecap: round; }
.route-path.main { stroke: url(#routeGrad); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-node circle.core { fill: #0a1d31; stroke: var(--dsb-blue-400); stroke-width: 2.5; }
.route-node circle.ring { fill: none; stroke: var(--dsb-blue-400); opacity: 0.6; transform-box: fill-box; transform-origin: center; animation: noderipple 2.4s ease-out infinite; }
.route-node.hub circle.core { fill: var(--dsb-blue-400); }
.euromap path { fill: url(#euroFill); stroke: rgba(110,190,237,0.14); stroke-width: 1.1; stroke-linejoin: round; }
.route-node.headquarters circle.core { fill: var(--signal-amber); stroke: #fff; stroke-width: 2.5; }
.route-node.headquarters circle.ring { stroke: var(--signal-amber); opacity: 0.75; animation: noderipple-hq 2.6s ease-out infinite; }
.route-node.headquarters text { fill: #fff; font-weight: 700; }
.route-node.headquarters text.hq-tag { fill: var(--signal-amber); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
@keyframes noderipple-hq { 0%{ r: 8; opacity: 0.75; } 100%{ r: 28; opacity: 0; } }
.route-node text { fill: #cfe1f1; font-family: var(--font-body); font-weight: 600; font-size: 15px; }
@keyframes noderipple { 0%{ r: 7; opacity: 0.6; } 100%{ r: 22; opacity: 0; } }
.pkg { fill: #fff; filter: drop-shadow(0 0 6px rgba(56,166,226,0.9)); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.why { display: flex; gap: 18px; align-items: flex-start; }
.why-ico { width: 52px; height: 52px; flex: none; border-radius: var(--radius-md); border: 1.5px solid var(--dsb-blue-200); display: flex; align-items: center; justify-content: center; transition: background var(--duration-base), border-color var(--duration-base); }
.why-ico i { width: 24px; height: 24px; color: var(--color-primary); transition: color var(--duration-base); }
.why:hover .why-ico { background: var(--gradient-brand); border-color: transparent; }
.why:hover .why-ico i { color: #fff; }
.why h3 { font-size: var(--text-lg); margin-bottom: 7px; }
.why p { color: var(--text-muted); line-height: var(--leading-relaxed); font-size: var(--text-md); }

/* ---------- fleet gallery ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; gap: 20px; max-width: 1120px; margin: 48px auto 0; }
.fleet-grid image-slot { width: 100%; height: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; outline: 1px solid rgba(12,29,61,0.06); outline-offset: -1px; transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base); }
.fleet-grid image-slot:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.fleet-grid .tall { grid-row: span 2; height: 100%; }
.fleet-grid .wide { grid-column: span 2; }

/* ---------- certificates ---------- */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 48px auto 0; }
.cert-card { display: flex; gap: 22px; align-items: center; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 26px 28px; box-shadow: var(--shadow-sm); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base); }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-logo { width: 104px; height: 104px; flex: none; border-radius: var(--radius-lg); background: var(--surface-page); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-logo image-slot { width: 100%; height: 100%; --is-radius: 11px; }
.cert-body h3 { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-strong); margin: 0; letter-spacing: var(--tracking-tight); }
.cert-tag { display: block; font-size: var(--text-sm); color: var(--color-primary); font-weight: 600; margin: 3px 0 9px; }
.cert-body p { margin: 0; color: var(--text-muted); font-size: var(--text-md); line-height: var(--leading-relaxed); }
@media (max-width: 720px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- carrier trailer-type checkboxes ---------- */
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); cursor: pointer; font-size: var(--text-md); color: var(--text-body); user-select: none; transition: border-color var(--duration-base), background var(--duration-base), color var(--duration-base); }
.checks label:hover { border-color: var(--dsb-blue-300); }
.checks input { width: 16px; height: 16px; accent-color: var(--color-primary); margin: 0; }
.checks label:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); color: var(--color-primary); font-weight: 600; }

/* ---------- documents ---------- */
.doc-groups { display: grid; gap: 38px; margin-top: 48px; }
.doc-group h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--text-strong); letter-spacing: var(--tracking-tight); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.doc-group h3::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gradient-brand); }
.doc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc { display: flex; align-items: center; gap: 13px; padding: 15px 17px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); color: var(--text-strong); text-decoration: none; transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base), box-shadow var(--duration-base); }
.doc:hover { transform: translateY(-3px); border-color: var(--dsb-blue-300); box-shadow: var(--shadow-md); }
.doc .doc-ico { width: 42px; height: 42px; flex: none; border-radius: var(--radius-md); background: var(--dsb-blue-50); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.doc .doc-ico i { width: 20px; height: 20px; }
.doc .doc-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc .doc-name { font-weight: 600; font-size: var(--text-md); line-height: 1.3; }
.doc .doc-ext { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--text-subtle); }
.doc .doc-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--text-subtle); flex: none; transition: color var(--duration-base), transform var(--duration-base); }
.doc:hover .doc-arrow { color: var(--color-primary); transform: translateY(2px); }
@media (max-width: 900px) { .doc-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .doc-list { grid-template-columns: 1fr; } }

/* ---------- standalone subpages (no hero) ---------- */
body.subpage header.nav { background: rgba(9,24,40,0.92); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 8px 30px rgba(4,15,28,0.4); border-bottom-color: rgba(110,190,237,0.14); padding: 11px 0; }
body.subpage header.nav .nav-logo { height: 38px; }
body.subpage section:first-of-type { padding-top: 128px; }

/* ---------- coverage ---------- */
.cov { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.cov-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: var(--radius-pill);
  background: var(--surface-card); border: 1px solid var(--border-subtle); font-weight: 600; color: var(--text-body); font-size: var(--text-md);
  transition: transform var(--duration-fast), border-color var(--duration-base), color var(--duration-base), box-shadow var(--duration-base); }
.chip:hover { transform: translateY(-3px); border-color: var(--dsb-blue-300); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.chip i { width: 16px; height: 16px; color: var(--dsb-blue-400); }

/* ---------- process + truck ---------- */
.proc-wrap { position: relative; }
.proc-rail { position: relative; height: 3px; background: var(--border-subtle); border-radius: 3px; margin: 0 4% 0; }
.proc-rail .fillline { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gradient-brand); border-radius: 3px; }
.proc-truck { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin-left: -26px; transform: translateY(-50%);
  background: var(--gradient-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(26,117,192,0.5); }
.proc-truck i { width: 26px; height: 26px; color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.step { position: relative; padding-top: 18px; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 54px; color: var(--dsb-blue-100); line-height: 1; }
.step h3 { font-size: var(--text-lg); margin: 8px 0 8px; }
.step p { color: var(--text-muted); line-height: var(--leading-relaxed); font-size: var(--text-md); }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; background: var(--gradient-brand); border-radius: 2px; }

/* ---------- CTA glow ---------- */
.cta-band { position: relative; padding: 130px 0; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, #1a4e80, #0e2740 60%, #081726); }
.cta-band .aurora.c1 { width: 560px; height: 560px; top: -200px; left: 50%; margin-left: -280px; opacity: 0.5; background: radial-gradient(circle, rgba(56,166,226,0.6), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); max-width: 18ch; margin: 0 auto; position: relative; z-index: 2; }
.cta-band p { color: #cfe1f1; font-size: var(--text-lg); margin: 20px auto 0; max-width: 56ch; position: relative; z-index: 2; }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 2; opacity: 1; transform: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .ci { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .ci .ico { width: 48px; height: 48px; flex: none; border-radius: var(--radius-md); background: var(--dsb-blue-50); display: flex; align-items: center; justify-content: center; }
.contact-info .ci .ico i { width: 22px; height: 22px; color: var(--color-primary); }
.contact-info .ci .lab { font-size: var(--text-sm); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-info .ci .val { color: var(--text-strong); font-size: var(--text-lg); font-weight: 600; margin-top: 3px; }
.form { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 38px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--text-strong); font-size: var(--text-sm); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-default); border-radius: var(--radius-md); font-family: var(--font-body); font-size: var(--text-md); color: var(--text-strong); background: var(--surface-card); transition: border-color var(--duration-base), box-shadow var(--duration-base); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--border-focus); box-shadow: var(--focus-ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: var(--text-sm); color: var(--text-subtle); margin-top: 14px; text-align: center; }

/* ---------- footer ---------- */
footer.foot { background: #081726; color: #9cc6e8; padding: 72px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-logo { height: 50px; margin-bottom: 22px; }
.foot-about { line-height: var(--leading-relaxed); font-size: var(--text-md); max-width: 36ch; }
.foot-col h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: var(--text-md); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col ul a { font-size: var(--text-md); opacity: 0.86; transition: opacity var(--duration-base), color var(--duration-base); }
.foot-col ul a:hover { opacity: 1; color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: var(--text-sm); flex-wrap: wrap; gap: 12px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: background var(--duration-base), border-color var(--duration-base); }
.foot-social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.foot-social i { width: 18px; height: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.09s; } .reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; } .reveal.d4 { transition-delay: 0.36s; }
.reveal.d5 { transition-delay: 0.45s; } .reveal.d6 { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-road, .aurora, .chev, .scrolldown i, .marquee-track, .lc-dot, .route-node circle.ring, .route-node.headquarters circle.ring { animation: none !important; }
  .word > span, .hero-sub, .hero .hero-actions, .hero-mini, .live-card, .lc-bar > span { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .live-card { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 1000px) {
  .svc-grid, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .cov, .contact { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .proc-truck, .proc-rail { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); flex-direction: column; align-items: flex-start; justify-content: center;
    background: var(--color-navy); padding: 40px; gap: 26px; transform: translateX(100%); transition: transform var(--duration-slow) var(--ease-out); box-shadow: -10px 0 40px rgba(0,0,0,0.4); }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 110; }
  section.block { padding: 76px 0; }
  .svc-grid, .why-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-badge { left: 12px; }
  .marquee-track .mi { font-size: 24px; }
}


/* ---------- skonto ---------- */
.skonto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; align-items: start; }
.skonto-card { position: relative; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 32px 30px; box-shadow: var(--shadow-sm); }
.skonto-card > h3 { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-strong); letter-spacing: var(--tracking-tight); margin: 0 0 6px; padding-right: 56px; }
.skonto-card .lead { color: var(--text-muted); font-size: var(--text-md); margin: 0 0 22px; line-height: var(--leading-relaxed); }
.skonto-num { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; box-shadow: var(--shadow-brand); }
.rate-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.rate { flex: 1; min-width: 130px; border: 1.5px solid var(--dsb-blue-200); background: var(--dsb-blue-50); border-radius: var(--radius-lg); padding: 16px 18px; text-align: center; }
.rate .pct { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--color-primary); }
.rate .when { display: block; margin-top: 6px; font-size: var(--text-sm); color: var(--text-body); font-weight: 600; }
.skonto-steps { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.skonto-steps li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-body); font-size: var(--text-md); line-height: var(--leading-normal); }
.skonto-steps li i { width: 19px; height: 19px; color: var(--color-primary); flex: none; margin-top: 2px; }
.sub { border-top: 1px solid var(--border-subtle); padding-top: 18px; margin-top: 18px; }
.sub h4 { font-family: var(--font-display); font-size: var(--text-lg); color: var(--text-strong); margin: 0 0 8px; display: flex; align-items: center; gap: 9px; }
.sub h4 .tagchip { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--color-primary); background: var(--color-primary-soft); padding: 3px 9px; border-radius: var(--radius-pill); }
.sub p { color: var(--text-muted); font-size: var(--text-md); line-height: var(--leading-relaxed); margin: 0 0 12px; }
.skonto-cta { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: var(--text-md); color: var(--color-primary); text-decoration: none; }
.skonto-cta i { width: 17px; height: 17px; }
.skonto-cta:hover { text-decoration: underline; }
.warn { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 15px 17px; border-radius: var(--radius-lg); background: var(--status-warning-soft); border: 1px solid color-mix(in oklab, var(--status-warning) 35%, transparent); }
.warn i { width: 20px; height: 20px; color: var(--status-warning-ink); flex: none; margin-top: 1px; }
.warn p { margin: 0; color: var(--status-warning-ink); font-size: var(--text-sm); line-height: var(--leading-normal); font-weight: 500; }
@media (max-width: 820px) { .skonto-grid { grid-template-columns: 1fr; } }
