:root {
  color-scheme: light;
  --bg: #eef4fb;
  --surface: #f7fbff;
  --surface-alt: #e7eff8;
  --text: #15334d;
  --muted: #4f6b7c;
  --primary-soft: #dbe9ff;
  --radius: 24px;
}

body {
  background: radial-gradient(circle at top left, rgba(221, 230, 240, 0.9), transparent 35%), #eef4fb;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-soft {
  background: #f8fbff;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 51, 77, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
}

.mobile-nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  transition: transform 0.25s ease;
}

@media (max-width: 991.98px) {
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 78%;
    max-width: 280px;
    min-height: 100vh;
    display: block !important;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
    padding: 1rem 0.9rem 1.2rem;
    transform: translateX(-110%);
    z-index: 1100;
    box-shadow: 16px 0 30px rgba(21, 51, 77, 0.16);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow-y: auto;
  }

  .mobile-nav.show {
    transform: translateX(0);
  }

  .mobile-nav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-top: 2.2rem;
    width: 100%;
  }

  .mobile-nav .nav-item {
    width: 100%;
  }

  .mobile-nav .nav-link {
    font-size: 0.96rem;
    padding: 0.6rem 0.75rem;
    border-radius: 999px;
    width: 100%;
    color: var(--text);
  }

  .mobile-nav .nav-link:hover,
  .mobile-nav .nav-link:focus {
    background: rgba(91, 143, 209, 0.12);
  }
}

.glass {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.84) !important;
}

.neumorph {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 14px 14px 28px rgba(133, 150, 170, 0.14), -14px -14px 28px rgba(255, 255, 255, 0.9);
}

.hero-section {
  min-height: auto;
}

.hero-card {
  border: 1px solid rgba(71, 103, 150, 0.08);
}

.hero-visual {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.5rem;
}

.car-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(33, 100, 189, 0.06) 40%, rgba(33, 100, 189, 0.06) 60%, transparent 60%);
}

.car {
  position: absolute;
  top: 42%;
  font-size: 3rem;
  color: #1d5db4;
}

.car-one {
  left: -12%;
  animation: drive 10s linear infinite;
}

@keyframes drive {
  0% { transform: translateX(0) scale(1); }
  50% { transform: translateX(110vw) scale(1.02); }
  100% { transform: translateX(220vw) scale(1); }
}

.section-heading {
  margin-bottom: 1rem !important;
}

.section-heading h2 {
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.badge.bg-primary-soft {
  background: rgba(54, 111, 255, 0.14);
}

.btn-primary {
  border-radius: 999px;
}

.btn-outline-primary {
  border-radius: 999px;
  border-width: 1.5px;
}

.card {
  border-radius: 24px;
}

.testimonial-card {
  max-width: 720px;
  border: 1px solid rgba(71, 103, 150, 0.08);
}

.gallery-slide {
  border-radius: 28px;
  overflow: hidden;
}

.gallery-caption {
  max-width: 720px;
  margin: 0 auto;
}

.icon-box {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--primary-soft);
}

.contact-list li {
  margin-bottom: 1rem;
}

.map-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, #ffffff 0%, #e7f0fc 100%);
  border: 1px solid rgba(71, 103, 150, 0.08);
}

@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
  }
  .hero-visual {
    min-height: 300px;
  }
  .car {
    font-size: 2.4rem;
  }
}
