/* ======================================================
   Motors Dealer – Home Page Three
   Full recreation CSS
====================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #232628;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================================
   TOP INFO BAR
====================================================== */
.top-bar {
  background: #232628;
  color: #fff;
  padding: 10px 0;
  font-size: 12px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-address {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
}

.top-bar-address i {
  color: #00662b;
  font-size: 18px;
}

.top-bar-address .addr-text {
  line-height: 1.4;
}

.top-bar-address .addr-text a {
  color: #00662b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-phone i {
  color: #00662b;
  font-size: 22px;
  border: 2px solid #00662b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-phone .phone-label {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-bar-phone .phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-service {
  text-align: right;
  color: #ccc;
  font-size: 12px;
  line-height: 1.8;
}

.top-bar-service span {
  color: #999;
  text-transform: uppercase;
  font-size: 10px;
  margin-right: 4px;
}

.top-bar-service a {
  color: #fff;
  font-weight: 600;
}

.top-bar-social a {
  color: #fff;
  font-size: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.top-bar-social a:hover {
  background: #00662b;
  border-color: #00662b;
}

/* ======================================================
   NAVIGATION
====================================================== */
.main-nav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a {
  color: #232628;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #00662b;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-compare,
.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #232628;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-compare:hover,
.nav-cart:hover { color: #00662b; }

.nav-compare i,
.nav-cart i { font-size: 16px; }

.compare-badge {
  background: #00662b;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Hamburger toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #232628;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================
   HERO SLIDER
====================================================== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

/* Content respects same container width as rest of site */
.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── Circular bubble ────────────────────────────────── */
.hero-bubble-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Ghost ring – centered perfectly behind the bubble */
.hero-bubble::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: -1;
}

.hero-bubble {
  position: relative;
  width: 385px;
  height: 385px;
  border-radius: 50%;
  background: #00662b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 44px 36px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 12px rgba(255,255,255,0.07);
}

.hero-slide-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.hero-slide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.hero-price-dollar {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  padding-bottom: 12px;
}

.hero-price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 68px;
  font-weight: 900;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -2px;
}

.hero-price-suffix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 8px;
  margin-left: 4px;
}

.hero-price-suffix .mo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

.hero-price-suffix .period {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  display: block;
  text-align: left;
  text-transform: uppercase;
  line-height: 1.3;
  background: rgba(0,0,0,0.25);
  padding: 2px 5px;
  margin-top: 3px;
}

.hero-slide-notes {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  text-align: center;
}

/* Arrow button attached right of the bubble */
.hero-bubble-arrow {
  width: 44px;
  height: 44px;
  background: #00662b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-left: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}

.hero-bubble-arrow:hover { background: #a35001; color: #fff; }

/* Slider prev/next arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s, border-color 0.2s;
  border-radius: 2px;
}

.hero-arrow:hover { background: #00662b; border-color: #00662b; }
.hero-arrow.prev { left: calc(50% - 600px + 20px); }
.hero-arrow.next { right: calc(50% - 600px + 20px); }

/* ======================================================
   CAR LISTING SECTION
====================================================== */
.car-listing-section {
  padding: 60px 0;
  background: #fff;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 12px;
}

.section-badge::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #00662b;
}

.section-available {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #232628;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.section-title span { color: #00662b; }

/* Tabs */
.listing-tabs {
  display: flex;
  border-bottom: 2px solid #eaedf0;
  margin-bottom: 32px;
  gap: 0;
}

.tab-btn {
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #777;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover { color: #00662b; }
.tab-btn.active {
  color: #00662b;
  border-bottom-color: #00662b;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Cars Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* Car Card */
.car-card {
  border: 1px solid #eaedf0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  background: #fff;
  cursor: pointer;
}

.car-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.car-card-img {
  position: relative;
  overflow: hidden;
  height: 175px;
  background: #f0f0f0;
}

.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.car-card:hover .car-card-img img { transform: scale(1.04); }

.car-badge {
  position: absolute;
  top: 10px;
  left: 0;
  background: #00662b;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
}

.car-card-body {
  padding: 14px;
}

.car-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.car-price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-family: 'Montserrat', sans-serif;
}

.car-price-new {
  font-size: 18px;
  font-weight: 700;
  color: #00662b;
  font-family: 'Montserrat', sans-serif;
}

.car-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #232628;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.car-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #888;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.car-stats li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-stats li i { color: #00662b; font-size: 12px; }

.btn-show-all {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 13px 36px;
  background: transparent;
  border: 2px solid #232628;
  color: #232628;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-show-all:hover {
  background: #00662b;
  border-color: #00662b;
  color: #fff;
}

/* Search Inventory Tab */
.search-inventory-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: #f8f8f8;
  border: 1px solid #eaedf0;
  border-radius: 4px;
}

.search-inventory-form select,
.search-inventory-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #555;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.search-inventory-form .btn-search {
  grid-column: 1 / -1;
  background: #00662b;
  color: #fff;
  border: none;
  padding: 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-inventory-form .btn-search:hover { background: #a35001; }

/* ======================================================
   DELIVERY / TRADE-IN SECTION
====================================================== */
.delivery-trade-section {
  position: relative;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 110px 0;
}

.delivery-trade-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.delivery-trade-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.icon-box-card {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 46px 46px 46px 44px;
  position: relative;
  overflow: hidden;
}

/* Left accent bar */
.icon-box-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: rgba(0, 0, 0, 0.15);
}

.icon-box-yellow { background: rgba(232, 170, 55, 0.97); }
.icon-box-red    { background: rgba(231,  76,  60, 0.97); }

/* Icon wrapper */
.icon-box-icon {
  flex-shrink: 0;
  position: relative;
  line-height: 1;
  margin-top: 2px;
}

.icon-box-icon > .icon-main {
  font-size: 64px;
  color: #232628;
  display: block;
}

/* Small badge icon positioned at front-bottom of main icon */
.icon-box-icon > .icon-sub {
  position: absolute;
  bottom: -4px;
  left: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #232628;
}

.icon-box-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #232628;
  margin-bottom: 14px;
  line-height: 1.2;
}

.icon-box-text p {
  font-size: 13px;
  color: rgba(35, 38, 40, 0.78);
  line-height: 1.8;
  max-width: 380px;
}

/* ======================================================
   SPECIALS SECTION
====================================================== */
.specials-section {
  padding: 60px 0 70px;
  background: #fff;
}

.specials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.specials-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #232628;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specials-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: #232628;
  padding: 9px 18px;
  transition: background 0.2s;
}

.specials-all-link:hover { background: #00662b; }
.specials-all-link i { font-size: 12px; }

/* Specials carousel */
.specials-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.specials-carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.special-card {
  min-width: calc((100% - 40px) / 3);
  margin-right: 20px;
  border: 1px solid #eaedf0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}

.special-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.special-card-img {
  position: relative;
  height: 210px;
  background: #f0f0f0;
  overflow: hidden;
}

.special-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.special-card:hover .special-card-img img { transform: scale(1.04); }

.special-card-badge {
  position: absolute;
  top: 10px;
  left: 0;
  background: #00662b;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
}

.special-card-body {
  padding: 16px;
}

.special-card-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.special-card-old-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-family: 'Montserrat', sans-serif;
}

.special-card-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #00662b;
}

.special-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #232628;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.special-card-meta {
  font-size: 11px;
  color: #999;
  background: #f8f8f8;
  padding: 8px 10px;
  border-radius: 2px;
}

.special-card-stats {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #888;
}

.special-card-stats li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.special-card-stats li i { color: #00662b; font-size: 11px; }

/* Carousel navigation */
.specials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.specials-nav-btn {
  background: transparent;
  border: 2px solid #232628;
  color: #232628;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 2px;
}

.specials-nav-btn:hover,
.specials-nav-btn:disabled {
  background: #00662b;
  border-color: #00662b;
  color: #fff;
}

.specials-dots {
  display: flex;
  gap: 8px;
}

.specials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.specials-dot.active { background: #00662b; }

/* ======================================================
   WHY CHOOSE US
====================================================== */
.why-us-section {
  background: #232628;
  padding: 80px 0;
  color: #fff;
}

.why-us-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00662b;
  margin-bottom: 12px;
  display: block;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.why-us-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-us-icon {
  font-size: 36px;
  color: #00662b;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-us-text h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.why-us-text p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.7;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #fff;
  color: #fff;
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-learn-more:hover {
  background: #00662b;
  border-color: #00662b;
}

.btn-learn-more i { font-size: 14px; }

/* ======================================================
   ABOUT BANNER
====================================================== */
.about-section {
  background: #1a1e22;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.about-section h2 {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-section p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;
}

/* ======================================================
   FOOTER
====================================================== */
footer {
  background: #1a1e22;
  color: #ccc;
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-widget h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00662b;
  display: inline-block;
}

.footer-widget p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

/* Photo gallery */
.footer-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.footer-gallery a {
  display: block;
  overflow: hidden;
  height: 70px;
}

.footer-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.footer-gallery a:hover img { transform: scale(1.08); }

/* Blog posts */
.footer-blog-post {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-blog-post a {
  color: #00662b;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.footer-blog-post a:hover { color: #fff; }

/* Social icons */
.footer-social {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #00662b;
  border-color: #00662b;
  color: #fff;
}

/* Subscribe form */
.footer-subscribe-form {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.footer-subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  background: #2a2e33;
  border: 1px solid #3a3e44;
  color: #fff;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
}

.footer-subscribe-form input::placeholder { color: #666; }

.footer-subscribe-form button {
  padding: 10px 16px;
  background: #00662b;
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.footer-subscribe-form button:hover { background: #a35001; }

.footer-subscribe-note {
  font-size: 11px;
  color: #666;
}

/* Hours */
.footer-hours-list {
  font-size: 13px;
  color: #999;
  line-height: 2;
}

.footer-hours-list li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 4px 0;
}

/* Footer bottom */
.footer-bottom {
  background: #111417;
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 12px;
  color: #666;
}

.footer-bottom-social {
  display: flex;
  gap: 8px;
}

.footer-bottom-social a {
  width: 32px;
  height: 32px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-bottom-social a:hover {
  background: #00662b;
  border-color: #00662b;
  color: #fff;
}

/* ======================================================
   USED CARS TAB (reuses car-card styles)
====================================================== */

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1240px) {
  .hero-arrow.prev { left: 20px; }
  .hero-arrow.next { right: 20px; }
}

@media (max-width: 1024px) {
  .cars-grid { grid-template-columns: repeat(3, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li a { font-size: 11px; padding: 6px 8px; }
  .hero-bubble { width: 320px; height: 320px; padding: 32px; }
  .hero-price-amount { font-size: 56px; }
  .hero-slide-title { font-size: 20px; }
}

@media (max-width: 768px) {
  /* hide top bar on small screens */
  .top-bar { display: none; }

  /* nav bar: single row, logo left, hamburger right */
  .main-nav .container { flex-wrap: nowrap; height: 60px; padding: 0 16px; gap: 0; }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }

  /* mobile drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 3px solid #00662b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    padding: 8px 0 16px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 13px 24px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    letter-spacing: 0;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links li a:hover,
  .nav-links li.active a { background: #f5faf7; color: #00662b; }

  .hero-slider { height: 440px; }
  .hero-slide-content { justify-content: center; }
  .hero-bubble { width: 280px; height: 280px; padding: 26px; }
  .hero-price-amount { font-size: 46px; }
  .hero-slide-title { font-size: 17px; }
  .hero-slide-label { font-size: 10px; }
  .hero-slide-notes { font-size: 10px; }
  .hero-bubble-arrow { display: none; }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-trade-section { padding: 60px 0; background-attachment: scroll; }
  .delivery-trade-cards { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-hours-grid { grid-template-columns: 1fr; }
  .special-card { min-width: calc(50% - 10px); }
  .search-inventory-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cars-grid { grid-template-columns: 1fr; }
  .hero-bubble { width: 240px; height: 240px; padding: 20px; }
  .hero-price-amount { font-size: 40px; }
  .hero-slide-title { font-size: 14px; }
  .section-title { font-size: 22px; }
  .special-card { min-width: 85%; }
  .search-inventory-form { grid-template-columns: 1fr; }
}

/* ======================================================
   SCROLL ANIMATIONS
====================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   WIP MODAL
====================================================== */
.wip-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.wip-modal[hidden] { display: none; }
.wip-modal-box {
  background: #fff;
  border-radius: 10px;
  padding: 52px 44px 44px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  animation: wip-pop .3s ease;
}
@keyframes wip-pop {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.wip-icon { font-size: 54px; color: #00662b; margin-bottom: 18px; }
.wip-modal-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #232628;
  margin-bottom: 12px;
}
.wip-modal-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}
.wip-close {
  display: inline-block;
  background: #00662b;
  color: #fff;
  border: none;
  padding: 13px 40px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background .2s;
}
.wip-close:hover { background: #a35001; }

/* ======================================================
   SLIM FOOTER
====================================================== */
.footer-grid-slim {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 40px;
}
.footer-logo {
  height: 28px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  display: block;
}
.footer-brand p {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #3a3e44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: #00662b; border-color: #00662b; color: #fff; }
.footer-contact h6,
.footer-hours h6,
.footer-gallery-widget h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  gap: 10px;
  color: #999;
  font-size: 13px;
  margin-bottom: 9px;
  align-items: flex-start;
}
.footer-contact-list li i {
  color: #00662b;
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.footer-contact-list a { color: #999; }
.footer-contact-list a:hover { color: #00662b; }
.footer-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 5px 0;
}
.footer-hours-list li span {
  color: #fff;
  font-weight: 600;
}
.footer-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.footer-gallery img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity .2s;
}
.footer-gallery a:hover img { opacity: .8; }

/* ======================================================
   CAR DETAIL PAGE
====================================================== */
.breadcrumb-bar {
  background: #f4f5f7;
  padding: 12px 0;
  border-bottom: 1px solid #e4e6e9;
}
.breadcrumb {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  align-items: center;
}
.breadcrumb li + li::before {
  content: '/';
  color: #bbb;
  margin-right: 6px;
}
.breadcrumb a { color: #00662b; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #666; }

/* Car detail layout */
.car-detail-section {
  padding: 48px 0 0;
}
.car-detail-section > .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.gallery-main {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.gallery-main img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  transition: opacity .35s;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  line-height: 0;
  transition: border-color .2s;
}
.gallery-thumb img { width: 80px; height: 60px; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: #00662b; }
.gallery-thumb:hover { border-color: #00662b; }

/* Car info panel */
.car-detail-condition { display: flex; gap: 8px; margin-bottom: 12px; }
.condition-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
}
.condition-new     { background: #27ae60; color: #fff; }
.condition-used    { background: #e74c3c; color: #fff; }
.condition-special { background: #00662b; color: #fff; }
.condition-certified { background: #2980b9; color: #fff; }

.car-detail-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #232628;
  margin-bottom: 4px;
  line-height: 1.2;
}
.car-detail-model {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}
.car-detail-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.detail-price-old {
  font-size: 16px;
  color: #bbb;
  text-decoration: line-through;
}
.detail-price-new {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #00662b;
}

/* Quick specs */
.car-quick-specs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border: 1px solid #e4e6e9;
  border-radius: 6px;
  overflow: hidden;
}
.car-quick-specs li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  font-size: 12px;
  color: #666;
  border-right: 1px solid #e4e6e9;
  text-align: center;
  gap: 4px;
}
.car-quick-specs li:last-child { border-right: none; }
.car-quick-specs li i { color: #00662b; font-size: 16px; }
.car-quick-specs li span { font-weight: 700; color: #232628; font-size: 12px; }
.car-quick-specs li small { font-size: 10px; color: #aaa; }

/* Spec table */
.car-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 24px;
}
.car-spec-table th {
  background: #f4f5f7;
  color: #232628;
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
  border: 1px solid #e4e6e9;
  white-space: nowrap;
}
.car-spec-table td {
  padding: 9px 12px;
  color: #555;
  border: 1px solid #e4e6e9;
}
.car-spec-table .vin { font-size: 11px; font-family: monospace; }

/* CTAs */
.car-detail-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00662b;
  color: #fff;
  padding: 13px 24px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-cta-primary:hover { background: #a35001; color: #fff; }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #232628;
  color: #fff;
  padding: 13px 24px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-cta-secondary:hover { background: #111; color: #fff; }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #232628;
  padding: 12px 22px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-cta-outline:hover { border-color: #00662b; color: #00662b; }

/* Detail body tabs */
.car-detail-body {
  padding: 40px 0 60px;
}
.car-detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e4e6e9;
  margin-bottom: 32px;
}
.detail-tab {
  background: none;
  border: none;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.detail-tab:hover { color: #00662b; }
.detail-tab.active { color: #00662b; border-bottom-color: #00662b; }

.detail-tab-panel { display: none; }
.detail-tab-panel.active { display: block; }

.detail-section-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #232628;
  margin-bottom: 18px;
}
.car-description {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  max-width: 760px;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-grid li {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.features-grid li i { color: #27ae60; font-size: 14px; flex-shrink: 0; }

/* Finance calculator */
.finance-calc { max-width: 600px; }
.finance-form { display: flex; flex-direction: column; gap: 16px; }
.finance-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.finance-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #232628;
  font-family: 'Montserrat', sans-serif;
}
.finance-form input {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.finance-form input:focus { border-color: #00662b; }
.finance-result {
  margin-top: 24px;
  background: #f4f5f7;
  border-radius: 6px;
  padding: 28px;
  text-align: center;
}
.finance-result-monthly { margin-bottom: 16px; }
.finance-result-monthly span {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #00662b;
}
.finance-result-monthly small { font-size: 16px; color: #999; margin-left: 6px; }
.finance-result-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 12px;
}
.finance-result-meta div { display: flex; flex-direction: column; gap: 4px; }
.finance-result-meta span { font-weight: 700; color: #232628; font-family: 'Montserrat', sans-serif; }
.finance-result-meta small { font-size: 12px; color: #999; }
.finance-disclaimer { font-size: 11px; color: #aaa; margin: 0; }

/* Enquiry form */
.enquiry-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.enquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label,
.enquiry-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #232628;
  font-family: 'Montserrat', sans-serif;
}
.enquiry-form input,
.enquiry-form textarea {
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus { border-color: #00662b; }

/* Related cars */
.related-cars-section {
  background: #f4f5f7;
  padding: 52px 0 60px;
}

/* ======================================================
   CAR DETAIL RESPONSIVE
====================================================== */
@media (max-width: 1024px) {
  .car-detail-section > .container { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-slim { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .car-detail-tabs { flex-wrap: wrap; }
  .detail-tab { padding: 10px 16px; font-size: 12px; }
  .enquiry-row { grid-template-columns: 1fr; }
  .finance-row { grid-template-columns: 1fr; }
  .car-quick-specs { flex-wrap: wrap; }
  .car-quick-specs li { min-width: 50%; border-right: none; border-bottom: 1px solid #e4e6e9; }
  .footer-grid-slim { grid-template-columns: 1fr; gap: 28px; }
  .car-detail-ctas { flex-direction: column; }
  .btn-cta-primary, .btn-cta-secondary, .btn-cta-outline { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .finance-result-meta { flex-direction: column; gap: 16px; }
}
