/* 
 * components.css - All Website Components
 * Header, Footer, Navigation, Cards, Info Boxes, etc.
 */

@import url('variables.css');
@import url('base.css');

/* ==================== MAP EMBED FILL ==================== */
/* The shared map markup (#InnerContainer > .HomeMapBackground > .HomeMapContainer >
   iframe.HomeMapIframe) is templated with a FIXED 400px height and intermediate divs
   that have no height, so it cannot fill its container with height:100% alone.
   Add the .map-fill class to a wrapper (that has its own height, e.g. h-[400px], or that
   stretches inside a grid) and the map will fill it at any size. */
.map-fill { position: relative; }
.map-fill #InnerContainer,
.map-fill .HomeMapBackground,
.map-fill .HomeMapContainer {
	position: absolute !important;
	top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
}
.map-fill .HomeMapIframe { width: 100% !important; height: 100% !important; }

/* ==================== HEADER & NAVIGATION ==================== */

/* Announcement Bar */
.announcement-bar { background: linear-gradient(135deg, var(--info), var(--info-light)); color: var(--white); padding: 10px 0; font-size: 14px; font-weight: 500; transition: transform 0.3s ease; }
.announcement-content { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.announcement-close { background: none; border: none; color: var(--white); cursor: pointer; padding: 4px; border-radius: 4px; transition: background 0.3s ease; }
.announcement-close:hover { background: rgba(255, 255, 255, 0.2); }

/* Top Bar */
.top-bar { background-color: #0a1533; padding: 8px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-bar-inner { display: flex; justify-content: flex-end; }
.top-bar-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.top-bar-phone, .top-bar-address, .top-bar-hours { color: rgba(255,255,255,0.75); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; font-weight: 500; }
.top-bar-phone:hover, .top-bar-address:hover { color: #ffffff; }
.top-bar-phone i, .top-bar-address i, .top-bar-hours i { color: #cdd9f5; width: 16px; }

/* Main Header */
.main-header { background-color: #0d1b3a; border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; z-index: var(--z-index-sticky); transition: box-shadow 0.3s ease; }
.main-header.sticky { box-shadow: var(--box-shadow-md); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; }
.header-logo { display: flex; align-items: center; }
.logo-link { display: block; line-height: 0; }
.logo-img { max-height: 62px; max-width: 260px; width: auto; height: auto; transition: max-height 0.3s ease; }
.main-header.sticky .logo-img { max-height: 44px; }

/* Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; align-items: center; }
.nav-item { position: relative; }
.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 16px; border-radius: 6px; transition: all 0.3s ease; display: block; }
.nav-link:hover { color: #ffffff; background: rgba(255,255,255,0.08); }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px; border-radius: 8px; transition: background 0.3s ease; }
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.08); }
.toggle-icon { display: block; width: 24px; height: 2px; background: #ffffff; position: relative; transition: all 0.3s ease; border-radius: 2px; }
.toggle-icon:before, .toggle-icon:after { content: ''; width: 24px; height: 2px; background: #ffffff; position: absolute; left: 0; transition: all 0.3s ease; border-radius: 2px; }
.toggle-icon:before { top: -8px; }
.toggle-icon:after { top: 8px; }
.mobile-menu-toggle.active .toggle-icon { background: transparent; }
.mobile-menu-toggle.active .toggle-icon:before { transform: rotate(45deg); top: 0; }
.mobile-menu-toggle.active .toggle-icon:after { transform: rotate(-45deg); top: 0; }

/* Mobile Contact Info */
.mobile-contact-info { display: none; border-top: 1px solid rgba(255,255,255,0.1); background: #0a1533; padding: 20px; width: 100%; }
.mobile-contact-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-contact-item:last-child { border-bottom: none; }
.mobile-contact-item:first-child { padding-top: 0; }
.mobile-contact-link { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.mobile-contact-link:hover { color: #cdd9f5; }
.mobile-contact-item i { color: #cdd9f5; font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.mobile-contact-details { display: flex; flex-direction: column; }
.mobile-contact-label { font-size: 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.mobile-contact-value { font-size: 14px; color: #ffffff; font-weight: 500; margin-top: 2px; }

/* Mobile Responsive */
@media (max-width: 991px) {
  .top-bar { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; width: 100%; background: #0d1b3a; box-shadow: 0 12px 30px rgba(0,0,0,0.45); z-index: 100; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; display: block; }
  .main-nav.active { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; padding: 20px; display: flex; width: 100%; }
  .nav-item { margin: 0; width: 100%; }
  .nav-link { font-size: 16px; padding: 16px 20px; display: block; border-radius: 8px; margin-bottom: 0; width: 100%; }
  .mobile-contact-info { display: block; width: 100%; margin: 0; }
  .header-inner { position: relative; }
}

@media (max-width: 768px) {
  .header-inner { padding: 6px 0; }
  .logo-img { max-height: 36px; max-width: 200px; }
  .main-header.sticky .logo-img { max-height: 32px; }
  .announcement-bar { padding: 8px 0; font-size: 13px; }
}

@media (max-width: 480px) {
  .nav-link { font-size: 15px; padding: 14px 16px; }
  .mobile-contact-value { font-size: 14px; }
}


/* ==================== HERO BANNER ==================== */
.hero { position: relative; height: 500px; overflow: hidden; background-color: var(--neutral-800); }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; will-change: opacity, transform; backface-visibility: hidden; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 1rem; }
.hero-title { font-size: 3rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.5rem; color: var(--white); margin-bottom: 2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 768px) { .hero { height: 400px; } .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 1.125rem; } }
@media (max-width: 640px) { .hero { height: 350px; } .hero-title { font-size: 1.75rem; } .hero-subtitle { font-size: 1rem; } .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; } }
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-slide.zoomeffect.active { animation: kb 5s linear forwards; }



/* ==================== SEARCH SECTION ==================== */

.search-section { background-color: var(--neutral-800); padding: 1.5rem 0; }
.search-container { max-width: 800px; margin: 0 auto; }
.search-form { display: flex; gap: 0.5rem; }
.search-input { flex: 1; padding: 0.75rem 1rem; border: none; border-radius: var(--border-radius); font-size: 1rem; }
.search-input:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.search-btn { background-color: var(--primary); color: var(--white); border: none; border-radius: var(--border-radius); padding: 0.75rem 1.5rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.search-btn:hover { background-color: var(--primary-dark); }

@media (max-width: 576px) {
  .search-form { flex-direction: column; }
  .search-btn { width: 100%; }
}


/* ==================== SECTION HEADERS ==================== */

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--heading-color); margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--neutral-600); max-width: 800px; margin: 0 auto 1rem; line-height: 1.6; }
.accent-line { width: 80px; height: 3px; background-color: var(--accent); margin: 0 auto; }

@media (max-width: 768px) {
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 2rem; }
  .section-header p { font-size: 1rem; }
}


/* ==================== FEATURED VEHICLES ==================== */

.featured-section { padding: 4rem 0; background-color: var(--neutral-50); }
.featured-section .section-title { text-align: center; margin-bottom: 3rem; position: relative; }
.featured-section .section-title h2 { font-size: 2.5rem; font-weight: 800; color: var(--neutral-800); margin-bottom: 1rem; }
.featured-section .section-title p { font-size: 1.125rem; color: var(--neutral-600); max-width: 600px; margin: 0 auto; }
.featured-section .section-title::after { content: ""; display: block; width: 80px; height: 4px; background-color: var(--primary); margin: 1rem auto 0; }
.view-all { text-align: center; margin-top: 3rem; }


/* ==================== WELCOME SECTION ==================== */

.welcome-section { padding: 5rem 0; position: relative; background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('/images/home-background.jpg'); background-repeat: no-repeat; background-size: cover; }
.welcome-container { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.welcome-content { flex: 1; min-width: 300px; }
.welcome-badge { display: inline-block; background: var(--primary); color: white; font-size: 0.875rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 30px; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.welcome-title { font-size: 2.5rem; font-weight: 800; color: var(--heading-color); margin-bottom: 1.5rem; line-height: 1.2; }
.welcome-text { font-size: 1.125rem; color: var(--neutral-600); margin-bottom: 2rem; line-height: 1.7; }
.welcome-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.welcome-features li { margin-bottom: 0.75rem; display: flex; align-items: center; }
.welcome-features i { color: var(--primary); margin-right: 0.75rem; font-size: 1.125rem; }
.welcome-btn { display: inline-block; background-color: var(--primary); color: white; font-weight: 700; padding: 0.875rem 1.75rem; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; font-size: 1.125rem; }
.welcome-btn:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--box-shadow); color: white; }

@media (max-width: 992px) {
  .welcome-container { gap: 2rem; }
  .welcome-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .welcome-section { padding: 3rem 0; }
  .welcome-title { font-size: 1.75rem; }
  .welcome-text { font-size: 1rem; }
}


/* ==================== PROMO CARD ==================== */

.promo-card { display: flex; flex-direction: column; width: 100%; max-width: 380px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--box-shadow-lg); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--box-shadow-xl); }
.promo-image { position: relative; height: 200px; overflow: hidden; }
.promo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.promo-card:hover .promo-image img { transform: scale(1.05); }
.promo-tag { position: absolute; top: 16px; right: 16px; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; letter-spacing: 0.5px; }
.promo-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.promo-title { font-size: 1.5rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; }
.promo-subtitle { font-size: 1rem; color: var(--neutral-600); margin-bottom: 1.5rem; }
.promo-features { margin-bottom: 1.5rem; }
.promo-feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.promo-feature:last-child { margin-bottom: 0; }
.feature-icon { width: 40px; height: 40px; background: var(--neutral-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.feature-text { font-size: 0.9rem; color: var(--neutral-700); line-height: 1.5; padding-top: 8px; }
.promo-button { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: white; font-weight: 700; padding: 1rem 1.5rem; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; margin-top: auto; }
.promo-button:hover { background: var(--accent-dark); transform: translateX(5px); color: white; }
.promo-button i { transition: transform 0.3s ease; }
.promo-button:hover i { transform: translateX(5px); }


/* ==================== FINANCE SECTION ==================== */

.finance-section { padding: 5rem 0; background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 100%); }
.finance-container { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.finance-image { flex: 1; min-width: 300px; position: relative; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--box-shadow-lg); }
.finance-image img { width: 100%; height: auto; display: block; }
.finance-badge { position: absolute; top: 20px; left: 20px; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 8px 16px; border-radius: 30px; letter-spacing: 0.5px; box-shadow: var(--box-shadow); }
.finance-content { flex: 1; min-width: 300px; }
.finance-title { font-size: 2.5rem; font-weight: 800; color: var(--heading-color); margin-bottom: 2rem; line-height: 1.2; }
.finance-title span { color: var(--primary); }
.finance-features { margin-bottom: 2rem; }
.finance-feature { display: flex; gap: 1rem; margin-bottom: 2rem; }
.finance-feature:last-child { margin-bottom: 0; }
.finance-feature-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; flex-shrink: 0; box-shadow: var(--box-shadow); }
.finance-feature-content { flex: 1; }
.finance-feature-title { font-size: 1.25rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; }
.finance-feature-desc { font-size: 1rem; color: var(--neutral-600); line-height: 1.6; }

@media (max-width: 992px) {
  .finance-container { gap: 2rem; }
  .finance-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .finance-section { padding: 3rem 0; }
  .finance-title { font-size: 1.75rem; }
  .finance-feature-icon { width: 45px; height: 45px; font-size: 1.25rem; }
}


/* ==================== SIDEBAR COMPONENTS ==================== */

.info-card { background-color: var(--neutral-50); border-radius: 8px; border: 1px solid var(--neutral-200); overflow: hidden; margin-bottom: 30px; box-shadow: var(--box-shadow-sm); }
.info-card-header { background-color: var(--neutral-100); color: var(--neutral-700); padding: 20px; display: flex; align-items: center; gap: 15px; }
.info-card-header i { font-size: 18px; color: var(--primary); }
.info-card-header h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin: 0; }
.info-card-body { font-size: 0.9rem; padding: 20px; }
.info-card-list { list-style: none; padding: 0; margin: 0; }
.info-card-list li { color: var(--neutral-600); font-size: 0.9rem; display: flex; align-items: flex-start; margin-bottom: 12px; line-height: 1.5; }
.info-card-list li:last-child { margin-bottom: 0; }
.info-card-list li i { color: var(--primary); font-size: 14px; margin-right: 12px; margin-top: 3px; flex-shrink: 0; }

.contact-card { background-color: var(--neutral-50); border: 1px solid var(--neutral-200); border-radius: 8px; padding: 25px; margin-bottom: 30px; box-shadow: var(--box-shadow-sm); }
.contact-card h3 { margin: 0 0 18px 0; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }
.contact-card p { font-size: 1rem; color: var(--neutral-600); margin-bottom: 20px; }
.contact-link { display: flex; align-items: center; color: var(--primary); font-size: 1rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; margin-bottom: 15px; }
.contact-link:last-child { margin-bottom: 0; }
.contact-link i { margin-right: 10px; width: 20px; text-align: center; }
.contact-link:hover { color: var(--primary-dark); transform: translateY(-2px); }

.hours-card { background-color: var(--neutral-50); border-radius: 8px; border: 1px solid var(--neutral-200); overflow: hidden; margin-bottom: 30px; box-shadow: var(--box-shadow-sm); }
.hours-card-header { background-color: var(--neutral-100); padding: 20px; text-align: center; }
.hours-card-header h3 { margin: 0; font-size: 1.1rem; color: var(--neutral-700); font-weight: 700; letter-spacing: 0; }
.hours-card-body { padding: 20px; font-size: 0.9rem; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--neutral-200); }
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--neutral-700); }
.hours-time { color: var(--neutral-600); text-align: right; }


