/* ============================================================
   CargoLine Landing Page – styles.css
   Primary: #034ea2 | Font: Geist / Inter fallback
   ============================================================ */

/* ---- Variables ------------------------------------------- */
:root {
  --primary:        #034ea2;
  --primary-dark:   #2B3182;
  --primary-light:  #4B54C4;
  --primary-xl:     #6B74D8;

  --dark:           #0A0E27;
  --dark-2:         #0F1330;
  --dark-3:         #161B3A;
  --border-dark:    #1E2448;

  --text:           #111827;
  --text-2:         #4B5563;
  --text-muted:     #9CA3AF;

  --bg:             #FFFFFF;
  --bg-alt:         #F7F8FF;
  --border:         #E5E7EB;

  --success:        #10B981;
  --warning:        #F59E0B;

  --font: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15), 0 8px 20px rgba(0,0,0,.08);

  --wrap: 1200px;
}

/* ---- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: var(--bg);
        line-height: 1.6; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }

/* ---- Container ------------------------------------------- */
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.header .container {
  max-width: none;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 10px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  padding: 9px 20px 10px;
}
.btn-primary:hover {
	background-color: #244dd2;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
	background-color: #d7e4f5;
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--r-md);
}
.btn-lg .btn-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: .8;
}

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
  background: var(--primary);
  padding: 5px 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
}
.top-bar-inner {
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-address,
.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-address svg,
.top-bar-phone svg { flex-shrink: 0; opacity: .8; margin-bottom: 3px}

.top-bar-phone {
  transition: opacity 0.2s ease, color 0.2s ease;
}

.top-bar-phone:hover {
  color: #ffffff;
  opacity: 1;
}
/* ================================================================
   HEADER / NAV
   ================================================================ */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 33px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { padding-right: 20px; transition: all 0.2s ease-in-out; }
.logo:hover img {
    filter: brightness(1.2);
}

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all .15s;
}
.nav a:hover { color: var(--primary); background: var(--bg-alt); }

.header-cta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ================================================================
   HERO / ABOUT US
   ================================================================ */
.hero {
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  display: flex;
}

.hero-image {
  width: 145%;
  max-width: none;
  margin-left: 90px;
  transition: all 0.3s ease;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 72% 50%, rgba(56,63,157,.22) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 80%, rgba(90,99,200,.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,78,162,.35);
  border: 1px solid rgba(107,116,216,.45);
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-badge span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-xl);
  box-shadow: 0 0 6px var(--primary-xl);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-bottom: 40px;
}
.mobile-hero-image {
  display: none;
}
.hero-content .btn-primary {
  background: #054b99;
  border-color: #054b99;
}
.hero-content .btn-primary:hover {
  background: #244dd2;
  border-color: #244dd2;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Globe visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-container {
  position: relative;
  width: 420px;
  height: 420px;
}
.globe-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(56,63,157,.35);
}
.globe-ring:nth-child(1) { width: 420px; height: 420px; }
.globe-ring:nth-child(2) { width: 330px; height: 330px; border-color: rgba(75,84,196,.4); }
.globe-ring:nth-child(3) { width: 245px; height: 245px; border-color: rgba(107,116,216,.5); }
.globe-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--primary-light), var(--primary-dark));
  box-shadow: 0 0 60px rgba(56,63,157,.4), 0 0 120px rgba(56,63,157,.18);
}
.route-dot {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.8);
}

@keyframes orbit {
  from { transform: translate(-50%,-50%) rotate(0deg)   translateX(145px) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(145px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%,-50%) rotate(100deg)  translateX(172px) rotate(-100deg); }
  to   { transform: translate(-50%,-50%) rotate(460deg)  translateX(172px) rotate(-460deg); }
}
.orbit-dot {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
}
.orbit-dot:nth-child(5) {
  width: 11px; height: 11px;
  background: var(--primary-xl);
  box-shadow: 0 0 10px rgba(107,116,216,.8);
  animation: orbit 9s linear infinite;
}
.orbit-dot:nth-child(6) {
  width: 7px; height: 7px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.7);
  animation: orbit2 13s linear infinite;
}

/* ================================================================
   TRACKING SECTION
   ================================================================ */
