/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #080808;
  --surface:     #0f0f11;
  --surface-2:   #17171a;
  --surface-3:   #1e1e22;
  --border:      #222226;
  --border-2:    #2e2e34;
  --text:        #f0f0f2;
  --text-2:      #848490;
  --text-3:      #4a4a55;
  --accent:      #D42B3A;
  --accent-h:    #b81f2c;
  --accent-dim:  rgba(212,43,58,.12);
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,.12);
  --amber:       #f59e0b;
  --amber-dim:   rgba(245,158,11,.12);
  --wa:          #25D366;
  --wa-h:        #1db954;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --transition:  160ms ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display-1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.display-2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.heading-1  { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.025em; }
.heading-2  { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.label      { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); }
.mono       { font-variant-numeric: tabular-nums; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; font-size: .875rem;
  transition: var(--transition); cursor: pointer;
  white-space: nowrap; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-ghost {
  background: transparent; color: var(--text-2);
  border-color: var(--border-2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,.2); }
.btn-outline:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.35); }
.btn-wa  { background: var(--wa);  color: #fff; border-color: var(--wa); }
.btn-wa:hover  { background: var(--wa-h); border-color: var(--wa-h); }
.btn-sm { padding: .42rem 1rem; font-size: .82rem; }
.btn-lg { padding: .8rem 1.75rem; font-size: .95rem; }
.btn-xl { padding: .95rem 1.75rem; font-size: 1rem; width: 100%; justify-content: center; }
.btn-icon-only { padding: .55rem; border-radius: var(--radius-sm); }

/* ============================================================
   ICONS (inline SVG helpers)
   ============================================================ */
.icon { display: inline-flex; align-items: center; flex-shrink: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 1.1rem 0;
  background: rgba(8,8,8,.75);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: background .25s, box-shadow .25s;
}
.navbar.scrolled {
  background: rgba(8,8,8,.95);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0; flex-shrink: 0;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em;
}
.nav-logo-p { color: var(--text); }
.nav-logo-domain { color: var(--accent); }

.nav-links {
  display: flex; gap: 1.75rem; margin-left: 1rem;
}
.nav-link {
  font-size: .875rem; font-weight: 500; color: var(--text-2);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

.nav-right {
  margin-left: auto; display: flex; align-items: center; gap: .75rem;
}
.nav-tiktok {
  color: var(--text-3); display: flex; align-items: center;
  transition: color var(--transition); padding: .35rem;
}
.nav-tiktok:hover { color: var(--text); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .4rem; background: none; border: none;
}
.hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-link {
  font-size: 1.75rem; font-weight: 800;
  letter-spacing: -.03em; color: var(--text);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent); }
.mobile-divider { width: 40px; height: 1px; background: var(--border); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; padding-bottom: 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg) url('/images/hero-bg.jpg') center/cover no-repeat;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,.1) 0%,
    rgba(8,8,8,.3) 40%,
    rgba(8,8,8,.85) 75%,
    rgba(8,8,8,1) 100%
  );
}
.hero-content {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end;
}
.hero-left { padding-bottom: .5rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.75rem;
}
.hero-kicker-line {
  width: 28px; height: 1px; background: var(--accent);
}
.hero-kicker-text {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-2);
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .98;
  margin-bottom: 1.75rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1rem; color: var(--text-2); line-height: 1.7;
  max-width: 400px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; padding-bottom: .5rem;
}
.hero-stat-group { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.hero-stat { text-align: right; }
.hero-stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  letter-spacing: -.04em; color: var(--text); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: .75rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-3); margin-top: .2rem;
}
.hero-divider { width: 1px; height: 60px; background: var(--border); align-self: flex-end; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-dark { background: #060607; }
.section-alt { background: var(--surface); }

.section-header { margin-bottom: 3.5rem; }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem;
}
.section-kicker { margin-bottom: .85rem; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.section-sub { color: var(--text-2); font-size: .9rem; margin-top: .5rem; }

/* ============================================================
   CAR GRID
   ============================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}
.cars-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CAR CARD
   ============================================================ */
.car-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.car-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.car-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}
.car-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.car-card:hover .car-card-img img { transform: scale(1.03); }

.car-status {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: .35rem;
}
.car-card-img .car-status {
  position: absolute; top: .75rem; left: .75rem;
}
.car-status-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.status-available { background: var(--green-dim); color: var(--green); }
.status-available .car-status-dot { background: var(--green); }
.status-reserved  { background: var(--amber-dim); color: var(--amber); }
.status-reserved  .car-status-dot { background: var(--amber); }
.status-sold      { background: var(--accent-dim); color: var(--accent); }
.status-sold      .car-status-dot { background: var(--accent); }

.car-tiktok-tag {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); padding: .25rem .5rem;
  color: #fff; text-decoration: none;
}