/* ==================== FEATURE CARDS ==================== */

.about-features { display: flex; flex-direction: column; gap: 2rem; }
.about-feature { display: flex; gap: 1.5rem; }
.about-feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.75rem; flex-shrink: 0; box-shadow: var(--box-shadow); }
.about-feature-content { flex: 1; }
.about-feature-content h4 { font-size: 1.25rem; font-weight: 700; color: var(--heading-color); margin-bottom: 0.5rem; }
.about-feature-content p { font-size: 1rem; color: var(--neutral-600); line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .about-feature { flex-direction: column; align-items: center; text-align: center; }
}


/* ==================== FAQ SECTION ==================== */

.faq-section { margin-top: 3rem; }
.faq-title { font-size: 2rem; font-weight: 700; color: var(--heading-color); margin-bottom: 2rem; text-align: center; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--border-radius); margin-bottom: 1rem; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: var(--box-shadow-sm); }
.faq-question { padding: 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; user-select: none; }
.faq-question h4 { font-size: 1.1rem; font-weight: 600; color: var(--heading-color); margin: 0; flex: 1; }
.faq-icon { color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 1.25rem 1.25rem; }
.faq-answer p { color: var(--neutral-600); line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .faq-question { padding: 1rem; }
  .faq-question h4 { font-size: 1rem; }
}


