* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "Open Sans", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  line-height: 1.35;
  background: #07070a;
  color: #fff;
  overflow: hidden;
}

body.is-loading{
  overflow: hidden;
}

body.is-loading [data-animate]{
  opacity: 0 !important;
  transform: translate3d(0, 0, 0) !important;
  transition: none !important;
}

.fullpage{
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.page{
  height: auto;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-items: stretch;
}

.page .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content .content-panel {  
  padding: clamp(30px, 6vw, 100px);
}

p, ul{ margin: 0 0 1rem; opacity: .85; color:#ffffff; line-height:1.8; font-weight:lighter; font-size: 14px;}
.ul-dotted {border-bottom: 1px #777 dotted; font-weight:600;}
.ul-dotted:hover {color: #fff;border-bottom: 1px #fff solid;}
ol, ul {list-style: none;}
li i {padding-right: 5px;}
i{font-weight:100; opacity: .65; color:#ffffff;}
small{font-size:70%; color:#ffffff;}
b{font-weight:bold;}
h1, h2, h3, h4, h5, h6 {font-family: "Raleway", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif; color:#FFFFFF; margin: 0 0 0.6rem 0;font-weight: 100;text-transform:uppercase;}
h1 { font-size: clamp(2rem, 3.3vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }

a {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	text-decoration: none;
	color: #FFFFFF;
}
a:hover {
	color: #FFFFFF;
	border-color: #FFFFFF;
	text-decoration: none;
	outline: none;
}
a:active, a:focus {
	outline: none;
	text-decoration: none;
	color: #FFFFFF;
}

.btn {
    color: #FFFFFF;
    display: inline-block;
    padding: 5px 15px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: "Raleway", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
    font-weight: normal;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.btn:hover, .btn:active, .btn:focus {
	outline: none !important;
	text-decoration: none !important;
	background: rgba(255,255,255,0.1);
}

.aside{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.aside .overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .25s ease;
}

.aside .aside-panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100svh;
  width: min(520px, 100vw);
  background: rgba(8,8,8,.88);
  border-left: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  transform: translateX(100%);
  transition: transform .28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.aside-panel header{
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.aside-panel header h3{
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aside-panel .body{
  padding: 18px;
  overflow: auto;
}

.aside-panel footer{
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.close-x{
  margin-left: auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.06);
  text-decoration: none;
  color: #fff;
}

.aside:target{
  pointer-events: auto;
}
.aside:target .overlay{
  opacity: 1;
}
.aside:target .aside-panel{
  transform: translateX(0);
}

.loader{
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  transition: opacity 600ms ease;
}

.loader.fade-out{
  opacity: 0;
  pointer-events: none;
}

.loader svg {
	height: 70px;
}

.logo-wrapper,
.nav-wrapper{
    padding-inline: clamp(10px, 4vw, 70px);
    padding-top: clamp(20px, 5vh, 50px);
}
 
.logo-wrapper{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-wrapper svg{
  height: 30px;
  width: auto;
  display: block;
}

.nav-wrapper{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-wrapper ul{
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-wrapper li{
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-wrapper a{
  position: relative;
  display: inline-block;

  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;

  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 0px;

  padding: 6px 0;
  transition: color .25s ease;
}

.nav-wrapper a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;

  width: 0;
  height: 1px;
  background-color: currentColor;

  transform: translateX(-50%);
  transition: width .35s ease-in-out;
}

.nav-wrapper a:hover::after,
.nav-wrapper a:focus-visible::after{
  width: 100%;
}
    
.hero{
    grid-template-rows: auto 1fr auto;
    background-image: image-set(
      url("/resource/images/site/home/hero.avif") type("image/avif"),
      url("/resource/images/site/home/hero.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.hero .content{
  justify-content: center;
}
.hero-text {
	text-transform: uppercase;
	text-align: center;
}
.hero-text h2 {
    font-family: "Raleway", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
    font-weight: 100;
	font-size: clamp(1.25rem, 3vw, 1.875rem);
	margin-bottom: 8px;
}
.hero-text p {
	text-transform: uppercase;
	font-size: clamp(16px, 1.2vw + 0.5rem, 20px);
	margin-bottom: 30px;
}
.hero-btn {
	font-family: "Raleway", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
	font-size: clamp(12px, 1.2vw + 0.5rem, 14px);
	background: transparent;
	font-weight: 700;
	padding: clamp(8px, 1vw, 10px) clamp(12px, 2vw, 20px);
	border: 1px solid #FFFFFF;
	text-decoration:none;
	letter-spacing: 0.08em;
	box-shadow: 0 22px 70px rgba(0,0,0,.55);
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	border-radius: 50px;
}
.hero-btn:hover {
	background: rgba(255,255,255,0.1);
}
.hero-btn:nth-child(1){
    margin-right:50px;
}
.hero .scroll-indicator{
    align-self: end;
    padding-bottom: clamp(18px, 4vh, 40px);
	text-align: center;
	display: block;
	animation: bounce 2s 0s ease infinite;
}
.scroll-indicator a {
	opacity: 0.7;
	color: #FFFFFF;
	padding: 0 2rem;
}
.scroll-indicator a:hover {
	opacity: 1;
}
.scroll-indicator a i {
	font-size: 3rem;
}

.page:nth-child(2){ background: linear-gradient(to right, rgb(16, 16, 16), rgb(0, 0, 0) 50%) }    
.storage-bg {
  width: 100%;
  height: 100svh;

  background-image: image-set(
    url("/resource/images/site/home/bg2.avif") type("image/avif"),
    url("/resource/images/site/home/bg2.jpg") type("image/jpeg")
  );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page:nth-child(3){ background: linear-gradient(rgb(16, 16, 16), rgb(4, 4, 4)); } 

.page:nth-child(4){ background: linear-gradient(to right, rgb(0, 0, 0) 50%, rgb(16, 16, 16)); } 
.sell-bg {
  width: 100%;
  height: 100svh;

  background-image: image-set(
    url("/resource/images/site/home/bg3.avif") type("image/avif"),
    url("/resource/images/site/home/bg3.jpg") type("image/jpeg")
  );
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page:nth-child(5){  background: linear-gradient(rgb(18, 18, 18), rgb(4, 4, 4) 50%); } 
.prestige-bg {
  width: 100%;
  height: 100svh;

  background-image: image-set(
    url("/resource/images/site/home/bg4.avif") type("image/avif"),
    url("/resource/images/site/home/bg4.jpg") type("image/jpeg")
  );
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
    
/** INVENTORY **/

.inventory-title{
    text-align:center;
}

.car-grid{
  position: relative;
}

.car-grid .car-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 33vw, 360px); /* slide width */
  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;
  padding: 25px 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;

  user-select: none;
}

.car-grid .car-slide{
  scroll-snap-align: start;
}

@media (min-width: 1000px){
  .car-grid .car-track{
    grid-auto-columns: clamp(300px, 28vw, 380px);
  }
}

.car-grid .car-track::-webkit-scrollbar{ height: 10px; }
.car-grid .car-track::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}

.car-grid .item{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.1);
  position: relative;
}

.car-grid .item .car-image{
  position: relative;
  width: 100%;
  height: auto; 
  max-height:218px;   /* Legacy 4:3 image support */
  overflow: hidden;
  display: grid;
  background: #000;
  border-radius: 12px 12px 0 0; 
}

.car-grid .item .car-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .3s ease;
}

.car-grid .item:hover .car-image img{
  transform: scale(1.05);
}

.car-grid .item .car-image .car-pricing{
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 12px;
  background: #4480eb;
  color: #fff;
  padding: 2px 8px;
  margin: 0;

  opacity: 0;
  transition: opacity .3s ease;
}

.car-grid .item:hover .car-image .car-pricing{
  opacity: 1;
}

.car-grid .item .car-image .car-pricing span{
  display: inline-block;
  line-height: 12px;
  font-weight: 700;
}

.car-grid .item .car-title{
  margin: 0;
}

.car-grid .item .car-title a{
  font-family: "Open Sans", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  padding: 10px 8px 5px;
  margin: 0;
  display: inline-block;
  text-decoration: none;
  line-height: 16px;
  font-size: 14px;
  color: #FFFFFF;
  transition: color .3s linear;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-grid .item .vehicle-des{
  padding: 0 8px;
}

.car-grid .item .vehicle-des p{
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 16px;
}

.car-grid .item .vehicle-des a{
  border-bottom: #8c9297 1px dotted;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  transition: all .3s ease;
  display:none;
}

.car-grid .item .vehicle-des a:hover{
  color: #fff;
  border-bottom: #fff 1px solid;
}

.car-grid .item .car-specs{
  display: flex;
  justify-content: center;
  padding: 5px;
  margin-top: 8px;
}

.car-grid .item .car-specs span{
    flex: 1;
    margin: 5px;
    max-width: calc(33.33% - 10px);
    padding: 10px;
    text-align: center;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.6);
}

.bordered-list{
    padding:0;
}

.bordered-list li {
    padding: 15px 0px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(51, 51, 51);
    line-height: 18px;
}

form .grid{
    gap:10px;
}

label{
  display: block;
  font-weight: 650;
  margin: 0 0 6px;
  opacity: .9;
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.02);
  color: #fff;
  outline: none;
  letter-spacing: 0.08em;
}

textarea{ min-height: 110px; resize: vertical; }

form .subtitle,
form .disclaimer,
form .result{
    font-weight:100;
    text-align:center;
}

form .disclaimer{
    padding-top:40px;
}

form span{
    color: #cccccc;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    font-size: 10px;
}

form .ht{
    position:absolute;
    left:-9999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.block-message{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  border-radius: 12px;
  padding: 5px 0px;

  pointer-events: none;
}

.block-message.show-block-valid,
.block-message.show-block-error{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.block-message.show-block-valid{
  background: rgba(60, 180, 120, 0.12);
  border: 1px solid rgba(60, 180, 120, 0.35);
  color: #b7f3d7;
}

.block-message.show-block-error{
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: #ffb4b4;
}

.block-message p{
  margin: 0;
}

/* Footer */
.reveal-footer{
  height: 80px;
  display: grid;
  align-items: center;
  background: #040404;
  border-top: 1px solid rgba(255,255,255,.05);
  scroll-snap-align: start;
}

.reveal-footer .footer-inner{
  padding-inline: clamp(10px, 4vw, 70px);
  display: flex;
  align-items: center;
  color:rgba(255,255,255,0.5)
}

.page:last-of-type .content-panel{
  padding-bottom: calc(clamp(50px, 6vw, 80px) + 80px);
}

@media (prefers-reduced-motion: reduce){
  .aside .overlay, .aside .aside-panel, .btn{ transition: none; }
  .car-grid .item .car-image img,
  .car-grid .item .car-image .car-pricing{
    transition: none;
  }
  .nav-wrapper a::after{
    transition: none;
  }
}