/* ============================================
   Full Drive Motors — Pure CSS Design System
   No Tailwind. No inline styles.
   ============================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --bg: #080808;
  --surface: #111111;
  --card: #161616;
  --border: #222222;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --text: #ffffff;
  --text-muted: #888888;
  --whatsapp: #25D366;
  --font-sans: 'Inter', sans-serif;
  --header-h: 72px;
  --tab-h: 64px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* ---------- 3. CONTAINER ---------- */
.container { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 1280px; }
.max-w-5xl { max-width: 1024px; }
.max-w-3xl { max-width: 768px; }
.max-w-xs { max-width: 320px; }
.max-w-full { max-width: 100%; }
.w-full { width: 100%; }
.w-auto { width: auto; }

/* ---------- 4. FLEX UTILITIES ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.self-start { align-self: flex-start; }

/* ---------- 5. GRID UTILITIES ---------- */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

/* ---------- 6. GAP UTILITIES ---------- */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ---------- 7. SPACING UTILITIES ---------- */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-auto { margin-left: auto; }

/* ---------- 8. TYPOGRAPHY ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }

/* ---------- 9. COLORS ---------- */
.text-amber { color: var(--amber); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text); }
.text-whatsapp { color: var(--whatsapp); }
.text-dark { color: var(--bg); }
.text-bg { color: var(--bg); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

.bg-bg { background-color: var(--bg); }
.bg-surface { background-color: var(--surface); }
.bg-card { background-color: var(--card); }
.bg-amber { background-color: var(--amber); }
.bg-amber-dark { background-color: var(--amber-dark); }
.bg-whatsapp { background-color: var(--whatsapp); }
.bg-black-50 { background-color: rgba(0,0,0,0.5); }
.bg-black-80 { background-color: rgba(0,0,0,0.8); }
.bg-black-95 { background-color: rgba(0,0,0,0.95); }
.bg-transparent { background-color: transparent; }

/* ---------- 10. BORDERS ---------- */
.border { border: 1px solid var(--border); }
.border-0 { border: 0; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-r { border-right: 1px solid var(--border); }
.border-amber { border-color: var(--amber); }
.border-gray-600 { border-color: #4b5563; }
.border-gray-700 { border-color: #374151; }
.border-gray-800 { border-color: #1f2937; }
.border-gray-900 { border-color: #111827; }

.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- 11. SIZING ---------- */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-56 { height: 14rem; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

/* ---------- 12. POSITION / Z-INDEX ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.z-1 { z-index: 1; }
.z-5 { z-index: 5; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ---------- 13. OVERFLOW / OPACITY ---------- */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.appearance-none { appearance: none; }

/* ---------- 14. EFFECTS ---------- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.4); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transform { transform: var(--tw-translate); }

/* Hover utilities */
.hover-text-white:hover { color: var(--text); }
.hover-text-amber:hover { color: var(--amber); }
.hover-bg-surface:hover { background-color: var(--surface); }
.hover-border-amber:hover { border-color: var(--amber); }
.hover-scale-110:hover { transform: scale(1.1); }
.active-scale-95:active { transform: scale(0.95); }

/* ---------- 15. DISPLAY ---------- */
.hidden { display: none; }
.block { display: block; }

/* ---------- 15b. TRANSITION ---------- */
.duration-300 { transition-duration: 0.3s; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- 15c. SPACING HELPERS ---------- */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.pb-3 { padding-bottom: 0.75rem; }

/* ---------- 15d. POSITION HELPERS ---------- */
.inset-y-0 { top: 0; bottom: 0; }
.translate-x-full { transform: translateX(100%); }

/* ---------- 16. RESPONSIVE (≥768px) ---------- */
@media (min-width: 768px) {
  .md-block { display: block; }
  .md-hidden { display: none; }
  .md-flex { display: flex; }
  .md-grid { display: grid; }
  .md-flex-row { flex-direction: row; }
  .md-text-left { text-align: left; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-col-span-1 { grid-column: span 1; }
  .md-w-1\/3 { width: 33.333333%; }
  .md-w-auto { width: auto; }
  .md-gap-12 { gap: 3rem; }
  .md-p-6 { padding: 1.5rem; }
  .md-px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md-mb-0 { margin-bottom: 0; }
  .md-mt-0 { margin-top: 0; }
  .md-justify-start { justify-content: flex-start; }
}

/* ---------- 17. RESPONSIVE (≥1024px) ---------- */
@media (min-width: 1024px) {
  .lg-block { display: block; }
  .lg-hidden { display: none; }
  .lg-flex { display: flex; }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ---------- 18. RESPONSIVE (≥1280px) ---------- */
@media (min-width: 1280px) {
  .xl-block { display: block; }
  .xl-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   COMPONENTS
   ============================================ */

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 50;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: box-shadow 0.3s ease;
}
.header.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Mobile menu */
.mobile-link {
  display: block;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #d1d5db;
  border-bottom: 1px solid #1f2937;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu-panel {
  background: #050505;
  transition: transform 0.3s ease-in-out;
}

/* Gallery button (JS hook + base style) */
.gallery-btn { cursor: pointer; }

/* Logo */
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: background-color 0.2s ease;
}
.logo-icon:hover { background: var(--amber-dark); }
.logo-text { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; }

/* Desktop Nav */
.nav-link {
  color: #d1d5db;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover { color: var(--amber); }
.nav-link.active { color: var(--amber); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

/* Phone Pill */
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #374151;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.phone-pill:hover {
  color: var(--text);
  border-color: var(--amber);
}

/* Mobile Tab Bar */
.mobile-tab-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: var(--tab-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 45;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-tab-bar::-webkit-scrollbar { display: none; }
.mobile-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.5rem 1rem;
  min-width: 72px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
}
.mobile-tab.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.mobile-tab i { width: 1.25rem; height: 1.25rem; }

/* Header Spacer */
.header-spacer {
  padding-top: calc(var(--header-h) + var(--tab-h));
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Decorative blob */
.deco-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.333%;
  height: 500px;
  background: var(--amber);
  opacity: 0.05;
  filter: blur(120px);
  border-radius: 9999px;
  pointer-events: none;
}

/* ---------- FILTERS ---------- */
.filter-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  transition: transform 0.15s ease;
}
.filter-toggle-btn:active { transform: scale(0.95); }

.filters-container {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}
.filters-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: end;
}
.filter-group {
  width: 100%;
}
.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.filter-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid #374151;
  color: var(--text);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.filter-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

/* No Cars Message */
.no-cars-msg {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.no-cars-msg.visible { display: block; }
.no-cars-msg i {
  width: 4rem;
  height: 4rem;
  color: #4b5563;
  margin: 0 auto 1rem;
}
.clear-filters-btn {
  color: var(--amber);
  font-weight: 500;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.clear-filters-btn:hover { color: var(--amber-dark); }

/* ---------- CARDS ---------- */
.car-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}
.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Card Image */
.card-img-wrap {
  position: relative;
  height: 14rem;
  overflow: hidden;
  cursor: pointer;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-wrap:hover .card-img-overlay {
  opacity: 1;
}
.card-img-badge {
  background: var(--amber);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Card Content */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.card-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}
.card-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.card-spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.card-spec i { color: #6b7280; width: 1rem; height: 1rem; }

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1rem;
}
.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn-outline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: transparent;
  border: 1px solid #374151;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: #1f2937;
  border-color: #6b7280;
}

.btn-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: var(--whatsapp);
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: none;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}
.btn-whatsapp:hover { background: #1ebd5a; }

.btn-whatsapp i, .btn-outline i { width: 1rem; height: 1rem; }

/* ---------- GALLERY MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-counter {
  color: var(--text);
  font-weight: 500;
}
.modal-close-btn {
  color: #9ca3af;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.modal-close-btn:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.modal-close-btn i { width: 1.5rem; height: 1.5rem; }

.modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.modal-nav-btn {
  position: absolute;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  color: var(--text);
  border-radius: 9999px;
  border: 1px solid #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}
.modal-nav-btn:hover { background: var(--amber); border-color: var(--amber); }
.modal-nav-btn i { width: 1.5rem; height: 1.5rem; }
.modal-nav-prev { left: 1rem; }
.modal-nav-next { right: 1rem; }

.modal-img-wrap {
  max-width: 1024px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-img-wrap img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  user-select: none;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.modal-mobile-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}
.modal-mobile-nav-btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--text);
  border-radius: 9999px;
  border: 1px solid #4b5563;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.modal-mobile-nav-btn:active { background: var(--amber); }
.modal-mobile-nav-btn i { width: 1.5rem; height: 1.5rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #111827;
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
}
.footer-logo-icon i { width: 1.25rem; height: 1.25rem; }
.footer-desc {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-link {
  color: #6b7280;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--amber); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item i {
  color: var(--amber);
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}
.footer-contact-link {
  color: #6b7280;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-contact-link:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid #111827;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy {
  color: #4b5563;
  font-size: 0.75rem;
}
.footer-space-y > * + * { margin-top: 0.5rem; }
.footer-space-y-3 > * + * { margin-top: 0.75rem; }

/* Mobile Folder Footer Tabs */
.mobile-folder-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: -1px;
  position: relative;
  z-index: 6;
}
.mobile-folder-tabs::-webkit-scrollbar { display: none; }
.mobile-folder-tab {
  position: relative;
  padding: 0.75rem 1rem;
  background-color: #080808;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  border: 1px solid #141414;
  border-bottom: 1px solid #1f2937;
  margin-right: -4px;
  z-index: 1;
  white-space: nowrap;
  transform: translateY(1px) scale(0.95);
}
.mobile-folder-tab.active {
  background-color: #0f0f0f;
  color: var(--amber);
  z-index: 10;
  transform: translateY(0) scale(1);
  border-top: 2px solid var(--amber);
  border-left: 1px solid #1f2937;
  border-right: 1px solid #1f2937;
  border-bottom: 1px solid #0f0f0f;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}
.mobile-folder-content {
  display: none;
  background-color: #0f0f0f;
  border: 1px solid #1f2937;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 5;
  animation: fadeInTab 0.3s ease-out forwards;
}
.mobile-folder-content.active { display: block; }
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--whatsapp);
  color: var(--text);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: pulse-border 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { width: 1.75rem; height: 1.75rem; }

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- APPLY STYLES ---------- */
/* Spacer inside cards for consistency */
.mt-auto { margin-top: auto; }
