/* ============================================================
   COCHISTA.COM — Premium Design System v2
   ============================================================ */

:root {
  --bg:           #F8FAFC;
  --bg-alt:       #F1F5F9;
  --card:         #FFFFFF;
  --primary:      #0F172A;
  --brand:        #1D4ED8;
  --brand-2:      #1E40AF;
  --brand-light:  #EFF6FF;
  --brand-border: #BFDBFE;
  --accent:       #F97316;
  --accent-hover: #EA6C0A;
  --success:      #059669;
  --success-bg:   #ECFDF5;
  --text:         #0F172A;
  --text-2:       #475569;
  --text-3:       #94A3B8;
  --border:       #E2E8F0;
  --border-2:     #CBD5E1;
  --shadow-xs:    0 1px 2px rgba(15,23,42,.05);
  --shadow-sm:    0 1px 3px rgba(15,23,42,.07), 0 2px 6px rgba(15,23,42,.04);
  --shadow:       0 4px 12px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.05);
  --shadow-lg:    0 12px 32px rgba(15,23,42,.10), 0 4px 8px rgba(15,23,42,.06);
  --shadow-xl:    0 24px 48px rgba(15,23,42,.12), 0 8px 16px rgba(15,23,42,.06);
  --r:            10px;
  --r-sm:         6px;
  --r-lg:         16px;
  --r-xl:         20px;
  --ease:         cubic-bezier(.4,0,.2,1);
  --t:            .18s;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h:        60px;
  --max-w:        1300px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--text); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: .95rem; font-weight: 600; }
p { color: var(--text-2); line-height: 1.7; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.hidden { display: none !important; }

/* ── Navbar ── */
.navbar { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.navbar .container { height: 100%; display: flex; align-items: center; gap: 8px; }
.navbar-logo { display: flex; align-items: center; margin-right: 12px; }
.navbar-logo img { height: 34px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.navbar-link { padding: 7px 14px; border-radius: var(--r-sm); font-size: .875rem; font-weight: 500; color: var(--text-2); transition: color var(--t), background var(--t); position: relative; }
.navbar-link:hover { color: var(--text); background: var(--bg); }
.navbar-link.active { color: var(--brand); font-weight: 600; }
.navbar-link.active::after { content: ''; position: absolute; bottom: -1px; left: 14px; right: 14px; height: 2px; background: var(--brand); border-radius: 2px 2px 0 0; }
.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.country-btn { display: flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .8rem; font-weight: 500; color: var(--text-2); transition: all var(--t); }
.country-btn:hover { border-color: var(--border-2); color: var(--text); }
.btn-login { padding: 7px 16px; border: 1.5px solid var(--border-2); border-radius: var(--r-sm); font-size: .85rem; font-weight: 600; color: var(--text); transition: all var(--t); }
.btn-login:hover { border-color: var(--primary); background: var(--primary); color: white; }
.btn-cta { padding: 8px 18px; background: var(--accent); border-radius: var(--r-sm); font-size: .85rem; font-weight: 700; color: white; transition: background var(--t); }
.btn-cta:hover { background: var(--accent-hover); }

/* ── Hero ── */
.hero { background: var(--primary); padding: 64px 0 0; position: relative; overflow: hidden; }
.hero-bg-glow { position: absolute; inset: 0; background-image: radial-gradient(ellipse at 25% 60%, rgba(29,78,216,.35) 0%, transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(249,115,22,.12) 0%, transparent 45%); pointer-events: none; }
.hero-bg-grid { position: absolute; inset: 0; opacity: .04; background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-content { position: relative; z-index: 1; text-align: center; padding-bottom: 4px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 16px; border-radius: 100px; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.55); font-size: 1.05rem; max-width: 500px; margin: 0 auto 36px; }

/* ── Search Box ── */
.search-box { background: white; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 28px 28px 0; box-shadow: 0 -8px 40px rgba(0,0,0,.18); position: relative; z-index: 2; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1.5px solid var(--border); }
.search-tab { padding: 10px 22px; font-size: .875rem; font-weight: 600; color: var(--text-3); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; transition: all var(--t); }
.search-tab:hover { color: var(--text-2); }
.search-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.search-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto; gap: 10px; padding-bottom: 22px; }
.search-field { display: flex; flex-direction: column; gap: 5px; }
.search-field > label { font-size: .68rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }
.sf-wrap { position: relative; }
.sf-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--text-3); pointer-events: none; }
.sf-wrap select, .sf-wrap input { width: 100%; padding: 11px 12px 11px 34px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; color: var(--text); background: var(--bg); appearance: none; outline: none; transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.sf-wrap select:focus, .sf-wrap input:focus { border-color: var(--brand); background: white; box-shadow: 0 0 0 3px rgba(29,78,216,.09); }
.sf-has-arrow::after { content: ''; position: absolute; right: 12px; 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; }
.btn-search { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 26px; background: var(--accent); color: white; border-radius: var(--r-sm); font-size: .9rem; font-weight: 700; transition: background var(--t), transform var(--t); white-space: nowrap; align-self: flex-end; box-shadow: 0 2px 10px rgba(249,115,22,.4); }
.btn-search:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-search:active { transform: translateY(0); }
.search-more { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin: 0 -28px; padding: 11px 28px; }
.search-more-link { font-size: .8rem; color: var(--text-3); font-weight: 500; display: flex; align-items: center; gap: 5px; transition: color var(--t); }
.search-more-link:hover { color: var(--brand); }
#extra-filters { padding: 16px 0 6px; }

/* ── Stats bar ── */
.stats-bar { background: white; border-bottom: 1px solid var(--border); padding: 14px 0; }
.stats-bar .container { display: flex; flex-wrap: wrap; justify-content: center; }
.stat-item { display: flex; align-items: center; gap: 10px; padding: 4px 28px; border-right: 1px solid var(--border); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: .95rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: .72rem; color: var(--text-3); font-weight: 500; margin-top: 1px; }

/* ── Section headers ── */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section-eyebrow { font-size: .68rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 5px; }
.section-header-link { font-size: .84rem; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: gap var(--t); }
.section-header-link:hover { gap: 8px; }

/* ── Car Cards ── */
.car-card { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }
.car-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.car-card:hover .car-card-img img { transform: scale(1.05); }
.car-card-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-3); }
.car-source { position: absolute; bottom: 10px; left: 10px; background: rgba(15,23,42,.72); color: rgba(255,255,255,.9); font-size: .62rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; backdrop-filter: blur(4px); }
.car-fav-btn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.88); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all var(--t); }
.car-fav-btn:hover { background: white; transform: scale(1.1); }
.car-fav-btn svg { width: 13px; height: 13px; color: var(--text-3); }
.car-card-body { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.car-card-brand { font-size: .67rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 3px; }
.car-card-title { font-size: .93rem; font-weight: 700; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car-card-specs { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.spec-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-alt); border: 1px solid var(--border); padding: 3px 9px; border-radius: 100px; font-size: .71rem; font-weight: 600; color: var(--text-2); }
.spec-tag svg { width: 10px; height: 10px; }
.car-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; }
.car-price { font-size: 1.2rem; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.car-price-label { font-size: .68rem; color: var(--text-3); font-weight: 500; margin-top: 1px; }
.car-location { font-size: .72rem; color: var(--text-3); font-weight: 500; display: flex; align-items: center; gap: 3px; }
.car-time { font-size: .67rem; color: var(--text-3); margin-top: 2px; text-align: right; }

/* ── Cars Grid ── */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }

