/* ============================================================
   AUTOSPAS — Dark Liquid Glass Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap');

/* ---- Variables ---- */
:root {
  --bg:        #08081A;
  --bg2:       #0D0D28;
  --accent:    #FF6B2B;
  --accent-h:  #E55A1F;
  --accent-d:  rgba(255,107,43,0.15);
  --green:     #25D366;
  --green-h:   #1DB954;
  --text:      #FFFFFF;
  --text2:     rgba(255,255,255,0.6);
  --text3:     rgba(255,255,255,0.35);
  --glass:     rgba(255,255,255,0.06);
  --glass-s:   rgba(255,255,255,0.10);
  --gb:        rgba(255,255,255,0.10);
  --r-lg:      24px;
  --r-md:      16px;
  --r-sm:      12px;
  --r-pill:    100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ---- Background Orbs ---- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,107,43,0.32) 0%, transparent 70%);
  top: -250px; left: -180px;
  filter: blur(80px);
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,142,247,0.28) 0%, transparent 70%);
  top: 25%; right: -180px;
  filter: blur(100px);
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  bottom: -100px; left: 20%;
  filter: blur(90px);
}
.orb-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,107,43,0.15) 0%, transparent 70%);
  top: 65%; left: -80px;
  filter: blur(70px);
}

/* All content above orbs */
header, section, footer, .modal-overlay, .fab-wrap { position: relative; z-index: 1; }

/* ---- Glass Mixin ---- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(48px) saturate(180%);
  -webkit-backdrop-filter: blur(48px) saturate(180%);
  border: 1px solid var(--gb);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 20px 60px rgba(0,0,0,0.3);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,107,43,0.4);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  background: rgba(37,211,102,0.12);
  color: #25D366;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(37,211,102,0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-wa:hover {
  background: var(--green);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
}

/* ---- Header ---- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,26,0.7);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease;
}
#header.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-svg { display: block; }

.nav-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a,
.nav-links button.nav-contact-btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  background: none;
  border: none;
}
.nav-links a:hover,
.nav-links button.nav-contact-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,43,0.4);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  border: 1px solid var(--gb);
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--gb);
}
.mobile-menu.open { display: flex; }
.mobile-menu a,
.mobile-menu button {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--r-sm);
  text-align: left;
  background: none;
  border: none;
  transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu button:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.mob-call {
  background: var(--accent) !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: 600 !important;
}
.mob-wa {
  background: rgba(37,211,102,0.15) !important;
  color: #25D366 !important;
  border: 1px solid rgba(37,211,102,0.35) !important;
  text-align: center !important;
  font-weight: 600 !important;
}

/* ---- Hero ---- */
#hero {
  padding: 80px 0 60px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero text */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,107,43,0.1);
  border: 1px solid rgba(255,107,43,0.25);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: #fff;
}
.hero-h1 .accent { color: var(--accent); }

.hero-p {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 32px;
}
.hero-p strong { color: #fff; }

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  background: var(--glass);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--gb);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-chip:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 12px 30px rgba(0,0,0,0.3);
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Dispatch Card (Hero Visual) ---- */
.hero-visual {
  position: relative;
  padding: 24px 24px 24px 8px;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 24px rgba(0,0,0,0.3);
  animation: floatBadge 3.5s ease-in-out infinite;
}
.badge-tl { top: 6px; left: -4px; animation-delay: 0s; }
.badge-br { bottom: 10px; right: 4px; animation-delay: 1.8s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.fb-val {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.fb-lbl {
  font-size: 10px;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Main dispatch card */
.dispatch-card {
  position: relative;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 28px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.5),
    0 2px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

/* Inner color blobs for liquid feel */
.dc-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dc-orb-a {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,107,43,0.3) 0%, transparent 70%);
  top: -70px; right: -50px;
  filter: blur(40px);
}
.dc-orb-b {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(79,142,247,0.25) 0%, transparent 70%);
  bottom: -50px; left: -30px;
  filter: blur(40px);
}

.dc-content {
  position: relative;
  z-index: 1;
  padding: 28px;
}

/* Status row */
.dc-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.dc-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--r-pill);
}
.dc-pulse {
  width: 8px; height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
.dc-status-text {
  font-size: 13px;
  font-weight: 600;
  color: #25D366;
}
.dc-now {
  font-size: 12px;
  color: var(--text3);
}

/* ETA */
.dc-eta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.dc-eta-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -3px;
}
.dc-eta-right {
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
}
.dc-eta-unit {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.dc-eta-desc {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

/* Route tracker */
.dc-route {
  margin: 20px 0 18px;
}
.dc-route-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pins */
.dc-pin { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dc-pin-start {
  position: relative;
  width: 20px; height: 20px;
}
.dc-pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ringPulse 2.2s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}
.dc-pin-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: relative; z-index: 1;
}

/* Track */
.dc-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  position: relative;
  overflow: visible;
}
.dc-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(255,170,100,0.7));
  border-radius: 10px;
  animation: fillTrack 5s ease-in-out infinite;
}
@keyframes fillTrack {
  0%       { width: 2%; }
  65%      { width: 85%; }
  80%, 92% { width: 85%; }
  100%     { width: 2%; }
}

.dc-truck {
  position: absolute;
  top: 50%;
  transform: translateY(-85%);
  animation: driveTruck 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(255,107,43,0.4));
}
@keyframes driveTruck {
  0%       { left: 0px; }
  65%      { left: calc(100% - 34px); }
  80%, 92% { left: calc(100% - 34px); }
  100%     { left: 0px; }
}

