:root {
  /* MD ORDER — PREMIUM WEBSITE REDESIGN V2 BRAND DESIGN SYSTEM */
  --navy-deep: #07152F;
  --navy-midnight: #101F43;
  --silver-metallic: #C7D2E0;
  --gold-premium: #D9AF5E;
  --gold-premium-hover: #e7c274;
  --white: #FFFFFF;

  /* Compatibility & UI Surface Tokens */
  --bg-dark: #07152F;
  --bg-card: #101F43;
  --bg-elevated: #152854;
  --bpk-navy: #141c68;
  --bpk-navy-deep: #0b1246;
  --border-subtle: rgba(199, 210, 224, 0.16);
  --silver-bright: #FFFFFF;
  --silver-muted: #C7D2E0;
  --accent-gold: #D9AF5E;
  --accent-gold-hover: #e7c274;
  --accent-cyan: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(4, 10, 24, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(21, 42, 92, 0.65) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(217, 175, 94, 0.08) 0%, transparent 45%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Official BPK Logo Framing & Aspect-Ratio Protection (100% Unmodified Original) */
.bpk-official-logo {
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background-color: var(--bpk-navy);
  border-radius: 10px;
  flex-shrink: 0;
}

.bpk-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--bpk-navy) 0%, var(--bpk-navy-deep) 100%);
  border: 1.5px solid rgba(199, 210, 224, 0.42);
  box-shadow: 0 8px 22px rgba(4, 10, 25, 0.7), inset 0 0 0 1px rgba(217, 175, 94, 0.3);
  border-radius: 14px;
  padding: 3px;
  flex-shrink: 0;
}

.bpk-logo-header {
  width: 60px;
  height: 60px;
}

.bpk-logo-hero {
  width: 172px;
  height: 172px;
  border-radius: 16px;
}

.bpk-logo-frame-hero {
  padding: 7px;
  border-radius: 22px;
  border: 2px solid rgba(199, 210, 224, 0.6);
  box-shadow: 0 18px 42px rgba(4, 10, 28, 0.85), 0 0 32px rgba(56, 189, 248, 0.25);
}

.bpk-logo-login {
  width: 124px;
  height: 124px;
  border-radius: 12px;
}

.bpk-logo-section {
  width: 78px;
  height: 78px;
  border-radius: 10px;
}

.bpk-logo-admin-sidebar {
  width: 68px;
  height: 68px;
  border-radius: 10px;
}

.bpk-logo-footer {
  width: 76px;
  height: 76px;
  border-radius: 12px;
}

.bpk-logo-loading {
  width: 96px;
  height: 96px;
  border-radius: 12px;
}

.bpk-logo-mobile-chip {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.bpk-logo-mobile-nav {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

/* Top Bar */
.isolation-bar {
  background: linear-gradient(90deg, #050e21, #0d1d42, #050e21);
  border-bottom: 1px solid rgba(217, 175, 94, 0.28);
  padding: 6px 24px;
  font-size: 0.78rem;
  color: var(--silver-metallic);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-tel-chip {
  background: rgba(217, 175, 94, 0.14);
  border: 1px solid rgba(217, 175, 94, 0.4);
  color: var(--gold-premium);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.76rem;
  transition: all 0.2s;
}

.top-tel-chip:hover {
  background: var(--gold-premium);
  color: var(--navy-deep);
}

.isolation-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* SECTION 1 — Premium Header */
.site-header {
  background: linear-gradient(90deg, rgba(7, 21, 47, 0.96) 0%, rgba(16, 31, 67, 0.96) 55%, rgba(7, 21, 47, 0.96) 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 210, 224, 0.22);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.15;
}

.brand-title-sub {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--silver-metallic);
  letter-spacing: 0.05em;
}

.brand-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-premium);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--navy-midnight);
  color: var(--white);
  border: 1px solid rgba(217, 175, 94, 0.5);
  border-radius: 10px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-brand-banner {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--silver-metallic);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold-premium);
}

.nav-link.admin-btn {
  border: 1px solid rgba(199, 210, 224, 0.35);
  background: rgba(16, 31, 67, 0.85);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--white);
  font-weight: 600;
}

.nav-link.admin-btn:hover {
  border-color: var(--gold-premium);
  color: var(--gold-premium);
}

/* Main Container */
.main-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 64px;
  flex: 1;
}

/* =========================================================================
   SECTION 2 — PREMIUM FULL-WIDTH HERO BANNER (Design Reference Style)
   ========================================================================= */
.hero-v2 {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(199, 210, 224, 0.25);
  box-shadow: var(--shadow);
  background-color: var(--navy-deep);
  margin-bottom: 24px;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  filter: brightness(1.08) contrast(1.08);
}

