.inventory-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
gap:32px;
max-width:1400px;
margin:70px auto;
padding:0 25px 70px;
}

.inventory-card{
background:#fff;
border-radius:24px;
overflow:hidden;
box-shadow:0 12px 40px rgba(0,0,0,.10);
transition:.35s;
position:relative;
}

.inventory-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.inventory-card>a{
display:block;
overflow:hidden;
position:relative;
aspect-ratio:16/9;
background:#ececec;
}

.inventory-card img{
width:100%;
height:100%;
object-fit:cover;
transition:.45s;
display:block;
}

.inventory-card:hover img{
transform:scale(1.08);
}

.inventory-card>a::before{
content:attr(data-stock-label);
position:absolute;
left:18px;
top:18px;
background:#747b86;
color:#fff;
padding:7px 14px;
border-radius:30px;
font-size:11px;
font-weight:800;
line-height:1;
z-index:5;
letter-spacing:.45px;
box-shadow:0 7px 18px rgba(0,0,0,.18);
}

.inventory-card.is-stock>a::before{
background:#16834c;
}

.inventory-card.is-transit>a::before{
background:#d87900;
}

.inventory-card.is-sold>a::before{
background:#d71920;
}

.inventory-card.is-unknown>a::before{
background:#747b86;
}

.inventory-info{
padding:24px;
}

.inventory-info h3{
font-size:24px;
line-height:1.35;
height:66px;
overflow:hidden;
margin:0 0 20px;
font-weight:700;
color:#14213d;
}

.inventory-specs{
display:flex;
justify-content:space-between;
gap:12px;
margin-bottom:20px;
font-size:15px;
color:#666;
}

.inventory-price{
font-size:34px;
font-weight:800;
color:#ff6b00;
margin:20px 0;
}

.inventory-button{
display:block;
text-align:center;
padding:16px;
border-radius:14px;
background:#14213d;
color:#fff;
font-weight:700;
text-decoration:none;
transition:.30s;
}

.inventory-button:hover{
background:#ff6b00;
}

@media(max-width:768px){

.inventory-grid{
grid-template-columns:1fr;
padding:0 15px 40px;
}

.inventory-info h3{
font-size:20px;
height:auto;
}

.inventory-price{
font-size:28px;
}

.inventory-specs{
flex-direction:column;
gap:8px;
}

}

/* HERO AUTOTURISME */

.hero-video{
position:relative;
height:420px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
margin:0;
}

.hero-video-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
z-index:2;
}

.hero-content{
position:relative;
z-index:3;
max-width:900px;
text-align:center;
padding:20px;
color:#fff;
}

.hero-content h1{
font-size:54px;
font-weight:800;
margin-bottom:18px;
}

.hero-content p{
font-size:22px;
line-height:1.7;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:18px;
flex-wrap:wrap;
}

.hero-btn{
padding:16px 34px;
border-radius:40px;
text-decoration:none;
font-weight:700;
}

.hero-btn-secondary{
background:rgba(255,255,255,.15);
border:2px solid rgba(255,255,255,.35);
color:#fff;
}

#vehica-archive{
margin-top:60px;
}

@media(max-width:768px){

.hero-video{
height:300px;
}

.hero-content h1{
font-size:34px;
}

.hero-content p{
font-size:17px;
}

#vehica-archive{
margin-top:30px;
}

}


/* HERO AUTOTURISME */

.hero-video{
position:relative;
height:420px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
margin:0;
}

.hero-video-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
z-index:2;
}

.hero-content{
position:relative;
z-index:3;
max-width:900px;
text-align:center;
padding:20px;
color:#fff;
}

.hero-content h1{
font-size:54px;
font-weight:800;
margin-bottom:18px;
}

.hero-content p{
font-size:22px;
line-height:1.7;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:18px;
flex-wrap:wrap;
}

.hero-btn{
padding:16px 34px;
border-radius:40px;
text-decoration:none;
font-weight:700;
}

.hero-btn-secondary{
background:rgba(255,255,255,.15);
border:2px solid rgba(255,255,255,.35);
color:#fff;
}

#vehica-archive{
margin-top:60px;
}

@media(max-width:768px){

.hero-video{
height:300px;
}

.hero-content h1{
font-size:34px;
}

.hero-content p{
font-size:17px;
}

#vehica-archive{
margin-top:30px;
}

}


/* HERO VIDEO AUTOTURISME PREMIUM - FIX */

.hero-video{
position:relative;
width:100%;
height:420px;
min-height:420px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
margin:0;
background:#111827;
isolation:isolate;
}

.hero-video-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
display:block;
object-fit:cover;
object-position:center;
z-index:1;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
z-index:2;
pointer-events:none;
}

.hero-content{
position:relative;
z-index:3;
width:100%;
max-width:900px;
margin:0 auto;
padding:70px 20px 40px;
text-align:center;
color:#fff;
}

