/* ================= BASE ================= */
html[lang="ar"] body { font-family: 'Cairo', system-ui, sans-serif; }
html[lang="ar"] .tracking-tight,
html[lang="ar"] .tracking-wider,
html[lang="ar"] .tracking-widest { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.35 !important; }

::selection { background: #2f6fe0; color: #fff; }
body.loading { overflow: hidden; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eef4ff; }
::-webkit-scrollbar-thumb { background: linear-gradient(#23409c, #2a9be0); border-radius: 10px; }

/* ================= PRELOADER ================= */
#preloader { transition: opacity .6s ease, visibility .6s ease; }
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { animation: pulseLogo 1.6s ease-in-out infinite; }
.preloader-bar { width: 0; animation: loadBar 1.4s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes pulseLogo { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .8; } }
@keyframes loadBar { to { width: 100%; } }

/* ================= NAVBAR ================= */
.nav-pill { background: rgba(255,255,255,.1); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); }
.nav-link {
  display: block; padding: .55rem 1rem; border-radius: 9999px;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.85);
  transition: all .3s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-link.active { color: #1b2a5e; background: #fff; }

.lang-btn { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); }
.menu-btn { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.menu-btn .bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: all .35s ease; }
.menu-btn.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

#navbar.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(18px); box-shadow: 0 10px 40px -15px rgba(15,23,42,.25); }
#navbar.scrolled nav { padding-top: .6rem; padding-bottom: .6rem; }
#navbar.scrolled .nav-logo { box-shadow: none; background: transparent; padding-left: 0; padding-right: 0; }
#navbar.scrolled .nav-pill { background: #f1f5ff; border-color: transparent; }
#navbar.scrolled .nav-link { color: #334155; }
#navbar.scrolled .nav-link:hover { color: #1b2a5e; background: #dbe6ff; }
#navbar.scrolled .nav-link.active { color: #fff; background: #23409c; }
#navbar.scrolled .lang-btn { color: #1b2a5e; background: #f1f5ff; border-color: transparent; }
#navbar.scrolled .menu-btn { background: #f1f5ff; border-color: transparent; }
#navbar.scrolled .menu-btn .bar { background: #1b2a5e; }

.lang-menu { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transition: all .25s ease; }
.lang-menu.open { opacity: 1; visibility: visible; transform: none; }
.lang-opt { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: .75rem; font-weight: 600; color: #1e293b; font-size: .9rem; transition: background .2s; text-align: start; }
.lang-opt:hover { background: #eef4ff; }
.lang-opt.active { background: #23409c; color: #fff; }

.mobile-menu { max-height: 0; opacity: 0; transition: max-height .5s cubic-bezier(.7,0,.3,1), opacity .4s ease; }
.mobile-menu.open { max-height: 480px; opacity: 1; }
.m-link { display: block; padding: .8rem 1rem; border-radius: 1rem; transition: background .2s; }
.m-link:hover { background: #eef4ff; }

/* ================= HERO ================= */
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.15); transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(to right, rgba(11,18,48,.92) 0%, rgba(11,18,48,.7) 45%, rgba(11,18,48,.25) 100%),
    linear-gradient(to top, rgba(11,18,48,.9) 0%, transparent 40%);
}
[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(to left, rgba(11,18,48,.92) 0%, rgba(11,18,48,.7) 45%, rgba(11,18,48,.25) 100%),
    linear-gradient(to top, rgba(11,18,48,.9) 0%, transparent 40%);
}
.grid-bg {
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.dots-bg { background-image: radial-gradient(#c7d4f5 1px, transparent 1px); background-size: 22px 22px; }

.hero-in { opacity: 0; transform: translateY(40px); filter: blur(8px); }
body.ready .hero-in { animation: heroIn 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: blur(0); } }

.text-gradient-anim {
  background: linear-gradient(90deg, #7dd3fc, #5b8ef0, #a5c8ff, #4cb3f0, #7dd3fc);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradMove 6s linear infinite;
}
@keyframes gradMove { to { background-position: 300% 0; } }

.glass-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); transition: transform .3s, background .3s; }
.glass-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.icon-chip { display: flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: linear-gradient(135deg, #2f6fe0, #4cb3f0); color: #fff; }

.blob { animation: blob 14s ease-in-out infinite; }
.blob-2 { animation-delay: -7s; }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.1); } 66% { transform: translate(-30px,30px) scale(.95); } }

.hero-dot { height: 6px; width: 22px; border-radius: 6px; background: rgba(255,255,255,.35); transition: all .4s; cursor: pointer; }
.hero-dot.active { width: 44px; background: #fff; }

.mouse { position: relative; display: block; width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.mouse-dot { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* road + truck */
.road-line {
  position: absolute; top: 50%; left: 0; width: 200%; height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 40px, transparent 40px 80px);
  animation: road 1.2s linear infinite;
}
@keyframes road { to { transform: translateX(-80px); } }
/* negative delay: truck is already on screen when the page opens */
.truck { will-change: transform; animation: drive 14s linear -3s infinite; }
@keyframes drive {
  0%   { transform: translateX(-320px); }
  100% { transform: translateX(calc(100vw + 20px)); }
}
.truck-svg { display: block; animation: truckBounce .3s ease-in-out infinite alternate; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
@keyframes truckBounce { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
.wheel { animation: spin .45s linear infinite; transform-box: view-box; }
.smoke { transform-box: fill-box; transform-origin: center; opacity: 0; animation: smoke 1.5s ease-out infinite; }
.smoke-2 { animation-delay: .5s; }
.smoke-3 { animation-delay: 1s; }
@keyframes smoke {
  0%   { opacity: .7; transform: translate(0, 0) scale(.5); }
  100% { opacity: 0;  transform: translate(-40px, -6px) scale(2.2); }
}
.beam { animation: beam 2.4s ease-in-out infinite; }
.headlight { animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 640px) { .truck-svg { width: 200px; height: auto; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= MARQUEE ================= */
.marquee { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 3rem; }
.mq-star { display: inline-block; width: 12px; height: 12px; transform: rotate(45deg); background: rgba(255,255,255,.7); border-radius: 2px; }


/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
.reveal[data-anim="left"] { transform: translateX(-60px); }
.reveal[data-anim="right"] { transform: translateX(60px); }
[dir="rtl"] .reveal[data-anim="left"] { transform: translateX(60px); }
[dir="rtl"] .reveal[data-anim="right"] { transform: translateX(-60px); }
.reveal[data-anim="zoom"] { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none !important; }

/* ================= COMMON ================= */
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 9999px;
  background: #eef4ff; color: #2553c4; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.section-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,#2f6fe0,#4cb3f0); }
.section-tag-dark { background: rgba(255,255,255,.1); color: #7dd3fc; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.btn-shine:hover::after { left: 130%; }

.img-zoom img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.img-zoom:hover img { transform: scale(1.08); }

.float-y { animation: floatY 4s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.spin-slow { animation: spin 18s linear infinite; }

.check-item { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: #1e293b; }
.check { position: relative; flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: .6rem; background: linear-gradient(135deg,#2553c4,#4cb3f0); }
.check::after { content: ''; position: absolute; left: 50%; top: 45%; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%,-50%) rotate(45deg); }

.stat-card { border-radius: 1.25rem; background: #f8faff; border: 1px solid #e3ebff; padding: 1.1rem; text-align: center; transition: all .35s; }
.stat-card:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 20px 40px -20px rgba(35,64,156,.4); }
.stat-num { font-size: 1.9rem; font-weight: 800; background: linear-gradient(135deg,#1f337a,#2a9be0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: .25rem; font-size: .8rem; font-weight: 600; color: #64748b; }

/* services */
.svc-card {
  position: relative; overflow: hidden; border-radius: 1.75rem; background: #fff; padding: 2.25rem;
  border: 1px solid #e8eefc; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s;
  --mx: 50%; --my: 50%;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(47,111,224,.12), transparent 45%);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -25px rgba(35,64,156,.45); border-color: #bcd0ff; }
.svc-card:hover::before { opacity: 1; }
.svc-icon { position: relative; display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 1.25rem; background: #eef4ff; color: #2553c4; transition: all .5s; }
.svc-icon svg { width: 2rem; height: 2rem; }
.svc-card:hover .svc-icon { background: linear-gradient(135deg,#2553c4,#4cb3f0); color: #fff; transform: rotate(-8deg) scale(1.08); }
.svc-title { position: relative; margin-top: 1.5rem; font-size: 1.3rem; font-weight: 800; color: #0b1230; }
.svc-desc { position: relative; margin-top: .75rem; line-height: 1.7; color: #64748b; }
.svc-num { position: absolute; top: 1.25rem; inset-inline-end: 1.5rem; font-size: 3.5rem; font-weight: 800; color: #f1f5ff; transition: color .5s; line-height: 1; }
.svc-card:hover .svc-num { color: #dbe6ff; }

/* cold chain */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-radius: 1.25rem; transition: background .3s; }
.feature-row:hover { background: rgba(255,255,255,.06); }
.feature-icon { display: flex; flex-shrink: 0; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 1rem; background: rgba(125,211,252,.15); color: #7dd3fc; }
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
#gaugeArc { transition: stroke-dashoffset 2.2s cubic-bezier(.2,.8,.2,1); }
.orbit { animation: spin 10s linear infinite; }
.orbit-dot { position: absolute; top: 4%; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #7dd3fc; box-shadow: 0 0 20px 6px rgba(125,211,252,.6); }

.snowflake { position: absolute; top: -10px; border-radius: 50%; background: rgba(255,255,255,.7); animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(110vh) translateX(30px); } }

/* routes */
.route-path { stroke-dasharray: 8 8; animation: dash 1.2s linear infinite; opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.ping { transform-box: fill-box; transform-origin: center; animation: pingNode 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes pingNode { 75%,100% { transform: scale(3); opacity: 0; } }
.hub-glow { transform-box: fill-box; transform-origin: center; animation: hub 2.5s ease-in-out infinite; }
@keyframes hub { 50% { transform: scale(1.3); opacity: .6; } }
.route-map text { paint-order: stroke; stroke: rgba(11,18,48,.6); stroke-width: 3px; }
.route-map text.hub-label { stroke: none; }
.route-chip { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-radius: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; transition: all .3s; }
.route-chip:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* process */
.process-line { background: #dbe6ff; border-radius: 3px; }
.process-line-fill { width: 0; border-radius: 3px; transition: width 2s cubic-bezier(.7,0,.3,1); }
[dir="rtl"] .process-line-fill { margin-inline-start: auto; }
.process-line.in .process-line-fill { width: 100%; }
.step { text-align: center; }
.step-circle {
  position: relative; z-index: 1; margin: 0 auto; display: flex; height: 5rem; width: 5rem; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 3px solid #dbe6ff; font-size: 1.4rem; font-weight: 800; color: #23409c;
  transition: all .5s; box-shadow: 0 10px 30px -10px rgba(35,64,156,.3);
}
.step:hover .step-circle { background: linear-gradient(135deg,#2553c4,#4cb3f0); color: #fff; border-color: transparent; transform: scale(1.1) rotate(-6deg); }
.step-title { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 800; color: #0b1230; }
.step-desc { margin-top: .6rem; color: #64748b; line-height: 1.7; }

/* gallery */
.g-item { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1.5rem; cursor: zoom-in; opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.g-item.in { opacity: 1; transform: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,48,.75), transparent 55%); opacity: 0; transition: opacity .5s; }
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after { opacity: 1; }
.g-zoom { position: absolute; z-index: 2; bottom: 1rem; inset-inline-start: 1rem; display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: #23409c; opacity: 0; transform: translateY(15px); transition: all .45s; }
.g-item:hover .g-zoom { opacity: 1; transform: none; }
.g-item.g-hidden { display: none; }

#lightbox.open { display: flex; animation: fadeIn .35s ease; }
.lb-img { animation: lbZoom .45s cubic-bezier(.2,.8,.2,1); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; height: 3.25rem; width: 3.25rem; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }

/* contact */
.contact-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem; border-radius: 1.5rem; background: #fff; border: 1px solid #e8eefc; transition: all .4s; }
.contact-card:hover { transform: translateY(-5px); border-color: #bcd0ff; box-shadow: 0 25px 50px -25px rgba(35,64,156,.4); }
.contact-icon { display: flex; flex-shrink: 0; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 1.1rem; background: linear-gradient(135deg,#2553c4,#4cb3f0); color: #fff; transition: transform .4s; }
.contact-card:hover .contact-icon { transform: rotate(-10deg) scale(1.08); }
.contact-icon svg { width: 1.5rem; height: 1.5rem; }
.contact-label { font-size: .85rem; font-weight: 600; color: #64748b; }
.contact-value { margin-top: .15rem; font-size: 1.05rem; font-weight: 800; color: #0b1230; }
[dir="rtl"] .contact-value[dir="ltr"] { text-align: right; }

.field { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; font-weight: 700; color: #1e293b; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 1rem; border: 1.5px solid #e2e8f0; background: #f8fafc; padding: .9rem 1.1rem;
  font-weight: 500; font-size: 1rem; color: #0f172a; outline: none; transition: all .25s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #2f6fe0; background: #fff; box-shadow: 0 0 0 4px rgba(47,111,224,.15); }

/* footer */
.footer-link { position: relative; transition: color .25s; }
.footer-link:hover { color: #fff; }
.footer-link::after { content: ''; position: absolute; bottom: -3px; inset-inline-start: 0; width: 0; height: 2px; background: #4cb3f0; transition: width .3s; }
.footer-link:hover::after { width: 100%; }
.lang-foot { padding: .35rem .8rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .8rem; transition: all .25s; }
.lang-foot:hover, .lang-foot.active { background: #fff; color: #1b2a5e; }

.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { to { transform: scale(1.7); opacity: 0; } }
#toTop.show { transform: none; opacity: 1; }

/* ================= RESPONSIVE ================= */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }

.lang-code { display: inline-flex; width: 1.9rem; height: 1.4rem; align-items: center; justify-content: center; border-radius: .4rem; background: #eef4ff; color: #23409c; font-size: .7rem; font-weight: 800; }
.lang-opt.active .lang-code { background: rgba(255,255,255,.2); color: #fff; }

/* route chips + phone route list */
.route-chip-icon { display: flex; flex-shrink: 0; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(125,211,252,.15); color: #7dd3fc; }
.route-chip-icon svg { width: 1.2rem; height: 1.2rem; }
.route-hub-m { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .5rem auto 0; width: max-content; max-width: 100%; padding: .7rem 1.2rem; border-radius: 9999px; background: #fff; color: #1b2a5e; font-weight: 800; font-size: .85rem; letter-spacing: .04em; box-shadow: 0 0 30px rgba(76,179,240,.45); }
.route-trunk { width: 3px; height: 2.25rem; margin: 0 auto .75rem; border-radius: 3px; background: repeating-linear-gradient(to bottom, #7dd3fc 0 6px, transparent 6px 12px); background-size: 3px 12px; animation: trunk .8s linear infinite; }
@keyframes trunk { to { background-position: 0 12px; } }
.route-dest { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border-radius: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.25; }
.route-dot { position: relative; flex-shrink: 0; width: .6rem; height: .6rem; border-radius: 50%; background: #7dd3fc; }
.route-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #7dd3fc; animation: dotPing 2s cubic-bezier(0,0,.2,1) infinite; }
.route-dest:nth-child(2n) .route-dot::after { animation-delay: .5s; }
.route-dest:nth-child(3n) .route-dot::after { animation-delay: 1s; }
@keyframes dotPing { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* breaks only at the <wbr> after "@" instead of mid-word */
.contact-email { overflow-wrap: normal; word-break: normal; }

/* tablets */
@media (max-width: 1023px) {
  .svc-card { padding: 1.75rem; }
  .svc-num { font-size: 3rem; }
}

/* phones */
@media (max-width: 639px) {
  .section-tag { font-size: .7rem; padding: .35rem .85rem; }
  .hero-overlay { background: linear-gradient(to top, rgba(11,18,48,.95) 0%, rgba(11,18,48,.72) 55%, rgba(11,18,48,.55) 100%) !important; }
  .hero-stats .glass-card { flex-direction: column; justify-content: center; gap: .5rem; padding: .75rem .4rem; text-align: center; }
  .hero-stats .glass-card span { font-size: .72rem; line-height: 1.25; }
  .hero-stats .icon-chip { width: 2.1rem; height: 2.1rem; border-radius: .6rem; }
  .svc-card { padding: 1.5rem; border-radius: 1.4rem; }
  .svc-icon { width: 3.25rem; height: 3.25rem; border-radius: 1rem; }
  .svc-icon svg { width: 1.6rem; height: 1.6rem; }
  .svc-title { margin-top: 1.1rem; font-size: 1.15rem; }
  .svc-num { font-size: 2.6rem; top: 1rem; }
  .stat-card { padding: .9rem .5rem; }
  .stat-num { font-size: 1.6rem; }
  .feature-row { padding: .75rem 0; }
  .step-circle { width: 4rem; height: 4rem; font-size: 1.15rem; }
  .step-title { margin-top: 1rem; }
  .contact-card { padding: 1.1rem; gap: .9rem; border-radius: 1.25rem; }
  .contact-icon { width: 3rem; height: 3rem; border-radius: .9rem; }
  .contact-value { font-size: .98rem; }
  .g-item { border-radius: 1rem; }
  .g-zoom { display: none; }
  .route-chip { padding: .8rem 1rem; font-size: .92rem; }
  .lb-nav { width: 2.75rem; height: 2.75rem; top: auto; bottom: 1.25rem; transform: none; }
}

/* touch devices: hover lifts would stick after a tap */
@media (hover: none) {
  .svc-card:hover, .contact-card:hover, .stat-card:hover, .glass-card:hover, .route-chip:hover { transform: none; }
  .g-item::after { opacity: .0; }
}

/* page lang switch transition */
main, footer { transition: opacity .3s ease; }
body.switching main, body.switching footer { opacity: .25; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-in, .g-item { opacity: 1 !important; transform: none !important; filter: none !important; }
  /* the hero truck is the signature animation: keep it driving */
  .truck { animation: drive 14s linear -3s infinite !important; }
  .wheel { animation: spin .45s linear infinite !important; }
  .road-line { animation: road 1.2s linear infinite !important; }
  .smoke { animation: smoke 1.5s ease-out infinite !important; }
  .smoke-2 { animation-delay: .5s !important; }
  .smoke-3 { animation-delay: 1s !important; }
}
