:root {
  /* Colors */
  --bg-dark: #000000;
  --bg-panel: #111111;
  --bg-elevated: #050505;
  --accent-cyan: #45A2DA; /* Monarch Blue */
  
  --text-primary: #FAFAFA;
  --text-secondary: #9CA3AF;
  
  --accent-stark: #DC2626;      /* Stark Red */
  --accent-husky: #1E3A8A;      /* Husky Blue */
  --accent-monarch: #F59E0B;    /* Premium Gold/Yellow for Monarch */
  
  /* Typography */
  --font-logo: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-snappy: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.print-brand-identity { display: none; }

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

html, body {
  background-color: #000000;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(90deg, #fff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

main {
  padding-top: 0;
}

#home {
  padding-top: 0;
}

/* Specific fix for vehicle details to prevent logo overlap */
#vehicle-details {
  padding-top: 0;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-contact {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-secondary);
  gap: 0.25rem;
}

.header-contact span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 101;
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-snappy);
}

/* Shorter logo specifically on details page or when scrolled */
nav.scrolled .logo-img,
nav.details-view .logo-img {
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: var(--transition-snappy);
}

.nav-link:hover {
  color: var(--accent-monarch);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-monarch);
  transition: var(--transition-snappy);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-snappy);
  border-radius: 2px;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-dark);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: var(--accent-monarch);
  border-color: var(--accent-monarch);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-accent {
  background: var(--accent-stark);
  color: white;
  border: none;
}
.btn-accent:hover {
  background: #b91c1c;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

#app-content {
  min-height: auto; /* Allow tight wrapping */
}

/* Page Views */
.v-hidden {
  display: none !important;
}

.page {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.page.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s ease-out forwards;
}

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

/* Sections */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6);
  transform: scale(1.05); /* prepare for slow zoom animation */
  animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero h1 {
  font-size: 4vw;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Standard Section Container */
.section {
  padding: 8rem 5%;
}

.bg-panel {
  background-color: var(--bg-panel);
}

/* The Authorized Trinity Grid */
.trinity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.brand-card {
  position: relative;
  height: 500px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-elevated);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.brand-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.brand-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2rem;
  background: linear-gradient(0deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0) 100%);
  transition: var(--transition-smooth);
}

.brand-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.brand-card .cta-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.brand-card:hover .cta-text {
  opacity: 1;
  transform: translateY(0);
}

/* Discovery Menu (Slide out filters) */
.discovery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-snappy);
}
.discovery-overlay.active {
  opacity: 1;
  visibility: visible;
}

.discovery-menu {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background: var(--bg-panel);
  z-index: 1001;
  padding: 3rem 2rem;
  transition: left var(--transition-smooth);
  border-right: 1px solid rgba(255,255,255,0.05);
  overflow-y: auto;
}

.discovery-menu.active {
  left: 0;
}

.discovery-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  font-family: var(--font-heading);
}

.close-menu {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.filter-group {
  margin-bottom: 2rem;
}
.filter-group h4 {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Inventory Grid */
.inventory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  margin-top: 6rem; /* below nav */
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  background-color: transparent;
}

.search-wrap input:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 15px rgba(69, 162, 218, 0.2);
  background: rgba(255, 255, 255, 0.08) !important;
}

.search-wrap i {
  pointer-events: none;
}

