:root {
  --primary-color: #FE0000;
  --bg-color: #ffffff;
  --bg-color-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --font-family: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Hide default cursor to use custom one */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Cursor Animation */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, var(--primary-color) 0%, rgba(254,0,0,0.3) 100%);
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
  animation: pulseCursor 2s infinite alternate;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--primary-color) 0%, rgba(254,0,0,0.5) 100%);
}

@keyframes pulseCursor {
  0% { box-shadow: 0 0 10px 0px rgba(254, 0, 0, 0.3); }
  100% { box-shadow: 0 0 20px 10px rgba(254, 0, 0, 0); }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

/* Desktop: nav-wrapper is a normal flex row */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo-container img {
  height: 68px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: none;
}

}

.btn-primary:disabled {
  background-color: var(--text-muted);
  pointer-events: none;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.btn-primary:hover:not(:disabled) {
  background-color: #d10000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(254, 0, 0, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--text-dark);
  transition: all 0.3s ease;
  display: inline-block;
  cursor: none;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(254, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  position: relative;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0.6) 100%), url('https://images.unsplash.com/photo-1580674285054-bed31e145f59?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  opacity: 0;
}

.site-loaded .hero h1 {
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 500;
  opacity: 0;
}

.site-loaded .hero p {
  animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.hero .hero-buttons {
  opacity: 0;
}

.site-loaded .hero .hero-buttons {
  animation: fadeInUp 1.4s ease 0.4s forwards;
}

/* Tracking Section */
.tracking {
  padding: 100px 10%;
  background-color: var(--bg-color);
  text-align: center;
}

.tracking-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-color-light);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tracking-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.tracking-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-color);
  color: var(--text-dark);
  font-size: 1rem;
  outline: none;
  font-family: var(--font-family);
  font-weight: 500;
  cursor: none;
}

.tracking-form input:focus {
  border-color: var(--primary-color);
}

.tracking-result {
  margin-top: 20px;
  padding: 20px;
  background: rgba(0,0,0,0.02);
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.2);
}

.tracking-result.hidden {
  display: none;
}

/* Tracking Timeline */
.tracking-timeline {
  margin-top: 30px;
  padding: 25px 20px 10px 20px;
  background: var(--bg-color);
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.2);
  overflow-x: auto;
}

.timeline-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 600px; /* Scrollable on small screens */
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 65px;
  z-index: 2;
}

.timeline-step .icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--text-muted);
  margin-bottom: 12px;
  transition: background-color 0.4s ease;
  box-shadow: 0 0 0 4px var(--bg-color);
}

.timeline-step span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.4s ease;
}

.timeline-line {
  flex: 1;
  height: 4px;
  background-color: rgba(0,0,0,0.1);
  margin-top: 8px; /* align with 20px circle center */
  z-index: 1;
  border-radius: 2px;
  min-width: 20px;
  transition: background-color 0.4s ease;
}

.timeline-line.loading {
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 75%) !important;
  background-size: 200px 100%;
  animation: pulseLine 1.5s infinite linear;
}

@keyframes pulseLine {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

/* Metrics Section */
.metrics {
  background: var(--bg-color-light);
  padding: 80px 10%;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.metrics-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.metric-item {
  flex: 1;
  min-width: 200px;
}

.metric-item h2 {
  font-size: 3.5rem;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 900;
}

.metric-item span {
  font-size: 3.5rem;
  color: var(--primary-color);
  font-weight: 900;
}

.metric-item p {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
}

/* Services */
.services {
  padding: 100px 10%;
  background-color: var(--bg-color-light);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 800;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Video Background Section */
.video-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 10%;
}

.video-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;  /* 16:9 aspect ratio */
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  filter: blur(10px) brightness(0.35) saturate(0.6);
  pointer-events: none;
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    rgba(254,0,0,0.06) 100%
  );
  backdrop-filter: blur(2px);
}

/* Content layout */
.video-section-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.video-section-image {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-section-image img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(254,0,0,0.4);
  box-shadow: 0 0 40px rgba(254,0,0,0.2), 0 0 0 12px rgba(254,0,0,0.06);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.video-section-text {
  flex: 1;
  color: #fff;
}

.video-section-badge {
  display: inline-block;
  background: rgba(254,0,0,0.2);
  color: #ff6b6b;
  border: 1px solid rgba(254,0,0,0.35);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.video-section-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.video-section-text h2 span {
  color: var(--primary-color);
}

.video-section-text > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 22px;
  max-width: 520px;
}

.video-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.95rem;
}

.video-features-list li .fa {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .video-section-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .video-section-image {
    flex: none;
  }
  .video-section-text > p {
    max-width: 100%;
  }
  .video-features-list li {
    justify-content: center;
  }
}

/* How it works */