/* ==================== FOOTER ==================== */

.footer { background-color: var(--neutral-800); color: var(--neutral-300); padding: 4rem 0 2rem; }
.footer-container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-container p, .footer-container span { font-size: 0.9rem; margin: 0 0 0.5rem; }
.footer-column { flex: 1; min-width: 250px; }
.footer-title { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; position: relative; }
.footer-title::after { content: ""; display: block; width: 40px; height: 3px; background-color: var(--primary); margin-top: 0.75rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-link { display: block; color: var(--neutral-200); padding: 0.25rem 0; transition: var(--transition-normal); }
.footer-link:hover { color: var(--white); transform: translateX(5px); }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-icon { color: var(--primary); margin-right: 1rem; font-size: 1rem; flex-shrink: 0; }
.footer-contact-text { flex: 1; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); color: var(--white); border-radius: 50%; transition: var(--transition-normal); }
.footer-social-link:hover { background-color: var(--primary); transform: translateY(-5px); }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-copyright { font-size: 0.875rem; color: var(--neutral-200); }
.footer-copyright a { color: var(--warning-light); }
.footer-copyright a:hover { color: var(--warning); }

@media (max-width: 768px) {
  .footer { padding: 3rem 0 2rem; }
  .footer-column { min-width: 100%; text-align: center; }
  .footer-title::after { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
}


/* ==================== STAFF CARDS ==================== */

.staff-section { margin-top: 3rem; }
.staff-wrapper { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 30px; }
.staff-card { flex: 1 1 300px; min-width: 280px; max-width: 400px; }
.staff-inner { padding: 1.5rem; margin: 0; border: 1px solid var(--neutral-200); border-radius: var(--border-radius-lg); display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); transition: all 0.3s ease; }
.staff-inner:hover { border-color: var(--neutral-400); box-shadow: var(--box-shadow); transform: translateY(-5px); }
.staff-image { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 4px solid var(--neutral-100); }
.staff-name { font-size: 1.375rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; color: var(--heading-color); }
.staff-title { font-size: 1rem; margin-bottom: 1rem; color: var(--primary); font-weight: 600; }
.staff-contact { font-size: 0.875rem; color: var(--neutral-600); }
.staff-info { font-size: 0.9rem; color: var(--neutral-600); line-height: 1.5; }