.car-card-body { padding: 1.1rem 1.25rem 1.25rem; }
.car-card-make { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: .3rem; }
.car-card-title {
  font-size: .975rem; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: .75rem;
}
.car-card-meta {
  font-size: .78rem; color: var(--text-2); margin-bottom: 1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.4;
}
.meta-dot { color: var(--text-3); margin: 0 .3rem; }
.car-photo-count {
  position: absolute; bottom: .6rem; right: .6rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: .2rem .45rem; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: .3rem;
}
.car-card-tags {
  display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .55rem;
}
.car-tag {
  font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .18rem .5rem; border-radius: 3px;
}
.car-tag-type { background: var(--surface-3); color: var(--text-2); }
.car-tag-nocom { background: var(--accent-dim); color: var(--accent); }

.car-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.car-price { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.car-price-currency { font-size: .88rem; color: var(--text-2); margin-right: .12rem; }

/* ============================================================
   SERVICE SECTION
   ============================================================ */
.service-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.service-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: .85rem 0 1.1rem; }
.service-sub { font-size: .925rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.75rem; max-width: 42ch; }
.service-features { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-feature {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
  transition: background var(--transition);
}
.service-feature:last-child { border-bottom: none; }
.service-feature:hover { background: var(--surface-3); }
.sf-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--surface-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text-2);
}
.sf-icon-accent { background: var(--accent-dim); border-color: transparent; color: var(--accent); }
.sf-title { font-size: .82rem; font-weight: 700; margin-bottom: .15rem; }
.sf-accent { color: var(--accent); }
.sf-desc { font-size: .77rem; color: var(--text-2); line-height: 1.5; }

.form-hint { font-size: .75rem; color: var(--text-3); margin-top: .35rem; display: block; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.why-item { padding: 2.25rem 2rem; background: var(--surface); }
.why-item:not(:last-child) { border-right: 1px solid var(--border); }
.why-number { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--text-3); margin-bottom: 1.25rem; }
.why-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .6rem; }
.why-desc { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   TIKTOK BAND
   ============================================================ */
.tiktok-band {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.tiktok-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.tiktok-band-left { display: flex; align-items: center; gap: 1.25rem; }
.tiktok-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #010101 0%, #69C9D0 50%, #EE1D52 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tiktok-band-text h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; }
.tiktok-band-text p { font-size: .85rem; color: var(--text-2); margin-top: .2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #060607; border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); margin-bottom: 1.75rem; }
.footer-brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .75rem; }
.footer-brand-name span { color: var(--accent); }
.footer-desc { font-size: .85rem; color: var(--text-2); line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .875rem; color: var(--text-2); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-contact-list { display: flex; flex-direction: column; gap: .65rem; }
.footer-contact-item { display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--text-2); transition: color var(--transition); }
.footer-contact-item:hover { color: var(--text); }
.footer-contact-item svg { color: var(--text-3); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: .78rem; color: var(--text-3); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 500; width: calc(100% - 2rem); max-width: 620px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.cookie-banner p { font-size: .82rem; color: var(--text-2); flex: 1; margin: 0; }
.cookie-banner p a { color: var(--text); text-decoration: underline; }
.cookie-ok {
  background: var(--accent); color: #fff; border: none;
  padding: .5rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.cookie-ok:hover { background: var(--accent-h); }

/* Privacy page */
.privacy-wrap { padding: 6rem 0 5rem; }
.privacy-header { margin-bottom: 3rem; }
.privacy-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin: .5rem 0 .75rem; }
.privacy-meta { color: var(--text-3); font-size: .85rem; }
.privacy-body { max-width: 720px; }
.privacy-body h2 { font-size: 1rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--text); }
.privacy-body p, .privacy-body li { font-size: .9rem; color: var(--text-2); line-height: 1.75; }
.privacy-body ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .35rem; margin-bottom: .75rem; }
.privacy-body a { color: var(--text); text-decoration: underline; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 30px rgba(37,211,102,.45); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--text-3); padding: 1.25rem 0;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text-2); }
.breadcrumb-sep { color: var(--text-3); }

