:root {
  --brand-ink: #0b1220;
  --brand-ink-soft: #162537;
  --brand-sand: #f6b241;
  --brand-ember: #f28b2f;
  --brand-sky: #8ad0ff;
  --brand-mist: #eef2f6;
  --brand-muted: #657688;
  --brand-card: #ffffff;
  --brand-shadow: 0 24px 60px rgba(11, 18, 32, 0.16);
  /* Safe area insets for notched devices */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

* {
  box-sizing: border-box;
}

/* Smooth scrolling for native feel */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(246, 178, 65, 0.18), transparent 42%),
    radial-gradient(circle at 82% 0%, rgba(138, 208, 255, 0.2), transparent 38%),
    linear-gradient(135deg, #eef2f6 0%, #f7f5f1 55%, #e8edf4 100%);
  min-height: 100vh;
  /* Prevent overscroll bounce on mobile */
  overscroll-behavior-y: contain;
  /* Prevent pull-to-refresh in PWA */
  overflow-x: hidden;
  /* Better font rendering on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

/* Global container width */
.container {
  max-width: 1400px !important;
}

.text-muted {
  color: var(--brand-muted) !important;
}

.top-bar {
  background: linear-gradient(135deg, var(--brand-sand), var(--brand-ember));
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
  color: #0b1220;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-bar .container {
  max-width: 1400px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.top-bar a {
  color: inherit;
  text-decoration: none;
}

.top-bar a:hover {
  color: #0b1220;
}

.site-header {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(11, 18, 32, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.site-header .container {
  max-width: 1400px;
}

.header-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-logo {
  width: 130px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-link {
  position: relative;
  color: #e8eff5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brand-sand);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--brand-sand);
}

.nav-link.active::after,
.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--brand-ink);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.1rem;
  color: #e8eff5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--brand-sand);
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile dropdown accordion */
.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown summary {
  list-style: none !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}

.mobile-dropdown summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown summary::-moz-list-bullet {
  list-style-type: none;
  display: none;
}

.mobile-dropdown summary svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
  pointer-events: none;
  margin-left: 0.5rem;
}

.mobile-dropdown[open] summary svg {
  transform: rotate(180deg);
}

.mobile-dropdown summary.active {
  color: var(--brand-sand);
}

.mobile-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0 0 1.5rem;
  margin-top: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0.25rem;
}

.mobile-dropdown-menu a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  transition: color 0.15s;
}

.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a.active {
  color: var(--brand-sand);
}

.header-cta-desktop {
  box-shadow: 0 16px 35px rgba(242, 139, 47, 0.35);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Admin Body */
.admin-body {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
  min-height: 100vh;
}

.admin-auth-body {
  background:
    radial-gradient(circle at 20% 20%, rgba(138, 208, 255, 0.2), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(246, 178, 65, 0.18), transparent 40%),
    #eef2f6;
}

.admin-auth-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.admin-table {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-live {
  background: rgba(138, 208, 255, 0.2);
  color: #0c3b5a;
}

.status-muted {
  background: rgba(11, 18, 32, 0.08);
  color: var(--brand-ink-soft);
}

.nav-mobile {
  position: relative;
}

.nav-toggle-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f0f6fb;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1020;
  list-style: none;
}

.nav-toggle-label:focus-visible {
  outline: 2px solid rgba(138, 208, 255, 0.8);
  outline-offset: 3px;
}

.nav-toggle-label::-webkit-details-marker {
  display: none;
}

.nav-mobile[open] .nav-toggle-label {
  background: rgba(255, 255, 255, 0.22);
}

.menu-icon-holder {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  display: block;
}

.menu-icon-bars {
  width: 22px;
  height: 2px;
  background: #f0f6fb;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}

.menu-icon-bars::before,
.menu-icon-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #f0f6fb;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-icon-bars::before {
  top: -6px;
}

.menu-icon-bars::after {
  top: 6px;
}

.menu-icon-close {
  position: absolute;
  inset: 0;
  display: none;
}

.menu-icon-close::before,
.menu-icon-close::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 2px;
  background: #f0f6fb;
  border-radius: 999px;
  transform-origin: center;
}

.menu-icon-close::before {
  transform: translateY(-50%) rotate(45deg);
}

.menu-icon-close::after {
  transform: translateY(-50%) rotate(-45deg);
}

.nav-mobile[open] .menu-icon-bars {
  display: none;
}

.nav-mobile[open] .menu-icon-close {
  display: block;
}

.menu-text {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: min(280px, 92vw);
  background: rgba(11, 18, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(11, 18, 32, 0.4);
  z-index: 1010;
}

.nav-mobile[open] .mobile-panel {
  display: block;
  animation: panelDrop 0.25s ease both;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(138, 208, 255, 0.18);
  color: #0c3b5a;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-sand);
}

.eyebrow.eyebrow-hero {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.25);
  backdrop-filter: blur(8px);
}

.eyebrow.eyebrow-hero::before {
  box-shadow: 0 0 0 4px rgba(246, 178, 65, 0.25);
}

.hero {
  background: linear-gradient(135deg, #0b1220 0%, #182c44 45%, #20435d 100%);
  color: #f8fbff;
  border-radius: 28px;
  padding: 3.5rem 2.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(11, 18, 32, 0.35);
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(138, 208, 255, 0.45), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(246, 178, 65, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-actions {
  margin-top: 1.5rem;
}

.hero-stats,
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 0.8rem 1.1rem;
  min-width: 140px;
}

.stat-card.light {
  background: #ffffff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  color: var(--brand-ink);
}

.stat-card.light .stat-label {
  color: var(--brand-muted);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 30px 60px rgba(11, 18, 32, 0.45);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(11, 18, 32, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(8px);
}

.section-title {
  margin-bottom: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  padding: 1rem 1.25rem;
  box-shadow: var(--brand-shadow);
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  list-style: none;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--brand-ink);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0.75rem;
}

.section-slab {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--brand-shadow);
  backdrop-filter: blur(10px);
}

.section-slab.hero-slab {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.section-slab.hero-slab::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(138, 208, 255, 0.35), transparent 70%);
}

.section-slab.hero-slab::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(246, 178, 65, 0.3), transparent 70%);
}