.how-it-works {
  padding: 100px 10%;
  text-align: center;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: rgba(254, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(254, 0, 0, 0.1);
}

.step h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer & Map */
footer {
  background: var(--bg-color-light);
  padding: 60px 10% 20px 10%;
  border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  color: var(--text-dark);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: none;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(254, 0, 0, 0.3);
}

.map-container {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--bg-color);
  margin: 10% auto;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.1);
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  animation: fadeInUp 0.3s ease;
}

.close {
  color: var(--text-muted);
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  font-weight: bold;
  cursor: none;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: var(--primary-color);
  text-decoration: none;
}

.modal-content h2 {
  margin-bottom: 30px;
  color: var(--text-dark);
  font-weight: 800;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-form input,
.modal-form textarea {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-color-light);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: var(--font-family);
  font-weight: 500;
  outline: none;
  cursor: none;
}

.modal-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Wide Modal */
.modal-content--wide {
  max-width: 620px;
}

/* Modal header with icon */
.modal-header-icon {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.modal-icon-circle {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(254,0,0,0.12);
  box-shadow: 0 4px 16px rgba(254,0,0,0.08);
}

.modal-icon-circle svg {
  width: 44px;
  height: 44px;
}

.modal-header-text h2 {
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-header-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Input groups with icons */
.input-group {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s;
}

.input-with-icon {
  padding-left: 38px !important;
  width: 100%;
}

.input-group:focus-within .input-icon {
  color: var(--primary-color);
}

/* Form rows */
.form-row {
  display: flex;
  gap: 14px;
}

/* Select inside modal */
.modal-select {
  padding: 12px 20px 12px 38px !important;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-color-light);
  font-family: var(--font-family);
  outline: none;
  width: 100%;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  cursor: none;
  appearance: none;
}

.modal-select:focus {
  border-color: var(--primary-color);
}

/* Full-width button */
.btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Hero unlimited text - styled like h1 */
.hero-unlimited {
  font-size: 2.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.1;
  opacity: 0;
}
.site-loaded .hero-unlimited {
  animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

/* Glow button */
.btn-glow {
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 0, 0, 0.4), 0 4px 14px rgba(254, 0, 0, 0.3); }
  50%       { box-shadow: 0 0 0 10px rgba(254, 0, 0, 0), 0 4px 24px rgba(254, 0, 0, 0.5); }
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 16px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  cursor: none;
  border: none;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Footer privacy button */
.footer-sep {
  margin: 0 10px;
  opacity: 0.4;
}
.btn-privacy {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  padding: 0;
}
.btn-privacy:hover {
  color: var(--primary-color);
}

/* Privacy modal body */
.privacy-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.privacy-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 500;
}


/* Feedback message */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}


.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--primary-color);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounce 0.8s ease-in-out infinite alternate;
}

.preloader-bar-container {
  width: 250px;
  height: 6px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
  animation: loadBar 1.5s ease-in forwards;
}

@keyframes loadBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}


/* Van Animation Section */
.van-animation-section {
  width: 100%;
  height: 160px; /* Reduced to minimum */
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 0;
}

.van-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Simulated road line */
.van-animation-section::after {
  content: '';
  position: absolute;
  bottom: 0; /* Wheels touch the bottom */
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #e2e8f0 0, #e2e8f0 40px, transparent 40px, transparent 80px);
  z-index: 1;
}

@keyframes driveVan {
  0% { left: -400px; }
  70% { left: 100%; }
  100% { left: 100%; }
}

.kadex-van {
  position: absolute;
  height: 250px; /* Larger to compensate for internal image padding */
  width: 250px;
  object-fit: contain;
  bottom: -65px; /* Pull down so wheels touch bottom */
  left: -400px;
  z-index: 100;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
  pointer-events: none;
  will-change: left;
}

.van-animation-section.start-animation .kadex-van {
  animation: driveVan 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  cursor: none;
  z-index: 1100;
  transition: background 0.2s;
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(254, 0, 0, 0.07); }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}
.hamburger.active span { background-color: var(--primary-color); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-unlimited { font-size: 1.8rem; }

  header {
    padding: 12px 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .logo-container {
    flex: 1;
  }

  .hamburger {
    display: flex;
  }

  /* Slide-down animation using max-height */
  .nav-wrapper {
    display: flex !important;  /* always in DOM flow */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 3;
    /* Collapsed state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    /* Animation */
    transition:
      max-height 0.45s cubic-bezier(0.4,0,0.2,1),
      opacity 0.35s ease,
      box-shadow 0.35s ease;
  }

  /* Expanded state */
  .nav-wrapper.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    padding-bottom: 16px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav ul li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  nav ul li a {
    display: flex;
    align-items: center;
    padding: 13px 22px;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
  }

  nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(254,0,0,0.04);
    padding-left: 28px;
  }

  nav ul li a::after { display: none; }

  .nav-wrapper .btn-primary {
    display: block;
    margin: 14px 20px 0;
    text-align: center;
    width: calc(100% - 40px);
  }
}
