
:root{
  --bg:#020202;
  --panel:#090909;
  --panel-2:#101010;
  --line:#252525;
  --line-light:#3b3b3b;
  --text:#f7f7f7;
  --soft:#c8c8c8;
  --muted:#8d8d8d;
  --danger:#ff7676;
  --success:#74d99f;
  --max-width:1240px;
  --header-height:76px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
}
body.modal-open{overflow:hidden}
img{display:block;width:100%}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
.container{width:min(var(--max-width),92%);margin-inline:auto}

/* INTRO */
.intro{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  background:#000;
  transition:opacity .62s ease,visibility .62s ease;
}
.intro video{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
}
.intro.hide{opacity:0;visibility:hidden}
.skip-intro{
  position:absolute;
  right:clamp(16px,3vw,34px);
  bottom:clamp(16px,3vw,34px);
  min-width:88px;
  height:42px;
  padding-inline:17px;
  color:#fff;
  background:#050505b8;
  border:1px solid #606060;
  border-radius:999px;
  backdrop-filter:blur(10px);
  transition:.22s ease;
}
.skip-intro:hover{background:#fff;color:#000}

/* HEADER */
.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:100;
  background:#020202e9;
  border-bottom:1px solid #1d1d1d;
  backdrop-filter:blur(18px);
}
.nav-row{
  min-height:var(--header-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.brand{
  display:flex;
  align-items:center;
  min-width:100px;
}
.brand img{
  width:100px;
  height:36px;
  object-fit:contain;
  object-position:left center;
  filter:none;
  opacity:1;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:30px;
}
.main-nav a{
  padding:28px 0;
  color:#a9a9a9;
  font-size:13px;
  border-bottom:2px solid transparent;
  transition:.2s ease;
}
.main-nav a:hover,
.main-nav a.active{
  color:#fff;
  border-bottom-color:#fff;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.circle-button{
  width:41px;
  height:41px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#080808;
  border:1px solid #292929;
  border-radius:50%;
}
.circle-button:hover{border-color:#666}
.menu-button{display:none}
.account-button{
  height:41px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  color:#fff;
  background:#0a0a0a;
  border:1px solid #303030;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
.account-button:hover{border-color:#777}
.account-icon{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border:1px solid #777;
  border-radius:50%;
}

/* HERO */
.hero{
  min-height:810px;
  display:flex;
  align-items:center;
  position:relative;
  background:
    linear-gradient(90deg,#000 0%,#000ec 40%,#00074 66%,#00020),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2200&q=90") center/cover;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#020202 0%,transparent 43%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-top:var(--header-height);
}
.eyebrow{
  color:#8e8e8e;
  font-size:11px;
  font-weight:800;
  letter-spacing:4px;
}
h1{
  max-width:880px;
  margin:21px 0 25px;
  font-size:clamp(48px,6.35vw,86px);
  line-height:.96;
  letter-spacing:-4px;
}
h1 span{display:inline-block}
.hero-copy{
  max-width:690px;
  color:#b8b8b8;
  font-size:clamp(14px,1.4vw,16px);
  line-height:1.75;
}
.hero-buttons{
  display:flex;
  gap:12px;
  margin-top:31px;
}
.button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:7px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.4px;
}
.primary-button{background:#fff;color:#000;border:1px solid #fff}
.outline-button{background:#0008;color:#fff;border:1px solid #555}
.primary-button:hover{background:#d9d9d9}
.outline-button:hover{border-color:#fff}
.hero-stats{
  display:flex;
  gap:48px;
  margin-top:58px;
}
.hero-stats div{display:grid;gap:4px}
.hero-stats strong{font-size:22px}
.hero-stats span{
  color:#777;
  font-size:10px;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* QUICK CATEGORIES */
.quick-categories{
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:-57px;
}
.quick-category{
  height:112px;
  padding:22px;
  color:#fff;
  background:linear-gradient(145deg,#111,#060606);
  border:1px solid #272727;
  border-radius:12px;
  text-align:left;
  font-size:18px;
  font-weight:800;
  transition:.23s ease;
}
.quick-category span{
  display:block;
  margin-bottom:12px;
  color:#686868;
  font-size:10px;
}
.quick-category:hover,
.quick-category.active{
  border-color:#777;
  transform:translateY(-3px);
}

/* GENERAL SECTIONS */
.section{padding:104px 0}
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:30px;
}
.section-heading h2,
.about-section h2,
.contact-section h2{
  margin-top:10px;
  font-size:clamp(32px,4vw,52px);
  line-height:1.04;
  letter-spacing:-2px;
}
.heading-note{
  max-width:420px;
  color:#777;
  font-size:13px;
}

/* NEWS */
.news-grid{
  display:grid;
  grid-template-columns:1.55fr 1fr 1fr;
  grid-template-rows:repeat(2,235px);
  gap:14px;
}
.news-card{
  position:relative;
  overflow:hidden;
  background:#111;
  border:1px solid #262626;
  border-radius:13px;
}
.news-card:first-child{grid-row:1/3}
.news-card img{
  height:100%;
  object-fit:cover;
  transition:transform .42s ease;
}
.news-card:hover img{transform:scale(1.045)}
.news-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 19%,#000f);
}
.news-content{
  position:absolute;
  z-index:2;
  left:22px;
  right:22px;
  bottom:20px;
}
.news-content span{
  color:#aaa;
  font-size:10px;
  letter-spacing:2px;
}
.news-content h3{
  margin:8px 0;
  font-size:18px;
  line-height:1.28;
}
.news-card:first-child .news-content h3{font-size:31px}
.news-content p{
  display:none;
  color:#aaa;
  font-size:12px;
  line-height:1.55;
}
.news-card:first-child .news-content p{display:block}
.news-content small{
  display:block;
  margin-top:9px;
  color:#666;
  font-size:10px;
}

/* PRICE AREA */
.price-section{
  background:#080808;
  border-top:1px solid #1a1a1a;
  border-bottom:1px solid #1a1a1a;
}
.type-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.type-filter{
  padding:10px 16px;
  color:#aaa;
  background:#0b0b0b;
  border:1px solid #303030;
  border-radius:999px;
  font-size:12px;
}
.type-filter:hover,
.type-filter.active{background:#fff;color:#000}
.vehicle-toolbar{
  display:grid;
  grid-template-columns:minmax(260px,1fr) 170px 190px 205px;
  gap:10px;
  margin-bottom:13px;
}
.search-field{
  height:50px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
  background:#050505;
  border:1px solid #2b2b2b;
  border-radius:8px;
}
.search-field span{color:#777}
.search-field input{
  width:100%;
  height:100%;
  color:#fff;
  background:transparent;
  border:0;
  outline:0;
}
.vehicle-toolbar select{
  height:50px;
  padding:0 13px;
  color:#fff;
  background:#050505;
  border:1px solid #2b2b2b;
  border-radius:8px;
  outline:0;
}
.result-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
  color:#777;
  font-size:11px;
}
.result-bar button{
  color:#aaa;
  background:transparent;
  border:0;
}
.vehicle-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.vehicle-card{
  overflow:hidden;
  background:#0d0d0d;
  border:1px solid #252525;
  border-radius:13px;
  transition:.28s ease;
}
.vehicle-card:hover{
  transform:translateY(-6px);
  border-color:#555;
}
.vehicle-media{
  position:relative;
  height:255px;
  background:#151515;
}
.vehicle-media img{
  height:100%;
  object-fit:cover;
}
.vehicle-badge,
.image-note{
  position:absolute;
  z-index:2;
  top:14px;
  padding:7px 9px;
  background:#000c;
  border:1px solid #444;
  border-radius:5px;
  font-size:9px;
  letter-spacing:1.25px;
}
.vehicle-badge{left:14px}
.image-note{right:55px;color:#aaa}
.favorite-button{
  position:absolute;
  z-index:2;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  color:#fff;
  background:#000c;
  border:1px solid #444;
  border-radius:50%;
  font-size:18px;
}
.favorite-button.active{background:#fff;color:#000}
.vehicle-body{padding:20px}
.vehicle-brand{
  color:#777;
  font-size:10px;
  letter-spacing:1.55px;
  text-transform:uppercase;
}
.vehicle-body h3{
  margin:7px 0 9px;
  font-size:20px;
}
.vehicle-price{
  font-size:18px;
  font-weight:900;
}
.vehicle-summary{
  min-height:40px;
  margin:12px 0 15px;
  color:#919191;
  font-size:12px;
  line-height:1.6;
}
.spec-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:18px;
}
.spec-pills span{
  padding:6px 8px;
  color:#aaa;
  border:1px solid #292929;
  border-radius:5px;
  font-size:10px;
}
.card-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:14px;
  border-top:1px solid #242424;
  font-size:12px;
  font-weight:800;
}
.load-more-wrap{
  margin-top:24px;
  text-align:center;
}
.price-disclaimer{
  margin-top:22px;
  color:#6f6f6f;
  font-size:11px;
  line-height:1.68;
}
.no-result{
  grid-column:1/-1;
  padding:56px;
  color:#777;
  border:1px dashed #333;
  border-radius:12px;
  text-align:center;
}

/* ABOUT & CONTACT */
.about-section{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:70px;
}
.about-copy>p:not(.eyebrow){
  max-width:670px;
  margin-top:21px;
  color:#999;
  line-height:1.8;
}
.about-card{
  padding:8px 26px;
  background:#090909;
  border:1px solid #262626;
  border-radius:14px;
}
.about-card div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:23px 0;
  border-bottom:1px solid #222;
}
.about-card div:last-child{border-bottom:0}
.about-card span{color:#777;font-size:12px}
.about-card strong{font-size:13px;text-align:right}
.contact-section{
  padding:80px 0;
  background:#101010;
  border-top:1px solid #222;
}
.contact-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}
.contact-content>div>p:last-child{
  margin-top:14px;
  color:#898989;
}

/* FOOTER */
.site-footer{padding:58px 0 20px}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px;
}
.footer-grid h3{
  margin-bottom:15px;
  font-size:13px;
}
.footer-grid>div a{
  display:block;
  margin:10px 0;
  color:#777;
  font-size:12px;
}
.footer-brand{align-self:start}
.footer-bottom{
  margin-top:45px;
  padding-top:18px;
  color:#555;
  border-top:1px solid #1b1b1b;
  font-size:11px;
}

/* DETAIL PAGES */
.detail-page{
  min-height:82vh;
  padding:132px 0 82px;
}
.detail-hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:stretch;
  gap:35px;
}
.detail-image{
  min-height:520px;
  overflow:hidden;
  border:1px solid #2a2a2a;
  border-radius:16px;
}
.detail-image img{
  height:100%;
  object-fit:cover;
}
.detail-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
  background:#0a0a0a;
  border:1px solid #252525;
  border-radius:16px;
}
.detail-panel h1{
  margin:15px 0;
  font-size:clamp(38px,5vw,64px);
  line-height:1;
  letter-spacing:-3px;
}
.detail-price{
  margin-bottom:18px;
  font-size:26px;
  font-weight:900;
}
.detail-summary{
  color:#999;
  line-height:1.75;
}
.detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}
.spec-table{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:28px;
}
.spec-item{
  padding:17px;
  background:#090909;
  border:1px solid #252525;
  border-radius:10px;
}
.spec-item span{
  display:block;
  color:#777;
  font-size:10px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.spec-item strong{
  display:block;
  margin-top:8px;
}
.source-box{
  margin-top:28px;
  padding:18px;
  color:#909090;
  background:#0c0c0c;
  border-left:3px solid #fff;
  font-size:12px;
  line-height:1.68;
}
.source-box a{text-decoration:underline}
.article-detail{max-width:900px}
.article-detail h1{
  margin:18px 0;
  font-size:clamp(42px,6vw,72px);
  line-height:.98;
  letter-spacing:-4px;
}
.article-meta{color:#777;font-size:12px}
.article-cover{
  height:480px;
  margin:28px 0;
  object-fit:cover;
  border-radius:16px;
}
.article-lead{
  margin-bottom:26px;
  color:#bbb;
  font-size:19px;
  line-height:1.75;
}
.article-body p{
  margin:18px 0;
  color:#b1b1b1;
  font-size:16px;
  line-height:1.9;
}

/* AUTH MODAL */
.auth-overlay{
  position:fixed;
  inset:0;
  z-index:12000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(10px);
}
.auth-overlay.open{display:flex}
.auth-modal{
  position:relative;
  width:min(470px,100%);
  max-height:min(760px,94vh);
  overflow:auto;
  padding:28px;
  background:#090909;
  border:1px solid #343434;
  border-radius:18px;
  box-shadow:0 25px 90px rgba(0,0,0,.65);
}
.auth-close{
  position:absolute;
  top:17px;
  right:17px;
  width:36px;
  height:36px;
  color:#fff;
  background:#111;
  border:1px solid #333;
  border-radius:50%;
}
.auth-logo{
  width:104px;
  height:38px;
  object-fit:contain;
  margin-bottom:17px;
}
.auth-modal h2{
  font-size:29px;
  letter-spacing:-1px;
}
.auth-subtitle{
  margin:8px 0 20px;
  color:#858585;
  font-size:13px;
}
.auth-mode-badge{
  display:inline-flex;
  margin-bottom:17px;
  padding:6px 9px;
  color:#bbb;
  background:#111;
  border:1px solid #333;
  border-radius:999px;
  font-size:10px;
}
.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-bottom:19px;
}
.auth-tab{
  height:43px;
  color:#aaa;
  background:#0d0d0d;
  border:1px solid #292929;
  border-radius:8px;
  font-weight:750;
}
.auth-tab.active{background:#fff;color:#000}
.auth-form{display:none}
.auth-form.active{display:block}
.form-group{margin-bottom:13px}
.form-group label{
  display:block;
  margin-bottom:7px;
  color:#aaa;
  font-size:11px;
}
.form-group input{
  width:100%;
  height:48px;
  padding:0 13px;
  color:#fff;
  background:#050505;
  border:1px solid #303030;
  border-radius:8px;
  outline:0;
}
.form-group input:focus{border-color:#777}
.auth-submit{
  width:100%;
  height:48px;
  margin-top:5px;
  color:#000;
  background:#fff;
  border:0;
  border-radius:8px;
  font-weight:850;
}
.auth-helper-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 16px;
  color:#888;
  font-size:11px;
}
.auth-helper-row button{
  color:#bbb;
  background:transparent;
  border:0;
}
.auth-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:18px 0;
  color:#666;
  font-size:10px;
}
.auth-divider::before,
.auth-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:#292929;
}
.facebook-button{
  width:100%;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  background:#1877f2;
  border:0;
  border-radius:8px;
  font-weight:800;
}
.facebook-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1877f2;
  border-radius:50%;
  font-family:Arial,sans-serif;
  font-size:17px;
  font-weight:900;
}
.auth-status{
  min-height:20px;
  margin-top:13px;
  font-size:12px;
  line-height:1.5;
}
.auth-status.error{color:var(--danger)}
.auth-status.success{color:var(--success)}
.auth-note{
  margin-top:16px;
  color:#696969;
  font-size:10px;
  line-height:1.55;
}
.account-panel{display:none}
.account-panel.active{display:block}
.user-card{
  display:grid;
  place-items:center;
  padding:20px 0 10px;
  text-align:center;
}
.user-avatar{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  color:#000;
  background:#fff;
  border-radius:50%;
  font-size:28px;
  font-weight:900;
}
.user-card p{color:#858585;font-size:12px}
.user-actions{
  display:grid;
  gap:9px;
  margin-top:20px;
}
.user-actions button,
.user-actions a{
  width:100%;
  min-height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:#0e0e0e;
  border:1px solid #333;
  border-radius:8px;
  font-size:12px;
  font-weight:750;
}
.user-actions .logout-button{color:#ff9d9d}
.auth-config-link{
  display:inline-block;
  margin-top:13px;
  color:#aaa;
  font-size:11px;
  text-decoration:underline;
}

/* TABLET */
@media(max-width:1020px){
  .main-nav{
    position:absolute;
    top:var(--header-height);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:18px 4%;
    background:#050505;
    border-bottom:1px solid #222;
  }
  .main-nav.open{display:flex}
  .main-nav a{width:100%;padding:12px 0}
  .menu-button{display:grid}
  .vehicle-toolbar{grid-template-columns:1fr 1fr}
  .news-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:360px 235px 235px;
  }
  .news-card:first-child{grid-column:1/3;grid-row:1}
  .vehicle-grid{grid-template-columns:repeat(2,1fr)}
  .about-section,
  .detail-hero{grid-template-columns:1fr}
  .detail-image{min-height:420px}
  .spec-table{grid-template-columns:repeat(2,1fr)}
}

/* MOBILE */
@media(max-width:680px){
  :root{--header-height:68px}
  .container{width:min(94%,var(--max-width))}
  .nav-row{gap:10px}
  .brand{min-width:auto}
  .brand img{width:80px;height:32px}
  .circle-button{width:38px;height:38px}
  .account-button{
    width:38px;
    height:38px;
    padding:0;
    justify-content:center;
  }
  .account-button #accountButtonText{display:none}
  .account-icon{border:0;font-size:20px}
  h1{
    font-size:clamp(42px,13vw,62px);
    line-height:.99;
    letter-spacing:-3px;
  }
  .hero{
    min-height:720px;
    background-position:64% center;
  }
  .hero-copy{font-size:15px}
  .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero-buttons .button{width:190px}
  .hero-stats{
    flex-wrap:wrap;
    gap:22px;
    margin-top:45px;
  }
  .quick-categories{grid-template-columns:1fr 1fr}
  .quick-category{height:96px;padding:18px;font-size:16px}
  .section{padding:76px 0}
  .section-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .section-heading h2,
  .about-section h2,
  .contact-section h2{letter-spacing:-1.6px}
  .news-grid{
    grid-template-columns:1fr;
    grid-template-rows:360px repeat(5,235px);
  }
  .news-card:first-child{grid-column:auto;grid-row:auto}
  .news-card:first-child .news-content h3{font-size:24px}
  .vehicle-toolbar{grid-template-columns:1fr}
  .vehicle-grid{grid-template-columns:1fr}
  .vehicle-media{height:235px}
  .type-filters{gap:6px}
  .contact-content{
    align-items:flex-start;
    flex-direction:column;
  }
  .footer-grid{grid-template-columns:1fr}
  .spec-table{grid-template-columns:1fr 1fr}
  .article-cover{height:300px}
  .about-card div{align-items:flex-start}
  .auth-modal{padding:24px 18px}
}

/* SMALL MOBILE */
@media(max-width:410px){
  h1{font-size:41px}
  .quick-categories{grid-template-columns:1fr}
  .spec-table{grid-template-columns:1fr}
  .vehicle-media{height:215px}
}
