/* ═══════════════════════════════════════════════════════════
   H & AA LTD – CUSTOM STYLES
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --primary:       #243379;
  --primary-dark:  #1a2560;
  --primary-light: #2d3f8f;
  --accent:        #e8b84b;
  --accent-dark:   #c99a2e;
  --white:         #ffffff;
  --off-white:     #f7f8fc;
  --light-tint:    #eef1f9;
  --text-dark:     #0f1623;
  --text-body:     #3a3f54;
  --text-muted:    #7a8099;
  --border:        #dde2f0;
  --shadow-sm:     0 2px 12px rgba(36,51,121,.08);
  --shadow-md:     0 8px 32px rgba(36,51,121,.14);
  --shadow-lg:     0 20px 60px rgba(36,51,121,.18);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    all .28s cubic-bezier(.4,0,.2,1);
  --font-head:     'Barlow Condensed', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Prevent any horizontal scroll/blank space — must be on BOTH html and body
   for mobile browsers (iOS Safari / Android Chrome ignore body alone). */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: #fff;
  overflow-x: clip;       /* modern: clips without creating a scroll container */
  overflow-x: hidden;     /* fallback for older browsers */
  max-width: 100%;
  position: relative;
}

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

img { max-width: 100%; }

.py-section { padding: 90px 0; }

/* ── Ticker Bar ────────────────────────────────────────────── */
.ticker-wrap {
  /* Subtle gradient bar — richer than flat colour, reads as premium */
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  color: rgba(255,255,255,.9);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
  display: flex;
  align-items: center;
  z-index: 1100;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Inner wrapper carries the gradient fade mask. The scrolling content
   fades smoothly into transparency at BOTH edges, fully background-agnostic.
   This is the professional "gradient fade ticker" effect. */
.ticker-mask {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: tickerMove 55s linear infinite;
  will-change: transform;
  animation-play-state: running !important;
}

/* Each label gets even padding for clean, professional rhythm */
.ticker-track span {
  flex-shrink: 0;
  padding: 0 22px;
}

.ticker-dot {
  color: var(--accent) !important;
  font-size: .45rem;
  padding: 0 !important;
  opacity: .9;
}

@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Never pause, even on hover — constant professional motion */
.ticker-wrap:hover .ticker-track,
.ticker-mask:hover .ticker-track { animation-play-state: running !important; }

/* Ticker never pauses on hover — constant motion */
.ticker-wrap:hover .ticker-track { animation-play-state: running !important; }

/* ── Navbar ────────────────────────────────────────────────── */
.haa-nav {
  background: var(--primary) !important;
  padding: 0 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
  z-index: 1050;
}

.haa-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
}

/* Logo */
.haa-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  padding: 14px 0;
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1;
}

.logo-amp {
  color: var(--accent);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: 4px;
}

/* Nav Links */
.haa-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 22px 14px !important;
  position: relative;
  transition: var(--transition);
}

.haa-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.haa-nav .nav-link:hover,
.haa-nav .nav-link.active {
  color: var(--white) !important;
}

.haa-nav .nav-link:hover::after,
.haa-nav .nav-link.active::after {
  transform: scaleX(1);
}

.haa-nav .dropdown-toggle::after {
  border-color: rgba(255,255,255,.6) transparent transparent;
}

/* Dropdown */
.haa-dropdown {
  background: var(--primary-dark);
  border: none;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px 0;
}

.haa-dropdown .dropdown-item {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  padding: 10px 20px;
  transition: var(--transition);
}

.haa-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding-left: 26px;
}

/* Hamburger */
.haa-toggler {
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.haa-toggler span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.haa-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.haa-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.haa-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* CTA Button in Nav */
.nav-cta {
  font-size: .82rem !important;
  padding: 10px 20px !important;
}

/* ── Buttons ───────────────────────────────────────────────── */
.haa-btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: 11px 28px;
  transition: var(--transition);
  white-space: nowrap;
}

.haa-btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36,51,121,.35);
}

.haa-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: 11px 28px;
  transition: var(--transition);
}

.haa-btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.haa-btn-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: 11px 28px;
  transition: var(--transition);
}

.haa-btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Form Controls ─────────────────────────────────────────── */
.haa-input,
.haa-select,
.form-select.haa-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text-dark);
  padding: 10px 14px;
  background: #fff;
  transition: var(--transition);
}

.haa-input:focus,
.haa-select:focus,
.form-select.haa-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36,51,121,.12);
  outline: none;
}

/* ── Page Sections (SPA logic) ─────────────────────────────── */
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}

.page-section.active {
  display: block;
}

.page-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1800&q=80') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,22,35,.92) 0%,
    rgba(24,36,90,.80) 45%,
    rgba(36,51,121,.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 800;
  line-height: .95;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-l { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 4px; }
.stat-div { width: 1px; height: 38px; background: rgba(255,255,255,.2); }

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: .8; transform: scaleY(1.15); }
}

