/* ==================================================================
   BANGA CRANES & LOGISTICS — Custom Design System
   ================================================================== */

:root {
  --brand: #0F172A;
  --brand-light: #1E293B;
  --brand-dark: #020617;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --skyblue: #2563EB;
  --mist: #F8FAFC;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { -webkit-tap-highlight-color: transparent; }

/* Keyframes (kept in app.css — Tailwind v4 tree-shakes unused @theme keyframes) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: var(--font-body), "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading), "Poppins", system-ui, sans-serif;
}

::selection { background: var(--accent); color: var(--brand-dark); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: 8px;
  border: 2px solid var(--mist);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--skyblue));
  z-index: 9990;
  border-radius: 0 4px 4px 0;
}

/* ---------- Layout helpers ---------- */
.container-xl {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-xl { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-xl { padding-inline: 2rem; } }

.section-pad { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--brand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  transition: opacity 0.7s var(--ease-out-expo), visibility 0.7s;
}
#preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark {
  width: 92px; height: 92px;
  border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--brand-light), var(--brand));
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 0 0 1px rgb(245 158 11 / 0.15), 0 24px 60px -20px rgb(0 0 0 / 0.7);
  position: relative;
  overflow: hidden;
}
.preloader-mark img { width: 56px; height: 56px; object-fit: contain; }
.preloader-ring {
  position: absolute; inset: -2px;
  border-radius: 22px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}
.preloader-bar {
  width: 220px; height: 3px;
  background: rgb(255 255 255 / 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--skyblue));
  border-radius: 99px;
  transition: width 0.2s ease;
}
.preloader-count {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: rgb(255 255 255 / 0.7);
  font-weight: 600;
}
.preloader-name {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.preloader-tag {
  color: rgb(255 255 255 / 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 930;
  transition: background 0.45s var(--ease-out-expo), box-shadow 0.45s, padding 0.45s var(--ease-out-expo), border-color 0.45s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgb(15 23 42 / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px -18px rgb(2 6 23 / 0.6);
  border-bottom-color: rgb(255 255 255 / 0.06);
}
.site-header.is-scrolled .header-inner { padding-block: 0.55rem; }
.site-header.is-solid {
  background: rgb(2 6 23 / 0.9);
  backdrop-filter: blur(16px);
  border-bottom-color: rgb(255 255 255 / 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  transition: padding 0.45s var(--ease-out-expo);
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #1E293B, #0F172A);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.6);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo);
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.logo-mark img { width: 34px; height: 34px; object-fit: contain; }
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.logo-name em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}
.logo-tag {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgb(255 255 255 / 0.55);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-link {
  position: relative;
  padding: 0.55rem 0.95rem;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.28rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease-out-expo);
  border-radius: 4px;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.7rem;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s, background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.45);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #0F172A;
  box-shadow: 0 14px 34px -12px rgb(245 158 11 / 0.55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgb(245 158 11 / 0.7); }

.btn-sky {
  background: var(--skyblue);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgb(37 99 235 / 0.55);
}
.btn-sky:hover { background: #1D4ED8; transform: translateY(-2px); }

.btn-dark {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgb(15 23 42 / 0.6);
}
.btn-dark:hover { background: var(--brand-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgb(255 255 255 / 0.3);
}
.btn-outline:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); background: rgb(255 255 255 / 0.06); }

.btn-ghost {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); transform: translateY(-2px); }

.btn-wa {
  background: #25D366;
  color: #062b17;
  box-shadow: 0 14px 34px -12px rgb(37 211 102 / 0.55);
}
.btn-wa:hover { background: #1fb959; transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.8rem; border-radius: 11px; }

/* Magnetic wrapper */
.magnetic {
  display: inline-flex;
  will-change: transform;
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
  border-radius: 4px;
}
.eyebrow.is-center::after {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
  border-radius: 4px;
}
.h-display {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.text-gradient {
  background: linear-gradient(92deg, var(--accent) 10%, var(--accent-dark) 55%, var(--skyblue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-sky {
  background: linear-gradient(92deg, var(--skyblue), #7DD3FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(2 6 23 / 0.72) 0%, rgb(15 23 42 / 0.62) 40%, rgb(2 6 23 / 0.92) 100%),
    radial-gradient(90% 70% at 18% 10%, rgb(37 99 235 / 0.24) 0%, transparent 60%),
    radial-gradient(80% 60% at 85% 90%, rgb(245 158 11 / 0.14) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 5; padding-top: 6rem; padding-bottom: 4rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.85);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(245 158 11 / 0.7);
  animation: pulse-ring 2.4s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-title .line-mask { display: block; overflow: hidden; }
.hero-title .line-mask span { display: block; will-change: transform; }

.split-char {
  display: inline-block;
  will-change: transform;
  transform-origin: 0 100%;
}

.hero-lead { color: rgb(255 255 255 / 0.78); max-width: 620px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Floating stat chips */
.float-stat {
  position: absolute;
  z-index: 8;
  background: rgb(15 23 42 / 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 18px;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.float-stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}
.float-stat .lbl { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); line-height: 1.35; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 26px; height: 42px;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-radius: 16px;
  position: relative;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--accent);
  animation: wheel 1.8s var(--ease-out-expo) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--brand);
  border-block: 1px solid rgb(255 255 255 / 0.06);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: var(--animate-marquee);
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-inline: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
  white-space: nowrap;
}
.marquee-item .star { color: var(--accent); font-size: 0.7rem; }

/* ---------- Cards ---------- */
.lift-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.5s;
  will-change: transform;
}
.lift-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lift);
  border-color: rgb(245 158 11 / 0.35);
}

.tilt-card { will-change: transform; }

/* Service card */
.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--brand-dark);
  color: #fff;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.service-card .sc-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s var(--ease-out-expo);
  z-index: -2;
}
.service-card:hover .sc-media { transform: scale(1.12); }
.service-card .sc-shade {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgb(2 6 23 / 0.15) 20%, rgb(2 6 23 / 0.94) 78%);
  z-index: -1;
  transition: opacity 0.6s;
}
.service-card .sc-body { padding: 1.8rem; position: relative; }
.service-card .sc-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgb(245 158 11 / 0.16);
  border: 1px solid rgb(245 158 11 / 0.4);
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out-expo);
}
.service-card:hover .sc-icon { background: var(--accent); color: var(--brand-dark); transform: rotate(-8deg) scale(1.06); }
.service-card h3 { font-size: 1.45rem; font-weight: 700; }
.service-card .sc-short { color: rgb(255 255 255 / 0.72); font-size: 0.9rem; line-height: 1.7; }
.service-card .sc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  text-transform: uppercase;
}
.service-card .sc-link svg { transition: transform 0.4s var(--ease-out-expo); }
.service-card:hover .sc-link svg { transform: translateX(6px); }