.section-slab.hero-slab > .row {
  position: relative;
  z-index: 1;
}

.image-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card {
  background: var(--brand-card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.05);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.2);
}

.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.image-card-body {
  padding: 1.4rem;
}

.avatar-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0c3b5a;
  background: rgba(138, 208, 255, 0.22);
  margin-bottom: 1rem;
}

.feature-card {
  background: var(--brand-card);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.2);
}

.testimonial-card {
  background: var(--brand-card);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
  height: 100%;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(246, 178, 65, 0.4);
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.list-check li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-sand);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.08);
  color: #404040;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popular-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 0.35rem;
}

.popular-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(246, 178, 65, 0.18);
  color: #8c4f10;
  font-weight: 600;
  text-decoration: none;
}

.popular-link:hover {
  background: rgba(246, 178, 65, 0.28);
  color: #8c4f10;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(246, 178, 65, 0.18);
  color: #8c4f10;
  font-weight: 700;
  font-size: 0.8rem;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #f0f6fb;
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  color: #0b1220;
  background: #ffffff;
}

.btn-outline-dark {
  border-radius: 999px;
  border-color: rgba(11, 18, 32, 0.2);
  color: var(--brand-ink);
  font-weight: 600;
}

.btn-outline-dark:hover {
  background: var(--brand-ink);
  color: #ffffff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-sand), var(--brand-ember));
  color: #0b1220;
  border: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.35rem;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f8c160, #f29a3c);
  color: #0b1220;
}

.badge-soft {
  background: rgba(138, 208, 255, 0.2);
  color: #0c3b5a;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.car-card {
  background: var(--brand-card);
  border-radius: 20px;
  box-shadow: var(--brand-shadow);
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.2);
}

.car-media {
  height: 190px;
  background: linear-gradient(135deg, #f5f0e8 0%, #dde7f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brand-muted);
  overflow: hidden;
}

.car-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-media span {
  padding: 0 1rem;
  text-align: center;
}

.slider-wrapper {
  position: relative;
}

.car-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.car-slider::-webkit-scrollbar {
  display: none;
}

.car-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .car-slider {
    gap: 1rem;
  }
  .car-slide {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }
}

