/* ═══════════════════════════════════════════════════════════
   VROOM — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, select, input, textarea { font-family: 'Inter', sans-serif; }

:root {
  --pink:       #e91e8c;
  --pink-d:     #c91578;
  --hdr-bg:     #1a0835;
  --gray-bg:    #f0f0f2;
  --gray-bd:    #e0e0e0;
  --muted:      #666;
  --dim:        #999;
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--hdr-bg);
  position: relative;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 28px;
  gap: 6px;
}
.header-logo img { height: 32px; width: auto; }
.logo-fallback {
  font-size: 24px; font-weight: 900; font-style: italic;
  color: var(--pink); letter-spacing: -1px;
}
.header-ham {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer;
  padding: 5px 6px; margin-left: 4px;
}
.header-ham span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.header-nav { display: flex; align-items: center; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .03em; white-space: nowrap; transition: opacity .2s;
}
.nav-link:hover { opacity: .7; }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 5px;
  padding: 5px 9px; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: border-color .2s;
}
.lang-current:hover { border-color: rgba(255,255,255,.7); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid #ddd; border-radius: 7px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  list-style: none; overflow: hidden; min-width: 140px; z-index: 300;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: #333;
  transition: background .15s;
}
.lang-dropdown li a:hover { background: #fdf0f7; color: var(--pink); }

.header-phone {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s;
}
.header-phone:hover { border-color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero-wrap {
  position: relative;
  height: 100vh; min-height: 600px; max-height: 820px;
  background: #0a0418; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.hero-dim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(8,2,18,.62) 0%, rgba(8,2,18,.24) 55%, rgba(8,2,18,.04) 100%);
}
.hero-squiggle {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; pointer-events: none;
}
.hero-body {
  position: absolute; left: 0; right: 0;
  bottom: 34%; z-index: 3; padding: 0 44px;
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-sub {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
}
.hero-sub a { font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: .06em; text-transform: uppercase; }
.hero-sub a:hover { opacity: .75; }
.hero-sub span { color: rgba(255,255,255,.4); margin: 0 12px; font-weight: 300; }

/* ── Search bar ── */
.search-bar {
  position: absolute;
  bottom: 130px; left: 0; right: 0;
  z-index: 10;
  background: rgba(15,5,30,.97);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: 56px 56px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.sb-cell {
  background: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px; overflow: hidden;
}
.sb-cell:nth-child(1) { grid-column:1;grid-row:1;border-right:1px solid #ddd;border-bottom:1px solid #ddd; }
.sb-cell:nth-child(2) { grid-column:2;grid-row:1;border-bottom:1px solid #ddd; }
.sb-cell:nth-child(3) { grid-column:1;grid-row:2;border-right:1px solid #ddd; }
.sb-cell:nth-child(4) { grid-column:2;grid-row:2; }
.find-btn {
  grid-column:3;grid-row:1/3;
  background: var(--pink); color: #fff; border: none;
  font-size: 16px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; padding: 0 48px; transition: background .2s;
}
.find-btn:hover { background: var(--pink-d); }
.sb-cell svg.ico { width:18px;height:18px;color:#999;flex-shrink:0; }
.sb-cell select {
  flex:1;border:none;outline:none;background:transparent;
  font-size:14px;color:#333;cursor:pointer;appearance:none;-webkit-appearance:none;
}
.sb-cell svg.chev { width:11px;height:11px;color:#ccc;flex-shrink:0; }
.sb-dt { flex:1;display:flex;flex-direction:column;gap:2px; }
.sb-dt label { font-size:9px;color:#aaa;font-weight:700;letter-spacing:.08em;text-transform:uppercase; }
.sb-dt input[type="date"] { border:none;outline:none;background:transparent;font-size:14px;color:#333;padding:0;width:100%; }
.sb-time { display:flex;align-items:center;gap:6px;flex-shrink:0;border-left:1px solid #eee;padding-left:10px;margin-left:4px; }
.sb-time svg { width:14px;height:14px;color:#bbb; }
.sb-time input[type="time"] { border:none;outline:none;background:transparent;font-size:13px;color:#bbb;width:50px; }

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features {
  border-bottom: 1px solid var(--gray-bd);
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  bottom: 60px;
  background: white;
  position: relative;
  z-index: 90;
}
.feat-inner { display: grid; grid-template-columns: repeat(3,1fr); }
.feat-col {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 44px 36px;
  border-right: 1px solid var(--gray-bd);
}
.feat-col:last-child { border-right: none; }
.feat-ico {
  width: 64px; height: 64px; border-radius: 50%; background: var(--pink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feat-ico svg { width: 30px; height: 30px; color: #fff; }
.feat-col h2 { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; margin-bottom: 10px; }
.feat-col p { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 220px; }

/* ══════════════════════════════════════════════════════════
   BLOG
══════════════════════════════════════════════════════════ */
.blog-section { max-width: 1200px; margin: 0 auto; padding: 52px 40px 0; }
.blog-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 220px 220px; gap: 4px; overflow: hidden;
}
.bc { position: relative; overflow: hidden; cursor: pointer; }
.bc-featured { grid-row: 1/3; }
.bc img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bc:hover img { transform: scale(1.05); }
.bc-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.58) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
}
.bc-ov p { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.bc-featured .bc-ov p { font-size: 19px; }
.view-more-link {
  display: flex; justify-content: center; padding: 22px 0;
  font-size: 12px; font-weight: 900; color: var(--pink);
  letter-spacing: .08em; text-transform: uppercase;
}
.view-more-link:hover { color: var(--pink-d); }

/* ══════════════════════════════════════════════════════════
   CARS SECTION
══════════════════════════════════════════════════════════ */
.cars-section { padding: 52px 0; }
.cars-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-title {
  font-size: 28px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .03em; text-align: center; margin-bottom: 30px;
}
.cars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
.car-card {
  background: #fff; border: 1px solid var(--gray-bd); border-radius: 8px;
  padding: 16px; display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.car-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); border-color: #ccc; }
.car-type { font-size: 10px; font-weight: 700; color: var(--dim); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 4px; }
.car-name { font-size: 15px; font-weight: 900; text-transform: uppercase; line-height: 1.2; margin-bottom: 12px; }
.car-img { flex:1; display:flex; align-items:center; justify-content:center; min-height:120px; margin-bottom:12px; }
.car-img img { max-height:110px; max-width:100%; object-fit:contain; }
.car-specs { display:flex; align-items:center; gap:12px; padding:10px 0; border-top:1px solid var(--gray-bd); border-bottom:1px solid var(--gray-bd); margin-bottom:12px; }
.car-spec { display:flex; align-items:center; gap:5px; font-size:12px; color:#333; font-weight:500; }
.car-badge { width:22px; height:22px; border-radius:3px; background:#e8e8e8; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:900; color:#555; flex-shrink:0; }
.car-fuel-ico { width:18px; height:18px; flex-shrink:0; color:#555; }
.car-sep { width:1px; height:14px; background:var(--gray-bd); }
.car-foot { display:flex; align-items:center; justify-content:space-between; }
.car-price { font-size:13px; font-weight:700; color:var(--pink); }
.car-price b { font-size:20px; font-weight:900; }
.car-price em { font-style:normal; font-size:12px; color:var(--dim); font-weight:400; }
.car-btn {
  background: var(--pink); color:#fff; border:none; border-radius:5px;
  padding:9px 18px; font-size:11px; font-weight:900;
  letter-spacing:.07em; text-transform:uppercase; cursor:pointer; transition:background .2s;
  display: inline-block;
}
.car-btn:hover { background: var(--pink-d); }
.cars-all-wrap { display:flex; justify-content:center; }
.cars-all-link { font-size:12px; font-weight:900; color:var(--pink); letter-spacing:.08em; text-transform:uppercase; }
.cars-all-link:hover { color: var(--pink-d); }

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════ */
.about-section { max-width: 960px; margin: 0 auto; padding: 0 40px 60px; }
.about-inner h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.about-inner p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 10px; }
.about-inner strong { color: #1a1a1a; }
.about-inner h3 { font-size: 18px; font-weight: 800; margin: 22px 0 12px; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.about-list li { font-size: 14px; color: var(--muted); line-height: 1.7; padding-left: 16px; position: relative; }
.about-list li::before { content: '•'; color: var(--pink); position: absolute; left: 0; }

/* ══════════════════════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════════════════════ */
.reviews-section { padding: 52px 0; }
.reviews-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.reviews-label { font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.reviews-title { font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 32px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review-card { background: #f5f5f9; border-radius: 10px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.review-quote { font-size: 40px; color: var(--pink); font-weight: 900; line-height: 1; margin-bottom: 16px; }
.review-text { font-size: 13px; color: #444; line-height: 1.7; font-style: italic; flex: 1; margin-bottom: 20px; }
.review-stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 16px; }
.review-stars svg { width: 20px; height: 20px; }
.review-name { font-size: 15px; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.review-role { font-size: 12px; color: var(--dim); }

/* ══════════════════════════════════════════════════════════
   CATALOG FILTERS
══════════════════════════════════════════════════════════ */
.catalog-wrap { max-width: 1200px; margin: 0 auto; padding: 36px 40px 60px; }
.info-banner { display:flex; align-items:center; gap:12px; background:#f4f4f8; border-radius:8px; padding:14px 18px; margin-bottom:28px; font-size:13px; color:#444; line-height:1.5; }
.info-banner svg { width:18px;height:18px;color:#555;flex-shrink:0; }
.filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; }
.filter-tag { padding:8px 16px; border:1px solid #d0d0d0; border-radius:6px; font-size:13px; font-weight:500; color:#333; background:#fff; cursor:pointer; transition:all .2s; white-space:nowrap; }
.filter-tag:hover { border-color:var(--pink); color:var(--pink); }
.filter-tag.active { border-color:var(--pink); background:var(--pink); color:#fff; }

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq-wrap { max-width: 1100px; margin: 0 auto; padding: 64px 40px 80px; }
.faq-hero { text-align: center; margin-bottom: 52px; }
.faq-hero h1 { font-size: clamp(22px,4vw,38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px; }
.faq-hero p { font-size: 15px; color: #555; line-height: 1.7; max-width: 740px; margin: 0 auto; }
.faq-cats { display:grid; grid-template-columns:repeat(5,1fr); border:1px solid var(--gray-bd); border-radius:8px; overflow:hidden; margin-bottom:52px; }
.faq-cat { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:24px 16px; cursor:pointer; font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#333; border-right:1px solid var(--gray-bd); transition:background .2s,color .2s; background:#fff; }
.faq-cat:last-child { border-right:none; }
.faq-cat svg { width:28px;height:28px;color:var(--pink); }
.faq-cat.active { background:var(--pink); color:#fff; }
.faq-cat.active svg { color:#fff; }
.faq-cat:hover:not(.active) { background:#fdf0f7; }
.accordion { border-top:1px solid var(--gray-bd); }
.acc-item { border-bottom:1px solid var(--gray-bd); }
.acc-header { display:flex; align-items:center; justify-content:space-between; padding:22px 8px; cursor:pointer; gap:16px; }
.acc-header:hover { background:#fdf8fc; }
.acc-question { font-size:14px; font-weight:700; color:#2a2a3a; letter-spacing:.02em; text-transform:uppercase; line-height:1.4; }
.acc-chevron { width:20px;height:20px;flex-shrink:0;color:#555;transition:transform .3s; }
.acc-item.open .acc-chevron { transform:rotate(180deg); }
.acc-body { display:none; padding:0 8px 22px; font-size:14px; color:#555; line-height:1.8; }
.acc-item.open .acc-body { display:block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--gray-bg); border-top: 1px solid var(--gray-bd); padding: 48px 40px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { margin-bottom: 28px; }
.footer-logo img { height: 40px; }
.footer-logo-txt { font-size: 32px; font-weight: 900; font-style: italic; color: var(--pink); letter-spacing: -1px; }
.footer-hr { height: 1px; background: var(--gray-bd); margin-bottom: 30px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.footer-col h4 { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #1a1a1a; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--pink); }
.footer-col address { font-style: normal; }
.footer-col p, .footer-col address a { font-size: 13px; color: var(--muted); display: block; margin-bottom: 5px; transition: color .2s; }
.footer-col address a:hover { color: var(--pink); }
.footer-social-link { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); margin-bottom:9px; transition:color .2s; }
.footer-social-link:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--gray-bd); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom span, .footer-bottom a { font-size: 12px; color: var(--dim); }
.footer-bottom a:hover { color: var(--pink); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .search-bar { width: 85%; }
  .features { width: 85%; }
}
@media (max-width: 860px) {
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .blog-section, .cars-inner, .about-section, .reviews-inner { padding-left: 20px; padding-right: 20px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .features { width: 100%; }
  .search-bar { width: 90%; }
}
@media (max-width: 640px) {
  .header-ham { display: flex; }
  .header-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--hdr-bg);
    border-bottom: 1px solid rgba(255,255,255,.1); z-index: 199;
  }
  .header-nav.open { display: flex; }
  .nav-link { border-bottom: 1px solid rgba(255,255,255,.08); padding: 13px 20px; }
  .search-bar { width: 100%; grid-template-columns: 1fr auto; grid-template-rows: 50px 50px 50px; }
  .sb-cell:nth-child(1) { grid-column:1;grid-row:1; }
  .sb-cell:nth-child(2) { grid-column:1;grid-row:2; }
  .sb-cell:nth-child(3) { grid-column:1;grid-row:3;border-right:none;border-bottom:none; }
  .sb-cell:nth-child(4) { display:none; }
  .find-btn { grid-column:2;grid-row:1/4; padding:0 16px; font-size:13px; }
  .feat-inner { grid-template-columns: 1fr; }
  .feat-col { border-right: none; border-bottom: 1px solid var(--gray-bd); padding: 28px 20px; }
  .feat-col:last-child { border-bottom: none; }
  .cars-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px 180px; }
  .bc-featured { grid-row: auto; }
  .footer-cols { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .faq-cats { grid-template-columns: 1fr 1fr; }
  .hero-body { padding: 0 20px; }
  .hero-wrap { max-height: none; }
}