/* ── Services Strip ────────────────────────────────────────── */
.services-strip {
  background: var(--primary);
  padding: 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
  cursor: default;
}

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

.strip-item:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}

.strip-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Section Typography ────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-dark);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-body {
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-head .section-label { justify-content: center; }
.section-head .section-label::before { display: none; }

/* ── About Image Block ─────────────────────────────────────── */
.about-img-block { position: relative; }

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  background:
    url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=900&q=80') center/cover no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.badge-n {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.badge-l {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .8;
}

/* ── Why Cards ─────────────────────────────────────────────── */
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.why-card h5 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: .01em;
}

.why-card p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'H&AA';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 18rem;
  font-weight: 800;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-inner { padding: 72px 0; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.cta-sub {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  margin: 0;
}

/* ── Page Mini Hero ────────────────────────────────────────── */
.page-hero-mini {
  position: relative;
  padding: 100px 0 60px;
  background:
    url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1600&q=80') center/cover no-repeat;
  overflow: hidden;
}

.page-hero-mini--sm { padding: 70px 0 40px; }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,22,35,.92) 0%,
    rgba(36,51,121,.75) 100%
  );
}

.page-hero-content { position: relative; }

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1;
  margin: 0;
}

/* ── Background Tint ───────────────────────────────────────── */
.bg-light-tint { background: var(--light-tint); }

/* ── Inventory Cards ───────────────────────────────────────── */
.vehicle-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.vehicle-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.vehicle-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-tint);
}

.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.vehicle-card:hover .vehicle-card-img img {
  transform: scale(1.06);
}

.vehicle-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
}

.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.vehicle-badge.sold {
  background: #e53e3e;
}

.vehicle-badge.reserved {
  background: #dd6b20;
}

.vehicle-card-body {
  padding: 22px 22px 18px;
}

