/* Blu Service Logistic — 2026 */
:root {
  /* palette derived from the Blu Service Logistic logo */
  --navy: #062a4a;
  --navy-2: #004d85;
  --blue: #007abd;
  --blue-soft: #e6f2fa;
  --orange: #c8410b;        /* dolphin fin – text/buttons on light bg */
  --orange-light: #ff7a3d;  /* accents on dark bg */
  --ink: #16202e;
  --muted: #5b6778;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--orange); margin: 0 0 .9em; }
.accent { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 650; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #ad3808; }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }

/* Header */
.contact-form { position: relative; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11,37,69,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .96rem; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--orange); transition: right .2s; }
.nav > a:not(.btn):hover { text-decoration: none; }
.nav > a:not(.btn):hover::after, .nav > a.active::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, #0a6aa8 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(64px, 10vw, 120px) 0 clamp(120px, 16vw, 200px); }
.hero .eyebrow, .hero .accent, .section-dark .eyebrow { color: var(--orange-light); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg svg { width: 100%; height: 100%; }
.route { stroke-dasharray: 260 1400; animation: drive 7s linear infinite; }
@keyframes drive { from { stroke-dashoffset: 1660; } to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; max-width: 820px; margin-left: max(16px, calc((100% - 1160px) / 2)); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9d6ea; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 56px 0 0; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: rgba(11,37,69,.55); padding: 22px 24px; }
.stats dt { font-size: .82rem; color: #9fb3cf; text-transform: uppercase; letter-spacing: .08em; }
.stats dd { margin: 4px 0 0; font-size: 2rem; font-weight: 800; }
.stats small { font-size: .95rem; font-weight: 600; color: #c9d6ea; }

/* Photos */
.showcase { position: relative; margin-top: calc(-1 * clamp(90px, 13vw, 170px)); z-index: 2; }
.showcase img, .banner img, .contact-photo img { width: 100%; height: auto; border-radius: 18px; }
.showcase img { box-shadow: 0 30px 60px -25px rgba(6, 42, 74, .55); }
.banner { display: block; margin-bottom: 56px; }
.banner img { box-shadow: var(--shadow); }
.contact-photo { display: block; margin-top: 32px; }
.contact-photo img { border: 1px solid rgba(255,255,255,.15); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 110px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.services li { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 24px 28px; }
.services .num { font-weight: 800; font-size: 1.1rem; color: var(--orange); min-width: 2ch; }
.services p { margin: 0; color: var(--muted); }

.fleet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fleet-item { text-align: center; padding: 32px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-alt), #fff); border: 1px solid var(--line); }
.fleet-item svg { width: 120px; height: 60px; margin: 0 auto 20px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linejoin: round; }
.fleet-item svg .snow { stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.fleet-item svg .lines { stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 3 3; }
.fleet-item svg .win { fill: var(--blue-soft); stroke-width: 1.6; }
.fleet-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Contact */
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6edf7; }
.section-dark h2 { color: #fff; }
.section-dark .lead { color: #fff; font-size: 1.2rem; }
.mail-card { display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 1.08rem; transition: background .2s; }
.mail-card:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.mail-card svg { width: 30px; height: 30px; fill: none; stroke: var(--orange-light); stroke-width: 1.8; }
.mail-card small { display: block; font-weight: 500; font-size: .8rem; color: #9fb3cf; }

.contact-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: .75em .9em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.contact-form .btn { justify-self: start; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .85rem; }
.contact-form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form [aria-invalid="true"] { border-color: #b42318; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.form-status.ok { background: #e7f6ec; color: #14532d; }
.form-status.err { background: #fdecea; color: #8a1c12; }

/* Partner */
.partner { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg-alt); }
.partner-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.partner .eyebrow { margin: 0; color: var(--muted); }
.partner a { color: var(--ink); display: inline-flex; align-items: center; gap: 14px; }
.partner img { height: 48px; width: auto; }

/* Footer */
.site-footer { background: #07182e; color: #b6c3d6; padding: 56px 0 24px; font-size: .94rem; }
.site-footer a { color: #dfe8f4; }
.footer-logo { width: 150px; height: auto; border-radius: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-inner nav { display: grid; gap: 8px; align-content: start; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .84rem; color: #7f91ab; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .fleet { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .section-head { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .header-inner { height: 72px; }
  .brand img { height: 56px; }
  .nav { top: 72px; }
  .banner { margin-bottom: 36px; }
  .grid-3, .fleet, .contact-form .row, .footer-inner { grid-template-columns: 1fr; }
  .stats dd { font-size: 1.6rem; }
  .stats > div { padding: 16px; }
  .contact-form { padding: 22px; }
  .services li { padding: 20px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .site-header, .hero-bg, .contact-form, .nav-toggle { display: none; }
  .hero, .section-dark { background: none; color: #000; }
}
