/* ============================================================
   MAURI LINE LOGISTIC — Design System
   Palette: Deep Blue #062944 / Cyan #12b6c9 / Orange accent
   ============================================================ */

:root {
  --blue-900: #041d31;
  --blue-800: #062944;
  --blue-700: #0a3a5e;
  --blue-600: #0f5183;
  --cyan-500: #12b6c9;
  --cyan-400: #37d0e0;
  --cyan-600: #0d93a3;
  --amber: #ff8a3d;
  --amber-600: #f2751f;
  --ink: #16283a;
  --muted: #5a6b7d;
  --line: #e3ebf2;
  --bg: #ffffff;
  --bg-soft: #f3f8fb;
  --bg-blue-grad: linear-gradient(135deg, #041d31 0%, #062944 45%, #0a3a5e 100%);
  --shadow-sm: 0 4px 14px rgba(6, 41, 68, .07);
  --shadow-md: 0 12px 34px rgba(6, 41, 68, .12);
  --shadow-lg: 0 28px 60px rgba(6, 41, 68, .18);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Tajawal", "Segoe UI", Tahoma, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { width: 24px; height: 24px; flex: none; }

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

/* Typography */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; color: var(--blue-800); letter-spacing: -.2px; }
.section-tag { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan-600); font-weight: 800; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; background: rgba(18,182,201,.1); padding: 7px 15px 7px 12px; border-radius: 6px; }
.section-tag::before { content: ""; width: 9px; height: 9px; background: var(--cyan-500); border-radius: 2px; transform: rotate(45deg); }
.section-head.text-center .section-tag { }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; }
.section-head { margin-bottom: 46px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 9px; font-weight: 800; font-size: .98rem; cursor: pointer; border: none; transition: all .35s var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn-cyan { background: var(--cyan-500); color: #032027; box-shadow: 0 12px 26px rgba(18,182,201,.35); }
.btn-cyan:hover { background: var(--cyan-400); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(18,182,201,.45); }
.btn-amber { background: var(--amber); color: #2b1300; box-shadow: 0 12px 26px rgba(255,138,61,.35); }
.btn-amber:hover { background: var(--amber-600); transform: translateY(-3px); }
.btn-navy { background: var(--blue-800); color: #fff; }
.btn-navy:hover { background: var(--blue-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: #fff; color: var(--blue-800); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--blue-800); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--cyan-500); color: var(--cyan-600); transform: translateY(-3px); }

/* TOPBAR */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 1001; height: 44px; background: var(--blue-900); color: rgba(255,255,255,.85); font-size: .93rem; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); transition: color .25s var(--ease); font-weight: 500; }
.topbar a:hover { color: var(--cyan-400); }
.topbar svg { width: 17px; height: 17px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 44px; gap: 16px; }
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-wa { color: #4ade80 !important; font-weight: 700; }
.topbar-wa:hover { color: #86efac !important; }
@media (max-width: 720px) { .topbar-contact a:nth-child(2) { display: none; } .topbar-social a:not(.topbar-wa) { display: none; } }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 1200; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }

/* NAVBAR */
.nav { position: fixed; inset: 44px 0 auto 0; z-index: 1000; padding: 16px 0; transition: all .4s var(--ease); }
.nav.scrolled { background: rgba(255,255,255,.93); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 13px; flex: none; background: linear-gradient(135deg, var(--cyan-500), var(--blue-600)); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(18,182,201,.3); }
.brand-mark svg { width: 26px; height: 26px; color: #fff; }
/* real logo (white background jpeg) — wider & taller chip, works on light & dark navs */
.brand-mark.brand-logo { width: 100px; height: 58px; background: #fff; padding: 4px; overflow: hidden; }
.brand-mark.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 9px; }
@media (max-width: 480px) { .brand-mark.brand-logo { width: 82px; height: 50px; } }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { color: var(--blue-800); font-size: 1.1rem; font-weight: 900; }
.brand-name small { color: var(--muted); font-size: .68rem; letter-spacing: 2px; }
.nav.on-dark:not(.scrolled) .brand-name b { color: #fff; }
.nav.on-dark:not(.scrolled) .brand-name small { color: rgba(255,255,255,.7); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 15px; border-radius: 7px; font-weight: 700; font-size: .95rem; color: var(--blue-800); transition: all .25s var(--ease); position: relative; }
.nav.on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,.88); }
.nav-links a:hover, .nav-links a.active { color: var(--cyan-600); }
.nav.on-dark:not(.scrolled) .nav-links a:hover, .nav.on-dark:not(.scrolled) .nav-links a.active { color: var(--cyan-400); }
.nav-links a.active::after { content: ""; position: absolute; bottom: 2px; right: 15px; left: 15px; height: 2px; background: var(--cyan-500); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--blue-800); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 6px; }
.nav.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-drawer { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-drawer { display: block; position: fixed; inset: 0; z-index: 1100; background: var(--bg-blue-grad); padding: 90px 30px max(30px, env(safe-area-inset-bottom)); transform: translateX(-100%); transition: transform .45s var(--ease); visibility: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .nav-drawer.open { transform: translateX(0); visibility: visible; }
  .nav-drawer a { display: block; color: #fff; font-size: 1.35rem; font-weight: 800; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(14px); }
  .nav-drawer.open a { animation: drawerIn .5s var(--ease) forwards; }
  .nav-drawer a.active { color: var(--cyan-400); }
  .drawer-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: none; border-radius: 10px; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
  /* drawer is open: freeze the page and drop the floating buttons,
     which otherwise sit above it (wa-float z-index 1200 > drawer 1100) */
  body.drawer-open { overflow: hidden; }
  body.drawer-open .wa-float, body.drawer-open .to-top { opacity: 0; pointer-events: none; }
}
@keyframes drawerIn { to { opacity: 1; transform: translateY(0); } }

/* HERO — angular, logistics identity */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--bg-blue-grad); color: #fff; overflow: hidden; padding: 150px 0 120px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; opacity: .7; }
/* animated route lines */
.hero-routes { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none; }
.hero-routes path { stroke: var(--cyan-400); stroke-width: 1.5; fill: none; stroke-dasharray: 6 10; opacity: .5; animation: dash 22s linear infinite; }
.hero-routes .plane, .hero-routes circle { fill: var(--cyan-400); }
@keyframes dash { to { stroke-dashoffset: -320; } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; }
.orb-cyan { width: 440px; height: 440px; background: var(--cyan-500); top: -120px; right: -80px; animation: float1 14s ease-in-out infinite; }
.orb-blue { width: 520px; height: 520px; background: #0f5183; bottom: -200px; left: -140px; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(50px, -40px) scale(1.08); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .88rem; margin-bottom: 26px; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 0 rgba(55,208,224,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(55,208,224,0); } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.15; margin-bottom: 22px; }
.hero h1 .accent { color: var(--cyan-400); }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats .num { font-size: 2.4rem; font-weight: 900; color: var(--cyan-400); }
.hero-stats .lbl { color: rgba(255,255,255,.72); font-size: .92rem; }

/* hero tracking widget — angular glass panel with accent edge */
.hero-visual { position: relative; }
.track-widget { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); border-radius: 10px; padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.3); animation: cardFloat 7s ease-in-out infinite; position: relative; overflow: hidden; }
.track-widget::before { content: ""; position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: var(--cyan-500); }
.track-widget .tw-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan-400); margin-bottom: 12px; }
.track-widget .tw-tag::before { content: ""; width: 8px; height: 8px; background: var(--cyan-400); border-radius: 2px; transform: rotate(45deg); }
@keyframes cardFloat { 50% { transform: translateY(-14px); } }
.track-widget h4 { color: #fff; margin-bottom: 6px; font-size: 1.3rem; }
.track-widget p.tw-sub { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 18px; }
.track-input { display: flex; gap: 10px; background: rgba(255,255,255,.12); border-radius: 8px; padding: 6px; margin-bottom: 22px; }
.track-input input { flex: 1; background: none; border: none; color: #fff; padding: 10px 16px; font-family: inherit; font-size: .95rem; }
.track-input input::placeholder { color: rgba(255,255,255,.6); }
.track-input input:focus { outline: none; }
.track-input button { background: var(--cyan-500); color: #032027; border: none; border-radius: 6px; padding: 10px 22px; font-weight: 800; cursor: pointer; font-family: inherit; transition: .3s; }
.track-input button:hover { background: var(--cyan-400); }
.track-steps { display: flex; justify-content: space-between; position: relative; }
.track-steps::before { content: ""; position: absolute; top: 15px; right: 8%; left: 8%; height: 2px; background: rgba(255,255,255,.2); }
.track-steps .ts { position: relative; z-index: 1; text-align: center; flex: 1; }
.track-steps .ts .dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: var(--blue-700); border: 2px solid rgba(255,255,255,.25); color: rgba(255,255,255,.5); }
.track-steps .ts.done .dot { background: var(--cyan-500); border-color: var(--cyan-500); color: #032027; }
.track-steps .ts.active .dot { background: #fff; border-color: #fff; color: var(--blue-800); animation: pulse2 1.6s infinite; }
@keyframes pulse2 { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,255,255,.5);} 70%{ box-shadow: 0 0 0 10px rgba(255,255,255,0);} }
.track-steps .ts small { color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 700; }
.track-steps .ts svg { width: 15px; height: 15px; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }

/* HERO SCENE — océan animé, cargo, avion (fallbacks statiques via attribut transform
   quand les animations sont coupées par prefers-reduced-motion) */
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-scene * { will-change: auto; }
.hs-wave { animation: hsWave 11s linear infinite; }
.hs-w1 { animation-duration: 17s; }
.hs-w3 { animation-duration: 8.5s; }
@keyframes hsWave { to { transform: translateX(-240px); } }
.hs-ship { animation: hsCross 95s linear infinite; animation-delay: -35s; }
@keyframes hsCross { from { transform: translateX(-440px); } to { transform: translateX(1900px); } }
.hs-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: hsBob 7s ease-in-out infinite; }
@keyframes hsBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(1.1deg); } }
.hs-plane { animation: hsTakeoff 26s cubic-bezier(.42, .06, .58, .94) infinite; }
@keyframes hsTakeoff {
  0%   { transform: translate(-260px, 10px); opacity: 0; }
  7%   { opacity: 1; }
  26%  { transform: translate(300px, -80px); }
  88%  { opacity: 1; }
  100% { transform: translate(1780px, -640px); opacity: 0; }
}
.hs-cloud { animation: hsDrift 90s ease-in-out infinite alternate; }
.hs-c2 { animation-duration: 130s; animation-delay: -40s; }
.hs-c3 { animation-duration: 70s; animation-delay: -20s; }
@keyframes hsDrift { from { transform: translateX(-50px); } to { transform: translateX(70px); } }
.hs-birds { animation: hsDrift 60s ease-in-out infinite alternate; }
.hs-smoke circle { animation: hsSmoke 4s ease-in-out infinite; }
.hs-smoke circle:nth-child(2) { animation-delay: 1.2s; }
.hs-smoke circle:nth-child(3) { animation-delay: 2.4s; }
@keyframes hsSmoke { 50% { transform: translate(6px, -8px); } }
.hs-foam ellipse { animation: hsFoam 3.2s ease-in-out infinite; }
@keyframes hsFoam { 50% { transform: scaleX(1.25); opacity: .5; } }
@media (max-width: 720px) { .hs-birds { display: none; } }

/* SECTIONS / CARDS */
section { padding: 96px 0; position: relative; }
.bg-soft { background: var(--bg-soft); }
.grid { display: grid; gap: 26px; }
.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: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 4px; background: var(--cyan-500); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); color: var(--cyan-400); margin-bottom: 20px; transition: all .4s var(--ease); }
.card:hover .card-icon { background: var(--cyan-500); color: var(--blue-900); transform: rotate(-6deg); }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-num { font-size: 1.5rem; font-weight: 900; color: var(--cyan-500); flex: none; }
.feat h4 { font-size: 1.15rem; margin-bottom: 6px; }
.feat p { color: var(--muted); }
.feat svg { width: 22px; height: 22px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse { direction: ltr; }
.split.reverse > * { direction: rtl; }
.about-visual { position: relative; }
.about-img { aspect-ratio: 4/3.4; border-radius: 10px; background: var(--bg-blue-grad); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.about-img::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 28px 28px; }
.about-img.has-photo { background-size: cover; background-position: center; }
.about-img.has-photo::after { background-image: linear-gradient(200deg, transparent 55%, rgba(4,29,49,.55)); background-size: auto; }
.about-img .big-mark { position: relative; z-index: 1; color: rgba(55,208,224,.9); }
.about-img .big-mark svg { width: 130px; height: 130px; }
.about-badge { position: absolute; bottom: -24px; right: -24px; background: #fff; border-radius: 8px; padding: 20px 26px; box-shadow: var(--shadow-lg); text-align: center; border: 1px solid var(--line); }
.about-badge .num { font-size: 2.4rem; font-weight: 900; color: var(--blue-800); line-height: 1; }
.about-badge .lbl { color: var(--muted); font-size: .85rem; }

/* values */
.value { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .35s var(--ease); }
.value:hover { border-color: var(--cyan-500); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.value .v-ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(18,182,201,.14); color: var(--cyan-600); display: grid; place-items: center; margin-bottom: 16px; }
.value .v-ic svg { width: 26px; height: 26px; }
.value h4 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .96rem; }

/* service big cards */
.svc { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; background: var(--bg-blue-grad); transition: .45s var(--ease); box-shadow: var(--shadow-md); }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,29,49,.85)); z-index: 0; }
.svc > * { position: relative; z-index: 1; }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc .s-ic { width: 60px; height: 60px; border-radius: 15px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: auto; backdrop-filter: blur(6px); }
.svc .s-ic svg { width: 30px; height: 30px; }
.svc h3 { color: #fff; font-size: 1.4rem; margin: 16px 0 6px; }
.svc p { color: rgba(255,255,255,.85); font-size: .95rem; }
.g-sea { background: linear-gradient(140deg, #041d31, #0f5183); }
.g-deep { background: linear-gradient(140deg, #03253a, #0d93a3); }
.g-teal { background: linear-gradient(140deg, #043038, #12b6c9); }
.g-steel { background: linear-gradient(140deg, #0a2233, #34617f); }
.g-amber { background: linear-gradient(140deg, #3a1f08, #f2751f); }
.g-night { background: linear-gradient(140deg, #041426, #0a3a5e); }

/* stats band */
.stats-band { background: var(--bg-blue-grad); color: #fff; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0); background-size: 30px 30px; }
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-item .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; color: var(--cyan-400); line-height: 1; }
.stat-item .lbl { color: rgba(255,255,255,.78); margin-top: 8px; font-weight: 600; }

/* process timeline horizontal */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; position: relative; }
.step .s-num { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--cyan-600); position: relative; z-index: 1; transition: .4s var(--ease); }
.step .s-num svg { width: 30px; height: 30px; }
.step:hover .s-num { background: var(--cyan-500); color: #fff; border-color: var(--cyan-500); transform: scale(1.08); }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }

/* network / route */
.route-card { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .35s var(--ease); }
.route-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.route-card .r-mode { width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--bg-soft); color: var(--cyan-600); }
.route-card .r-mode svg { width: 28px; height: 28px; }
.route-path { flex: 1; }
.route-path .cities { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue-800); }
.route-path .cities .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan-500) 0 8px, transparent 8px 14px); position: relative; }
.route-path .cities .line svg { width: 16px; height: 16px; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); color: var(--cyan-500); background: #fff; }
.route-path small { color: var(--muted); }

/* contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: stretch; }
.contact-info { background: var(--bg-blue-grad); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(18,182,201,.2); bottom: -100px; right: -60px; filter: blur(30px); }
.contact-info h3 { color: #fff; font-size: 1.75rem; margin-bottom: 10px; }
.contact-info > p { color: rgba(255,255,255,.78); margin-bottom: 30px; font-size: 1.02rem; }
.ci-item { display: flex; gap: 18px; margin-bottom: 26px; position: relative; z-index: 1; }
.ci-item .ci-ic { width: 54px; height: 54px; border-radius: 13px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--cyan-400); flex: none; }
.ci-item .ci-ic svg { width: 25px; height: 25px; }
.ci-item b { display: block; font-size: .88rem; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 2px; }
.ci-item span { font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.contact-social { display: flex; gap: 12px; margin-top: 30px; position: relative; z-index: 1; }
.contact-social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: .3s; }
.contact-social a svg { width: 20px; height: 20px; }
.contact-social a:hover { background: var(--cyan-500); color: var(--blue-900); transform: translateY(-4px); }

/* map */
.map-frame { display: block; width: 100%; height: 430px; border: 0; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.map-bar-info { display: flex; align-items: center; gap: 14px; }
.map-bar-info b { display: block; color: var(--blue-800); }
.map-bar-info .muted-line { color: var(--muted); font-size: .92rem; }
.btn-map { padding: 11px 20px; font-size: .9rem; }
@media (max-width: 620px) {
  .map-frame { height: 320px; }
  .map-bar { padding: 14px 16px; }
  .btn-map { width: 100%; justify-content: center; }
}

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: .92rem; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; transition: .3s; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 4px rgba(18,182,201,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(18,182,201,.14); color: var(--cyan-600); font-weight: 700; }
.form-note.show { display: block; animation: drawerIn .4s var(--ease) forwards; }

/* page hero */
.page-hero { background: var(--bg-blue-grad); color: #fff; padding: 160px 0 90px; position: relative; overflow: hidden; text-align: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0); background-size: 32px 32px; }
.page-hero .hero-orb { opacity: .35; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--cyan-400); }

/* CTA */
.cta-band { background: var(--bg-blue-grad); color: #fff; border-radius: 12px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(18,182,201,.22); top: -140px; left: -80px; filter: blur(40px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 28px; }

/* FOOTER */
.footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand-name b { color: #fff; }
.footer p { margin: 18px 0; font-size: .96rem; max-width: 320px; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; font-weight: 800; }
.footer-links a { display: block; padding: 7px 0; transition: .25s; }
.footer-links a:hover { color: var(--cyan-400); padding-inline-start: 8px; }
.footer .ci-item { margin-bottom: 16px; }
.footer .ci-item .ci-ic { background: rgba(255,255,255,.07); }
.footer .ci-item span { color: #fff; font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .3s; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--cyan-500); color: var(--blue-900); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom a:hover { color: var(--cyan-400); }

/* tracking timeline (result) */
.track-timeline { position: relative; padding-inline-start: 8px; }
.tl-step { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 26px; position: relative; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; top: 44px; bottom: 0; inset-inline-start: 21px; width: 2px; background: var(--line); }
.tl-step.done:not(:last-child)::before { background: var(--cyan-500); }
.tl-ic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); border: 2px solid var(--line); z-index: 1; }
.tl-ic svg { width: 22px; height: 22px; }
.tl-step.done .tl-ic { background: var(--cyan-500); color: #fff; border-color: var(--cyan-500); }
.tl-step.current .tl-ic { animation: pulse2b 1.6s infinite; }
@keyframes pulse2b { 0%,100%{ box-shadow: 0 0 0 0 rgba(18,182,201,.5);} 70%{ box-shadow: 0 0 0 10px rgba(18,182,201,0);} }
.tl-body b { display: block; color: var(--blue-800); font-size: 1.05rem; }
.tl-body span { color: var(--muted); font-size: .92rem; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(40px); }
[data-reveal="right"] { transform: translateX(-40px); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* uploaded images */
.card-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 18px; display: block; }
.svc.has-img { background-size: cover !important; background-position: center; }
.marquee-item img { height: 46px; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(.4); opacity: .8; transition: .3s; }
.marquee-item img:hover { filter: none; opacity: 1; }

/* hero background video (merden-style) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; border: 0; }
/* iframes (YouTube/Vimeo) can't use object-fit — scale a 16:9 box to always cover */
.hero-video-embed { top: 50%; left: 50%; inset: auto; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); pointer-events: none; }
.hero.has-video { background: #041d31; }
.hero.has-video::after { background: rgba(4,29,49,.6); background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; }

/* photo gallery (mosaic) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 220px; }
.gitem { border-radius: 8px; overflow: hidden; position: relative; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.gitem.tall { grid-row: span 2; }
.gitem.wide { grid-column: span 2; }
.gitem.has-img { background-size: cover; background-position: center; }
.gitem.has-img .g-ic { display: none; }
.gitem .g-ic { display: grid; place-items: center; }
.gitem .g-ic svg { width: 52px; height: 52px; }
.gitem .g-label { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(transparent, rgba(4,29,49,.9)); font-weight: 800; transform: translateY(10px); opacity: 0; transition: .4s var(--ease); }
.gitem:hover .g-label { transform: translateY(0); opacity: 1; }
.gitem::after { content: ""; position: absolute; inset: 0; background: rgba(4,29,49,.15); transition: .4s; }
.gitem:hover::after { background: rgba(4,29,49,0); }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } .gitem.wide { grid-column: span 1; } }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scrollX 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.marquee-item { font-size: 1.4rem; font-weight: 900; color: var(--muted); opacity: .7; white-space: nowrap; }

/* language switcher */
.lang-switch { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.05); border: 1px solid var(--line); color: var(--blue-800); padding: 9px 13px; border-radius: 7px; font-family: inherit; font-weight: 800; font-size: .82rem; cursor: pointer; }
.nav.on-dark:not(.scrolled) .lang-current { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-md); padding: 6px; min-width: 140px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); z-index: 30; }
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-800); }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a.on { background: var(--cyan-500); color: #032027; }
.drawer-langs { display: flex; gap: 10px; margin-top: 26px; }
.drawer-langs a { color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; border-radius: 7px; font-weight: 800; font-size: .95rem; }
.drawer-langs a.on { background: var(--cyan-500); color: #032027; border-color: var(--cyan-500); }
@media (max-width: 1080px) { .lang-switch { display: none; } }

/* back to top */
.to-top { position: fixed; bottom: 26px; inset-inline-end: 26px; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-800); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .35s var(--ease); z-index: 900; box-shadow: var(--shadow-md); border: none; }
.to-top.show { opacity: 1; transform: none; }
.to-top:not(.show) { pointer-events: none; }
.to-top:hover { background: var(--cyan-500); color: var(--blue-900); }

/* responsive */
@media (max-width: 980px) {
  .hero-inner, .split, .contact-wrap { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
  /* stacked hero: no need to hold a full viewport of empty space */
  .hero { min-height: 0; padding: 130px 0 90px; }
  .hero-inner { gap: 44px; }
  .hero p.lead { max-width: none; }
  /* pull the floating badge inside the frame so it can't be clipped */
  .about-badge { inset-inline-end: 16px; bottom: -18px; padding: 16px 22px; }
  .about-badge .num { font-size: 2rem; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  /* stats stay two-up — one per row is a wall of scrolling */
  .grid-4:has(.stat-item), .steps { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 116px 0 72px; }
  .hero-stats { gap: 22px 30px; margin-top: 36px; }
  .hero-stats .num { font-size: 1.9rem; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .cta-band, .contact-info, .form-card { padding: 32px 24px; }
  .cta-band { border-radius: 10px; }
  .track-widget { padding: 22px 18px; }
  .track-steps .ts small { font-size: .64rem; }
  /* label + value stack rather than squeezing the dotted route line to nothing */
  .route-card { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .route-path { flex-basis: 100%; }
  .page-hero { padding: 122px 0 64px; }
  .footer { padding-top: 52px; }
  .footer-grid { gap: 32px; padding-bottom: 36px; }
  .footer p { max-width: none; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-float { width: 50px; height: 50px; bottom: 18px; inset-inline-start: 18px; }
  .wa-float svg { width: 25px; height: 25px; }
  .to-top { width: 44px; height: 44px; bottom: 18px; inset-inline-end: 18px; }
}
@media (max-width: 420px) {
  .grid-4:has(.stat-item), .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 22px; }
  .track-input { flex-wrap: wrap; }
  .track-input input { flex-basis: 100%; }
  .track-input button { width: 100%; }
  .cta-band, .contact-info, .form-card { padding: 26px 18px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
  .brand-name b { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