.vehicle-make-model {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.vehicle-year-mileage {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.vehicle-spec-tag {
  background: var(--light-tint);
  color: var(--text-body);
  font-size: .72rem;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.vehicle-card-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vehicle-price {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.vehicle-price small {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vehicle-view-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.vehicle-view-btn:hover {
  background: var(--primary-light);
  transform: scale(1.04);
}

.inventory-loading { min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Filters */
.inventory-filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.filter-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

/* ── Vehicle Modal ─────────────────────────────────────────── */
.haa-modal {
  background: var(--off-white);
  border: none;
  border-radius: var(--radius-lg);
}

.haa-modal .modal-header {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 28px;
}

.haa-modal .modal-body { padding: 28px; }

.modal-vehicle-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-vehicle-gallery .main-img {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
}

.modal-vehicle-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-vehicle-gallery .thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
}

.modal-vehicle-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.modal-vehicle-gallery .thumb:hover img { transform: scale(1.07); }

.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.modal-spec-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.modal-spec-item .spec-label {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.modal-spec-item .spec-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

/* ── Info Cards (About) ────────────────────────────────────── */
.info-card-stack { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-card strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dark); display: block; margin-bottom: 4px; }
.info-card p { font-size: .875rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.info-card a { color: var(--primary); }
.info-card a:hover { color: var(--accent-dark); }

/* ── Process Steps (Sell) ──────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .18;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.step-body h5 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.step-body p { font-size: .875rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ── Finance Cards ─────────────────────────────────────────── */
.finance-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.finance-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
}

.finance-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.finance-icon {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.finance-card h5 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.finance-card p {
  font-size: .825rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: var(--light-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: var(--white);
}

.service-card h5 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Export Features ───────────────────────────────────────── */
.export-features { display: flex; flex-direction: column; gap: 0; }

.export-feat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: .92rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.export-feat:last-child { border-bottom: none; }

.export-feat:hover { color: var(--primary); padding-left: 28px; }

.export-feat i {
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  width: 30px;
}

/* ── Transport Grid ────────────────────────────────────────── */
.transport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.transport-feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
  text-align: center;
}

.transport-feat:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.transport-feat i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.transport-feat h6 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.transport-feat p {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-details { display: flex; flex-direction: column; gap: 0; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--light-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item strong {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: .9rem;
  color: var(--text-dark);
  margin: 0 0 2px;
  line-height: 1.5;
}

.contact-item a { color: var(--primary); font-weight: 500; }
.contact-item a:hover { color: var(--accent-dark); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h5 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-content { max-width: 800px; }

.legal-content h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 28px 0 10px;
  letter-spacing: .02em;
}

.legal-content p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 12px;
}

/* ── Footer ────────────────────────────────────────────────── */
.haa-footer { background: var(--text-dark); color: rgba(255,255,255,.7); }

.footer-top { padding: 70px 0 50px; }

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.footer-brand-desc {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
  font-size: .75rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  line-height: 1.6;
}

.footer-contact-list li i {
  color: var(--accent);
  font-size: .95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--accent); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 18px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  background: var(--text-dark);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  padding: 18px 24px;
  max-width: 600px;
  width: calc(100vw - 32px);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}

.cookie-banner.show { transform: translateX(-50%) translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  font-size: .82rem;
  margin: 0;
  line-height: 1.6;
  min-width: 200px;
}

.cookie-inner a { color: var(--accent); }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Spinner ───────────────────────────────────────────────── */
.spinner-border.text-primary { color: var(--primary) !important; }

/* ── Page Transition overlay ───────────────────────────────── */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9000;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .4s cubic-bezier(.77,0,.18,1);
}

.page-transition-overlay.enter { clip-path: inset(0 0% 0 0); }
.page-transition-overlay.exit  { clip-path: inset(0 100% 0 0); }

/* ── Form Feedback ─────────────────────────────────────────── */
.form-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .875rem;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .875rem;
}

/* ══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .haa-nav .nav-link { padding: 12px 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .haa-nav .nav-link::after { display: none; }
  .haa-dropdown { background: rgba(255,255,255,.06); border-top: none; box-shadow: none; border-radius: 0; }
  .haa-dropdown .dropdown-item { color: rgba(255,255,255,.7); padding: 9px 20px 9px 32px; }
  .navbar-collapse { padding: 8px 0 16px; }
  .nav-cta { display: inline-flex; width: fit-content; margin-top: 8px; }
  .py-section { padding: 60px 0; }
  .about-badge { bottom: -10px; right: 10px; }
  .finance-cards { grid-template-columns: 1fr; }
  .transport-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .hero-headline { font-size: 3.2rem; }
  .hero-content { padding: 120px 0 80px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-div { display: none; }
  .strip-item { padding: 16px 16px; font-size: .8rem; }
  .strip-icon { font-size: 1.2rem; }
  .cta-inner { padding: 50px 0; }
  .contact-form-wrap { padding: 24px; }
  .modal-vehicle-gallery { grid-template-columns: 1fr; }
  .modal-vehicle-gallery .main-img { grid-column: 1; }
}

@media (max-width: 575.98px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .ms-3 { margin-left: 0 !important; }
  .why-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   LOGO IMAGE (navbar & footer)
   ═══════════════════════════════════════════════════════════ */
.haa-logo-img {
  display: flex;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.05) drop-shadow(0 1px 4px rgba(0,0,0,.35));
  transition: var(--transition);
}

.nav-logo-img:hover { filter: brightness(1.18) contrast(1.08) drop-shadow(0 2px 8px rgba(0,0,0,.4)); }

.footer-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05) drop-shadow(0 1px 6px rgba(0,0,0,.5));
}

/* ═══════════════════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.hero-carousel-section {
  background: var(--text-dark);
  position: relative;
  overflow: hidden;
}

/* Professional gradient fade on left & right edges.
   Images are fully visible in the centre and dissolve smoothly into
   transparency at both edges — background-agnostic via mask-image. */
#heroCarousel {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.carousel-img {
  height: 520px;
  object-fit: cover;
  object-position: center;
  filter: brightness(.72);
  transition: filter .6s ease;
}

.carousel-item.active .carousel-img { filter: brightness(.72); }

/* Caption */
.haa-caption {
  text-align: left;
  bottom: 50px;
  left: 60px;
  right: auto;
  max-width: 520px;
  background: none;
  padding: 0;
}

.caption-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,184,75,.15);
  border: 1px solid rgba(232,184,75,.4);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.haa-caption h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.haa-caption p {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* Controls */
.haa-carousel-ctrl {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(6px);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.haa-carousel-ctrl:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.haa-carousel-ctrl i {
  font-size: 1.3rem;
  color: var(--white);
}

.haa-carousel-ctrl .carousel-control-prev-icon,
.haa-carousel-ctrl .carousel-control-next-icon { display: none; }

.carousel-control-prev.haa-carousel-ctrl { left: 20px; }
.carousel-control-next.haa-carousel-ctrl { right: 20px; }

/* Indicators */
#heroCarousel .carousel-indicators {
  bottom: 20px;
  gap: 6px;
}

#heroCarousel .carousel-indicators button {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.4);
  border: none;
  transition: var(--transition);
}

#heroCarousel .carousel-indicators button.active {
  background: var(--accent);
  width: 44px;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════ */
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.gallery-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.gallery-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-tint);
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36,51,121,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-overlay i {
  font-size: 2rem;
  color: var(--white);
}

.gallery-card-desc {
  padding: 10px 12px;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.haa-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: lightboxFadeIn .25s ease;
}