.bike-card {
  background-color: var(--bg-dark);
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.bike-img-wrap {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
}

.bike-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.bike-card:hover .bike-img-wrap img {
  transform: scale(1.05);
}

.bike-info {
  padding: 1.5rem;
  border-top: 1px solid transparent;
  transition: var(--transition-snappy);
}

.bike-card:hover .bike-info {
  background-color: var(--bg-panel);
}

.bike-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.bike-name {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

/* Dynamic Tech Specs */
.tech-specs {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
  margin-top: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Rentals / Booking */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 6rem;
}

.calendar-ui {
  background: var(--bg-panel);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

.date-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  background: var(--bg-elevated);
  transition: var(--transition-snappy);
}

.date-cell:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
}

.date-cell.active {
  background: var(--accent-monarch);
  color: var(--bg-dark);
}

/* Footer */
footer {
  background: var(--bg-panel);
  padding: 4rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Split Panel Slideshow */
.slideshow-section {
  overflow: hidden;
}

.slideshow-container {
  width: 100%;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-split {
  flex: 0 0 50vw;
  height: 400px;
  display: flex;
}

@media (max-width: 768px) {
  .slide-split {
    flex: 0 0 100%;
  }
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  position: relative;
}

.slide-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.slide-img {
  flex: 1;
  overflow: hidden;
}

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

.slide-split.dark .slide-text {
  background-color: #333333; 
  color: #FAFAFA;
}
.slide-split.dark .btn-read {
  background-color: var(--accent-monarch);
  color: #000;
}

.slide-split.yellow .slide-text {
  background-color: var(--accent-monarch);
  color: #000;
}
.slide-split.yellow .btn-read {
  background-color: #000;
  color: #FAFAFA;
}

.btn-read {
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--transition-snappy);
}
.btn-read:hover {
  transform: scale(1.05);
}

/* Specific Top Arrows */
.slider-controls-top {
  position: absolute;
  top: -2rem;
  left: 0;
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.circle-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: white;
  color: black;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-snappy);
}
.circle-btn:hover {
  background: #ccc;
}

/* Promo Slider */
.promo-slider {
  position: relative;
  width: 100%;
  background: var(--accent-monarch);
  color: #000;
  overflow: hidden;
  height: auto;
  border-bottom: 4px solid #000;
}
.promo-track {
  display: flex;
  height: 100%;
  width: 300%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.promo-slide {
  width: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.btn-promo {
  border: 2px solid #000;
  color: #000;
  background: transparent;
}
.btn-promo:hover {
  background: #000;
  color: var(--accent-monarch);
}
.promo-nav {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.promo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-snappy);
}
.promo-dot.active {
  background: #000;
}

.site-footer {
  background-color: #0D0D0D;
  padding: 2rem 5% 1.5rem;
  color: #FFFFFF;
  margin-top: -2px; /* Force overlap to fix subpixel gaps */
  position: relative;
  z-index: 10;
}

.footer-cyan {
  color: #00ADEF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
}

.footer-text {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  background: #fff;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 1rem;
  color: #000;
  font-family: var(--font-body);
}

.newsletter-btn {
  background-color: #00ADEF;
  color: #fff;
  border: none;
  padding: 0 2rem;
  font-weight: 700;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.newsletter-btn:hover {
  opacity: 0.9;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

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

.footer-links-list li {
  margin-bottom: 0.8rem;
}

.footer-links-list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.05rem;
  font-family: var(--font-body);
}

.footer-links-list a:hover {
  color: #00ADEF;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: #00ADEF;
  color: #fff;
}
.social-icon:hover i {
  color: #fff !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- PRE-APPROVAL CTA --- */
.pre-approval-cta {
  position: relative;
  background-color: #000;
  background-image: radial-gradient(circle at center, rgba(69, 162, 218, 0.15) 0%, #000 60%);
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

.cta-left p {
  color: #fff;
  font-size: 0.95rem;
  margin: 0.5rem 0;
  font-family: var(--font-body);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-center {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-center h2 {
  color: #45A2DA;
  font-size: 2.2rem;
  font-family: var(--font-heading);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cta-brands span {
  color: #888;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-brands img {
  height: 38px;
  filter: grayscale(1) brightness(5);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.cta-brands img:hover {
  opacity: 1;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cta-right p {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.cta-btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition-snappy);
}

.cta-btn-outline:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 900px) {
  .pre-approval-cta {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .cta-right {
    align-items: center;
    text-align: center;
  }
}

/* --- NEWSLETTER BANNER --- */
.newsletter-banner {
  background-color: #1A1A1A;
  padding: 1.5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.newsletter-banner .heading-col h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.newsletter-banner .heading-col .cyan-text {
  color: #45A2DA;
}

.newsletter-banner .text-col p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 450px;
}

.newsletter-banner .form-col {
  display: flex;
  justify-content: flex-end;
}

.newsletter-banner-form {
  display: flex;
  width: 100%;
  max-width: 450px;
}

.newsletter-banner-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  background: #fff;
  outline: none;
  font-size: 1rem;
  color: #000;
  font-family: var(--font-body);
  border-radius: 0;
}

.newsletter-banner-btn {
  background-color: #45A2DA;
  color: #fff;
  border: none;
  padding: 0 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s ease;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}

.newsletter-banner-btn:hover {
  opacity: 0.9;
}

@media (max-width: 1000px) {
  .newsletter-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .newsletter-banner .heading-col h3 {
    white-space: normal;
  }
  .newsletter-banner .text-col p {
    margin: 0 auto;
  }
  .newsletter-banner .form-col {
    justify-content: center;
  }
}

/* --- INVENTORY CATEGORIES --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.category-card {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
}

.category-card-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.category-card-subtitle {
  color: var(--accent-cyan);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .category-card {
    height: 300px;
  }
}

/* --- FINANCE PAGE PREMIUM STYLING --- */
.finance-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 5% 5rem 5%;
  text-align: center;
}

.finance-header-premium {
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}

.finance-badge-glow {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(69, 162, 218, 0.1);
  border: 1px solid rgba(69, 162, 218, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(69, 162, 218, 0.1);
}

.finance-title-large {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.finance-subtitle-premium {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.finance-trust-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  color: #4ade80; /* Success green */
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.finance-iframe-container-v2 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  min-height: 1100px;
}

.iframe-safe-header {
  background: #111;
  color: #fff;
  padding: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-bottom: 1px solid #222;
}

.safe-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

.finance-legal-bar {
  margin-top: 4rem;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

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

@media (max-width: 768px) {
  .finance-section {
    padding-top: 8rem;
  }
  .finance-iframe-container-v2 {
    min-height: 1400px;
  }
}



/* --- PROFESSIONAL INVENTORY GALLERY --- */
.inventory-sidebar {
  background: #000000;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 0 1.5rem 2rem 0;
}

.filter-group {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1.5rem;
}

.filter-group h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

/* Custom Checkboxes */
.check-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Move box to the right */
  position: relative;
  cursor: pointer;
  font-size: 0.95rem;
  color: #fff;
  user-select: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: color 0.2s ease;
}

.check-container:hover {
  color: var(--accent-cyan);
}

.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.check-container input:checked ~ .checkmark {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white; /* High visibility tick */
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Enhanced Bike Cards */
.bike-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bike-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 162, 218, 0.3);
}

.bike-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
}

.bike-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  color: #000;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 2px;
  z-index: 5;
}

.status-dot-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 600;
  margin-top: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.bike-card .price-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0.5rem 0;
  transition: opacity 0.2s ease;
}

.bike-card .price-large:hover {
  opacity: 0.8;
}

.bike-card .stock-vin {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.5rem;
  border-radius: 2px;
  margin: 1rem 0;
}

/* --- VEHICLE DETAILS PAGE (SPLIT-SCREEN DASHBOARD) --- */
#vehicle-details .section {
  padding-top: 11rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.details-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1400px;
  margin: 1.5rem auto 4rem;
  align-items: flex-start;
}


.details-visual-pane {
  display: flex;
  flex-direction: row; /* Side-by-side thumbnails and hero */
  align-items: flex-start;
  gap: 1.5rem;
  height: auto;
  min-height: 0;
}

.vehicle-gallery-mini {
  display: flex;
  flex-direction: column; /* Vertical flow */
  gap: 1rem;
  min-width: 70px; /* Width of thumbnails */
}

.details-hero-wrap {
  flex: 1; 
  aspect-ratio: 4/3; 
  max-height: 70vh; 
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.details-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.5;
  transition: 0.3s;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent-cyan);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-info-pane {
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: flex-start;
  padding: 0;
}

.brand-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.details-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.details-price-tag {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.details-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}

.d-spec {
  display: flex;
  flex-direction: column;
}

.d-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.d-value {
  font-weight: 700;
  font-size: 1rem;
}

.details-actions-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-large {
  flex: 1;
  padding: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: #fff;
  text-decoration: none !important;
}

.details-finance-promo {
  background: rgba(69, 162, 218, 0.05);
  border: 1px solid rgba(69, 162, 218, 0.2);
  padding: 1.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.details-finance-promo:hover {
  background: rgba(69, 162, 218, 0.1);
  border-color: var(--accent-cyan);
}

.details-finance-promo span {
  font-size: 0.9rem;
  font-weight: 600;
}

.finance-perks-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-left: 0.5rem;
}

.f-perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.f-perk i {
  color: var(--accent-cyan);
  width: 14px;
  height: 14px;
}

@media (max-width: 992px) {
  #vehicle-details .section {
    height: auto;
    padding-top: 5rem;
  }
  .details-page-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .details-visual-pane {
    flex-direction: column !important;
    width: 100%;
    align-items: center;
  }
  .vehicle-gallery-mini {
    flex-direction: row !important;
    overflow-x: auto;
    width: 100%;
    gap: 0.5rem;
    padding: 0.5rem 0;
    justify-content: center;
  }
  .gallery-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .details-hero-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    max-height: 50vh;
  }
  .details-title {
    font-size: 2rem;
  }
  .btn-primary, .btn {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .details-page-layout, .details-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .details-name {
    font-size: 2rem;
  }

  /* Vehicle Description Visibility */
  .vehicle-description-box { 
    display: block !important; 
    width: 100% !important;
    grid-column: 1 / -1; /* Safety in case it ends up in a grid */
  }
  .mobile-desc { display: block !important; }
}

@media (min-width: 993px) {
  .mobile-desc { display: none !important; }
  
  /* Desktop specific adjustments for vehicle description */
  .vehicle-description-box {
    max-width: 1100px !important; /* A bit wider (longer), but still not full screen */
    margin: 3rem auto 2rem !important; /* Reduced bottom margin to pull map closer */
    padding: 2.5rem 4rem !important; /* Slightly more compact padding */
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
  }
  
  .vehicle-description-box p {
    font-size: 1rem !important; /* Slightly smaller font as requested */
    line-height: 1.7 !important; /* Comfortable line height for readability */
    color: var(--text-secondary) !important;
    text-align: justify; /* Optional: makes it look more formal/premium in a wider box */
  }

  .vehicle-description-box h3 {
    margin-bottom: 1.5rem !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.15em !important;
  }
}

@media (max-width: 992px) {
  .inventory-layout {
    flex-direction: column;
  }
  .inventory-sidebar {
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0 0 2rem 0;
  }
}


/* --- MOBILE NAVIGATION OVERLAY --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.mobile-nav-header .close-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

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

.mobile-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-bottom: 2rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: flex !important;
    position: static !important;
    transform: none !important;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
  }
  .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  .header-contact {
    display: none;
  }
  .nav-actions {
    display: flex !important;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .menu-toggle {
    display: block !important;
  }
  .logo {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .trinity-grid {
    grid-template-columns: 1fr;
  }
  .brand-card {
    height: 400px;
  }
  .inventory-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  #inventory-actions {
    width: 100%;
    margin-left: 0 !important;
    flex-wrap: wrap;
  }
  .inventory-layout {
    flex-direction: column;
  }
  .inventory-sidebar {
    width: 100% !important;
    display: none; /* hidden on mobile initially, toggled by button */
  }
  .mobile-filter-btn {
    display: flex;
  }
  .newsletter-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newsletter-banner .form-col {
    justify-content: center;
  }
}

/* --- BOOKING & CONTACT FORMS --- */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 3rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 3rem;
  }
}