/* ============================================================
   LISTINGS PAGE
   ============================================================ */
.listings-wrap { padding-top: 5.5rem; padding-bottom: 4rem; }
.listings-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }

.filter-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  position: sticky; top: 5.5rem;
}
.filter-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.filter-panel-header h3 { font-size: .875rem; font-weight: 700; letter-spacing: -.01em; }
.filter-reset { font-size: .78rem; color: var(--accent); transition: opacity var(--transition); }
.filter-reset:hover { opacity: .7; }
.filter-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.filter-group { display: flex; flex-direction: column; gap: .45rem; }
.filter-label { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.filter-input, .filter-select {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .55rem .75rem; color: var(--text); font-size: .85rem;
  outline: none; transition: border-color var(--transition); appearance: none;
}
.filter-input:focus, .filter-select:focus { border-color: var(--border-2); }
.filter-select-wrap { position: relative; }
.filter-select-wrap::after {
  content: '';
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text-3); pointer-events: none;
}
.filter-range { display: flex; gap: .5rem; align-items: center; }
.filter-range .filter-input { flex: 1; }
.filter-range-sep { font-size: .75rem; color: var(--text-3); flex-shrink: 0; }
.filter-checks { display: flex; flex-direction: column; gap: .4rem; }
.filter-check { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.filter-check input { display: none; }
.filter-check-box {
  width: 15px; height: 15px; border-radius: 3px;
  border: 1.5px solid var(--border-2); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--transition);
}
.filter-check input:checked + .filter-check-box { background: var(--accent); border-color: var(--accent); }
.filter-check input:checked + .filter-check-box::after { content: ''; display: block; width: 4px; height: 7px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.filter-check-label { font-size: .85rem; color: var(--text-2); }
.filter-radios { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-radio { display: flex; }
.filter-radio input { display: none; }
.filter-radio-label {
  padding: .35rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: .8rem; color: var(--text-2);
  cursor: pointer; transition: all var(--transition);
}
.filter-radio input:checked + .filter-radio-label { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.filter-body-types { display: flex; flex-wrap: wrap; gap: .4rem; }
.body-type-btn {
  padding: .32rem .7rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: .78rem; color: var(--text-2);
  cursor: pointer; transition: all var(--transition); background: var(--surface-2);
}
.body-type-btn:hover { border-color: var(--border-2); color: var(--text); }
.body-type-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.filter-apply { padding: 1.1rem 1.25rem; border-top: 1px solid var(--border); }

.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.results-count { font-size: .875rem; color: var(--text-2); }
.results-count strong { color: var(--text); }
.filter-mobile-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .45rem .9rem;
  font-size: .82rem; font-weight: 600; color: var(--text);
}
.filter-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65);
  z-index: 149; backdrop-filter: blur(4px);
}
.filter-overlay.show { display: block; }

.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.page-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .48rem .85rem;
  color: var(--text-2); font-size: .82rem;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--border-2); color: var(--text); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state-icon { margin: 0 auto 1.5rem; color: var(--text-3); }
.empty-state h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.015em; }
.empty-state p { color: var(--text-2); font-size: .9rem; margin-bottom: 1.75rem; }
.empty-state-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CAR DETAIL
   ============================================================ */
.car-detail-wrap { padding-top: 5.5rem; padding-bottom: 5rem; }
.car-detail-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem 3rem; align-items: start; }

.gallery-main {
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gallery-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-counter {
  position: absolute; bottom: .85rem; left: .85rem;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.85); font-size: .72rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: var(--radius-sm);
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: background var(--transition);
}
.gallery-btn:hover { background: rgba(0,0,0,.8); }
.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .2rem; }
.gallery-thumb {
  width: 78px; height: 52px; object-fit: cover; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer; flex-shrink: 0; opacity: .5;
  transition: all var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--accent); }