@media (min-width: 992px) {
  .car-slide {
    flex: 0 0 calc(33.333% - 0.667rem);
    min-width: calc(33.333% - 0.667rem);
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 18, 32, 0.15);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
  background: var(--brand-ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(11, 18, 32, 0.25);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-btn-prev {
  left: -24px;
}

.slider-btn-next {
  right: -24px;
}

@media (max-width: 991.98px) {
  .slider-btn-prev {
    left: -12px;
  }

  .slider-btn-next {
    right: -12px;
  }
}

@media (max-width: 575.98px) {
  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn-prev {
    left: -8px;
  }

  .slider-btn-next {
    right: -8px;
  }

  .slider-btn svg {
    width: 20px;
    height: 20px;
  }
}

.section-banner {
  border-radius: 28px;
  padding: 2.5rem;
  background: #0b1220;
  color: #f8fbff;
}

.cta-banner {
  border-radius: 28px;
  padding: 2.5rem;
  background-image: linear-gradient(120deg, rgba(11, 18, 32, 0.85), rgba(15, 31, 45, 0.5)), url("../images/cta-road.jpg");
  background-size: cover;
  background-position: center;
  color: #f8fbff;
  box-shadow: 0 30px 60px rgba(11, 18, 32, 0.35);
}

.form-label {
  font-weight: 600;
  color: var(--brand-ink-soft);
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: #f7f9fc;
  padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(246, 178, 65, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(246, 178, 65, 0.15);
}

.page-main {
  padding: 2.5rem 0 4.75rem;
  position: relative;
}

.form-panel {
  background: var(--brand-card);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--brand-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-bar {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: var(--brand-shadow);
}

.booking-bar::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(246, 178, 65, 0.28), transparent 70%);
}

.booking-bar::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -140px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(138, 208, 255, 0.25), transparent 70%);
}

.booking-bar > * {
  position: relative;
  z-index: 1;
}

.booking-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.booking-badges .chip {
  background: rgba(11, 18, 32, 0.1);
  color: var(--brand-ink-soft);
}

.booking-bar .form-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.booking-bar .form-control {
  background: #fff;
}

.booking-action {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-hint {
  font-size: 0.75rem;
  color: var(--brand-muted);
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
}

.form-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(11, 18, 32, 0.2);
}