.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 21, 47, 0.96) 0%,
      rgba(7, 21, 47, 0.88) 42%,
      rgba(16, 31, 67, 0.28) 68%,
      rgba(7, 21, 47, 0.10) 100%),
    linear-gradient(180deg, rgba(7, 21, 47, 0.08) 0%, rgba(7, 21, 47, 0.72) 100%);
  z-index: 2;
}

.hero-v2-content {
  position: relative;
  z-index: 3;
  padding: 44px 42px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
}

.hero-v2-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-v2-text-col {
  max-width: 720px;
}

.hero-v2-brand-main {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 0%, #C7D2E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero-v2-brand-sub {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-premium);
  letter-spacing: 0.05em;
  margin-top: 4px;
  margin-bottom: 12px;
}

.hero-v2-headline {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-v2-Bullets {
  font-size: 1.05rem;
  color: var(--silver-metallic);
  font-weight: 500;
  margin-bottom: 22px;
}

/* Large Call Buttons for ช่างบัส & ช่างเบิร์ด (Design Reference Gold-Bordered Pills) */
.hero-call-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(16, 31, 67, 0.95) 0%, rgba(7, 21, 47, 0.98) 100%);
  border: 2px solid var(--gold-premium);
  border-radius: 16px;
  padding: 12px 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(217, 175, 94, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 245px;
}

.hero-call-btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 14px 30px rgba(217, 175, 94, 0.35);
}

.hero-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d078 0%, var(--gold-premium) 100%);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 175, 94, 0.45);
}

.hero-call-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-premium);
  line-height: 1.2;
}

.hero-call-number {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 5-Feature Highlight Ribbon inside Hero Bottom */
.hero-feature-strip {
  position: relative;
  z-index: 3;
  background: rgba(7, 21, 47, 0.88);
  border-top: 1px solid rgba(199, 210, 224, 0.18);
  padding: 16px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(199, 210, 224, 0.14);
  padding-right: 10px;
}

.hero-feature-item:last-child {
  border-right: none;
}

.hero-feature-icon {
  font-size: 1.55rem;
  color: var(--gold-premium);
  flex-shrink: 0;
}

.hero-feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.hero-feature-sub {
  font-size: 0.76rem;
  color: var(--silver-metallic);
}

/* =========================================================================
   SECTION 3 & 4 — LIGHT METALLIC SILVER SHOWCASE (Design Reference Match)
   ========================================================================= */
.light-metallic-showcase {
  background: linear-gradient(180deg, #eef2f8 0%, #f8fafc 60%, #e2e8f0 100%);
  border-radius: 22px;
  padding: 26px 26px 30px;
  margin-bottom: 36px;
  box-shadow: 0 16px 38px rgba(4, 10, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--navy-deep);
}

.smart-search-section {
  margin-bottom: 24px;
}

.smart-search-bar {
  background: linear-gradient(90deg, #07152F 0%, #101F43 100%);
  border: 2px solid rgba(199, 210, 224, 0.45);
  border-radius: 999px;
  padding: 10px 14px 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 28px rgba(7, 21, 47, 0.35);
  flex-wrap: wrap;
}

.smart-search-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  white-space: nowrap;
}

.smart-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 4px 6px 4px 16px;
  gap: 10px;
  min-width: 280px;
}

.smart-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--navy-deep);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 10px 4px;
  outline: none;
}

.smart-search-input::placeholder {
  color: #64748b;
}

.smart-search-chassis {
  border: none;
  border-left: 1px solid #cbd5e1;
  background: transparent;
  color: var(--navy-midnight);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.86rem;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
}

.smart-search-btn {
  background: linear-gradient(135deg, #ecc978 0%, var(--gold-premium) 100%);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 0.96rem;
  border: none;
  border-radius: 10px;
  padding: 11px 28px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.smart-search-btn:hover {
  background: var(--gold-premium-hover);
  transform: translateY(-1px);
}

/* =========================================================================
   SECTION 4 — OUR SERVICES (4 Cards with Photos matching Design Reference)
   ========================================================================= */
.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-visual-card {
  background: linear-gradient(180deg, #162955 0%, #0e1c3d 100%);
  border: 1px solid rgba(199, 210, 224, 0.26);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-premium);
}

.service-visual-img-wrap {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: var(--navy-deep);
}

.service-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-visual-card:hover .service-visual-img {
  transform: scale(1.04);
}

.service-visual-body {
  padding: 16px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

.service-visual-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
}

.service-visual-sub {
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
  margin-top: 3px;
}

.service-visual-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.2s;
}

.service-visual-card:hover .service-visual-arrow {
  background: var(--gold-premium);
  color: var(--navy-deep);
}

/* =========================================================================
   SECTION 6 — BENZTOPIA USED CAR SELECTION BANNER (Design Reference Style)
   ========================================================================= */
.benztopia-showcase-banner {
  background: linear-gradient(115deg, #061024 0%, #10224b 52%, #182f63 100%);
  border: 1.5px solid rgba(217, 175, 94, 0.55);
  border-radius: 18px;
  padding: 26px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.benztopia-emblem-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 24px;
  border-right: 2px solid rgba(217, 175, 94, 0.4);
}

.benztopia-star-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--gold-premium);
  background: radial-gradient(circle, rgba(217, 175, 94, 0.22) 0%, rgba(7, 21, 47, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-premium);
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(217, 175, 94, 0.3);
}

.benztopia-brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.1;
}