.gallery-no-img {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem; color: var(--text-3);
}
.gallery-no-img svg { opacity: .4; }
.tiktok-link-card {
  margin-top: .85rem; display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1rem;
  transition: border-color var(--transition);
}
.tiktok-link-card:hover { border-color: var(--border-2); }
.tiktok-link-badge {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #010101, #69C9D0, #EE1D52);
  display: flex; align-items: center; justify-content: center;
}
.tiktok-link-text strong { display: block; font-size: .875rem; font-weight: 700; }
.tiktok-link-text span { font-size: .78rem; color: var(--text-2); }

.car-info-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.car-info-top { }
.car-info-kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.car-detail-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin-bottom: .35rem; }
.car-detail-year-km { font-size: .85rem; color: var(--text-2); }
.car-detail-price {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; margin-top: .75rem;
}
.car-price-note { font-size: .78rem; color: var(--text-3); margin-top: .2rem; }

.car-cta-block { display: flex; flex-direction: column; gap: .6rem; }
.btn-call { background: var(--surface-2); color: var(--text); border: 2px solid var(--border-2); }
.btn-call:hover { background: var(--surface-3); border-color: var(--text-3); color: var(--text); }
.car-wa-note { font-size: .75rem; color: var(--text-3); text-align: center; }
.share-row {
  display: flex; flex-direction: column; gap: .6rem;
  padding-top: .85rem; border-top: 1px solid var(--border);
}
.share-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.share-btns { display: flex; gap: .6rem; }
.share-card {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1rem; border-radius: var(--radius); font-family: inherit;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); text-decoration: none; border: 2px solid transparent;
}
.share-card-wa {
  background: #25D366; color: #fff; border-color: #25D366;
}
.share-card-wa:hover { background: #1db954; border-color: #1db954; color: #fff; }
.share-card-copy {
  background: #25D366; color: #fff; border-color: #25D366;
}
.share-card-copy:hover { background: #1db954; border-color: #1db954; color: #fff; }

/* ---- Sticky detail bar ---- */
.detail-sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--surface); border-bottom: 1px solid var(--border);
  transform: translateY(-100%); transition: transform .25s ease;
  padding: .65rem 0;
}
.detail-sticky-bar.visible { transform: translateY(0); }
.sticky-bar-inner {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
}
.sticky-bar-info {
  display: flex; align-items: baseline; gap: .85rem; overflow: hidden; min-width: 0;
}
.sticky-bar-title {
  font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-bar-price {
  font-size: .95rem; font-weight: 800; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* ---- Accordion specs ---- */
.specs-accordion { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.1rem; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3);
  list-style: none; user-select: none;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-chevron { transition: transform .22s ease; flex-shrink: 0; color: var(--text-3); }
details[open] > .accordion-header .accordion-chevron { transform: rotate(180deg); }

.specs-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.specs-card-header { padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); }
.specs-card-header h3 { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.specs-grid { }
.spec-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-key { padding: .6rem 1.1rem; font-size: .8rem; color: var(--text-2); background: var(--surface-2); }
.spec-val { padding: .6rem 1.1rem; font-size: .8rem; font-weight: 600; }

.car-desc-section {
  grid-column: 1;
  grid-row: 2;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.car-desc-section h2 { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .75rem; }
.car-desc-content {
  font-size: .875rem; color: var(--text-2); line-height: 1.9;
  white-space: pre-line;
}
.car-desc-content p { margin-bottom: .65rem; }
.car-desc-content p:last-child { margin-bottom: 0; }
.desc-toggle { display: none; }

.related-section { margin-top: 4rem; }
.related-section .section-title { margin-bottom: 1.5rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.94);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.lightbox-bg.open { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 86vh; object-fit: contain; z-index: 1000; border-radius: var(--radius); }
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 1001;
  background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px;
  border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); border: 1.5px solid rgba(255,255,255,.15);
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 1001;
  background: rgba(255,255,255,.08); color: #fff; width: 44px; height: 44px;
  border-radius: 50%; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-count {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.7); color: rgba(255,255,255,.7); font-size: .78rem;
  padding: .35rem .9rem; border-radius: 100px; z-index: 1001;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { padding-top: 6rem; padding-bottom: 5rem; }
.contact-header { margin-bottom: 3.5rem; }
.contact-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.contact-header p { color: var(--text-2); margin-top: .5rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-method { margin-bottom: 2rem; }
.contact-method:last-child { margin-bottom: 0; }
.contact-method-label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .6rem; }
.contact-method-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.contact-method-sub { font-size: .85rem; color: var(--text-2); margin-bottom: 1rem; line-height: 1.6; }
.contact-sep { height: 1px; background: var(--border); margin: 1.75rem 0; }
.contact-note { background: var(--surface-2); border-radius: var(--radius-sm); padding: .85rem 1rem; display: flex; gap: .6rem; }
.contact-note-icon { color: var(--text-3); flex-shrink: 0; margin-top: 1px; }
.contact-note-text { font-size: .8rem; color: var(--text-2); line-height: 1.5; }
.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .35rem; }
.contact-form-sub { font-size: .82rem; color: var(--text-2); margin-bottom: 1.5rem; line-height: 1.55; }

/* ============================================================
   FORMS (shared)
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-size: .75rem; font-weight: 600; color: var(--text-2); letter-spacing: .02em; }
.form-input, .form-select, .form-textarea {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .65rem .85rem;
  color: var(--text); font-size: .875rem; outline: none;
  transition: border-color var(--transition); width: 100%;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--border-2); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-textarea { resize: vertical; line-height: 1.6; }
.form-select option { background: var(--surface-2); }

/* ============================================================
   404
   ============================================================ */
.not-found-wrap { padding-top: 10rem; padding-bottom: 5rem; text-align: center; }
.not-found-code { font-size: 8rem; font-weight: 800; letter-spacing: -.05em; color: var(--border-2); line-height: 1; margin-bottom: 1.5rem; }
.not-found-wrap h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.not-found-wrap p { color: var(--text-2); margin-bottom: 2rem; }
.not-found-actions { display: flex; gap: .75rem; justify-content: center; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #060607; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
  transition: transform .25s;
}
.sidebar-header {
  padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--border);
}
.sidebar-logo { display: flex; align-items: center; gap: .4rem; }
.sidebar-logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -.03em; }
.sidebar-logo-text span { color: var(--accent); }
.sidebar-role { font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: .25rem; }
.sidebar-nav { flex: 1; padding: .85rem .75rem; display: flex; flex-direction: column; gap: .2rem; }
.sidebar-link {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .85rem;
  border-radius: var(--radius-sm); color: var(--text-2); font-size: .85rem; font-weight: 500;
  transition: all var(--transition);
}
.sidebar-link:hover { background: var(--surface-2); color: var(--text); }
.sidebar-link.active { background: var(--accent-dim); color: var(--accent); }
.sidebar-link svg { flex-shrink: 0; }
.sidebar-footer { padding: .85rem .75rem; border-top: 1px solid var(--border); }
.sidebar-logout { display: flex; align-items: center; gap: .65rem; padding: .6rem .85rem; border-radius: var(--radius-sm); color: var(--text-3); font-size: .82rem; transition: all var(--transition); }
.sidebar-logout:hover { background: var(--accent-dim); color: var(--accent); }
.admin-main { flex: 1; margin-left: 220px; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.5rem;
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.topbar-toggle { display: none; color: var(--text-2); padding: .3rem; }
.topbar-title { font-size: .95rem; font-weight: 700; flex: 1; letter-spacing: -.01em; }
.admin-content { padding: 1.5rem; flex: 1; }

.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.stat-number { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: .3rem; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.stat-card.s-green .stat-number { color: var(--green); }
.stat-card.s-amber .stat-number { color: var(--amber); }
.stat-card.s-red   .stat-number { color: var(--accent); }
.stat-card.s-blue  .stat-number { color: #3b82f6; }

.admin-action-bar { display: flex; gap: .75rem; margin-bottom: 1.5rem; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.panel-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-size: .9rem; font-weight: 700; letter-spacing: -.01em; }

.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th {
  padding: .65rem 1rem; text-align: left;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.data-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.tbl-thumb { width: 60px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); display: block; }
.tbl-thumb-empty { width: 60px; height: 40px; background: var(--surface-2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.tbl-thumb-empty svg { color: var(--text-3); }
.tbl-title { font-weight: 600; color: var(--text); transition: color var(--transition); font-size: .82rem; }
.tbl-title:hover { color: var(--accent); }
.tbl-price { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.tbl-muted { color: var(--text-2); }
.tbl-actions { display: flex; gap: .4rem; }
.tbl-btn {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .35rem .5rem;
  color: var(--text-2); font-size: .72rem; transition: all var(--transition);
  display: flex; align-items: center; gap: .3rem;
}
.tbl-btn:hover { background: var(--surface-3); border-color: var(--border-2); color: var(--text); }
.tbl-btn.danger:hover { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.featured-star { color: var(--amber); font-size: .85rem; }
.featured-none { color: var(--text-3); }

.status-select {
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: .3rem .55rem; border-radius: var(--radius-sm);
  font-size: .78rem; cursor: pointer; appearance: none;
}

/* Toast */
.toast {
  padding: .75rem 1.1rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600;
  margin-bottom: 1rem; border-left: 3px solid;
}
.toast-success { background: var(--green-dim); color: var(--green); border-color: var(--green); }
.toast-error   { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }
.toast-hide { opacity: 0; transition: opacity .3s; }

/* Admin Login */
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #060607; }
.login-wrap { width: 100%; max-width: 380px; padding: 1.5rem; }
.login-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; }
.login-brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .25rem; }
.login-brand span { color: var(--accent); }
.login-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: .3rem; margin-top: 1.5rem; }
.login-sub { font-size: .85rem; color: var(--text-2); margin-bottom: 1.75rem; }
.login-form { display: flex; flex-direction: column; gap: .85rem; }
.login-back { display: block; text-align: center; margin-top: 1.25rem; font-size: .82rem; color: var(--text-3); transition: color var(--transition); }
.login-back:hover { color: var(--text-2); }
.alert { padding: .7rem .9rem; border-radius: var(--radius-sm); font-size: .82rem; margin-bottom: .75rem; }
.alert-error { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(212,43,58,.2); }

/* Car Form */
.car-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.form-section-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.form-section-title { font-size: .82rem; font-weight: 700; letter-spacing: -.01em; }
.form-section-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form-actions { display: flex; gap: .75rem; justify-content: flex-end; padding: .5rem 0; }
.form-check { display: flex; align-items: center; gap: .65rem; cursor: pointer; }
.form-check input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
.form-check-label { font-size: .875rem; color: var(--text-2); }

/* Upload zone */
.upload-zone {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  transition: border-color var(--transition);
}
.upload-zone.dragging { border-color: var(--accent); background: var(--accent-dim); }
.upload-trigger {
  padding: 1.75rem; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.upload-trigger svg { color: var(--text-3); margin-bottom: .25rem; }
.upload-trigger-title { font-size: .9rem; font-weight: 600; color: var(--text); }
.upload-trigger-sub { font-size: .78rem; color: var(--text-3); }
.upload-link { color: var(--accent); }
.photo-grid { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0 1rem 1rem; }
.photo-item { position: relative; width: 96px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute; top: .25rem; right: .25rem;
  background: rgba(0,0,0,.7); color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: .6rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--transition);
}
.photo-remove:hover { background: var(--accent); }
.photo-num {
  position: absolute; bottom: .2rem; left: .3rem;
  background: rgba(0,0,0,.65); color: rgba(255,255,255,.8);
  font-size: .58rem; font-weight: 700; padding: .1rem .3rem; border-radius: 3px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }

  /* Sections */
  .section { padding: 4rem 0; }
  .section-dark { padding: 4rem 0; }

  /* Listings */
  .listings-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 350;
    width: 300px; max-width: 88vw;
    background: var(--bg) !important;
    transform: translateX(-100%); transition: transform .3s ease;
    border-radius: 0; overflow-y: auto;
    border-right: 1px solid var(--border-2);
  }
  .filter-panel.open { transform: translateX(0); box-shadow: 6px 0 40px rgba(0,0,0,.7); }
  .filter-overlay { z-index: 340; }
  .filter-mobile-toggle { display: flex; }

  /* Car detail */
  .car-detail-layout { grid-template-columns: 1fr; }
  .car-detail-layout > div:first-child { order: 1; }
  .car-info-panel { order: 2; }
  .car-desc-section { order: 3; grid-column: 1; grid-row: unset; margin-top: 0; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Cards */
  .cars-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Admin */
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .form-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* TikTok band */
  .tiktok-band-inner { flex-direction: column; text-align: center; align-items: center; gap: 1.5rem; }
  .tiktok-band-left { flex-direction: column; align-items: center; justify-content: center; gap: .75rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }

  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: .85rem 0; }
  /* Hide WhatsApp text on very small screens — keep icon + number */
  .nav-right .btn-wa { padding: .42rem .75rem; font-size: .78rem; }

  /* Hero — mai scurt pe mobil ca sa se vada masinile fara scroll */
  .hero {
    min-height: 58vh;
    padding-bottom: 2rem;
    padding-top: 4.5rem;
    align-items: flex-end;
  }
  .hero-bg { background-image: url('/images/hero-bg-mobile.jpg'); }
  .hero-content { padding: 0; }
  .hero-left { padding: 0; }
  .hero-kicker { margin-bottom: .75rem; }
  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    margin-bottom: .85rem;
  }
  .hero-sub { font-size: .85rem; margin-bottom: 1.25rem; }
  .hero-actions { flex-direction: column; gap: .5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-sm { padding: 2.5rem 0; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section-title { font-size: 1.75rem; }

  /* Car grid — single column, tighter gaps */
  .cars-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cars-grid-3 { grid-template-columns: 1fr; gap: 1rem; }

  /* Car card — imagine mai mica pe mobil */
  .car-card-img { aspect-ratio: 2/1; }

  /* Car card meta inline — truncate gracefully */
  .car-card-meta { font-size: .75rem; }

  /* Car detail */
  .car-detail-wrap { padding-top: 4.5rem; padding-bottom: 3rem; }
  .car-detail-title { font-size: 1.35rem; }
  .car-detail-price { font-size: 1.85rem; }
  .gallery-thumbs { gap: .35rem; }
  .gallery-thumb { width: 64px; height: 44px; }
  .car-desc-content { column-count: 1; }

  /* Listings */
  .listings-wrap { padding-top: 4.5rem; }
  .results-header { margin-bottom: 1rem; }

  /* Contact */
  .contact-wrap { padding-top: 5rem; padding-bottom: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 1rem; }
  .contact-header { margin-bottom: 2rem; }

  /* Why grid */
  .why-item { padding: 1.75rem 1.25rem; }

  /* Service section */
  .service-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-title { font-size: 1.85rem; }

  /* TikTok band */
  .tiktok-band { padding: 2.5rem 0; }

  /* Footer */
  .footer { padding: 2.5rem 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.75rem; }
  .footer-desc { max-width: none; }

  /* Floating WA — smaller on mobile */
  .wa-float { width: 48px; height: 48px; bottom: 1.25rem; right: 1.25rem; }

  /* Admin */
  .admin-sidebar { transform: translateX(-100%); width: 240px; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .topbar-toggle { display: flex; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .admin-content { padding: 1rem; }
  .stat-card { padding: .9rem 1rem; }
  .stat-number { font-size: 1.6rem; }

  /* Forms */
  .form-grid-3, .form-grid-2 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .form-section-body { padding: 1rem; }
  .form-grid-3 { gap: .75rem; }

  /* Table — scrollable */
  .data-table th, .data-table td { padding: .55rem .75rem; font-size: .78rem; }

  /* Upload zone */
  .upload-trigger { padding: 1.25rem; }

  /* Sticky bar on mobile — smaller */
  .sticky-bar-title { display: none; }
  .sticky-bar-price { font-size: .85rem; }

  /* 404 */
  .not-found-code { font-size: 5rem; }
  .not-found-wrap { padding-top: 7rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤390px)
   ============================================================ */
@media (max-width: 390px) {
  .hero-title { font-size: 2rem; }
  .nav-right .btn-wa span { display: none; }
}

/* ============================================================
   TOUCH / ACCESSIBILITY
   ============================================================ */
@media (hover: none) {
  /* Remove hover-dependent transforms on touch devices */
  .car-card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .wa-float:hover { transform: none; }
  /* Larger touch targets */
  .page-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .gallery-btn { width: 44px; height: 44px; }
  .gallery-thumb { width: 72px; height: 50px; }
  .sidebar-link { padding: .75rem .85rem; }
}

/* ============================================================
   PERFORMANCE — REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .mobile-menu { transition: none; }
  .filter-panel { transition: none; }
  .admin-sidebar { transition: none; }
}