.calendar-ui p {
  margin-bottom: 0.5rem;
}

.finance-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.finance-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255,255,255,0.05);
}

.finance-submit-btn {
  background: var(--accent-cyan);
  color: #fff;
  border: none;
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 15px rgba(69, 162, 218, 0.3);
  width: 100%;
}

.finance-submit-btn:hover {
  transform: translateY(-2px);
  background: #5ab1e4;
  box-shadow: 0 8px 25px rgba(69, 162, 218, 0.4);
}

.finance-submit-btn:active {
  transform: translateY(0);
}



/* --- FLOATING MOBILE CTA --- */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 5%;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Centered Navigation Links - Desktop Only */
@media (min-width: 1025px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-floating-cta {
    display: flex;
  }
  
  .hero h1 {
    font-size: 10vw !important;
  }
  
  .inventory-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Ensure Logo is legible */
.logo-img {
  max-width: 200px;
}

@media (max-width: 500px) {
  .logo-img {
    max-width: 140px;
  }
}



/* Consolidated Layout */
/* --- NEWSLETTER HORIZON --- */
.newsletter-horizon {
  background: #080808;
  padding: 4rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.horizon-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.horizon-text h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.horizon-text p {
  color: #aaa;
  font-size: 1.1rem;
  margin: 0;
}

.horizon-form {
  display: flex;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.horizon-form input {
  flex: 1;
  padding: 1.1rem 1.5rem;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.horizon-form input:focus {
  border-color: var(--accent-cyan);
}

.horizon-form button {
  padding: 1.1rem 2.5rem;
  background: var(--accent-cyan);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.horizon-form button:hover {
  background: #5ab1e4;
  box-shadow: 0 0 20px rgba(69, 162, 218, 0.4);
}

@media (max-width: 1100px) {
  .horizon-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .horizon-text h3 {
    font-size: 1.8rem;
  }
  .horizon-form {
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .horizon-form {
    flex-direction: column;
    gap: 1rem;
    box-shadow: none;
  }
  .horizon-form input {
    border-radius: 4px;
    width: 100%;
  }
  .horizon-form button {
    border-radius: 4px;
    width: 100%;
  }
}

/* ======================================
   PREMIUM HORIZON BAR
====================================== */
#global-finance-bar.pre-approval-horizon {
  background: #080808 !important;
  border-top: 1px solid rgba(69, 162, 218, 0.4);
  position: relative !important;
  overflow: hidden !important;
  padding: 3rem 0 !important;
  display: block !important;
  width: 100% !important;
}

#global-finance-bar .horizon-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  position: relative;
  z-index: 5;
}

@media (min-width: 1025px) {
  #global-finance-bar .horizon-wrapper {
    transform: translateX(50px);
  }
}

#global-finance-bar .horizon-trust {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

#global-finance-bar .trust-badge {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

#global-finance-bar .trust-badge i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

#global-finance-bar .horizon-content {
  text-align: center;
}

#global-finance-bar .horizon-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.4em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

#global-finance-bar .horizon-headline {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
}

#global-finance-bar .horizon-headline span {
  color: var(--accent-cyan);
}