/* Fleet card */
.fleet-card.is-hidden { display: none; }
.fleet-card .fc-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mist);
}
.fleet-card .fc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}
.fleet-card:hover .fc-img img { transform: scale(1.1); }
.fleet-card .fc-cap {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgb(15 23 42 / 0.82);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgb(245 158 11 / 0.4);
}
.fleet-card .fc-type {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgb(37 99 235 / 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}

/* Why card */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.7rem 1.5rem;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s, border-color 0.45s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--skyblue));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out-expo);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: rgb(245 158 11 / 0.3); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-out-expo);
}
.why-card:hover .why-icon { background: var(--brand); color: var(--accent); transform: rotate(-8deg); }

/* Industry tile */
.industry-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.3rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, border-color 0.4s, background 0.4s, color 0.4s;
}
.industry-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgb(245 158 11 / 0.4);
  background: var(--brand);
  color: #fff;
}
.industry-tile .it-icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--mist);
  color: var(--brand);
  transition: background 0.4s, color 0.4s;
}
.industry-tile:hover .it-icon { background: var(--accent); color: var(--brand-dark); }
.industry-tile span { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
}
.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent), var(--skyblue));
  height: 0;
}
.tl-item {
  position: relative;
  width: 50%;
  padding-inline: 3rem;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-dot {
  position: absolute;
  top: 1.4rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 6px rgb(245 158 11 / 0.15);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot { right: -9px; }
.tl-item:nth-child(even) .tl-dot { left: -9px; }
.tl-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(15 23 42 / 0.22);
  transition: -webkit-text-stroke 0.4s, color 0.4s;
}
.tl-item.is-active .tl-year { -webkit-text-stroke: 1.5px var(--accent); }
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s, border-color 0.5s;
}
.tl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgb(245 158 11 / 0.35); }
@media (max-width: 767px) {
  .timeline-line, .timeline-progress { left: 14px; transform: none; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 3rem; padding-right: 0; }
  .tl-item .tl-dot, .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 5px; right: auto; }
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s, border-color 0.45s;
  display: flex;
  flex-direction: column;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgb(245 158 11 / 0.3); }
.testi-quote { font-size: 3.4rem; line-height: 0; color: var(--accent); font-family: Georgia, serif; margin-bottom: 0.6rem; }
.testi-text { color: var(--brand-light); font-size: 1rem; line-height: 1.75; flex: 1; }
.testi-stars { display: flex; gap: 0.2rem; color: var(--accent); }
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-light), var(--brand));
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid rgb(245 158 11 / 0.4);
}

/* Swiper nav */
.swiper { padding-bottom: 3.2rem !important; }
.swiper-pagination-bullet {
  width: 26px !important; height: 4px !important;
  border-radius: 4px !important;
  background: var(--line) !important;
  opacity: 1 !important;
  transition: width 0.4s, background 0.4s;
}
.swiper-pagination-bullet-active {
  width: 44px !important;
  background: var(--accent) !important;
}
.swiper-nav-btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}
.swiper-nav-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.faq-item.is-open { border-color: rgb(245 158 11 / 0.5); box-shadow: var(--shadow-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brand);
}
.faq-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--mist);
  display: grid; place-items: center;
  color: var(--brand);
  transition: all 0.4s var(--ease-out-expo);
}
.faq-icon svg { transition: transform 0.4s var(--ease-out-expo); }
.faq-item.is-open .faq-icon { background: var(--accent); color: var(--brand-dark); transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}
.faq-a p { padding: 0 1.5rem 1.35rem; color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.cta-band .cta-shade {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgb(2 6 23 / 0.96) 0%, rgb(15 23 42 / 0.9) 55%, rgb(37 99 235 / 0.35) 100%);
  z-index: -1;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: inherit;
  z-index: 0;
}