/* Route labels */
.dc-route-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Info chips */
.dc-chips {
  display: flex;
  gap: 8px;
}
.dc-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
}

/* ---- Section base ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Features ---- */
#card { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 24px 60px rgba(0,0,0,0.4);
  border-color: rgba(255,107,43,0.25);
}

.fc-icon {
  width: 56px; height: 56px;
  background: var(--accent-d);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,107,43,0.2);
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ---- About ---- */
#about { padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text .section-title { text-align: left; }

.about-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  margin-top: 8px;
}
.about-body {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.85;
  margin-bottom: 32px;
}
.about-body strong { color: #fff; }

.about-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-mini-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.25s, border-color 0.25s;
}
.about-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,43,0.2);
}
.amc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.amc-lbl {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.4;
}

/* ---- FAQ ---- */
#faq { padding: 100px 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
  border-color: rgba(255,107,43,0.35);
  box-shadow: 0 0 0 1px rgba(255,107,43,0.1), 0 12px 40px rgba(0,0,0,0.3);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }

.faq-q::after {
  content: '+';
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: rgba(255,107,43,0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  background: rgba(255,107,43,0.2);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  animation: faqSlide 0.25s ease;
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Floating CTA ---- */
.fab-wrap {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  border: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.fab-wa { background: var(--green); color: #fff; }
.fab-wa:hover {
  background: var(--green-h);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.45);
}
.fab-call { background: var(--accent); color: #fff; }
.fab-call:hover {
  background: var(--accent-h);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,107,43,0.45);
}

/* ---- Modal ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: rgba(20,20,40,0.92);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 40px 80px rgba(0,0,0,0.6);
}
.animate-zoom { animation: zoomIn 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 24px;
  color: var(--text3);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 20px;
}

.btn-wa-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-md);
  border: none;
  transition: all 0.25s;
}
.btn-wa-modal:hover {
  background: var(--green-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.4);
}

/* ---- Footer ---- */
#footer {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-brand {}
.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text3);
  max-width: 220px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a,
.footer-nav button {
  font-size: 14px;
  color: var(--text2);
  text-align: left;
  transition: color 0.2s;
  background: none;
  border: none;
}
.footer-nav a:hover,
.footer-nav button:hover { color: var(--accent); }

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-call {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  transition: all 0.25s;
}
.footer-call:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
}
.footer-wa {
  padding: 12px 24px;
  background: rgba(37,211,102,0.1);
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(37,211,102,0.3);
  transition: all 0.25s;
}
.footer-wa:hover {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  font-size: 13px;
  color: var(--text3);
  text-align: center;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* ---- Scroll animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="2"] { transition-delay: 0.15s; }
[data-animate-delay="3"] { transition-delay: 0.25s; }
[data-animate-delay="4"] { transition-delay: 0.35s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: ≤ 1100px */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { order: 1; }
  .hero-visual { order: 2; max-width: 460px; margin: 0 auto; padding: 16px; }
  .hero-p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-payment { justify-content: center; }
  .hero-tag { margin: 0 auto 20px; }
  .hero-h1 { letter-spacing: -1.5px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-text .section-title { text-align: center; }
  .about-label { text-align: center; }
  .about-body { text-align: center; }
  .about-btns { justify-content: center; }
  .about-cards { max-width: 500px; margin: 0 auto; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  #hero { padding: 40px 0 50px; min-height: auto; }
  #card, #about, #faq { padding: 70px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 24px 18px; }
  .feature-card h3 { font-size: 15px; }

  .float-badge { display: none; }
  .hero-visual { padding: 8px 0; }

  .dc-eta-num { font-size: 52px; }
  .dc-content { padding: 22px 20px; }

  .section-head { margin-bottom: 36px; }

  .faq-q { padding: 16px 18px; font-size: 15px; }
  .faq-a { padding: 0 18px 16px; font-size: 14px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; }

  .fab span { display: none; }
  .fab { padding: 14px; }
  .fab svg { width: 24px; height: 24px; }
  .fab-wrap { gap: 8px; }
}

/* Mobile: ≤ 500px */
@media (max-width: 500px) {
  .container { padding: 0 16px; }
  .hero-h1 { font-size: clamp(44px, 12vw, 60px); letter-spacing: -1px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-wa { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .dc-chips { flex-direction: column; }
  .modal-box { padding: 28px 20px; }

  /* Truck label hide on tiny screens */
  .dc-route-labels { font-size: 10px; }
}

/* iOS safe area for very small screens */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .dispatch-card { background: rgba(15,15,40,0.95); }
  #header { background: rgba(8,8,26,0.98); }
  .feature-card, .about-mini-card, .faq-item, .stat-chip { background: rgba(20,20,50,0.9); }
}

/* ---- Hero payment row ---- */
.hero-payment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hp-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hp-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
}

.hp-chip-kaspi {
  border-color: rgba(239,51,64,0.25);
  color: rgba(255,180,185,0.9);
}

/* ---- Payment methods (old section - kept for fallback) ---- */

.payment-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex-wrap: wrap;
  justify-content: center;
}

.payment-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s ease;
  cursor: default;
}
.pay-chip:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.pay-chip-kaspi {
  border-color: rgba(239,51,64,0.3);
  color: rgba(255,255,255,0.85);
}
.pay-chip-kaspi:hover {
  background: rgba(239,51,64,0.1);
  border-color: rgba(239,51,64,0.5);
}

.pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .payment-strip {
    padding: 18px 20px;
    gap: 16px;
  }
  .payment-label {
    width: 100%;
    text-align: center;
  }
  .pay-divider { display: none; }
}
