/**
 * Premium dark mobile theme — fleet & sections (≤992px).
 */

@media (max-width: 992px) {
  :root {
    --lux-bg: #050816;
    --lux-surface: #0b132b;
    --lux-card: #101828;
    --lux-border: rgba(255, 255, 255, 0.08);
    --lux-text: rgba(255, 255, 255, 0.92);
    --lux-muted: rgba(255, 255, 255, 0.55);
    --lux-accent: #ff6b00;
  }

  body[data-page="home"] {
    background: var(--lux-bg);
    color: var(--lux-text);
    font-family: 'Manrope', var(--font), sans-serif;
  }

  body[data-page="home"] .site-header.scrolled {
    background: rgba(11, 19, 43, 0.95);
  }

  /* —— Fleet section —— */
  .section-fleet {
    background: var(--lux-bg);
    padding: 28px 0 32px;
  }

  .section-fleet .container {
    width: min(var(--max), 92vw);
  }

  .fleet-header {
    text-align: left;
    margin-bottom: 20px;
  }

  .fleet-header .section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lux-accent);
    margin-bottom: 8px;
  }

  .fleet-header .section-title,
  .fleet-header .fleet-title {
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 8px;
  }

  .fleet-header .fleet-title em {
    font-style: normal;
    color: var(--lux-accent);
  }

  .fleet-header .section-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--lux-muted);
    margin: 0;
    max-width: 320px;
  }

  .fleet-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Split card — image left, details right (reference layout, no price) */
  .vehicle-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #151c2e;
    border: 1px solid var(--lux-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    min-height: 168px;
  }

  .vehicle-card-image {
    position: relative;
    flex: 0 0 44%;
    width: 44%;
    max-width: 160px;
    min-width: 120px;
    min-height: 168px;
    aspect-ratio: unset;
    height: auto;
    background: #0a0f1a;
    overflow: hidden;
  }

  .vehicle-card-image > img {
    display: none;
  }

  .vehicle-card-rated,
  .vehicle-card-category {
    display: none !important;
  }

  .vehicle-card-body {
    position: static;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 12px 10px;
    background: #151c2e;
  }

  .vehicle-card-body h3 {
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 2px;
    line-height: 1.1;
  }

  .vehicle-card-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--lux-accent);
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 0;
  }

  .vehicle-spec-sep {
    display: none;
  }

  .vehicle-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .vehicle-spec-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.65);
  }

  .vehicle-card-divider {
    margin: 10px 0 10px;
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
  }

  .vehicle-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
  }

  .vehicle-card-actions .btn-book-call {
    display: none !important;
  }

  /* Card image mini-slider */
  .vehicle-card-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 168px;
  }

  .vehicle-card-slider img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .vehicle-card-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
  }

  .vehicle-card-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
  }

  .vehicle-card-dot.active {
    width: 18px;
    background: var(--lux-accent);
  }

  /* Orange View Photos + green WhatsApp Book Now */
  .vehicle-card-actions .btn-fleet-photos {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: var(--lux-accent) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
    cursor: pointer;
  }

  .vehicle-card-actions .btn-fleet-photos .btn-fleet-arrow {
    color: #fff;
    font-size: 15px;
  }

  .vehicle-card-actions .btn-fleet-wa {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    color: #fff !important;
    background: #25d366 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    text-decoration: none;
  }

  .vehicle-card-actions .btn-fleet-wa .icon-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  @media (max-width: 360px) {
    .vehicle-card-image {
      flex: 0 0 40%;
      width: 40%;
      min-width: 108px;
    }

    .vehicle-card-body h3 {
      font-size: 17px;
    }

    .vehicle-spec {
      font-size: 9px;
      padding: 3px 6px;
    }
  }

  /* Other sections — dark */
  body[data-page="home"] #why {
    background: var(--lux-surface) !important;
  }

  body[data-page="home"] #reviews {
    background: var(--lux-bg);
  }

  body[data-page="home"] #locations {
    background: var(--lux-surface) !important;
  }

  body[data-page="home"] #faq {
    background: var(--lux-bg);
  }

  body[data-page="home"] .section {
    scroll-margin-top: calc(var(--header-h) + 8px);
  }

  body[data-page="home"] .section-title {
    color: #fff;
    font-family: 'Manrope', var(--font), sans-serif;
  }

  body[data-page="home"] .section-eyebrow {
    color: var(--lux-accent);
  }

  body[data-page="home"] .section-desc {
    color: var(--lux-muted);
  }

  body[data-page="home"] .why-card {
    background: var(--lux-card);
    border-color: var(--lux-border);
    color: var(--lux-text);
  }

  body[data-page="home"] .why-card h3 {
    color: #fff;
  }

  body[data-page="home"] .why-card p {
    color: var(--lux-muted);
  }

  body[data-page="home"] .review-card {
    background: var(--lux-card);
    border-color: var(--lux-border);
    color: var(--lux-text);
  }

  body[data-page="home"] .review-text {
    color: rgba(255, 255, 255, 0.8);
  }

  body[data-page="home"] .review-author {
    color: #fff;
  }

  body[data-page="home"] .location-card {
    background: var(--lux-card);
    border-color: var(--lux-border);
    color: var(--lux-text);
  }

  body[data-page="home"] .location-card h3 {
    color: #fff;
  }

  body[data-page="home"] .location-card p {
    color: var(--lux-muted);
  }

  body[data-page="home"] .location-card.featured {
    background: linear-gradient(135deg, #101828 0%, #0b132b 100%);
    border-color: rgba(255, 107, 0, 0.35);
  }

  body[data-page="home"] .faq-item {
    background: var(--lux-card);
    border-color: var(--lux-border);
  }

  body[data-page="home"] .faq-item summary {
    color: #fff;
  }

  body[data-page="home"] .faq-item p {
    color: var(--lux-muted);
  }

  body[data-page="home"] .site-footer {
    background: var(--lux-surface);
    border-top: 1px solid var(--lux-border);
    color: var(--lux-muted);
  }

  body[data-page="home"] .footer-brand .logo-brand,
  body[data-page="home"] .footer-col h4 {
    color: #fff;
  }

  body[data-page="home"] .nav-mobile {
    background: var(--lux-card);
    border-color: var(--lux-border);
  }

  body[data-page="home"] .nav-mobile a {
    color: var(--lux-text);
    border-color: var(--lux-border);
  }

  /* —— Vehicle photo modal (gallery) —— */
  .vehicle-modal,
  body[data-page="home"] .modal {
    background: #0b132b;
    color: var(--lux-text);
  }

  .vehicle-modal .modal-close--floating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .vehicle-modal .modal-gallery {
    padding: 12px 12px 0;
    position: relative;
  }

  .vehicle-modal .gallery-viewport {
    margin: 0;
    min-height: 240px;
    max-height: 52vh;
    background: #050816;
    border: 1px solid var(--lux-border);
    border-radius: 14px;
    touch-action: pan-y pinch-zoom;
  }

  .vehicle-modal .gallery-slide {
    min-height: 220px;
    max-height: 50vh;
    padding: 0.25rem;
  }

  .vehicle-modal .gallery-slide img {
    max-height: 48vh;
    width: 100%;
    object-fit: contain;
  }

  .vehicle-modal .gallery-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    color: #0b132b;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .vehicle-modal .gallery-arrow:disabled {
    opacity: 0.35;
  }

  .vehicle-modal .gallery-top {
    text-align: center;
    margin-bottom: 10px;
  }

  .vehicle-modal .gallery-counter {
    display: block;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
  }

  .vehicle-modal .gallery-footer {
    justify-content: center;
    margin-top: 10px;
  }

  .vehicle-modal .gallery-dots {
    display: flex !important;
    justify-content: center;
    gap: 6px;
  }

  .vehicle-modal .gallery-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
  }

  .vehicle-modal .gallery-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--lux-accent);
  }

  .vehicle-modal .gallery-swipe-hint {
    display: block;
    margin: 0;
    font-size: 12px;
    color: var(--lux-muted);
  }

  .vehicle-modal .gallery-thumbs {
    display: grid !important;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 4px;
  }

  .vehicle-modal .gallery-thumb {
    height: 56px;
    border-radius: 10px;
    background: #050816;
    border: 2px solid transparent;
  }

  .vehicle-modal .gallery-thumb.active {
    border-color: var(--lux-accent);
  }

  .vehicle-modal .modal-header {
    padding: 12px 16px 0;
  }

  .vehicle-modal .modal-header h2,
  .vehicle-modal #modal-title {
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
  }

  .vehicle-modal #modal-cat {
    color: var(--lux-accent);
    margin-bottom: 4px;
  }

  .vehicle-modal #modal-tagline {
    color: var(--lux-muted);
    font-size: 14px;
    margin: 0 0 12px;
  }

  .vehicle-modal .modal-body {
    padding: 0 16px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }

  .vehicle-modal .modal-spec-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--lux-border);
  }

  .vehicle-modal .modal-spec-item span {
    color: rgba(255, 255, 255, 0.5);
  }

  .vehicle-modal .modal-spec-item strong {
    color: #fff;
    font-size: 0.9rem;
  }

  .vehicle-modal .modal-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .vehicle-modal .btn-modal-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    background: #25d366 !important;
    border: none !important;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    text-decoration: none;
  }

  .vehicle-modal .btn-modal-wa .icon-svg {
    width: 20px;
    height: 20px;
  }

  .vehicle-modal .btn-modal-view-photos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 48px;
    font-family: 'Manrope', var(--font), sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--lux-accent);
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
    cursor: pointer;
  }

  .vehicle-modal .btn-modal-view-photos .btn-fleet-arrow {
    color: #fff;
    font-size: 16px;
  }
}