.hero-content h1{
margin:0 0 18px;
font-size:54px;
font-weight:800;
line-height:1.1;
color:#fff;
}

.hero-content p{
max-width:760px;
margin:0 auto 35px;
font-size:22px;
line-height:1.7;
color:#fff;
}

.hero-buttons{
display:flex;
align-items:center;
justify-content:center;
gap:18px;
flex-wrap:wrap;
}

.hero-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:50px;
padding:14px 32px;
border:2px solid transparent;
border-radius:40px;
font-size:14px;
font-weight:700;
line-height:1;
text-decoration:none;
text-transform:uppercase;
transition:
background-color .2s ease,
border-color .2s ease,
color .2s ease,
transform .2s ease;
}

.hero-btn:hover,
.hero-btn:focus{
text-decoration:none;
transform:translateY(-2px);
}

.hero-btn-primary{
background:#ff5a00;
border-color:#ff5a00;
color:#fff;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus{
background:#e64f00;
border-color:#e64f00;
color:#fff;
}

.hero-btn-secondary{
background:rgba(255,255,255,.15);
border-color:rgba(255,255,255,.55);
color:#fff;
backdrop-filter:blur(4px);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus{
background:#fff;
border-color:#fff;
color:#111827;
}

#vehica-archive{
scroll-margin-top:100px;
margin-top:60px;
}

@media(max-width:768px){

.hero-video{
height:350px;
min-height:350px;
}

.hero-content{
padding:70px 20px 30px;
}

.hero-content h1{
margin-bottom:14px;
font-size:34px;
}

.hero-content p{
margin-bottom:24px;
font-size:17px;
line-height:1.5;
}

.hero-btn{
min-height:46px;
padding:13px 25px;
font-size:11px;
}

#vehica-archive{
margin-top:30px;
}

}

@media(max-width:480px){

.hero-video{
height:390px;
min-height:390px;
}

.hero-content h1{
font-size:30px;
}

.hero-buttons{
gap:12px;
}

.hero-btn{
width:100%;
max-width:260px;
}

}

/* PAGINARE INVENTAR */

.inventory-pagination{
width:100%;
margin:45px auto 10px;
padding:0 20px;
}

.inventory-pagination ul{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
flex-wrap:wrap;
margin:0;
padding:0;
list-style:none;
}

.inventory-pagination li{
margin:0;
padding:0;
}

.inventory-pagination a,
.inventory-pagination span{
display:flex;
align-items:center;
justify-content:center;
min-width:44px;
min-height:44px;
padding:10px 15px;
border:1px solid #e3e6ec;
border-radius:10px;
background:#fff;
color:#101d3d;
font-size:14px;
font-weight:700;
line-height:1;
text-decoration:none;
transition:
background-color .2s ease,
border-color .2s ease,
color .2s ease,
transform .2s ease;
}

.inventory-pagination a:hover,
.inventory-pagination a:focus{
background:#101d3d;
border-color:#101d3d;
color:#fff;
transform:translateY(-1px);
}

.inventory-pagination .current{
background:#ff5a00;
border-color:#ff5a00;
color:#fff;
}

.inventory-empty{
grid-column:1 / -1;
padding:40px 20px;
text-align:center;
font-size:18px;
}

.inventory-info h3 a{
color:inherit;
text-decoration:none;
}

@media(max-width:600px){

.inventory-pagination{
margin-top:30px;
padding:0 12px;
}

.inventory-pagination ul{
gap:7px;
}

.inventory-pagination a,
.inventory-pagination span{
min-width:40px;
min-height:40px;
padding:9px 12px;
font-size:13px;
}

.inventory-pagination .prev,
.inventory-pagination .next{
width:100%;
}

}

/* ==================================================
   AUTO BRN - META CARD AUTOTURISM
   Ofertă · Status · Garanție
   ================================================== */

.inventory-card-meta{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:7px;
margin:-8px 0 16px;
font-size:11px;
font-weight:600;
line-height:1.45;
color:#777f8b;
}

.inventory-card-meta__dot{
color:#ff6b00;
font-weight:900;
}

.inventory-card-meta__status{
display:inline-flex;
align-items:center;
min-height:24px;
padding:4px 10px;
border-radius:999px;
font-size:10px;
font-weight:800;
line-height:1;
color:#fff;
}

.inventory-card-meta__status.is-stock{
background:#16834c;
}

.inventory-card-meta__status.is-transit{
background:#d87900;
}

.inventory-card-meta__status.is-sold{
background:#d71920;
}

.inventory-card-meta__status.is-unknown{
background:#747b86;
}

@media(max-width:767px){

.inventory-card-meta{
gap:5px;
font-size:10px;
}

.inventory-card-meta__status{
min-height:22px;
padding:4px 8px;
font-size:9px;
}

}