/* ── Category blocks ── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; transition: all .2s var(--ease); }
.cat-card:hover { border-color: var(--brand); background: var(--brand-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-icon { font-size: 1.5rem; margin-bottom: 10px; }
.cat-title { font-size: .88rem; font-weight: 700; color: var(--text); }
.cat-sub { font-size: .72rem; color: var(--text-3); margin-top: 4px; font-weight: 500; }

/* ── Brands ── */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip { padding: 8px 18px; background: var(--card); border: 1.5px solid var(--border); border-radius: 100px; font-size: .84rem; font-weight: 600; color: var(--text-2); transition: all var(--t); }
.brand-chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }

/* ── Listing layout ── */
.listing-layout { display: grid; grid-template-columns: 256px 1fr; gap: 28px; align-items: start; }
.listing-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); max-height: calc(100vh - var(--nav-h) - 32px); overflow-y: auto; }
.filters-panel { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.filters-head { padding: 15px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.filters-head h3 { font-size: .875rem; font-weight: 700; }
.filters-clear { font-size: .77rem; font-weight: 600; color: var(--text-3); transition: color var(--t); }
.filters-clear:hover { color: var(--brand); }
.filter-section { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-title { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 10px; }
.filter-select, .filter-input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: .875rem; font-weight: 500; color: var(--text); background: var(--bg); appearance: none; outline: none; transition: border-color var(--t), box-shadow var(--t); }
.filter-select:focus, .filter-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,78,216,.08); background: white; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.filter-radios { display: flex; flex-direction: column; gap: 7px; }
.filter-radio { display: flex; align-items: center; gap: 9px; font-size: .875rem; color: var(--text-2); cursor: pointer; font-weight: 500; }
.filter-radio input[type=radio] { width: 15px; height: 15px; accent-color: var(--brand); }
.btn-filter-apply { width: 100%; padding: 11px; background: var(--primary); color: white; border-radius: var(--r-sm); font-weight: 700; font-size: .875rem; transition: background var(--t); }
.btn-filter-apply:hover { background: var(--brand-2); }

/* ── Active filter tags ── */
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.filter-tag { display: flex; align-items: center; gap: 5px; background: var(--brand-light); border: 1px solid var(--brand-border); color: var(--brand); padding: 4px 10px; border-radius: 100px; font-size: .74rem; font-weight: 600; }
.filter-tag-x { cursor: pointer; line-height: 1; opacity: .7; }
.filter-tag-x:hover { opacity: 1; }

/* ── Listing controls ── */
.listing-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.results-count { font-size: .875rem; color: var(--text-2); }
.results-count strong { color: var(--text); font-weight: 700; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { font-size: .78rem; color: var(--text-3); }
.sort-select { padding: 7px 30px 7px 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: .84rem; font-weight: 500; color: var(--text); background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394A3B8'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; outline: none; cursor: pointer; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 48px; flex-wrap: wrap; }
.page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--r-sm); border: 1.5px solid var(--border); font-size: .875rem; font-weight: 600; color: var(--text-2); transition: all var(--t); }
.page-link:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-link.disabled { opacity: .4; pointer-events: none; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-3); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); transition: color var(--t); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--border-2); }
.breadcrumb-cur { color: var(--text-2); font-weight: 500; }

