/* ============================================================
   Kos Transporti — Global Stylesheet
   Aesthetic: minimal · sharp lines · flat · blue #0040aa / yellow #fff200
   ============================================================ */

:root {
  --blue: #002d78;
  --blue-600: #00265f;
  --blue-700: #001d4d;
  --blue-900: #04122e;
  --blue-050: #e9eef7;
  --blue-100: #cdd9ee;
  --yellow: #fff53d;
  --yellow-deep: #ecc91e;
  --ink: #0d1626;
  --muted: #55606f;
  --muted-2: #808a99;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #eef1f6;
  --line: #e2e7ee;
  --line-strong: #cbd3de;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(4, 18, 46, .05);
  --shadow-card: 0 2px 12px rgba(4, 18, 46, .06);
  --shadow: 0 12px 30px rgba(4, 18, 46, .10);
  --shadow-lg: 0 18px 44px rgba(4, 18, 46, .14);

  --container: 1220px;
  --header-h: 78px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Space Grotesk', var(--font-body);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--yellow-deep); }
.center .eyebrow { justify-content: center; }

.lead { font-size: 1.12rem; color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.center.section-head { margin-inline: auto; }

/* ---------- buttons: flat, sharp, uppercase ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 0;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-900); }
.btn--yellow { background: var(--yellow); color: var(--blue-900); }
.btn--yellow:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--yellow); color: var(--blue-900); }
.btn--lg { padding: 17px 36px; font-size: .84rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
/* frosted-glass effect once the page is scrolled */
.site-header.scrolled {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 8px 30px rgba(4,18,46,.10);
}
/* on mobile the slide-in panel is white, so keep the bar opaque when the menu is open */
body.menu-open .site-header { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; z-index: 2; }
.brand img { height: 40px; width: auto; transition: height .3s; }
.scrolled .brand img { height: 36px; }

.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .93rem;
  color: var(--ink); padding: 11px 16px; border-radius: 0;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 12px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-item:hover > .nav-link::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav-expand { display: none; }   /* mobile-only submenu toggle (desktop uses hover) */

/* dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 0; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 0;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink);
  transition: background .16s, color .16s;
}
.dropdown a .di { width: 36px; height: 36px; flex-shrink: 0; border-radius: 0; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; transition: background .18s, color .18s; }
.dropdown a .di svg { width: 18px; height: 18px; }
.dropdown a small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .77rem; color: var(--muted-2); }
.dropdown a:hover { background: var(--blue-050); color: var(--blue); }
.dropdown a:hover .di { background: var(--blue); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-item.mobile-cta { display: none; }
.nav-logo-li { display: none; }

/* language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .05em;
  color: var(--ink); padding: 9px 12px; border: 1px solid var(--line-strong); background: #fff;
  transition: color .2s, border-color .2s;
}
.lang-btn:hover { color: var(--blue); border-color: var(--blue); }
.lang-btn .caret { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.lang-switch.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 156px;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 130;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 13px;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink);
  transition: background .16s, color .16s;
}
.lang-menu button:hover { background: var(--blue-050); color: var(--blue); }
.lang-menu button.active { background: var(--blue-050); color: var(--blue); font-weight: 600; }

/* Google Translate — hide injected banner & chrome (keep the hidden combo working) */
#google_translate_element { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
/* the top banner is always an <iframe class="skiptranslate ...">; hide every variant */
iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.goog-te-gadget-icon { display: none !important; visibility: hidden !important; }
/* Google shifts the page down when translated — keep it pinned to the top */
body { top: 0 !important; position: static !important; }
.goog-tooltip, .goog-tooltip:hover, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* hamburger (right) */
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 0;
  position: relative; z-index: 120; flex-shrink: 0;
}
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .38s var(--ease), opacity .28s, top .38s var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(4, 18, 46, .5);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: 90;
}
body.menu-open .nav-overlay { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--blue-900); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,27,70,.96) 0%, rgba(0,45,120,.82) 48%, rgba(4,27,70,.4) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(76px, 12vw, 152px) 0 clamp(64px, 10vw, 118px); }
.hero-content { max-width: 780px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero p { color: rgba(255,255,255,.84); font-size: 1.18rem; margin: 24px 0 36px; max-width: 620px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--yellow); }