.tracking {
  background: var(--bg-alt);
  padding: 60px 0 70px;
  overflow: hidden;
}
.section-header { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.section-tagline {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 14px;
}
.section-title-xl {
  font-size: 54px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.06;
  margin-bottom: 18px;
}
.section-subtitle {
  display: flex;
  gap: 40px;
  font-size: 20px;
  color: var(--text-2);
  margin: 0 auto;
  font-weight: 500;
  margin-top: 35px;
  justify-content: center;
  max-width: 600px;
}

/* ---- Phone device ---------------------------------------- */
.devices-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  margin-bottom: 56px;
  flex-wrap: nowrap;
}
.phone-wrap { position: relative; }
.phone-wrap::after {
  content: '';
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  width: 150px; height: 18px;
  background: rgba(0,0,0,.22);
  filter: blur(12px);
  border-radius: 50%;
  z-index: -1;
}
.phone-raise { transform: translateY(-22px); }

.phone {
  width: 202px; height: 416px;
  background: #1C1C1E;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 30px 70px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.07),
    inset 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
  transition: transform .3s ease;
}
.phone-wrap:hover .phone { transform: translateY(-6px); }
.phone-wrap.phone-raise:hover .phone { transform: translateY(-28px); }

/* Side buttons */
.phone::after {
  content: '';
  position: absolute;
  left: -3px; top: 82px;
  width: 3px; height: 30px;
  background: #3a3a3c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #3a3a3c, 0 88px 0 #3a3a3c;
}

.phone-island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 26px;
  background: #1C1C1E;
  border-radius: 13px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* App elements */