#global-finance-bar .horizon-benefits {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#global-finance-bar .horizon-benefits .dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

#global-finance-bar .horizon-action {
  flex-shrink: 0;
}

#global-finance-bar .horizon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #fff;
  color: #000;
  padding: 1.25rem 2.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  cursor: pointer;
}

#global-finance-bar .horizon-btn:hover {
  background: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(69, 162, 218, 0.4);
}

@media (max-width: 1024px) {
  #global-finance-bar .horizon-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    transform: none !important; /* Reset the nudge on mobile */
  }
  
  #global-finance-bar .horizon-trust {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #global-finance-bar .horizon-headline {
    font-size: 1.75rem;
  }
  
  #global-finance-bar .horizon-benefits {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  #global-finance-bar .horizon-benefits .dot {
    display: none;
  }
}

/* --- GLOBAL MAP SECTION --- */
#global-map-section {
  padding: 1rem 1rem 4rem; /* Reduced top padding to bring 'Visit Monarch' closer to content above */
  background: var(--bg-nav);
  margin-top: 0; 
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  #global-map-section {
    margin-top: 0;
    padding: 2rem 1rem;
  }
}

/* Fix for horizontal zoom issue on small screens */
body {
  overflow-x: hidden;
}
.horizon-btn:hover i {
  transform: translateX(5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .horizon-headline { font-size: 1.8rem; }
  .horizon-wrapper { gap: 2rem; }
}

@media (max-width: 991px) {
  .horizon-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .horizon-trust {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  .horizon-action {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .horizon-headline { font-size: 1.5rem; }
  .horizon-benefits {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .horizon-benefits .dot { display: none; }
}

/* --- Print Styles --- */
@media print {
  /* SCORCHED EARTH: Hide everything that is a direct child of body except the main content */
  body > *:not(main) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: -9999px !important;
  }

  /* Within the main content, still hide specific pages and UI elements */
  nav, footer, aside, .discovery-overlay, .discovery-menu, .newsletter-horizon, #global-map-section, .pre-approval-horizon, .promo-slider, #system-status, .mobile-nav-overlay, .mobile-filter-btn, .no-print, #vehicle-interest-banner {
    display: none !important;
  }

  /* Ultra-aggressive hide for all dynamic UI and chat widgets just in case they are nested */
  iframe, [id*="chat"], [class*="chat"], [data-chat-widget], [id*="lc-chat"], [class*="lc-chat"] {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: -9999 !important;
    clip-path: circle(0) !important;
  }

  .print-brand-identity {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 1.5rem !important;
    text-align: center !important;
  }

  .print-brand-identity img {
    height: 45px !important;
    width: auto !important;
    margin-bottom: 0.25rem !important;
  }

  .print-brand-identity p {
    font-size: 8.5pt !important;
    margin: 0 !important;
    color: #000 !important;
    line-height: 1.2 !important;
  }

  /* Hide all SPA pages EXCEPT vehicle-details */
  .page {
    display: none !important;
  }
  
  #vehicle-details.page {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hide non-essential buttons and interactive elements */
  .print-btn, .btn, .action-btn-row, .details-actions-group, .gallery-thumb, .vehicle-gallery-mini, .brand-eyebrow, .mobile-desc {
    display: none !important;
  }

  /* Reset body and backgrounds for printing */
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10pt !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  /* SIDE-BY-SIDE TOP SECTION */
  .details-page-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    align-items: flex-start !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
  }
  
  .details-visual-column {
    flex: 0 0 40% !important;
    display: block !important;
  }
  
  .details-info-pane {
    flex: 1 !important;
    display: block !important;
  }
  
  .details-visual-pane img {
    max-width: 100% !important;
    max-height: 250px !important;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    object-fit: cover !important;
    display: block !important;
  }
  
  /* FULL WIDTH DESCRIPTION */
  .vehicle-description-box {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: 1px solid #eeeeee !important;
    padding: 1rem !important;
    color: #000000 !important;
    margin-top: 1rem !important;
    page-break-inside: auto;
    font-size: 10pt !important;
    line-height: 1.5 !important;
  }
  
  .details-title {
    color: #000000 !important;
    font-size: 20pt !important;
    margin-bottom: 0.1rem !important;
    line-height: 1.1 !important;
  }
  
  .details-price {
    color: #000000 !important;
    font-size: 18pt !important;
    margin-bottom: 0.5rem !important;
  }
  
  .details-specs-list {
    display: block !important;
  }
  
  .d-spec {
    display: flex !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 0.3rem 0 !important;
    font-size: 10pt !important;
  }
  
  .d-spec span:first-child {
    font-weight: bold !important;
  }

  .vehicle-description-box h3 {
    color: #000000 !important;
    font-size: 12pt !important;
    border-bottom: 2px solid #000000 !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.1rem !important;
    text-transform: uppercase;
  }

  p, span, div, h1, h2, h3, h4 {
    color: #000000 !important;
    margin-top: 0 !important;
    margin-bottom: 0.2rem !important;
  }
}