.benztopia-brand-tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--silver-metallic);
  margin-top: 4px;
}

.benztopia-banner-center {
  flex: 1;
  min-width: 260px;
}

.benztopia-checks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--silver-metallic);
}

/* Sample Image Transparency Badge (Requirement 5) */
.sample-img-wrap {
  position: relative;
}

.sample-image-badge {
  position: absolute;
  bottom: 16px;
  right: 8px;
  background: rgba(7, 21, 47, 0.88);
  border: 1px solid rgba(217, 175, 94, 0.5);
  color: var(--gold-premium);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  pointer-events: none;
}

/* Section Headings */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--silver-metallic);
  margin-top: 2px;
}

/* Section Brand Banner (Booking, Inventory, Admin Overview, Used Cars Co-brand) */
.section-brand-banner {
  background: linear-gradient(135deg, #141c68 0%, #101F43 60%, #07152F 100%);
  border: 1px solid rgba(199, 210, 224, 0.25);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.section-brand-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Loading / Empty State Card */
.loading-state-card {
  text-align: center;
  padding: 42px 24px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(20, 28, 104, 0.42) 0%, var(--bg-card) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-gold {
  background: linear-gradient(135deg, #ecc978 0%, var(--gold-premium) 100%);
  color: var(--navy-deep);
  box-shadow: 0 6px 16px rgba(217, 175, 94, 0.3);
}

.btn-gold:hover {
  background: var(--gold-premium-hover);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: rgba(217, 175, 94, 0.12);
  border: 1.5px solid var(--gold-premium);
  color: var(--gold-premium);
}

.btn-outline-gold:hover {
  background: var(--gold-premium);
  color: var(--navy-deep);
}

.btn-outline {
  background: rgba(16, 31, 67, 0.7);
  border: 1px solid rgba(199, 210, 224, 0.35);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold-premium);
  color: var(--gold-premium);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--navy-midnight) 0%, #0b1835 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.kpi-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 18px;
}

.kpi-label {
  font-size: 0.84rem;
  color: var(--silver-metallic);
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--gold-premium);
  margin-top: 4px;
}

/* Why Choose BPK Cards (Section 7) */
.why-bpk-card {
  background: linear-gradient(145deg, #132550 0%, #0b1733 100%);
  border: 1px solid rgba(217, 175, 94, 0.3);
  border-radius: 14px;
  padding: 22px;
}

.why-bpk-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(217, 175, 94, 0.16);
  border: 1px solid rgba(217, 175, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-red {
  background: rgba(244, 63, 94, 0.16);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.badge-blue {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.badge-gold {
  background: rgba(217, 175, 94, 0.18);
  color: var(--gold-premium);
  border: 1px solid rgba(217, 175, 94, 0.45);
}

/* Filter & Search Bar */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.input,
.select,
.textarea {
  background: #061024;
  border: 1px solid rgba(199, 210, 224, 0.24);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold-premium);
}

/* Admin Subnav */
.admin-layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 24px;
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px;
  height: fit-content;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bpk-navy) 0%, var(--bpk-navy-deep) 100%);
  border: 1px solid rgba(199, 210, 224, 0.25);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

.admin-menu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--silver-metallic);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
  cursor: pointer;
}

.admin-menu-link:hover,
.admin-menu-link.active {
  background: rgba(217, 175, 94, 0.16);
  color: var(--gold-premium);
  font-weight: 600;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver-metallic);
  font-weight: 600;
  white-space: nowrap;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  color: var(--silver-metallic);
  font-weight: 500;
}

.price-tag {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--gold-premium);
}

/* =========================================================================
   SECTION 9 — CONTACT & FOOTER
   ========================================================================= */
.site-footer {
  background: linear-gradient(180deg, #091736 0%, #040b1b 100%);
  border-top: 1.5px solid rgba(217, 175, 94, 0.35);
  padding: 44px 24px 32px;
  color: var(--silver-metallic);
  font-size: 0.88rem;
}

.footer-container {
  max-width: 1380px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(199, 210, 224, 0.15);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-premium);
  margin-bottom: 14px;
}