.footer {
  background: #0b1220;
  color: #d2dbe2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.footer,
.footer a,
.footer li,
.footer .footer-text,
.footer .footer-contact,
.footer .footer-legal,
.footer .small {
  font-weight: 700;
}

.footer-grid {
  margin: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-column {
  min-width: 0;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.footer-logo-image {
  /* height: 32px; */
  width: 150px;
  display: block;
}

.footer-title {
  font-weight: 700;
  color: #f8fbff;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.footer-list {
  list-style: none;
  padding: 0;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.footer-text {
  color: rgba(210, 219, 226, 0.78);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer a {
  color: #d2dbe2;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand-sand);
}

.footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eff5;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 178, 65, 0.6);
  background: rgba(246, 178, 65, 0.12);
  color: var(--brand-sand);
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  color: rgba(210, 219, 226, 0.72);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

.page-main section {
  animation: fadeUp 0.7s ease both;
}

.page-main section:nth-of-type(2) {
  animation-delay: 0.12s;
}

.page-main section:nth-of-type(3) {
  animation-delay: 0.24s;
}

.page-main section:nth-of-type(4) {
  animation-delay: 0.36s;
}

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

@keyframes panelDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

  .header-bar {
    gap: 0.75rem;
  }

  .brand-logo {
    width: 130px;
  }

  .brand-text {
    letter-spacing: 0.12em;
    font-size: 1rem;
  }

  .site-header .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .hero {
    padding: 2.5rem 2rem;
  }

  .hero-media {
    min-height: 280px;
  }

  .page-main {
    padding: 2rem 0 4rem;
  }
}

@media (max-width: 575.98px) {
  .header-bar {
    gap: 0.5rem;
  }

  .brand-logo {
    width: 110px;
  }

  .site-header .container {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .nav-toggle-label {
    padding: 0.4rem 0.7rem;
  }

  .top-bar {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: left;
  }

  .top-bar a {
    white-space: nowrap;
  }

  .section-slab,
  .cta-banner {
    padding: 1.5rem;
  }

  .image-card img {
    height: 180px;
  }

  .hero-stats,
  .stats-grid {
    gap: 0.75rem;
  }

  .stat-card {
    min-width: 120px;
  }

  .hero-stats {
    flex-wrap: nowrap;
  }

  .hero-stats .stat-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 0.7rem;
  }

  .hero-stats .stat-value {
    font-size: 0.95rem;
  }

  .hero-stats .stat-label {
    font-size: 0.7rem;
  }

  .stats-grid {
    flex-wrap: nowrap;
  }

  .stats-grid .stat-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 0.7rem;
  }

  .stats-grid .stat-value {
    font-size: 0.95rem;
  }

  .stats-grid .stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .menu-text {
    display: none;
  }

  .brand-logo {
    width: 100px;
  }

  .header-bar {
    gap: 0.4rem;
  }

  .nav-toggle-label {
    padding: 0.35rem 0.6rem;
  }
}

@media (min-width: 992px) {
  .nav-mobile {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-whatsapp:hover {
  background: #20bd5a;
}

.fab-call {
  background: var(--brand-ember);
}

.fab-call:hover {
  background: var(--brand-sand);
}

@media (max-width: 575.98px) {
  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .fab {
    width: 50px;
    height: 50px;
  }

  .fab svg {
    width: 24px;
    height: 24px;
  }
}

/* Breadcrumb */
.breadcrumb-bar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}

.breadcrumb-bar ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.breadcrumb-bar li {
  color: var(--brand-muted);
  font-weight: 500;
}

.breadcrumb-bar li:last-child {
  color: var(--brand-ink-soft);
}

.breadcrumb-bar li + li::before {
  content: "\203A";
  margin-right: 0.5rem;
  color: var(--brand-muted);
  opacity: 0.5;
  font-size: 1.1rem;
  line-height: 1;
  vertical-align: middle;
}

.breadcrumb-bar a {
  color: var(--brand-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-bar a:hover {
  color: var(--brand-sand);
}

/* Google Map embed */
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Fare / route table */
.route-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.route-table th {
  background: var(--brand-ink);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-align: left;
}

.route-table th:first-child {
  border-radius: 10px 0 0 0;
}

.route-table th:last-child {
  border-radius: 0 10px 0 0;
}

.route-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #eef2f6;
}

.route-table tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}

.route-table tr:last-child td:last-child {
  border-radius: 0 0 10px 0;
}

.route-table tbody tr:hover {
  background: #f8f9fa;
}

@media (max-width: 575.98px) {
  .route-table {
    font-size: 0.84rem;
  }

  .route-table th,
  .route-table td {
    padding: 0.5rem 0.65rem;
  }
}

/* Blog Styles */
.blog-card {
  background: var(--brand-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(11, 18, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 18, 32, 0.12);
}

.blog-card-media {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-mist) 0%, #e8edf4 100%);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-muted);
  font-weight: 600;
  text-decoration: none;
}

.blog-card-placeholder span {
  padding: 1rem;
  text-align: center;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--brand-muted);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--brand-ink);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--brand-ember);
}

.blog-card-excerpt {
  color: var(--brand-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-ember);
  text-decoration: none;
}

.blog-card-link:hover {
  color: var(--brand-sand);
}

/* Blog Single Page */
.blog-header {
  padding: 2.5rem 0 1.5rem;
}

.blog-header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-back-link:hover {
  color: var(--brand-ink);
  background: rgba(11, 18, 32, 0.08);
}

.blog-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.blog-meta-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-muted);
}

.blog-featured-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.12);
  max-height: 450px;
  position: relative;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
}

.blog-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brand-ink-soft);
  background: var(--brand-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.04);
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-ink);
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content a {
  color: var(--brand-ember);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.blog-content blockquote {
  border-left: 4px solid var(--brand-sand);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--brand-muted);
}

.blog-share {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--brand-card);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-share-label {
  font-weight: 600;
  color: var(--brand-ink);
  margin: 0;
}

.blog-share-buttons {
  display: flex;
  gap: 0.75rem;
}

.blog-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-mist);
  color: var(--brand-ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-share-btn:hover {
  background: var(--brand-ink);
  color: #fff;
}

@media (max-width: 767.98px) {
  .blog-header {
    padding: 1.5rem 0 1rem;
  }

  .blog-title {
    font-size: 1.65rem;
  }

  .blog-content {
    font-size: 0.95rem;
    padding: 1.25rem;
    border-radius: 16px;
  }

  .blog-featured-image {
    border-radius: 16px;
    max-height: 280px;
  }

  .blog-featured-image img {
    max-height: 280px;
  }

  .blog-share {
    padding: 1.25rem;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}
