/* =========================================================
   Detroit Airport Car · fleet.css
   Modern, Low-Profile Fleet Showroom matching DTW & Quote Theme
   ========================================================= */

.site-header--inner {
  background: transparent;
}
.site-header--inner.is-scrolled {
  background: rgba(10, 13, 20, 0.9);
}

/* ---------- 0. Reveal & Visibility Safety ---------- */
.fleet-page [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

[data-reveal].is-visible,
[data-reveal].is-revealed {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ---------- 1. Low-Profile Minimalist Dark Hero Banner ---------- */
.fx-hero {
  min-height: auto;
  padding: 108px 0 36px;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.90) 0%, rgba(8, 10, 16, 0.65) 50%, rgba(8, 10, 16, 0.94) 100%),
    linear-gradient(95deg, rgba(8, 10, 16, 0.95) 0%, rgba(8, 10, 16, 0.78) 60%, rgba(8, 10, 16, 0.55) 100%),
    url("/images/detroit-airport.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.fx-hero__inner {
  display: flex;
  align-items: center;
}

.fx-hero__copy {
  max-width: 720px;
}

.fx-hero .mx-kicker {
  color: var(--ink-light);
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fx-hero .mx-h1 {
  font-family: var(--font-display, "Raleway", "Manrope", sans-serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 8px;
}

.fx-hero .mx-lede {
  font-size: 15px;
  line-height: 1.55;
  color: #d3d8e2;
  margin: 0;
}

/* ---------- 2. Filter Bar ---------- */
.fx-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.fx-filter-btn {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: 600 13.5px var(--font-sans);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fx-filter-btn:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.fx-filter-btn.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.fx-filter-btn .fx-count {
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(10, 13, 20, 0.08);
  color: var(--ink);
}

.fx-filter-btn.is-active .fx-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ---------- 3. Vehicle Cards Grid ---------- */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fx-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px rgba(10, 13, 20, 0.04);
}

.fx-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: 0 18px 42px rgba(10, 13, 20, 0.09);
}

/* Card Header with Badges */
.fx-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 8px;
  background: #ffffff;
  gap: 10px;
}

.fx-card__badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #0a0d14;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.2;
}

.fx-card__tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155 !important;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  line-height: 1.2;
}

/* Vehicle Showcase Stage */
.fx-card__stage {
  position: relative;
  background: #ffffff;
  padding: 8px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 185px;
  box-sizing: border-box;
  overflow: hidden;
}

.fx-card__stage img {
  max-width: 95%;
  max-height: 155px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 14px 20px rgba(10, 13, 20, 0.14));
  display: block;
}

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

/* Card Body */
.fx-card__body {
  padding: 20px 24px 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fx-card__title {
  font: 700 20px/1.25 var(--font-display);
  color: var(--ink);
  margin: 0 0 4px;
}

.fx-card__sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

/* Specs Pills */
.fx-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.fx-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.fx-spec i {
  color: var(--gold);
  font-size: 13px;
}

/* Highlights List */
.fx-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}

.fx-highlights li {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fx-highlights li i {
  color: #059669;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Card Bottom */
.fx-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fx-card__price {
  display: flex;
  flex-direction: column;
}

.fx-card__price-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.fx-card__price-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.fx-card__btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font: 700 13px var(--font-sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fx-card__btn--gold {
  background: var(--gold);
  color: #0a0d14;
}

.fx-card__btn--gold:hover {
  background: #b5924f;
  color: #000;
}

.fx-card__btn--dark {
  background: var(--ink);
  color: #ffffff;
}

.fx-card__btn--dark:hover {
  background: #1e293b;
  color: #ffffff;
}

/* ---------- 4. Fleet Capacity Matrix Table ---------- */
.fx-matrix-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(10, 13, 20, 0.04);
  background: #ffffff;
}

.fx-matrix {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.fx-matrix th {
  background: var(--ink);
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-matrix td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}

.fx-matrix tr:last-child td {
  border-bottom: 0;
}

.fx-matrix tr:hover td {
  background: var(--bg-soft);
}

.fx-matrix td:first-child {
  font-weight: 700;
  color: var(--ink);
}

.fx-matrix td strong {
  color: var(--ink);
}

.fx-matrix-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(197, 164, 103, 0.12);
  color: var(--ink);
  border: 1px solid rgba(197, 164, 103, 0.3);
}

/* ---------- 5. Quality Standards Grid ---------- */
.fx-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fx-standard-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fx-standard-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 36px rgba(10, 13, 20, 0.08);
}

.fx-standard-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 2px;
}

.fx-standard-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.fx-standard-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .fx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fx-standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .fx-hero {
    padding: 112px 0 32px;
  }
  .fx-grid {
    grid-template-columns: 1fr;
  }
  .fx-standards-grid {
    grid-template-columns: 1fr;
  }
  .fx-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }
  .fx-filter-btn {
    flex-shrink: 0;
  }
}
