/* ==========================================================
   SB AUTOS — MAIN STYLESHEET
   File: assets/css/style.css
========================================================== */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --red:       #e8050a;
  --gold:      #d4af37;
  --gold-light:#f0d060;
  --dark:      #080808;
  --dark-2:    #0f0f0f;
  --dark-3:    #161616;
  --card-bg:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);
  --text:      #ffffff;
  --muted:     #9a9a9a;
  --muted-2:   #c5c5c5;
  --shadow:    0 24px 64px rgba(0,0,0,0.55);
  --radius:    18px;
  --radius-sm: 10px;
  --max:       1240px;
  --transition: 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITIES ---- */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.section { padding: 110px 0; }
.section-bg { background: var(--dark-2); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
  color: var(--red);
}
.section-header .eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.section-header p {
  color: var(--muted-2);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232,5,10,0.32);
}
.btn-primary:hover {
  background: #c50408;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,5,10,0.45);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #111;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,175,55,0.45);
}
.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--text);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.06);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 12px rgba(37,211,102,0.28);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.btn-whatsapp i { font-size: 1.2rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ---- HEADER ---- */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border), 0 20px 50px rgba(0,0,0,0.5);
}
.navbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 56px; }
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.logo-text span { color: var(--red); }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 86px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,8,8,0.96) 45%, rgba(8,8,8,0.65) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,5,10,0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow i { font-size: 0.75rem; }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted-2);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted-2);
  font-weight: 500;
}
.hero-trust-item i { color: var(--red); font-size: 0.85rem; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  divide-x: 1px solid var(--border);
}
.stat-item {
  padding: 38px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.stat-item:nth-child(1) .stat-num { color: #25D366; }
.stat-item:nth-child(2) .stat-num { color: #2196F3; }
.stat-item:nth-child(3) .stat-num { color: #d4af37; }
.stat-item:nth-child(4) .stat-num { color: #FF9800; }

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- INVENTORY GRID ---- */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

/* ---- CAR CARD ---- */
.car-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.38s, box-shadow 0.38s, border-color 0.38s;
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}

/* Slider */
.car-slider {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.car-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.car-slide {
  min-width: 100%;
  height: 100%;
}
.car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.car-card:hover .car-slide img {
  transform: scale(1.06);
}
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.slider-dot.active {
  background: white;
  width: 18px;
  border-radius: 3px;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.75rem;
  transition: background 0.25s, opacity 0.25s;
  opacity: 0;
  cursor: pointer;
  border: none;
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.car-card:hover .slider-prev,
.car-card:hover .slider-next { opacity: 1; }
.slider-prev:hover, .slider-next:hover { background: rgba(232,5,10,0.7); }

/* Sold badge */
.badge-sold {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #c50408;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}
.badge-available {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25D366;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}

.car-body { padding: 22px 24px 24px; }
.car-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.car-year-cond {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
}
.car-year-cond span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.car-year-cond i { color: var(--gold); font-size: 0.75rem; }
.car-specs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.car-spec {
  text-align: center;
}
.car-spec i {
  display: block;
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.car-spec small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.car-spec span {
  font-size: 0.85rem;
  font-weight: 600;
}
.car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.car-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.car-price small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}
.btn-view {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 10px 18px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-view:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.btn-view i { font-size: 0.75rem; transition: transform 0.25s; }
.btn-view:hover i { transform: translateX(3px); }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}
.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-card:nth-child(1) .service-icon {
  background: rgba(33,150,243,0.12);
  border: 1px solid rgba(33,150,243,0.22);
  color: #2196F3;
}

.service-card:nth-child(2) .service-icon {
  background: rgba(255,152,0,0.12);
  border: 1px solid rgba(255,152,0,0.22);
  color: #FF9800;
}

.service-card:nth-child(3) .service-icon {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25D366;
}

.service-card:nth-child(4) .service-icon {
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.22);
  color: #d4af37;
}

.service-card:nth-child(5) .service-icon {
  background: rgba(156,39,176,0.12);
  border: 1px solid rgba(156,39,176,0.22);
  color: #9C27B0;
}

.service-card:nth-child(6) .service-icon {
  background: rgba(232,5,10,0.1);
  border: 1px solid rgba(232,5,10,0.18);
  color: var(--red);
}
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted-2);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-visual {
  position: relative;
}
.why-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.why-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.why-badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: white;
  border-radius: var(--radius-sm);
  padding: 20px 26px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(232,5,10,0.35);
}
.why-badge-float strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  display: block;
  line-height: 1;
}
.why-badge-float span { font-size: 0.8rem; font-weight: 500; opacity: 0.85; }
.why-points { display: grid; gap: 22px; }
.why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.why-point:hover {
  border-color: rgba(232,5,10,0.25);
  background: rgba(232,5,10,0.04);
}
.why-point-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.why-point:nth-child(1) .why-point-icon {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.2);
  color: #25D366;
}

.why-point:nth-child(2) .why-point-icon {
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.2);
  color: #d4af37;
}

.why-point:nth-child(3) .why-point-icon {
  background: rgba(33,150,243,0.12);
  border: 1px solid rgba(33,150,243,0.2);
  color: #2196F3;
}

.why-point:nth-child(4) .why-point-icon {
  background: rgba(156,39,176,0.12);
  border: 1px solid rgba(156,39,176,0.2);
  color: #9C27B0;
}


.why-point h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.why-point p { font-size: 0.9rem; color: var(--muted-2); font-weight: 300; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--muted-2);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.8;
}
.contact-items { display: grid; gap: 16px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.contact-item:nth-child(1) .contact-item-icon {
  background: rgba(33,150,243,0.12);
  border: 1px solid rgba(33,150,243,0.22);
  color: #2196F3;
}

.contact-item:nth-child(2) .contact-item-icon {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25D366;
}

.contact-item:nth-child(3) .contact-item-icon {
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.22);
  color: #d4af37;
}