.app-statusbar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #111;
  position: relative;
  z-index: 5;
  background: transparent;
}
.app-topbar {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.app-topbar small { font-size: 10px; opacity: .75; font-weight: 400; }

.app-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #F4F6FF;
  flex: 1;
  overflow: hidden;
}
.app-card {
  background: #fff;
  border-radius: 10px;
  padding: 9px 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  flex-shrink: 0;
}
.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.app-card-id { font-size: 11px; font-weight: 700; color: var(--text); }
.app-badge {
  font-size: 9px; font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.app-badge-green  { background: #D1FAE5; color: #065F46; }
.app-badge-yellow { background: #FEF3C7; color: #92400E; }
.app-badge-blue   { background: #DBEAFE; color: #1E40AF; }
.app-badge-gray   { background: #F3F4F6; color: #374151; }
.app-card-detail { font-size: 9.5px; color: var(--text-2); margin-bottom: 3px; }
.app-card-route {
  font-size: 10px; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.app-card-route em { color: var(--primary); font-size: 9px; font-style: normal; }

.app-bottom-nav {
  height: 52px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
}
.app-nav-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  padding: 4px 10px;
}
.app-nav-dot {
  width: 22px; height: 3px;
  border-radius: 2px;
  background: #E5E7EB;
}
.app-nav-dot.active { background: var(--primary); }
.app-nav-label { font-size: 7.5px; color: var(--text-muted); }
.app-nav-label.active { color: var(--primary); font-weight: 600; }

/* Invoice phone specific */
.app-invoice-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  color: #fff;
  padding: 16px 14px 14px;
  flex-shrink: 0;
}
.app-inv-label { font-size: 10px; opacity: .75; margin-bottom: 4px; }
.app-inv-total { font-size: 26px; font-weight: 800; margin-bottom: 2px; }
.app-inv-sub { font-size: 10px; opacity: .65; }

.invoice-item {
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  flex-shrink: 0;
}
.inv-desc { font-size: 9.5px; font-weight: 600; color: var(--text); margin-bottom: 1px; }
.inv-sub  { font-size: 8.5px; color: var(--text-muted); }
.inv-amount { font-size: 11px; font-weight: 700; color: var(--text); text-align: right; }
.inv-paid   { color: #065F46; }

/* Map / route phone */
.app-map {
  background: #E4EAF5;
  border-radius: 10px;
  height: 130px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(172,190,215,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,190,215,.45) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map-route {
  position: absolute;
  top: 40px; left: 20px; right: 20px;
}
.map-line {
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  position: relative;
}
.map-line::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
}
.map-line::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(56,63,157,.2);
}
.map-vehicle {
  position: absolute;
  top: 50%; left: 55%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(56,63,157,.4);
}
.map-lbl {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 8px; font-weight: 600;
  color: var(--text-2);
}
.map-lbl-r { right: 10px; left: auto; }

.progress-steps { display: flex; gap: 4px; margin-bottom: 7px; }
.progress-step {
  flex: 1; height: 4px;
  border-radius: 2px;
  background: var(--border);
}
.progress-step.done   { background: var(--primary); }
.progress-step.active { background: var(--primary-xl); }
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 7.5px; color: var(--text-muted);
}

/* ---- Laptop device --------------------------------------- */
.laptop-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 68px;
  position: relative;
}
.laptop-wrapper::before {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 460px; height: 36px;
  background: rgba(56,63,157,.13);
  filter: blur(22px);
  border-radius: 50%;
}
.laptop { width: 540px; }

.laptop-lid {
  background: #242428;
  border-radius: 14px 14px 0 0;
  padding: 10px;
  box-shadow:
    0 -2px 0 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(255,255,255,.06),
    var(--shadow-lg);
}
.laptop-display {
  background: #F4F6FF;
  border-radius: 5px;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
}
.laptop-sidebar {
  width: 46px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 12px;
  gap: 14px;
  flex-shrink: 0;
}
.laptop-brand {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.laptop-brand img { height: 18px; width: auto; }

.ls-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
}
.ls-icon.active { background: var(--primary); }
.ls-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: rgba(255,255,255,.28);
}
.ls-icon.active .ls-dot { background: #fff; }

.laptop-main {
  flex: 1;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.lm-topbar {
  display: flex; align-items: center;
  justify-content: space-between;
  

}
.lm-title { font-size: 12px; font-weight: 700; color: var(--text); }
.lm-actions { display: flex; gap: 6px; align-items: center; }
.lm-search {
  height: 22px; width: 120px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 8px;
  font-size: 8.5px;
  color: var(--text-muted);
  display: flex; align-items: center;
}
.lm-btn {
  height: 22px;
  padding: 0 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
  font-size: 9px; font-weight: 600;
  display: flex; align-items: center;
}
.lm-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.lm-stat {
  background: #fff;
  border-radius: 7px;
  padding: 8px 9px;
  box-shadow: var(--shadow-sm);
}
.lm-stat-lbl {
  font-size: 7px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.lm-stat-val { font-size: 16px; font-weight: 800; color: var(--text); }
.lm-stat-val.c-primary { color: var(--primary); }
.lm-stat-val.c-success { color: var(--success); }
.lm-stat-val.c-warn    { color: var(--warning); }

.lm-table {
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 1;
}
.lm-thead, .lm-trow {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1.6fr 1fr .9fr;
  gap: 6px;
  padding: 7px 10px;
  align-items: center;
}
.lm-thead {
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
}
.lm-th {
  font-size: 7px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}
.lm-trow { border-bottom: 1px solid var(--border); }
.lm-trow:last-child { border-bottom: none; }
.lm-cell { font-size: 8px; color: var(--text); }
.lm-cell-id { font-weight: 700; color: var(--primary); }
.lm-cell-sub { font-size: 7px; color: var(--text-muted); margin-top: 1px; }
.lm-badge {
  display: inline-block;
  font-size: 7px; font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}

.laptop-hinge {
  height: 5px;
  background: #1C1C1E;
}
.laptop-base {
  height: 18px;
  background: #2C2C2E;
  border-radius: 0 0 6px 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-notch {
  width: 90px; height: 7px;
  background: #3A3A3C;
  border-radius: 4px 4px 0 0;
  position: absolute;
  bottom: 0;
}
.laptop-shadow {
  height: 6px;
  background: #111;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Tracking CTA + features */
.tracking-cta { text-align: center; margin-bottom: 52px; }
.tracking-features {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feature-text { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ================================================================
   SERVICES
   ================================================================ */
.services { padding: 50px 0 70px; background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.service-card:hover {
  border-color: rgba(56,63,157,.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-title {
  display: flex;
  margin-bottom: 26px;
  align-items: center;
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(56,63,157,.28);
  margin-right: 15px;
}
.service-card h2 {
  font-size: 22px; font-weight: 700;
  color: var(--text);
}
.service-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-delivers h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.service-list { list-style: none; display: grid; grid-template-columns: max-content max-content;; gap: 10px 50px; }
.service-list li {
  display: flex; align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.sl-bullet {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ================================================================
   AUCTIONS
   ================================================================ */
.auctions {
  padding: 60px 0;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auctions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(56,63,157,.22) 0%, transparent 65%);
  pointer-events: none;
}
.auctions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.auctions-content h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
}
.auctions-content p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
}
.auctions-content p + p { margin-top: 14px; }

.auction-partners { display: flex; flex-direction: column; gap: 14px; }
.auction-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all .2s;
}
.auction-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.auction-badge {
  width: 100px; height: 58px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  letter-spacing: .01em;
  flex-shrink: 0;
}
.badge-copart  { background: #fff; color: #fff; padding: 10px;}
.badge-iaai    { background: #C90107; color: #fff; padding: 10px;}
.badge-manheim { background: #fff;    color: #003087; padding: 0 26px;}

.auction-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.auction-info p  { font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.45; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: 62px 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 294px;
  gap: 48px;
  align-items: start;
}
.contact-heading {
  font-size: 16px; font-weight: 700;
  color: #fff;
  white-space: nowrap;
  padding-top: 4px;
}
.contact-item { display: flex; flex-direction: column; gap: 5px; }
.contact-lbl {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 2px;
}
.contact-val {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}
.contact-val a { color: #417dc1; }
.contact-val a:hover { color: #5ea7f9; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 22px 0;
}
.footer-inner {
  display: grid;grid-template-columns: 1fr 1fr 294px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo img {
  height: 26px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.38); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.75); }

	.footer-copy .m2 {
		display: none;
	}
/* ================================================================
   MOBILE MENU (BURGER)
   ================================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 201;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #01254d;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1360px) {
.section-title-xl {
  font-size: 42px;
}
}

@media (max-width: 1080px) {

  .service-card h2 {
    max-width: 200px;
    line-height: 32px;
}
.service-icon {
    width: 50px;
    height: 50px;
}
}
@media (max-width: 960px) {
.hero-inner {
    grid-template-columns: 1fr 0;
    padding-left: 10%;
    padding-right: 10%;
    gap: 0;
}
.hero-visual {
	display: none;
}

.mobile-hero-image {
    display: block;
    width: 100%;
    margin: 24px 0; 
    border-radius: 12px;
    box-shadow: var(--shadow-md); 
    max-width: 500px;
}
	
.header-cta {
    margin-left: auto;
  }
.hamburger {
    display: flex;
  }
  
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 28px 6px;
    gap: 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
	  background: #f6faff;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #c8cbe5;
	  border-radius: 0;
	  color: #40566f;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  
  .nav a:hover {
    background: transparent;
	  color: #166ecf;
  }

.section-title-xl {
  font-size: 28px;
}

}

@media (max-width: 880px) {
	
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 178px; 
    gap: 48px;
    align-items: start;
}

.contact-heading {
    grid-column: 1 / -1; 
    margin-bottom: -20px; 
}

    .hero-inner {
      padding-top: 40px;
      padding-bottom: 40px;
    }
	
}
@media (max-width: 780px) {
.hero-inner {
    grid-template-columns: 1fr 0;
	gap: 20px;
    }
    

	
	.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: 
    "logo links"
    "copy links";
  row-gap: 8px; 
  align-items: center;
}
	
.devices-wrapper {
    gap: 12px;
    transform: scale(calc(100vw / 720)); 
    transform-origin: top center;
    margin-bottom: calc(440px * (100vw / 720) - 440px + 56px);
  }

.footer-logo { 
  grid-area: logo; 
}

.footer-copy { 
  grid-area: copy; 
}

.footer-links { 
  grid-area: links; 
  justify-self: end;
}
.auctions-inner {
    gap: 30px;
}
.services-grid {
    grid-template-columns: 1fr;
}

.service-card h2 {
    max-width: 100%;
}
	
}
@media (max-width: 670px) {
.devices-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	justify-self: center;
    align-self: center;  
    place-self: center;
}
.phone-raise {
    transform: none;
}
.phone-wrap:hover .phone { transform: none; }
.phone-wrap.phone-raise:hover .phone { transform: none; }
	
	.contact-grid {
        gap: 28px;
    }
.phone-wrap {
	margin-top: 40px;
}
.phone-wrap:first-child {
	margin-top: 0;
}
	.auctions-inner {
	grid-template-columns: 1fr;
    }
  .hero-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }  
  .mobile-hero-image {
        max-width: 400px;
    }
.section-subtitle {
  gap: 20px;
  max-width: 520px;
  font-size: 18px;
}

.section-title-xl {
        font-size: 28px;
    }

}
@media (max-width: 600px) {
	.contact-grid {
	grid-template-columns: 1fr;
    }
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 4px 24px; 
  }
	.contact-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 30px 15px;
  }

  .contact-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .contact-grid .contact-item:last-child {
    grid-column: 1 / -1;
  }
  .hero-inner {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero h1 {
    text-align: center;
  }
  .hero-actions {
	  justify-content: center;
  }
  .tracking {
    padding: 60px 0 70px;
  }
  .section-title-xl {
    font-size: clamp(28px, 5vw, 54px);
    line-height: 1.2;
}
.section-tagline {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.2;
}
.section-subtitle {
    font-size: 18px;
}
  .services {
    padding: 50px 0;
  }
  .service-icon {
        width: 58px;
        height: 58px;
    }
  .auctions {
    padding: 50px 0;
  }
  .auctions-content h2 {
    text-align: center;
}
  .contact {
    padding: 40px 0;
  }
.feature-text {
    font-size: 16px;
}
.service-card p {
    font-size: 18px;
}
.service-delivers h4 {
    font-size: 16px;
}
.service-list li {
    font-size: 18px;
}
.auctions-content p {
    font-size: 18px;
}
.auction-info h4 {
    font-size: 18px;
}
.auction-info p {
    font-size: 16px;
}
.contact-heading {
    font-size: 18px;
}
.contact-lbl {
    font-size: 12px;
}
.contact-val {
    font-size: 16px;
}
.footer-links a {
    font-size: 16px;
}
.footer-copy {
    font-size: 15px;
}
.section-subtitle {
  display: block;
  gap: 0;
  max-width: 100%;
}
.section-subtitle .br {
  display: block;
  width: 100%;
}

}
@media (max-width: 540px) {
.top-bar-inner {
    padding: 0 15px;
}
	    .container {
        padding: 0 15px;
    }
.hero-inner {
    gap: 15px;
        padding: 40px 15px;
}
.section-title-xl {
  font-size: clamp(28px, 5vw, 54px);
}
	
.btn-primary {
    padding: 9px 15px 10px;
}
.btn-outline {
    padding: 9px 10px 10px;
}
.service-card {
    padding: 34px;
    padding-bottom: 24px;
}
.service-card h2 {
    font-size: 24px;
    line-height: 32px;
    max-width: 280px;
}
.service-icon {
    max-width: 58px;
    flex-shrink: 0;
}
	
}
@media (max-width: 460px) {
	.top-bar-address .m1 {
    display: none; 
  }
  .tracking-features {
    grid-template-columns: 1fr;
  }
.logo img {
    padding-right: 0px;
}
	.logo {
    flex-shrink: revert;
		max-width: 160px;
}.btn-lg {
    padding: 14px 10px;
}
.tracking-cta .btn-lg {
    padding: 14px 0;
	width: 100%;
	justify-content: center;
}
	.hamburger {
    flex-shrink: 0;
    }
	.hero h1 {
    font-size: clamp(34px, 5vw, 60px);
	}
	.footer-copy .m2 {
		display: inline;
	}
	.footer-copy .m3 {
		padding-left: 13px;
	}    
  .contact-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 420px) {

  .service-card h2 {
        font-size: 26px;
        line-height: 35px;
    }
  .service-list {
    display: block;
  }    
  .service-list li {
    margin-bottom: 4px;
  }
  .service-card {
    padding-bottom: 34px;
  }
}
@media (max-width: 380px) {
	.header-inner {
        gap: 10px;
    }    
    .footer-links {
        gap: 4px 10px;
    }
.service-title {
    display: block;
}
    .service-icon {
    margin-bottom: 26px;
}
}



@media (max-width: 1480px) {
  .hero-image {
    width: 125%;
    margin-left: 10px;
  }
}

@media (max-width: 1280px) {
  .hero-image {
    width: 105%;
    margin-left: 0;
  }

  .hero-inner {
    gap: 20px;
  }
}

.bento-container {
  max-width: 80%;
	margin: auto;
	margin-bottom: 55px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.item-wide {
  grid-column: span 3;
	min-height: 360px;
}

@media (max-width: 960px) {
.bento-container {
  max-width: 100%;
}
}
@media (max-width: 520px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .item-wide {
    grid-column: span 2;
  }
.item-wide {
    min-height: 240px;
}
}

@media (max-width: 390px) {
  .bento-grid {
    
    grid-template-columns: 1fr;
  }
  
  
  .item-featured, .item-wide {
    grid-column: span 1;
    grid-row: span 1;
	  min-height: 200px;
  }
}