/* hero slider */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-slider::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(4,18,46,.9) 0%, rgba(4,18,46,.74) 44%, rgba(4,18,46,.34) 72%, rgba(4,18,46,.08) 100%);
}
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dots button { position: relative; overflow: hidden; width: 34px; height: 4px; background: rgba(255,255,255,.32); border-radius: 0; transition: width .35s var(--ease); }
.hero-dots button.is-active { width: 52px; }
/* active line fills over the slide duration = progress bar (mora odgovarati intervalu u main.js) */
.hero-dots button::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--yellow); }
.hero-dots button.is-active::after { animation: heroProgress 5500ms linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-dots button.is-active::after { animation: none; width: 100%; }
}

/* page hero (interior) */
.page-hero { position: relative; background: var(--blue-900); overflow: hidden; }
.page-hero .hero-media img { opacity: .26; }
.page-hero-inner { position: relative; z-index: 2; padding: clamp(58px, 9vw, 112px) 0 clamp(48px, 7vw, 82px); }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-top: 18px; max-width: 640px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumbs a, .breadcrumbs span { color: rgba(255,255,255,.65); font-family: var(--font-head); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { opacity: .45; }
.breadcrumbs .cur { color: #fff; }

/* ============================================================
   STAT / ODOMETER
   ============================================================ */
.stats { position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: #fff; padding: 34px 30px; box-shadow: var(--shadow-card); text-align: center;
}
.stat-ic { width: 48px; height: 48px; color: var(--blue); margin: 0 auto 18px; }
.stat-ic svg { width: 100%; height: 100%; stroke-width: 1.6; }
.stat-num {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.3rem, 4.2vw, 3.2rem); color: var(--blue);
  display: flex; align-items: baseline; justify-content: center; gap: 2px; line-height: 1;
}
.stat-num .odometer { display: inline-flex; }
.stat-num .suffix { color: var(--yellow-deep); }
.stat-label { margin-top: 12px; font-weight: 500; color: var(--muted); font-size: .98rem; }

/* odometer rolling digits */
.odometer { overflow: hidden; }
.od-digit { display: inline-block; height: 1em; overflow: hidden; position: relative; vertical-align: bottom; }
.od-ribbon { display: flex; flex-direction: column; transition: transform 5.5s cubic-bezier(.12, .75, .18, 1); }
.od-ribbon span { height: 1em; display: flex; align-items: center; justify-content: center; }

.stats--overlap { margin-top: -64px; }

/* ============================================================
   FEATURE / CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 0; border-radius: 0;
  padding: 36px 32px; box-shadow: var(--shadow-card);
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card .ic {
  width: 54px; height: 54px; border-radius: 0; display: grid; place-items: center;
  background: var(--blue); color: #fff; margin-bottom: 24px;
}
/* icon feature cards: center icon + text together (direct-child icon only,
   so image service cards with a nested icon accent stay left-aligned) */
.card:has(> .ic) { text-align: center; }
.card:has(> .ic) > .ic { margin-left: auto; margin-right: auto; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .96rem; }
.card .card-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; transition: gap .25s; }
.card .card-link svg { width: 15px; height: 15px; }
.card:hover .card-link { gap: 13px; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); transition: width .35s var(--ease); }
.card:hover::after { width: 100%; }