.contact-item:nth-child(4) .contact-item-icon {
  background: rgba(156,39,176,0.12);
  border: 1px solid rgba(156,39,176,0.22);
  color: #9C27B0;
}
.contact-item h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s;
  width: 100%;
}
.form-group select option { background: #161616; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ---- CAR DETAIL MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--dark-3);
  border: 1px solid var(--border-2);
  border-radius: 22px;
  width: min(1040px, 100%);
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1rem;
  z-index: 10;
  cursor: pointer;
  border: none;
  transition: background 0.25s;
}
.modal-close:hover { background: var(--red); }
.modal-gallery {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.modal-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.modal-gallery-slide {
  min-width: 100%;
  height: 100%;
}
.modal-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-gallery-prev,
.modal-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s;
}
.modal-gallery-prev { left: 18px; }
.modal-gallery-next { right: 18px; }
.modal-gallery-prev:hover,
.modal-gallery-next:hover { background: var(--red); }
.modal-thumbnails {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.modal-thumb {
  width: 48px;
  height: 32px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s;
  opacity: 0.65;
}
.modal-thumb.active {
  border-color: white;
  opacity: 1;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 36px 40px 44px; }
.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.modal-title-block h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.modal-title-block p {
  color: var(--muted);
  font-size: 0.9rem;
}
.modal-price-block { text-align: right; }
.modal-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.modal-price-note { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.modal-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.modal-availability.available {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25D366;
}
.modal-availability.sold {
  background: rgba(232,5,10,0.1);
  border: 1px solid rgba(232,5,10,0.3);
  color: #e8050a;
}
.modal-specs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.modal-spec {
  text-align: center;
}
.modal-spec i {
  color: var(--red);
  font-size: 1rem;
  display: block;
  margin-bottom: 6px;
}
.modal-spec small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.modal-spec strong { font-size: 0.92rem; }
.modal-desc h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.modal-desc p {
  color: var(--muted-2);
  font-size: 0.97rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 24px;
}
.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.modal-feature-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-sold-notice {
  padding: 18px 22px;
  background: rgba(232,5,10,0.07);
  border: 1px solid rgba(232,5,10,0.2);
  border-radius: var(--radius-sm);
  color: #ff6b6e;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.modal-sold-notice i { margin-right: 8px; }

/* ---- FOOTER ---- */
.footer {
  background: #040404;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a {
  font-size: 0.92rem;
  color: var(--muted-2);
  font-weight: 400;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--text); }
.footer-links a i { font-size: 0.7rem; color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37,211,102,0.45);
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- NO INVENTORY MESSAGE ---- */
.empty-inventory {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-inventory i {
  font-size: 3rem;
  color: var(--border-2);
  margin-bottom: 16px;
  display: block;
}

/* ---- FILTER BAR ---- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-2);
  color: var(--muted-2);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .inventory-grid,
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .modal-specs { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    position: fixed;
    top: 86px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 86px);
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.35s;
    gap: 24px;
  }
  .nav-links.open { left: 0; }
  .nav-cta { position: relative; top: auto; left: auto; width: auto; height: auto; background: none; backdrop-filter: none; flex-direction: row; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .inventory-grid,
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 24px; }
  .modal-top { flex-direction: column; }
  .modal-price-block { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .why-badge-float { right: 10px; bottom: -18px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .modal-specs { grid-template-columns: repeat(2,1fr); }
}
