/* CebuVehicleMarket - Stylesheet (Blue Theme) */
:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #dbeafe;
  --accent: #e8b004;
  --accent-dark: #c69703;
  --dark: #0f172a;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --success: #15803d;
  --danger: #b91c1c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--primary); }
.nav .btn-sell {
  background: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
}
.nav .btn-sell:hover { background: var(--accent-dark); color: var(--dark); }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--gray-700); }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; gap: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav.open { display: flex; }
}

/* Hero — showroom dark with spinning wheels + road */
.hero {
  background: linear-gradient(180deg, #050810 0%, #0a0e1a 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem 6rem; /* extra bottom padding leaves room for the road */
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(212,175,55,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero::after { display: none; } /* old yellow circle no longer fits the dark theme */

/* Spinning wheels flanking the hero text */
.hero-wheel {
  position: absolute;
  width: 240px;
  height: 240px;
  top: 50%;
  margin-top: -120px;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 0 24px rgba(212,175,55,0.4));
  pointer-events: none;
}
.hero-wheel-left {
  left: -60px;
  animation: heroWheelSpin 6s linear infinite;
}
.hero-wheel-right {
  right: -60px;
  animation: heroWheelSpin 6s linear infinite reverse;
}
@keyframes heroWheelSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Animated road at the bottom of the hero */
.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, transparent 0%, #000 100%);
  border-top: 1px solid rgba(212,175,55,0.28);
  overflow: hidden;
  z-index: 2;
}
.hero-road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  margin-top: -1.5px;
  background-image: linear-gradient(90deg, #d4af37 60%, transparent 60%);
  background-size: 50px 3px;
  background-repeat: repeat-x;
  opacity: 0.55;
  animation: roadDash 1.1s linear infinite;
}
.hero-road .road-cars {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 180px;
  font-size: 1.7rem;
  white-space: nowrap;
  animation: driveAcross 18s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
}

/* Smaller wheels on narrower viewports so they don't cover the text */
@media (max-width: 900px) {
  .hero-wheel { width: 170px; height: 170px; margin-top: -85px; opacity: 0.55; }
  .hero-wheel-left { left: -50px; }
  .hero-wheel-right { right: -50px; }
}
@media (max-width: 600px) {
  .hero-wheel { width: 130px; height: 130px; margin-top: -65px; opacity: 0.35; }
  .hero-wheel-left { left: -60px; }
  .hero-wheel-right { right: -60px; }
}
.hero-slideshow { position: relative; min-height: 200px; }
.hero-slide { display: none; animation: heroFadeIn 0.7s ease-in-out; }
.hero-slide.active { display: block; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232,176,4,0.25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,176,4,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(232,176,4,0.05); }
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero-ctas {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }
.hero-dot:hover { border-color: #fff; background: rgba(255,255,255,0.4); }
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); color: var(--dark); }
.btn-secondary { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: var(--white); }

/* Trust strip (under hero) */
.trust {
  background: var(--white);
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--gray-300);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-item-mini {
  font-size: 0.85rem;
  color: var(--gray-700);
}
.trust-item-mini strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Section */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

/* Filters */
.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Listing grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30,64,175,0.12); }
.card-image {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image .badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-image .badge.sold { background: var(--danger); color: var(--white); }
.card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.card-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.5rem;
}
.card-loc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
}

/* Empty state */
.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-500);
}
.empty h3 { color: var(--gray-700); font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Detail page */
.detail {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.detail-back {
  display: inline-block;
  color: var(--gray-500);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.detail-back:hover { color: var(--primary); }
.detail-hero {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.detail-image {
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 2rem; }
.detail-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--gray-900); }
.detail-loc { color: var(--gray-500); margin-bottom: 1rem; }
.detail-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background: var(--gray-100);
  border-radius: 8px;
}
.spec-item .label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-item .value { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); }
.detail-section { margin-bottom: 2rem; }
.detail-section h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem; color: var(--gray-900); }
.detail-section p { color: var(--gray-700); white-space: pre-wrap; }
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
  list-style: none;
}
.features-list li {
  padding: 0.5rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.2rem;
  background: var(--gray-100);
  border-radius: 8px;
  margin-top: 1.5rem;
}
.contact-bar .btn { flex: 1; min-width: 130px; }

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  margin-top: 4rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-eco {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 8px;
  margin: 1.2rem auto;
  max-width: 600px;
  font-size: 0.85rem;
}
.footer-eco a { color: var(--accent); font-weight: 700; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; }