.footer-phone-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-call-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 31, 67, 0.85);
  border: 1px solid rgba(217, 175, 94, 0.45);
  border-radius: 12px;
  padding: 10px 16px;
  transition: all 0.2s;
}

.footer-call-card:hover {
  border-color: var(--white);
  transform: translateX(3px);
}

.footer-call-icon {
  font-size: 1.3rem;
}

.footer-call-name {
  font-size: 0.8rem;
  color: var(--gold-premium);
  font-weight: 600;
}

.footer-call-num {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
}

.footer-placeholder-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-slot-item {
  background: rgba(7, 21, 47, 0.75);
  border: 1px dashed rgba(199, 210, 224, 0.28);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
}

.footer-slot-item strong {
  color: var(--white);
}

.footer-bottom-bar {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================================
   MODAL FOR USED CAR DETAILS
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.82);
  backdrop-filter: blur(8px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--navy-midnight);
  border: 1.5px solid var(--gold-premium);
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: var(--shadow);
}

/* =========================================================================
   REQUIREMENT 4 — MOBILE STICKY CONTACT BAR & RESPONSIVE LAYOUT
   ========================================================================= */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 1024px) {
  .services-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body {
    /* Safe padding so Sticky Contact Bar never overlaps footer or buttons */
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 10px 16px;
  }

  .header-brand-row {
    width: 100%;
  }

  .bpk-logo-header {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-title-sub {
    display: block;
    font-size: 0.76rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 21, 47, 0.98);
    border: 1px solid rgba(199, 210, 224, 0.22);
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
  }

  .main-nav.mobile-open {
    display: flex;
  }

  .mobile-nav-brand-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--bpk-navy) 0%, var(--bpk-navy-deep) 100%);
    border: 1px solid rgba(199, 210, 224, 0.25);
    border-radius: 10px;
  }

  .main-container {
    padding: 16px 14px 44px;
  }

  .hero-v2-bg {
    object-position: 76% top;
    opacity: 0.72;
  }

  .hero-v2-overlay {
    background: linear-gradient(180deg, rgba(7, 21, 47, 0.55) 0%, rgba(7, 21, 47, 0.92) 48%, rgba(7, 21, 47, 0.98) 100%);
  }

  .hero-v2-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 16px 18px;
    gap: 12px;
  }

  .bpk-logo-hero {
    width: 86px;
    height: 86px;
    border-radius: 12px;
  }

  .bpk-logo-frame-hero {
    padding: 4px;
    border-radius: 16px;
  }

  .hero-v2-brand-main {
    font-size: 1.52rem;
    word-break: keep-all;
  }

  .hero-v2-brand-sub {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .hero-v2-headline {
    font-size: 1.04rem;
    line-height: 1.35;
  }

  .hero-v2-Bullets {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .hero-call-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-call-btn {
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 10px 16px;
  }

  .light-metallic-showcase {
    padding: 16px 14px 20px;
    border-radius: 16px;
  }

  .smart-search-bar {
    border-radius: 16px;
    padding: 12px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-feature-strip {
    grid-template-columns: 1fr;
    padding: 14px 18px;
    gap: 10px;
  }

  .hero-feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(199, 210, 224, 0.12);
    padding-bottom: 8px;
  }

  .hero-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .smart-search-bar {
    padding: 14px;
  }

  .smart-search-input-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px;
    min-width: 100%;
  }

  .smart-search-chassis {
    border-left: none;
    border-top: 1px solid #cbd5e1;
    padding: 8px 4px;
  }

  .smart-search-btn {
    width: 100%;
  }

  .services-showcase-grid {
    grid-template-columns: 1fr;
  }

  .benztopia-emblem-group {
    border-right: none;
    padding-right: 0;
  }

  /* Sticky Contact Bar at Bottom of Mobile */
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(7, 21, 47, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1.5px solid var(--gold-premium);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1fr 0.9fr;
    gap: 8px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.65);
  }

  .sticky-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 0.76rem;
    line-height: 1.15;
    text-align: left;
  }

  .sticky-call-bus,
  .sticky-call-bird {
    background: var(--navy-midnight);
    border: 1px solid rgba(217, 175, 94, 0.55);
    color: var(--white);
  }

  .sticky-book-btn {
    background: linear-gradient(135deg, #ecc978 0%, var(--gold-premium) 100%);
    color: var(--navy-deep);
    font-weight: 800;
  }

  .sticky-text small {
    display: block;
    font-size: 0.66rem;
    opacity: 0.9;
  }

  .sticky-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
  }
}