/* ── Car detail ── */
.car-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.car-gallery-wrap { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt); aspect-ratio: 16/10; position: relative; }
.car-gallery-wrap img { width: 100%; height: 100%; object-fit: cover; }
.car-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.car-thumb { width: 76px; height: 52px; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: border-color var(--t); }
.car-thumb:hover { border-color: var(--brand); }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-sidebar { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px); }
.car-detail-brand { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 4px; }
.car-detail-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.car-detail-sub { font-size: .875rem; color: var(--text-3); margin: 4px 0 20px; }
.car-detail-price { font-size: 2.1rem; font-weight: 900; color: var(--text); letter-spacing: -.03em; margin-bottom: 20px; }
.car-key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 20px; }
.key-spec { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; text-align: center; }
.key-spec-val { font-size: .95rem; font-weight: 800; color: var(--text); }
.key-spec-lbl { font-size: .65rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.btn-ver-anuncio { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; background: var(--brand); color: white; border-radius: var(--r-sm); font-weight: 700; font-size: .975rem; transition: background var(--t), transform var(--t); margin-bottom: 10px; box-shadow: 0 2px 10px rgba(29,78,216,.3); }
.btn-ver-anuncio:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-compartir { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-weight: 600; font-size: .875rem; color: var(--text-2); transition: all var(--t); }
.btn-compartir:hover { border-color: var(--border-2); color: var(--text); }
.car-info-table { width: 100%; }
.car-info-table tr { border-bottom: 1px solid var(--border); }
.car-info-table tr:last-child { border-bottom: none; }
.car-info-table td { padding: 9px 0; font-size: .875rem; }
.car-info-table td:first-child { color: var(--text-3); font-weight: 500; width: 42%; }
.car-info-table td:last-child { font-weight: 600; color: var(--text); }

/* ── Page hero (inner pages) ── */
.page-hero { background: var(--primary); padding: 52px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(29,78,216,.25) 0%, transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,.55); margin-top: 10px; max-width: 500px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: 5px 14px; border-radius: 100px; font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .78rem; font-weight: 700; color: var(--text-2); }
.form-control { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: .9rem; color: var(--text); background: var(--bg); outline: none; appearance: none; transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.form-control:focus { border-color: var(--brand); background: white; box-shadow: 0 0 0 3px rgba(29,78,216,.08); }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ── Footer ── */
.footer { background: var(--primary); padding: 64px 0 0; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { filter: brightness(0) invert(1); height: 30px; margin-bottom: 16px; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.social-btn:hover { background: rgba(255,255,255,.14); }
.social-btn svg { width: 15px; height: 15px; fill: rgba(255,255,255,.6); }
.footer-col h4 { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-link:hover { color: rgba(255,255,255,.85); }
.footer-bottom { margin-top: 52px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: .77rem; color: rgba(255,255,255,.22); }
.footer-btm-links { display: flex; gap: 20px; }
.footer-btm-link { font-size: .74rem; color: rgba(255,255,255,.22); transition: color var(--t); }
.footer-btm-link:hover { color: rgba(255,255,255,.5); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 72px 20px; }
.empty-icon { width: 56px; height: 56px; color: var(--text-3); margin: 0 auto 20px; }
.empty-state h3 { font-size: 1.05rem; margin-bottom: 8px; }
.empty-state p { font-size: .875rem; max-width: 380px; margin: 0 auto; }

/* ── FAQ ── */
.faq-item { border: 1.5px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; transition: border-color var(--t); background: var(--card); }
.faq-item:hover { border-color: var(--border-2); }
.faq-q { padding: 18px 20px; font-weight: 700; font-size: .9rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-a { padding: 0 20px 18px; font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .car-detail-grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .car-detail-grid { grid-template-columns: 1fr; }
  .car-sidebar { position: static; }
  .search-form { grid-template-columns: 1fr 1fr 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .navbar-nav { display: none; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .stat-item { padding: 5px 14px; }
  .hero { padding: 40px 0 0; }
}
@media (max-width: 480px) {
  .search-form { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
}