@media (max-width: 640px) {
  .staff-card { flex: 1 1 100%; max-width: 100%; }
}

/* ============================================================
   PALMETTO BOLD - dark section treatment
   Add class "pe-dark" to any section and everything inside it
   re-skins for a deep navy background: headings, body text,
   cards, hairlines, chips, timetables, FAQ items, links.
   Inventory pages (inventory.aspx / for-sale.aspx) do not use
   these classes, so they are untouched by design.
   ============================================================ */
.pe-dark { background: #08122b !important; color: rgba(255,255,255,0.85); position: relative; }
.pe-dark.pe-dark-deep { background: #050c1f !important; }
.pe-dark.pe-dark-charcoal { background: #111111 !important; }
.pe-dark.pe-dark-charcoal.pe-dark-texture::before { opacity: 0.05; }
.pe-dark.pe-dark-texture::before { content: ''; position: absolute; inset: 0; background-image: url('/images/palmetto-pattern-dark-1900.png'); background-size: 1100px auto; opacity: 0.08; pointer-events: none; }
.pe-dark > * { position: relative; z-index: 1; }

/* Headings + display type */
.pe-dark h2, .pe-dark h3, .pe-dark .font-display, .pe-dark .font-display-black { color: #ffffff !important; }
.pe-dark .text-primary { color: #cdd9f5 !important; }

/* Body copy */
.pe-dark p, .pe-dark li, .pe-dark .text-neutral-600, .pe-dark .text-neutral-500, .pe-dark .text-neutral-700 { color: rgba(255,255,255,0.78) !important; }
.pe-dark .prose { color: rgba(255,255,255,0.78); }

/* Hairlines and white panels */
.pe-dark .border-y, .pe-dark .border-t, .pe-dark .border-b, .pe-dark .border { border-color: rgba(255,255,255,0.12) !important; }
.pe-dark .bg-white { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.12) !important; }

/* Speed bars, chips */
.pe-dark .pe-speed i { background: #cdd9f5; }
.pe-dark .pe-chip-ghost { color: #cdd9f5; border-color: #cdd9f5; }

/* Checklist bullets */
.pe-dark .pe-list li i { color: #cdd9f5; }

/* Underline-sweep links */
.pe-dark .link-sweep { color: #ffffff !important; }
.pe-dark .link-sweep i { color: #cdd9f5; }
.pe-dark .link-sweep:after { background: #cdd9f5; }

/* Cards used across pages (actions, values, why, steps, local, options) */
.pe-dark .pe-action, .pe-dark .about-value, .pe-dark .sell-why, .pe-dark .req-why,
.pe-dark .fin-step, .pe-dark .fin-option, .pe-dark .local-card,
.pe-dark .fin-faq-item, .pe-dark .about-faq-item, .pe-dark .suv-faq-item, .pe-dark .sed-faq-item, .pe-dark .trk-faq-item {
  background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.12) !important;
}
.pe-dark .pe-action:hover, .pe-dark .fin-option:hover, .pe-dark .fin-step-link:hover { background: rgba(255,255,255,0.09) !important; border-color: rgba(205,217,245,0.45) !important; box-shadow: 0 14px 28px -12px rgba(0,0,0,0.6) !important; }
.pe-dark .pe-action-title { color: #ffffff; }
.pe-dark .pe-action-title i { color: #cdd9f5; }
.pe-dark .pe-action-sub { color: rgba(255,255,255,0.65); }
.pe-dark .pe-action:before { background: #cdd9f5; }
.pe-dark .fin-step-num { -webkit-text-stroke-color: rgba(205,217,245,0.6); }
.pe-dark .fin-step-link:hover .fin-step-num { color: #cdd9f5; -webkit-text-stroke-color: #cdd9f5; }

/* Timetable / NAP rows */
.pe-dark .pe-timetable { border-top-color: #cdd9f5; }
.pe-dark .pe-timetable-row, .pe-dark .nap-row { border-bottom-color: rgba(255,255,255,0.12); }
.pe-dark .pe-timetable-label, .pe-dark .nap-label { color: #cdd9f5; }
.pe-dark .nap-rows { border-top-color: #cdd9f5; }
.pe-dark .nap-directions-item { border-bottom-color: rgba(255,255,255,0.12); }
.pe-dark .nap-directions-item i { color: #cdd9f5; }
.pe-dark .nap-directions-item strong { color: #ffffff; }

/* FAQ links and area chips */
.pe-dark .fin-faq-item a, .pe-dark .about-faq-item a, .pe-dark .suv-faq-item a, .pe-dark .sed-faq-item a, .pe-dark .trk-faq-item a { color: #cdd9f5; }
.pe-dark .fin-faq, .pe-dark .about-faq, .pe-dark .suv-faq, .pe-dark .sed-faq, .pe-dark .trk-faq { border-top-color: rgba(255,255,255,0.12); }
.pe-dark .area-chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: #ffffff; }
.pe-dark .area-chip i { color: #cdd9f5; }

/* Framed imagery shadow -> lighter offset reads better on navy */
.pe-dark .pe-frame:before, .pe-dark .nap-frame:before { background: #cdd9f5; opacity: 0.14; }

/* Charcoal variant: keep accents neutral-white instead of sky blue so it reads as a different tone */
.pe-dark.pe-dark-charcoal .text-primary, .pe-dark.pe-dark-charcoal .pe-speed i, .pe-dark.pe-dark-charcoal .link-sweep i,
.pe-dark.pe-dark-charcoal .pe-list li i, .pe-dark.pe-dark-charcoal .pe-timetable-label, .pe-dark.pe-dark-charcoal .nap-label,
.pe-dark.pe-dark-charcoal .pe-action-title i, .pe-dark.pe-dark-charcoal .area-chip i { color: #cdd9f5 !important; }
.pe-dark.pe-dark-charcoal .pe-action, .pe-dark.pe-dark-charcoal .about-value, .pe-dark.pe-dark-charcoal .local-card,
.pe-dark.pe-dark-charcoal .fin-option, .pe-dark.pe-dark-charcoal .fin-step, .pe-dark.pe-dark-charcoal .shop-type-circle { background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.10) !important; }

/* Shop-by-type circles inside a dark band */
.pe-dark .shop-type-circle { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.15) !important; }

/* ============================================================
   PALMETTO BOLD - full dark theme (dealer: "chrome, silver,
   black and blue, less white"). Applied via body.pe-theme-dark.
   Page base is a dark neutral; .pe-dark bands (navy/charcoal)
   become the accent darks on top of it.
   WHITELIST (stays light so photos/forms read correctly):
   vehicle cards, inventory grid, forms, calculator inputs, map.
   inventory.aspx / for-sale.aspx do not carry pe-theme-dark.
   ============================================================ */
.pe-theme-dark { background: #14171c; color: rgba(255,255,255,0.82); }

/* "Light" section backgrounds become the raised dark neutral */
.pe-theme-dark main > section.bg-white,
.pe-theme-dark main > section[class*="bg-white"] { background: #1c2027 !important; }
.pe-theme-dark .border-y, .pe-theme-dark .border-t, .pe-theme-dark .border-b { border-color: rgba(255,255,255,0.10) !important; }

/* Text utilities remap */
.pe-theme-dark .text-neutral-900, .pe-theme-dark .text-neutral-800 { color: #ffffff !important; }
/* ...but never inside white buttons/panels: bg-white + text-neutral-900 stays dark-on-light */
.pe-theme-dark .bg-white.text-neutral-900, .pe-theme-dark .bg-white .text-neutral-900,
.pe-theme-dark .pe-btn.bg-white { color: #14171c !important; }
.pe-theme-dark .pe-btn.bg-white:hover { color: #14171c !important; }
.pe-theme-dark .text-neutral-700 { color: rgba(255,255,255,0.88) !important; }
.pe-theme-dark .text-neutral-600 { color: rgba(255,255,255,0.74) !important; }
.pe-theme-dark .text-neutral-500 { color: rgba(255,255,255,0.58) !important; }
.pe-theme-dark .text-gray-900 { color: #ffffff !important; }
.pe-theme-dark .text-gray-600, .pe-theme-dark .text-gray-700 { color: rgba(255,255,255,0.74) !important; }
.pe-theme-dark .text-gray-500 { color: rgba(255,255,255,0.58) !important; }
.pe-theme-dark h1, .pe-theme-dark h2, .pe-theme-dark h3 { color: #ffffff; }
.pe-theme-dark .font-display, .pe-theme-dark .font-display-black { color: #ffffff; }
.pe-theme-dark .text-primary { color: #4f9de0 !important; }   /* brighter blue for text on dark */
.pe-theme-dark p { color: rgba(255,255,255,0.78); }

/* Cards / panels: raised dark neutral with silver hairline */
.pe-theme-dark .pe-action, .pe-theme-dark .about-value, .pe-theme-dark .sell-why, .pe-theme-dark .req-why,
.pe-theme-dark .fin-step, .pe-theme-dark .fin-option, .pe-theme-dark .local-card,
.pe-theme-dark .fin-faq-item, .pe-theme-dark .about-faq-item, .pe-theme-dark .suv-faq-item,
.pe-theme-dark .sed-faq-item, .pe-theme-dark .trk-faq-item, .pe-theme-dark .area-chip, .pe-theme-dark .style-chip {
  background: #1c2027; border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
}
.pe-theme-dark .style-chip:hover { border-color: #4f9de0; color: #4f9de0; }
.pe-theme-dark .pe-action-title, .pe-theme-dark .area-chip { color: #ffffff; }
.pe-theme-dark .pe-action-sub { color: rgba(255,255,255,0.62); }
.pe-theme-dark .pe-action:hover, .pe-theme-dark .fin-option:hover, .pe-theme-dark .fin-step-link:hover { background: #232830; box-shadow: 0 16px 32px -14px rgba(0,0,0,0.7); border-color: rgba(79,157,224,0.5); }
.pe-theme-dark .pe-chip-ghost { color: #4f9de0; border-color: #4f9de0; }
.pe-theme-dark .pe-speed i { background: var(--primary); }
.pe-theme-dark .link-sweep { color: #ffffff; }
.pe-theme-dark .link-sweep i { color: #4f9de0; }
.pe-theme-dark .pe-list li i { color: #4f9de0; }
.pe-theme-dark .fin-step-num { -webkit-text-stroke-color: rgba(79,157,224,0.55); }
.pe-theme-dark .pe-timetable, .pe-theme-dark .nap-rows { border-top-color: #c9ced8; }
.pe-theme-dark .pe-timetable-row, .pe-theme-dark .nap-row, .pe-theme-dark .nap-directions-item { border-bottom-color: rgba(255,255,255,0.12); }
.pe-theme-dark .pe-timetable-label, .pe-theme-dark .nap-label { color: #4f9de0; }
.pe-theme-dark .nap-directions-item strong { color: #ffffff; }
.pe-theme-dark .pe-frame:before, .pe-theme-dark .nap-frame:before { background: #4f9de0; opacity: 0.16; }
.pe-theme-dark .fin-faq-item a, .pe-theme-dark .about-faq-item a, .pe-theme-dark .suv-faq-item a, .pe-theme-dark .sed-faq-item a, .pe-theme-dark .trk-faq-item a { color: #4f9de0; }
.pe-theme-dark .fin-faq, .pe-theme-dark .about-faq, .pe-theme-dark .suv-faq, .pe-theme-dark .sed-faq, .pe-theme-dark .trk-faq { border-top-color: rgba(255,255,255,0.12); }
.pe-theme-dark .shop-type-circle { background: #1c2027 !important; border-color: rgba(255,255,255,0.14) !important; }

/* Outline buttons on dark */
.pe-theme-dark .pe-btn.border-2:not(.bg-primary):not(.bg-white) { border-color: rgba(255,255,255,0.45); color: #ffffff; }
.pe-theme-dark .pe-btn.border-2:not(.bg-primary):not(.bg-white):hover { background: #ffffff; color: #0d1b3a; }

/* The navy/charcoal accent bands get a hairline so they still separate from the dark base */
.pe-theme-dark section.pe-dark { border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ---------- WHITELIST: keep these light ---------- */
/* Inventory grid + vehicle cards (featured slider + body-style module) */
.pe-theme-dark #featured-vehicles-container .bg-white,
.pe-theme-dark #featured-vehicles-container [class*="bg-white"],
.pe-theme-dark #vehicles .bg-white,
.pe-theme-dark #vehicles [class*="rounded-lg"][class*="border"] { background: #ffffff !important; color: #171717; }
.pe-theme-dark #featured-vehicles-container .bg-white h3, .pe-theme-dark #vehicles .bg-white h3 { color: #171717 !important; }
.pe-theme-dark #featured-vehicles-container .bg-white p, .pe-theme-dark #vehicles .bg-white p { color: #525252 !important; }
.pe-theme-dark #featured-vehicles-container .bg-white .text-gray-900, .pe-theme-dark #vehicles .bg-white .text-gray-900 { color: #171717 !important; }
.pe-theme-dark #featured-vehicles-container .bg-white .text-gray-600, .pe-theme-dark #vehicles .bg-white .text-gray-600 { color: #525252 !important; }
.pe-theme-dark #featured-vehicles-container .bg-white .text-gray-500, .pe-theme-dark #vehicles .bg-white .text-gray-500 { color: #737373 !important; }
.pe-theme-dark #vehicles .text-primary, .pe-theme-dark #featured-vehicles-container .text-primary { color: var(--primary) !important; }
.pe-theme-dark #vehicles .bg-white p.text-primary, .pe-theme-dark #featured-vehicles-container .bg-white p.text-primary,
.pe-theme-dark #vehicles .bg-white .text-primary, .pe-theme-dark #featured-vehicles-container .bg-white .text-primary { color: var(--primary) !important; }
.pe-theme-dark #vehicles section { background: #1c2027 !important; }   /* the module section bg goes dark, cards stay white */
.pe-theme-dark #vehicles section h2 { color: #ffffff !important; }
.pe-theme-dark #vehicles section .text-gray-600, .pe-theme-dark #vehicles section .text-gray-500 { color: rgba(255,255,255,0.6) !important; }
/* but restore inside the vehicle cards (white bg) and the promo tile */
.pe-theme-dark #vehicles .bg-white .text-gray-600 { color: #525252 !important; }
.pe-theme-dark #vehicles .bg-white .text-gray-500 { color: #737373 !important; }
.pe-theme-dark .vdm-promo-title, .pe-dark .vdm-promo-title { color: #ffffff !important; }
.pe-theme-dark .vdm-promo-copy, .pe-dark .vdm-promo-copy { color: rgba(255,255,255,0.78) !important; }
.pe-theme-dark .vdm-promo-cta { color: var(--primary) !important; }
/* Forms (iframe wrappers) and calculator inputs */
.pe-theme-dark .bg-white.rounded-lg.shadow-lg { background: #ffffff !important; }
.pe-theme-dark .calc-field input, .pe-theme-dark .calc-field select { background: #ffffff; color: #0d1b3a; border-color: rgba(13,27,58,0.2); }
.pe-theme-dark .calc-field label { color: rgba(255,255,255,0.85); }
/* Calculator form panel: raised dark, inputs white inside */
.pe-theme-dark .lg\:col-span-3.bg-white { background: #1c2027 !important; }

/* ============================================================
   Sticky Apply bar (shared). Markup: <div id="apply-bar" class="apply-bar">…
   Position syncs to the live header height via --apply-top, set by
   the script in components/header.aspx.
   ============================================================ */
.apply-bar { position: sticky; top: var(--apply-top, 0px); z-index: 900; background: #0d1b3a; box-shadow: 0 4px 12px rgba(0,0,0,0.35); padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.apply-bar-text { color: rgba(255,255,255,0.75); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; }
.apply-bar-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; padding: 0.55rem 1.2rem; border-radius: 5px; transform: skewX(-8deg); transition: background 0.25s ease; white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.apply-bar-btn:hover { background: var(--primary-light); color: #fff; }
@media (max-width: 480px) { .apply-bar-text { font-size: 0.7rem; } }

/* ============================================================
   Gold Standard Maintenance banner. Thin CTA bar shown at the
   top of the SRP and VDP. Links to /gold-standard-maintenance-plan.aspx
   ============================================================ */
.gsm-banner { display: block; background: #111111; border-bottom: 2px solid #ffcc00; text-decoration: none; transition: filter 0.2s ease; }
.gsm-banner:hover { filter: brightness(1.25); }
.gsm-banner-inner { max-width: 80rem; margin: 0 auto; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; text-align: center; }
.gsm-banner-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: #ffcc00; color: #111111; font-family: 'Montserrat', sans-serif; font-weight: 800; font-style: italic; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 3px; transform: skewX(-8deg); white-space: nowrap; }
.gsm-banner-badge > * { transform: skewX(8deg); }
.gsm-banner-text { color: #ffffff; font-size: 0.85rem; font-weight: 600; }
.gsm-banner-more { color: #ffcc00; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; white-space: nowrap; border-bottom: 2px solid #ffcc00; }
@media (max-width: 640px) {
    .gsm-banner-text { font-size: 0.78rem; }
}

/* VDP maintenance modal. Trigger matches the action-column buttons
   (same size/shape as the Apply button) but in gold with black text. */
.gsm-tag { display: flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; background: #ffcc00; border: none; color: #111111; border-radius: 0.5rem; padding: 1rem 1.25rem; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); transition: filter 0.2s ease, transform 0.2s ease; }
.gsm-tag:hover { filter: brightness(1.06); transform: translateY(-1px); }
.gsm-tag i { font-size: 1.25rem; }
.gsm-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(5,8,16,0.75); z-index: 1100; align-items: center; justify-content: center; padding: 1rem; }
.gsm-modal-overlay.open { display: flex; }
.gsm-modal { background: #ffffff; border-radius: 10px; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 1.8rem 1.6rem; position: relative; }
.gsm-modal-close { position: absolute; top: 0.8rem; right: 0.8rem; background: #f0f2f5; border: none; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; color: #0d1b3a; font-size: 0.9rem; }
.gsm-modal h3 { font-family: 'Michroma', 'Montserrat', sans-serif; text-transform: uppercase; font-size: 1rem; color: #0d1b3a; margin: 0 0 0.35rem; }
.gsm-modal .gsm-modal-sub { font-size: 0.82rem; color: #525252; margin-bottom: 1rem; }
.gsm-modal ul { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.gsm-modal li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(13,27,58,0.08); font-size: 0.86rem; color: #333; }
.gsm-modal li b { color: #8a6d24; white-space: nowrap; }
.gsm-modal .gsm-modal-fine { font-size: 0.72rem; color: #8a8f98; line-height: 1.45; margin-bottom: 1.1rem; }
.gsm-modal-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: #1764af; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; padding: 0.75rem 1.3rem; border-radius: 6px; text-decoration: none; }
.gsm-modal-cta:hover { background: #114d87; color: #fff; }