/* service card with image */
.svc-card { padding: 0; }
.svc-card:hover { background: #fff; }
.svc-card .svc-img { aspect-ratio: 16/11; overflow: hidden; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: saturate(1.02); }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-body { padding: 30px 32px 34px; }

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 0; box-shadow: none; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: 0; right: 0; background: var(--blue);
  color: #fff; border-radius: 0; padding: 20px 26px; font-family: var(--font-head);
}
.split-media .badge b { display: block; font-size: 2rem; line-height: 1; color: var(--yellow); }
.split-media .badge span { font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.split-body h2 { margin-bottom: 18px; }
.split-body p + p { margin-top: 16px; }

/* tick list */
.ticks { margin-top: 24px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.ticks li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.ticks.yellow li svg { color: var(--yellow-deep); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { background: var(--blue-050); color: var(--blue); border: 0; font-family: var(--font-head); font-weight: 500; font-size: .84rem; padding: 8px 15px; border-radius: 0; }

/* ============================================================
   PROSE
   ============================================================ */
.prose { max-width: 820px; }
.prose h2 { margin: 42px 0 16px; }
.prose h3 { margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; font-size: 1.04rem; }
.prose ul { margin: 4px 0 22px; display: grid; gap: 11px; }
.prose ul li { position: relative; padding-left: 28px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 2px; background: var(--yellow-deep); }
.prose ul li strong { color: var(--ink); }
.prose .callout { background: var(--bg-soft); border-left: 3px solid var(--blue); padding: 20px 24px; border-radius: 0; margin: 26px 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose code { background: var(--bg-soft-2); padding: 2px 6px; font-size: .9em; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--blue); border-left: 4px solid var(--yellow); border-radius: 0; padding: clamp(44px, 6vw, 72px); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin: 16px 0 28px; max-width: 560px; }

/* ============================================================
   CONTACT / FORMS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 8px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; box-shadow: var(--shadow-card); padding: 22px 24px; }
.info-item .ic { width: 44px; height: 44px; border-radius: 0; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ic svg { width: 21px; height: 21px; }
.info-item h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-family: var(--font-head); margin-bottom: 4px; }
.info-item a, .info-item p { color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--blue); }

.form-card { background: #fff; border: 0; border-radius: 0; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink); }
.field label .req { color: #d21f1a; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 0;
  background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue);
}
.field .hint { font-size: .8rem; color: var(--muted-2); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.check-line { display: flex; gap: 12px; align-items: flex-start; }
.check-line input { width: 19px; height: 19px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); border-radius: 0; }
.check-line label { font-weight: 400; font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.check-line a { color: var(--blue); text-decoration: underline; }
.form-status { display: none; padding: 14px 18px; border-radius: 0; font-size: .93rem; font-weight: 500; margin-top: 4px; }
.form-status.show { display: block; }
.form-status.ok { background: #edf7f0; color: #1a7a3e; border: 1px solid #bfe3cb; }
.form-status.err { background: #fbeceb; color: #b31f1a; border: 1px solid #f0c5c3; }
.form-note { font-size: .83rem; color: var(--muted-2); margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.form-section-title { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); grid-column: 1/-1; margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* directory (departments) */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir-grid.featured { grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }
.dir-grid.centered { grid-template-columns: repeat(2, 1fr); max-width: 764px; margin: 20px auto 0; }
@media (max-width: 520px) { .dir-grid.centered { grid-template-columns: 1fr; } }
.dir-card { background: #fff; padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: box-shadow .25s, transform .25s; }
.dir-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dir-card.lead-card { border-top: 3px solid var(--blue); }
.dir-card .dept { display: block; font-family: var(--font-head); font-size: .68rem; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.dir-card h4 { font-family: var(--font-head); font-size: 1.06rem; }
.dir-flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.dir-flags img.flag { width: 26px; height: 20px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(13,22,38,.14); }
.dir-card .lines { margin-top: 12px; display: grid; gap: 8px; }
.dir-card .lines a, .dir-card .lines span { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink); }
.dir-card .lines svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.dir-card .lines a:hover { color: var(--blue); text-decoration: underline; }

/* fleet types infographics (three side by side, uncropped, below text) */
.fleet-types { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
.fleet-types img { width: 100%; height: auto; }
@media (max-width: 820px) { .fleet-types { grid-template-columns: 1fr; gap: 30px; max-width: 620px; margin-inline: auto; } }

/* employment eligibility (careers) */
.callout--warn { background: #fff8e6; border-left-color: var(--yellow-deep); }
.callout--warn p { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.callout--warn svg { width: 21px; height: 21px; color: var(--yellow-deep); flex-shrink: 0; margin-top: 2px; }
.eligibility { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.elig-card { background: #fff; box-shadow: var(--shadow-card); padding: 32px 34px; border-top: 3px solid var(--blue); }
.elig-card.no { border-top-color: #d21f1a; }
.elig-card h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.elig-card h3 svg { width: 26px; height: 26px; flex-shrink: 0; }
.elig-card.yes h3 svg { color: var(--blue); }
.elig-card.no h3 svg { color: #d21f1a; }
.elig-card > p { color: var(--muted); }
.elig-group { margin-top: 15px; }
.elig-group h4 { font-family: var(--font-head); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.elig-group p { color: var(--ink); font-weight: 500; }
.elig-card.no ul { display: grid; gap: 11px; margin-top: 4px; }
.elig-card.no li { position: relative; padding-left: 26px; color: var(--muted); }
.elig-card.no li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 11px; height: 2px; background: #d21f1a; }
@media (max-width: 820px) { .eligibility { grid-template-columns: 1fr; } }

/* transfer reservation contact cards (spread across the page) */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card { background: #fff; box-shadow: var(--shadow-card); padding: 34px 24px; text-align: center; transition: box-shadow .28s var(--ease), transform .28s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card .ic { width: 52px; height: 52px; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-family: var(--font-head); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--ink); font-weight: 600; font-size: .96rem; word-break: break-word; }
.contact-card a:hover { color: var(--blue); }
@media (max-width: 820px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* homepage certificate logos */
.cert-logos { display: flex; gap: 36px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cert-logos img { height: 150px; width: auto; }

/* company facts (plain text, no table) */
.company-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 44px; max-width: 1000px; }
.company-facts .fact h4 { font-family: var(--font-head); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.company-facts .fact p { color: var(--ink); font-weight: 500; font-size: 1rem; }

/* map */
.map-wrap { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-card); border: 0; line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.15); }
.map-consent { width: 100%; height: 420px; background: var(--blue-050); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; line-height: 1.5; }
.map-consent-inner { max-width: 460px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.map-consent-inner p { color: var(--muted); font-size: .92rem; display: flex; gap: 8px; align-items: flex-start; text-align: left; }
.map-consent-inner p svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.map-consent-inner .map-alt { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.map-consent-inner .map-alt svg { width: 14px; height: 14px; }

/* certificates */
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 620px; }
.cert-card { background: #fff; border: 0; border-radius: 0; padding: 34px; box-shadow: var(--shadow-card); text-align: center; transition: box-shadow .25s, transform .25s; }
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-card img { height: 126px; width: auto; margin: 0 auto 16px; object-fit: contain; }
.cert-card h4 { font-family: var(--font-head); }
.cert-card p { font-size: .88rem; margin-top: 4px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-card); transition: transform .4s var(--ease); }
.gallery img:hover { transform: translateY(-4px); }

/* countries */
.country-list { display: flex; flex-wrap: wrap; gap: 8px; }
.country-list li { display: inline-flex; align-items: center; gap: 9px; background: var(--blue-050); border: 0; border-radius: 0; padding: 8px 14px; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--blue); }
.country-list img.flag { width: 21px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(13,22,38,.12); }

/* status note */
.wip-note { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-soft); color: var(--muted); border: 0; border-left: 3px solid var(--yellow-deep); border-radius: 0; padding: 10px 18px; font-family: var(--font-head); font-weight: 500; font-size: .86rem; }
.wip-note svg { width: 18px; height: 18px; color: var(--yellow-deep); }

/* transfer feature */
.tr-feature { display: flex; gap: 14px; align-items: center; }
.tr-feature .ic { width: 46px; height: 46px; border-radius: 0; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.tr-feature .ic svg { width: 23px; height: 23px; }
.tr-feature h4 { font-family: var(--font-head); }
.tr-feature p { font-size: .94rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding-top: clamp(44px, 5vw, 64px); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .footer-logo { display: block; height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.55; max-width: 300px; }
.footer-col h5 { color: var(--yellow); font-family: var(--font-head); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 3px; line-height: 1.25; }
.footer-col a { color: rgba(255,255,255,.62); font-size: .9rem; line-height: 1.3; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--yellow); padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; font-size: .9rem; line-height: 1.35; margin-bottom: 7px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: var(--yellow); }
.footer-col a.footer-cta { margin-top: 18px; color: var(--blue); padding: 15px 30px; }
.footer-col a.footer-cta:hover { color: var(--blue-900); background: var(--yellow); padding: 15px 30px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-bottom a { color: var(--yellow); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .designed { display: inline; }
.footer-legal { display: flex; gap: 14px; flex-wrap: nowrap; }
.footer-legal a { color: rgba(255,255,255,.55); font-size: .78rem; white-space: nowrap; }
.footer-legal a:hover { color: var(--yellow); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-lg); padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-text { max-width: 720px; }
.cookie-banner h4 { font-family: var(--font-head); font-size: 1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cookie-banner h4 svg { width: 20px; height: 20px; color: var(--blue); }
.cookie-banner p { font-size: .88rem; }
.cookie-banner p a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 24px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .od-ribbon { transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-actions .nav-cta.desktop-cta { display: none; }
  .nav-item.mobile-cta { display: block; }
  .nav-toggle { display: block; }

  .nav-menu {
    display: flex; position: fixed; top: 0; right: 0; height: 100dvh; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #fff; padding: 18px 22px 30px; z-index: 110;
    border-left: 1px solid var(--line-strong);
    box-shadow: -16px 0 48px rgba(4,27,70,.16);
    transform: translateX(100%); transition: transform .46s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  /* logo at the top of the opened mobile menu */
  .nav-logo-li { display: block; padding: 2px 4px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
  .nav-logo-li img { height: 40px; width: auto; }
  /* avoid a duplicate logo — hide the header one while the panel is open */
  body.menu-open .brand { opacity: 0; visibility: hidden; }
  body.menu-open .nav-menu { transform: translateX(0); }
  .nav-item { width: 100%; opacity: 0; transform: translateX(26px); transition: opacity .4s var(--ease), transform .4s var(--ease); border-bottom: 1px solid var(--line); }
  .nav-item.mobile-cta { border-bottom: 0; }
  body.menu-open .nav-item { opacity: 1; transform: none; }
  body.menu-open .nav-item:nth-child(1) { transition-delay: .08s; }
  body.menu-open .nav-item:nth-child(2) { transition-delay: .13s; }
  body.menu-open .nav-item:nth-child(3) { transition-delay: .18s; }
  body.menu-open .nav-item:nth-child(4) { transition-delay: .23s; }
  body.menu-open .nav-item:nth-child(5) { transition-delay: .28s; }
  body.menu-open .nav-item:nth-child(6) { transition-delay: .33s; }
  body.menu-open .nav-item:nth-child(7) { transition-delay: .38s; }
  .nav-link { width: 100%; justify-content: space-between; padding: 17px 4px; font-size: 1.02rem; border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-item:hover .caret { transform: none; }
  /* has-dd row: label link navigates, separate caret button toggles the submenu */
  .nav-item.has-dd { display: flex; flex-wrap: wrap; align-items: stretch; }
  .nav-item.has-dd > .nav-link { flex: 1 1 auto; width: auto; }
  .nav-item.has-dd > .nav-link .caret { display: none; }
  .nav-expand {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 54px; align-self: stretch;
    background: none; border: 0; border-left: 1px solid var(--line);
    color: var(--ink); cursor: pointer;
  }
  .nav-expand .caret { width: 15px; height: 15px; transition: transform .3s var(--ease); }
  .nav-expand.open .caret { transform: rotate(180deg); }
  .nav-item.has-dd > .dropdown { flex: 0 0 100%; }

  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; border-left: 2px solid var(--blue-050); border-radius: 0; margin: 0 0 8px 4px;
    padding: 0 0 0 6px; min-width: 0; max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .dropdown.open { max-height: 560px; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 13px 12px; }
  .dropdown a small { display: none; }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { transform: none; }

  .nav-item.mobile-cta { margin-top: 18px; }
  .nav-item.mobile-cta .btn { width: 100%; }
}
@media (max-width: 820px) {
  .hero-slider::after { background: linear-gradient(180deg, rgba(4,18,46,.55) 0%, rgba(4,18,46,.8) 100%); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .dir-grid { grid-template-columns: 1fr 1fr; }
  .company-facts { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cookie-banner { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .dir-grid, .dir-grid.featured { grid-template-columns: 1fr; }
  .company-facts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { max-width: none; }
  .footer-brand .footer-logo { margin-left: auto; margin-right: auto; -webkit-mask-position: center; mask-position: center; }
  .footer-col ul { justify-items: center; }
  .footer-contact li { justify-content: center; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }
  .footer-bottom .sep-pipe { display: none; }
  .footer-bottom .designed { display: block; }
  .btn { width: 100%; }
  /* center the hero slider content on mobile */
  .hero-content { text-align: center; margin-inline: auto; }
  .hero p { max-width: none; margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero .btn-row .btn { width: auto; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