/* Form */
.form-section {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.form-section h1 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-section .sub { color: var(--gray-500); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--gray-900); font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.fee-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--primary-dark);
}
.fee-box strong { color: var(--primary-dark); }

/* ───────────────────────────────────────────────
   Bisaya / English Platform Explainer
─────────────────────────────────────────────── */
.bisaya-section {
  background: #eff6ff;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #dbeafe;
}
.bisaya-inner { max-width: 720px; margin: 0 auto; }
.bisaya-heading {
  font-size: 1.25rem;
  color: #1e3a8a;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.85rem;
}
.bisaya-toggle-wrap { text-align: center; margin-bottom: 1.25rem; }
.bisaya-toggle {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30,64,175,0.3);
  transition: all 0.2s;
}
.bisaya-toggle:hover { background: #fff; color: var(--primary); }
.bisaya-lead {
  font-size: 1rem;
  color: #1e3a8a;
  margin: 0 0 1rem;
  line-height: 1.7;
  text-align: center;
}
.bisaya-banner {
  background: #1e3a8a;
  color: #fff;
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}
.bisaya-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 0.9rem;
  border-left: 4px solid var(--primary);
}
.bisaya-card.danger { border-left-color: var(--danger); }
.bisaya-card.warning { background: #fefce8; border: 2px solid #ca8a04; border-left: 2px solid #ca8a04; }
.bisaya-card .card-head {
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 0.55rem;
}
.bisaya-card .card-head.red { color: var(--danger); }
.bisaya-card .card-head.yellow { color: #854d0e; font-size: 1.05rem; }
.bisaya-card .card-italic {
  color: #1e3a8a;
  margin: 0 0 0.6rem;
  font-style: italic;
  line-height: 1.6;
}
.bisaya-card .card-body { color: #713f12; margin: 0; line-height: 1.65; }
.bisaya-card ul { margin: 0; padding-left: 1.25rem; color: #1e3a8a; line-height: 1.75; }
.bisaya-card ul.gray { color: #555; }
.bisaya-card li { margin-bottom: 0.15rem; }
.hl-blue { background: #dbeafe; padding: 0 0.4rem; border-radius: 3px; }
.hl-yellow { background: #fef08a; padding: 0 0.4rem; border-radius: 3px; font-weight: 700; }
.red-text { color: var(--danger); }

/* ───────────────────────────────────────────────
   How It Works
─────────────────────────────────────────────── */
.how-it-works { background: var(--white); border-radius: 16px; padding: 3rem 1.5rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.step-card {
  padding: 1.5rem 1.25rem;
  background: var(--gray-100);
  border-radius: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(30,64,175,0.12);
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--gray-900); }
.step-card p { color: var(--gray-700); font-size: 0.94rem; line-height: 1.55; }

/* ───────────────────────────────────────────────
   Stats Bar
─────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  color: var(--white);
  padding: 2.25rem 1.5rem;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-top: 0.25rem;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* ───────────────────────────────────────────────
   Trust Badges (icon cards)
─────────────────────────────────────────────── */
.text-center { text-align: center; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-card {
  padding: 1.5rem 1.1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.18s, box-shadow 0.18s;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30,64,175,0.12); }
.trust-icon { font-size: 2.4rem; margin-bottom: 0.6rem; }
.trust-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}
.trust-card p { font-size: 0.86rem; color: var(--gray-500); line-height: 1.5; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ───────────────────────────────────────────────
   CTA Banner
─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(232,176,4,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}
.cta-banner .btn-primary { padding: 0.85rem 2rem; }

/* ───────────────────────────────────────────────
   Footer (multi-column)
─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
  text-align: left;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
}
.footer-col h3 span { color: var(--accent); }
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  color: rgba(255,255,255,0.65);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  padding: 0.2rem 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Hide old single-column footer pieces if HTML still references them */
.footer-links, .footer-eco, .footer-copy { display: none; }

/* ───────────────────────────────────────────────
   Floating chat dock
─────────────────────────────────────────────── */
.float-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-viber { background: #7360f2; box-shadow: 0 4px 16px rgba(115,96,242,0.4); }
.float-whatsapp { background: #25d366; box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.float-messenger { background: #0084ff; box-shadow: 0 4px 16px rgba(0,132,255,0.4); }
.float-top {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(30,64,175,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.float-top.visible { opacity: 1; pointer-events: auto; }
.float-label {
  position: fixed;
  bottom: 60px;
  right: 86px;
  background: #fff;
  color: var(--gray-900);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 999;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .float-buttons { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; font-size: 20px; }
  .float-label { bottom: 52px; right: 70px; font-size: 0.72rem; padding: 6px 11px; }
}

/* ═══════════════════════════════════════════════════════════
   LUXURY HEADER — midnight + gold (matches CLM)
═══════════════════════════════════════════════════════════ */
.header {
  background: linear-gradient(180deg, #0a0e1a 0%, #111526 100%) !important;
  box-shadow: 0 6px 34px rgba(0,0,0,0.55),
              inset 0 -1px 0 rgba(201, 169, 97, 0.35) !important;
  border-bottom: 1px solid rgba(201, 169, 97, 0.22) !important;
  position: sticky;
}
/* Gold shimmer line at bottom of header */
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
              transparent 0%,
              rgba(201,169,97,0) 10%,
              rgba(232,212,162,0.85) 50%,
              rgba(201,169,97,0) 90%,
              transparent 100%);
  pointer-events: none;
}

.header-inner {
  padding: 0.95rem 1.5rem;
}

/* Logo — serif stack, ivory with gold-foil "Vehicle" word */
.logo {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Didot',
               'Georgia', 'Times New Roman', serif !important;
  font-weight: 600 !important;
  font-size: 1.7rem !important;
  letter-spacing: 0.5px !important;
  color: #f5f1e8 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo > span { color: #f5f1e8 !important; }

/* Vehicle-wrap holds the icon + "Vehicle" word stacked */
.logo .vehicle-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  margin: -4px 2px 0;
}
.logo .vehicle-wrap > span:last-child {
  background: linear-gradient(180deg, #f4e4b2 0%, #d4af37 55%, #a17a2e 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-style: italic;
}
.logo .vehicle-icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: -4px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
  animation: carDrive 2.2s ease-in-out infinite;
}
@keyframes carDrive {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25%      { transform: translateX(2px) rotate(-1deg); }
  50%      { transform: translateX(0) rotate(0deg); }
  75%      { transform: translateX(-2px) rotate(1deg); }
}

/* Nav links — uppercase, letter-spaced, ivory → gold on hover */
.nav {
  gap: 2.25rem !important;
  align-items: center;
}
.nav a {
  color: rgba(245, 241, 232, 0.78) !important;
  font-family: 'Helvetica Neue', 'Inter', 'Segoe UI', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.4px !important;
  transition: color 0.3s ease, text-shadow 0.3s ease !important;
}
.nav a:hover {
  color: #e8d4a2 !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
}

/* CTA — gold-foil pill with animated shimmer */
.nav .btn-sell {
  background: linear-gradient(135deg,
              #8a6a1f 0%, #d4af37 30%, #f4e4b2 50%, #d4af37 70%, #8a6a1f 100%) !important;
  background-size: 220% 220% !important;
  animation: goldShimmer 6s ease-in-out infinite;
  color: #1a1308 !important;
  font-family: 'Helvetica Neue', 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: 999px !important;
  padding: 0.65rem 1.5rem !important;
  border: 1px solid rgba(232, 212, 162, 0.6) !important;
  box-shadow: 0 2px 0 rgba(138,106,31,0.8),
              0 8px 24px rgba(212, 175, 55, 0.35),
              inset 0 1px 0 rgba(255, 248, 220, 0.55),
              inset 0 -1px 0 rgba(79, 54, 12, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}
.nav .btn-sell:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #1a1308 !important;
  box-shadow: 0 4px 0 rgba(138,106,31,0.8),
              0 12px 32px rgba(212, 175, 55, 0.55),
              inset 0 1px 0 rgba(255, 248, 220, 0.75),
              inset 0 -1px 0 rgba(79, 54, 12, 0.4);
}
@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile menu toggle — ivory on dark */
.menu-toggle { color: #f5f1e8 !important; }
@media (max-width: 768px) {
  .nav {
    background: #0a0e1a !important;
    border-top: 1px solid rgba(201, 169, 97, 0.22);
    padding: 1rem 1.5rem !important;
  }
  .nav a { padding: 0.5rem 0; }
}

/* ═══════════════════════════════════════════════════════════
   SHOWROOM DARK THEME — black body, white cards float
═══════════════════════════════════════════════════════════ */
body {
  background: #0a0e1a !important;
  color: #e5e7eb;
}

.section-title { color: #f5f1e8 !important; }
.section-sub { color: #9ca3af !important; }

/* Trust strip — dark with gold accents */
.trust {
  background: #0d1220 !important;
  border-bottom: 1px solid rgba(201,169,97,0.18) !important;
  border-top: 1px solid rgba(201,169,97,0.12);
}
.trust-item-mini { color: #cbd5e1; }
.trust-item-mini strong { color: #d4af37; }

/* Bisaya / English section — dark navy with light cards */
.bisaya-section {
  background: linear-gradient(180deg, #0d1220 0%, #0a0e1a 100%) !important;
  border-bottom: 1px solid rgba(201,169,97,0.15) !important;
}
.bisaya-heading { color: #f5f1e8 !important; }
.bisaya-lead { color: #cbd5e1 !important; }
.bisaya-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
  border: 1px solid rgba(212,175,55,0.3);
}

/* How It Works — dark band with glassy step cards */
.how-it-works {
  background: linear-gradient(180deg, #111526 0%, #0a0e1a 100%) !important;
  border-radius: 0 !important;
}
.step-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(212,175,55,0.18);
  backdrop-filter: blur(4px);
}
.step-card h3 { color: #f5f1e8 !important; }
.step-card p { color: #cbd5e1 !important; }
.step-card:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 10px 30px rgba(212,175,55,0.18);
}
.step-number {
  background: linear-gradient(135deg, #d4af37 0%, #a17a2e 100%) !important;
  color: #0a0e1a !important;
  box-shadow: 0 4px 14px rgba(212,175,55,0.35);
}

/* Trust badges (icon cards) — glassy on dark */
.trust-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(212,175,55,0.18);
}
.trust-card h4 { color: #f5f1e8 !important; }
.trust-card p { color: #9ca3af !important; }
.trust-card:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 10px 30px rgba(212,175,55,0.18);
}

/* Listing cards keep their white background — they pop as magazine
   tiles against the showroom dark page */
.card { box-shadow: 0 4px 18px rgba(0,0,0,0.45); }
.card:hover { box-shadow: 0 14px 36px rgba(212,175,55,0.22); }

/* Filter pills on dark */
.filter-btn {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(212,175,55,0.22) !important;
  color: #cbd5e1 !important;
}
.filter-btn:hover { border-color: #d4af37 !important; color: #d4af37 !important; }
.filter-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #a17a2e 100%) !important;
  color: #0a0e1a !important;
  border-color: #d4af37 !important;
}

/* Stats bar — pure black + gold numbers */
.stats-bar { background: #050810 !important; border-top: 1px solid rgba(212,175,55,0.2); border-bottom: 1px solid rgba(212,175,55,0.2); }
.stat-item .stat-number {
  background: linear-gradient(180deg, #f4e4b2, #d4af37, #a17a2e);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA banner — slight gold tint */
.cta-banner { background: linear-gradient(135deg, #0f172a 0%, #050810 100%) !important; }
.cta-banner h2 { color: #f5f1e8; }
.cta-banner .btn-primary {
  background: linear-gradient(135deg, #d4af37, #a17a2e) !important;
  color: #0a0e1a !important;
  box-shadow: 0 4px 18px rgba(212,175,55,0.4);
}

/* Footer — even darker */
.footer { background: #050810 !important; border-top: 1px solid rgba(212,175,55,0.15); }

/* ═══════════════════════════════════════════════════════════
   WHEELS & CARS FEATURE
═══════════════════════════════════════════════════════════ */
.wheels-feature {
  background: #050810;
  padding: 4.5rem 1.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.wheels-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(212,175,55,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.wheels-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.wheel {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px rgba(212,175,55,0.35));
}
.wheel-left { animation: spinWheel 6s linear infinite; }
.wheel-right { animation: spinWheel 6s linear infinite reverse; }
@keyframes spinWheel {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.wheels-text { flex: 1; min-width: 280px; max-width: 540px; }
.wheels-text h2 {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Didot', 'Georgia', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f5f1e8;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}
.gold-foil {
  background: linear-gradient(180deg, #f4e4b2 0%, #d4af37 55%, #a17a2e 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.wheels-text p {
  color: #9ca3af;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.vehicle-emojis {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2.2rem;
}
.vehicle-emojis span {
  cursor: default;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.25));
}
.vehicle-emojis span:hover {
  transform: translateY(-6px) scale(1.18);
  filter: drop-shadow(0 0 18px rgba(212,175,55,0.75));
}

/* Animated road */
.road {
  height: 70px;
  background: linear-gradient(180deg, #050810 0%, #000 100%);
  border-top: 1px solid rgba(212,175,55,0.22);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  margin-top: -1.5px;
  background-image: linear-gradient(90deg, #d4af37 60%, transparent 60%);
  background-size: 50px 3px;
  background-repeat: repeat-x;
  opacity: 0.55;
  animation: roadDash 1.1s linear infinite;
}
@keyframes roadDash {
  from { background-position: 0 0; }
  to   { background-position: -50px 0; }
}
.road-cars {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 180px;
  font-size: 1.7rem;
  white-space: nowrap;
  animation: driveAcross 18s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
}
@keyframes driveAcross {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-200%); }
}

@media (max-width: 640px) {
  .wheel { width: 110px; height: 110px; }
  .wheels-inner { gap: 1.5rem; }
  .vehicle-emojis { gap: 1rem; font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════
   OPTIONAL HELPER CARD — gold-tinted, premium feel
═══════════════════════════════════════════════════════════ */
.bisaya-card.optional {
  background: linear-gradient(135deg, #fffdf5 0%, #fff8e6 100%);
  border-left: 4px solid #d4af37;
  box-shadow: 0 4px 18px rgba(212,175,55,0.15);
  position: relative;
}
.bisaya-card.optional::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle at top right, rgba(212,175,55,0.18), transparent 70%);
  pointer-events: none;
  border-top-right-radius: 12px;
}
.bisaya-card.optional .card-head {
  color: #7a5d12 !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.bisaya-card.optional .card-italic { color: #7a5d12 !important; }
.bisaya-card.optional ul { color: #5c4710 !important; }
.bisaya-card.optional strong { color: #5c4710; }

.opt-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d4af37 0%, #a17a2e 100%);
  color: #0a0e1a;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(212,175,55,0.35), inset 0 1px 0 rgba(255,248,220,0.6);
  font-family: 'Helvetica Neue', 'Inter', sans-serif;
}