/* ---------- Image reveal ---------- */
.img-reveal { position: relative; overflow: hidden; border-radius: 22px; }
.img-reveal .reveal-clip {
  position: absolute; inset: 0;
  background: var(--brand);
  transform-origin: 0 100%;
  z-index: 3;
}
.img-reveal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  will-change: transform;
}

/* ---------- Cursor glow ---------- */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle, rgb(245 158 11 / 0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
  mix-blend-mode: multiply;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(8.5rem, 16vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
}
.page-hero::before {
  background: linear-gradient(180deg, rgb(2 6 23 / 0.85) 0%, rgb(15 23 42 / 0.72) 60%, rgb(2 6 23 / 0.9) 100%);
}
.page-hero::after {
  background:
    radial-gradient(60% 50% at 90% 0%, rgb(245 158 11 / 0.14) 0%, transparent 60%),
    radial-gradient(50% 50% at 5% 100%, rgb(37 99 235 / 0.2) 0%, transparent 55%);
}
.page-hero .page-hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.page-hero > *:not(.page-hero-media) { position: relative; z-index: 2; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.8rem; color: rgb(255 255 255 / 0.6); }
.breadcrumb a { color: rgb(255 255 255 / 0.7); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ---------- Feature list ---------- */
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--brand-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.check-list .ck {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  margin-top: 2px;
}

/* ---------- Info rows (contact) ---------- */
.info-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, border-color 0.4s;
}
.info-row:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); border-color: rgb(245 158 11 / 0.35); }
.info-row .ir-icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--brand);
  color: var(--accent);
  display: grid; place-items: center;
}

/* ---------- Form ---------- */
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  color: var(--brand);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(245 158 11 / 0.14);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #94A3B8; }

/* ---------- Filters (fleet) ---------- */
.filter-chip {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}
.filter-chip:hover { border-color: var(--accent); color: var(--brand); transform: translateY(-2px); }
.filter-chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--accent); box-shadow: var(--shadow-soft); }

/* ---------- Back to top ---------- */
#back-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 800;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--accent);
  color: var(--brand-dark);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 16px 40px -12px rgb(245 158 11 / 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.45s var(--ease-out-expo);
  border: 0;
}
#back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top:hover { transform: translateY(-4px); background: var(--accent-dark); }

/* ---------- Utility ---------- */
.glass {
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 0.14);
}
.grid-pattern {
  background-image:
    linear-gradient(rgb(15 23 42 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(15 23 42 / 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}
.dot-pattern {
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
.dark-section { background: var(--brand-dark); color: #fff; }

.aos-glow { opacity: 0; }

/* Reveal default (JS adds .in-view) */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.rv.in-view { opacity: 1; transform: translateY(0); }
.rv-delay-1 { transition-delay: 0.1s; }
.rv-delay-2 { transition-delay: 0.2s; }
.rv-delay-3 { transition-delay: 0.3s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
}

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 920;
  background: rgb(2 6 23 / 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 6rem 1.5rem 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.65s var(--ease-out-expo), visibility 0.65s;
  overflow-y: auto;
  visibility: hidden;
}
#mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.4rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.3s, opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
#mobile-menu.is-open .mm-link { opacity: 1; transform: translateY(0); }
#mobile-menu.is-open .mm-link:nth-child(1) { transition-delay: 0.15s; }
#mobile-menu.is-open .mm-link:nth-child(2) { transition-delay: 0.22s; }
#mobile-menu.is-open .mm-link:nth-child(3) { transition-delay: 0.29s; }
#mobile-menu.is-open .mm-link:nth-child(4) { transition-delay: 0.36s; }
#mobile-menu.is-open .mm-link:nth-child(5) { transition-delay: 0.43s; }
#mobile-menu.is-open .mm-link:nth-child(6) { transition-delay: 0.5s; }
.mm-link:hover, .mm-link.is-active { color: var(--accent); }
.mm-link .mm-num { font-size: 0.7rem; color: var(--accent); letter-spacing: 0.2em; }

/* Hamburger */
.hamburger {
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.06);
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  margin: 2.5px 0;
  border-radius: 4px;
  transition: all 0.4s var(--ease-out-expo);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-links, .header-actions .btn-primary { display: none; }
  .hamburger { display: grid; }
}

/* Number font tabular */
.tabular { font-variant-numeric: tabular-nums; }

/* Small utilities */
.ring-accent { box-shadow: 0 0 0 1px var(--accent); }
.tech-line {
  background: linear-gradient(90deg, var(--accent) 0%, var(--skyblue) 100%);
  height: 2px;
  border-radius: 4px;
}