.haa-lightbox.open { display: flex; }

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.lightbox-caption {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Responsive additions ───────────────────────────────── */
@media (max-width: 767.98px) {
  .carousel-img { height: 300px; }
  .haa-caption  { left: 20px; bottom: 30px; }
  .haa-caption h3 { font-size: 1.3rem; }
  .haa-caption p  { display: none; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 575.98px) {
  .carousel-img { height: 220px; }
  .nav-logo-img  { height: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   BRAND / TRUST CAROUSEL  (mid-page moving strip)
   ═══════════════════════════════════════════════════════════ */
.brand-carousel-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 42px 0;
  overflow: hidden;
}

.brand-carousel-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.brand-track-wrap {
  overflow: hidden;
  /* Fade edges left & right */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: brandScroll 38s linear infinite;
}

.brand-track:hover { animation-play-state: running !important; }

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  color: var(--text-dark);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: default;
}

.brand-item:hover {
  color: var(--primary);
}

.brand-item i {
  font-size: 1.4rem;
  color: var(--primary);
  opacity: .7;
  transition: var(--transition);
}

.brand-item:hover i {
  opacity: 1;
  transform: scale(1.15);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY — LARGER IMAGES
   ═══════════════════════════════════════════════════════════ */

/* Bigger aspect ratio — was 4/3, now 3/2 for more height */
.gallery-card-img {
  aspect-ratio: 3/2 !important;
}

/* Larger grid columns — was col-lg-3 (4 per row), now effectively 3 per row on lg */
#galleryGrid .col-6.col-md-4.col-lg-3 {
  flex: 0 0 auto;
}

/* Override column width for lg screens to show 3 per row instead of 4 */
@media (min-width: 992px) {
  #galleryGrid > div {
    width: 33.3333%;
  }
}

/* On xl screens keep 3 per row but images are bigger */
@media (min-width: 1400px) {
  #galleryGrid > div {
    width: 33.3333%;
  }
}

/* Description area slightly taller text */
.gallery-card-desc {
  font-size: .82rem !important;
  padding: 12px 14px !important;
  line-height: 1.55 !important;
}

/* Zoom icon bigger on hover */
.gallery-card-overlay i {
  font-size: 2.6rem !important;
}

/* ── Get In Touch button override (hero) ─────────────────── */
.hero-actions .haa-btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.hero-actions .haa-btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ── Safety net: ensure vehicle cards are always visible ──────
   Even if AOS (Animate On Scroll) fails to initialise, cards
   inside the inventory/featured grids must never stay hidden. */
#inventoryGrid [data-aos],
#featuredGrid [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING BACK / HOME NAVIGATION BAR
   ═══════════════════════════════════════════════════════════ */
.page-nav-bar {
  background: var(--light-tint);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
}

.page-nav-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.page-nav-btn i { font-size: .95rem; transition: transform .25s ease; }

.page-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36,51,121,.25);
}

.page-nav-btn:hover i { transform: translateX(-3px); }
.page-nav-btn--home:hover i { transform: translateY(-2px); }

.page-nav-btn--home {
  margin-left: auto;
  color: var(--text-dark);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER SOCIAL ICONS — polished & consistent
   ═══════════════════════════════════════════════════════════ */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1),
              background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.12);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(36,51,121,.45);
}

.footer-social a:active { transform: translateY(-1px) scale(1.05); }

/* Brand-tinted hover per platform */
.footer-social a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 18px rgba(24,119,242,.5); }
.footer-social a[aria-label="TikTok"]:hover   { background: #010101; border-color: #010101; box-shadow: 0 6px 18px rgba(0,0,0,.5); }

/* ═══════════════════════════════════════════════════════════
   FOOTER BOTTOM — copyright + author credit
   ═══════════════════════════════════════════════════════════ */
.footer-bottom-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  text-align: center;
}

.footer-copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin: 0 auto;
}

.footer-credit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: .62rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.4);
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

.footer-credit::before {
  content: '✦ ';
  color: var(--accent);
  opacity: .7;
}

@media (max-width: 575.98px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-credit {
    position: static;
    transform: none;
    margin-top: 6px;
  }
  .footer-copyright { font-size: .72rem; }
  .footer-credit { font-size: .6rem; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE HORIZONTAL-SCROLL FIX
   Ensures no element can push wider than the screen on phones.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  /* Decorative absolutely-positioned elements stay inside the screen */
  .about-badge { right: 8px; bottom: -10px; }

  /* Sections that contain AOS-animated children must clip them
     while the elements are still translated off-screen */
  .page-section,
  .home-about,
  .home-inventory,
  .why-us,
  .cta-banner,
  .py-section {
    overflow-x: clip;
  }

  /* Images and embeds can never exceed the viewport */
  img, video, iframe { max-width: 100%; height: auto; }

  /* Bootstrap rows use negative margins — make sure their parents clip */
  .container, .container-fluid { overflow-x: clip; }
}
