@font-face {
  font-family: 'Involve';
  src: url('../fonts/Involve-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Involve-Bold';
  src: url('../fonts/Involve-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Bounded';
  src: url('../fonts/Bounded-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/Unbounded-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

* {
    box-sizing: border-box;
}

:root{
      --brand-red:#E3141A;
      --bg:#F5F5F5;
      --surface:#FFFFFF;
      --text:#000000;
      --muted:#555555;
      --border:rgba(0,0,0,.12);
      --radius-sm:10px;
    }
html {
    scroll-behavior: smooth;
}

    body{margin:0; font-family:Involve; color:var(--text); background:var(--bg);}
    ul, ul li {list-style: none;padding: 0; margin: 0;}
    img{max-width:100%; display:block}
    a{color:inherit; text-decoration:none}


    .btn-lizing {
        display: inline-flex;
        border-radius: 7px;
        background: #F6F6F6;
        color: #060882;
        font-family: Involve;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        padding: 8px 15px;
        align-items: center;
        justify-content: center;
    }

    .container{width:100%; margin-inline:auto; padding:0;}
    header{
        position:sticky;
        top:0;
        z-index:50;

    }
    .nav{display:grid; grid-template-columns:315px 1fr auto; align-items:center; height:84px; gap:16px;background: #000; grid-template-areas: "left center right";}
    .brand img{height:40px; padding-left: 45px;}
    .nav__links{display:flex; gap:28px; justify-content:center; align-items:center; flex-wrap:wrap; min-width: 0; text-transform: uppercase;}
    .nav__links a{font-size:16px; font-weight:400; color:#fff; font-style: normal;}
    .actions{display:flex; gap:10px; justify-content:flex-end; align-items:center; flex-wrap:wrap; padding-right: 45px;}
    .pill,.icon-btn{border-radius:var(--radius-sm); background:var(--brand-red); border:none; color:#fff}
    .pill{display:inline-flex; align-items:center; gap:8px; padding:10px 13px; font-family: Involve-Bold; font-weight:600;}
    .pill img{ height:18px !important; width:auto !important;}
    .icon-btn{display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px}

    .left-nav   { grid-area: left; }
    .center-nav { grid-area: center;}
    .right-nav  { grid-area: right;}

    #order-car{
        text-transform: uppercase;
    }

    .brand-strip, .mob-actions-row{
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, #000 60%);
    }
    .brand-strip__row, .mob-actions{
        display:flex;
        gap:22px;
        align-items:center;
        justify-content:center;
        flex-wrap:wrap;
        padding:0px 0 12px 0;
    }
    .brand-strip__row img{
        /*height:31px;*/
    }

    /* Hamburger Menu */
    .hamburger {
        display:none;
        flex-direction:column;
        gap:5px;
        cursor:pointer;
    }
    .hamburger span {
        width:25px;
        height:3px;
        background:#fff;
        display:block;
    }
    .hamburger span:nth-child(2) {
        width: 18px;
        align-self:end;
    }
    .mobile-nav {
        position: absolute;
        display:none;
        top:58px;
        left:0;
        right:0;
        flex-direction:column;
        border-top: 1px solid #646464;
        border-bottom: 1px solid #646464;
    }

    .mobile-nav h5{
        color:#fff;
        text-align: center;
        margin:10px;
    }

    .mobile-head-menu{
        display:flex;
        flex-direction:row;
        gap:12px;
        padding:0 20px 10px 20px;
/*        background:#000;*/
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .mobile-brand-strip .icons{
        display:flex;
        flex-direction:row;
        gap:12px;
        padding:0 20px 10px 20px;
/*        background:#000;*/
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .mobile-social-row .icons{
        display:flex;
        flex-direction:row;
        gap:40px;
        padding:20px;
/*        background:#000;*/
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #646464;
        border-bottom: 1px solid #646464;
    }

    .mobile-social-row .icons img{
        height:26px;
        width:auto;
    }

    .mobile-brand-strip img{
        /*height:31px;*/
    }

    .mobile-nav a {color:#fff; font-size:16px;}

    .mob-actions{
/*        position:relative;*/
/*        align-items: center;
        justify-content: center;
        flex-wrap: wrap;*/
        display:none;
        width:100%;
/*        margin:0 auto;
        gap:10px;
        text-align: center;*/
    }

    /* Footer styles */
    footer { position:relative;}
    footer .white-section {
        position:relative;
        background:#fff;
        height:300px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:0 45px;
        flex-wrap:wrap;
    }
    footer .white-section .left-text{
        position:absolute;
        color:#050505;
        font-family:KazukiReiwa;
        font-size:74px;
        font-weight:400;
    }
    footer .white-section .center-content{text-align:center;display:flex; flex-direction: column; margin: 0 auto;}
    footer .white-section .center-content img{max-height:80px; margin-bottom:20px;}
    footer .white-section .center-content a{
      display:inline-block; padding:10px 20px; border-radius:10px; background:var(--brand-red); color:#fff; font-size:20px; font-weight:600; text-transform: uppercase;
    }

    footer .black-section{background:#000; color:#fff;}
    footer .black-section .logo-row{height:100px; display:flex; align-items:center; justify-content:center;}
    footer .black-section .menu-row{
        height:65px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:30px;
        font-size:20px;
        font-weight:400;
        font-style: normal;
        border-top:1px solid #646464;
        border-bottom:1px solid #646464;
        flex-wrap: wrap;
    }
    footer .black-section .contact-row{height:196px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border-bottom:1px solid #646464;}
    footer .black-section .contact-row h4{font-family:Bounded; font-size:20px; font-weight:400; margin:0;}
    footer .black-section .contact-row div {
        margin-top:20px;
        text-align: center;
    }
    footer .black-section .contact-row a{
/*        width: 287px;*/
        height: 47px;
        background: linear-gradient(90deg, rgba(215, 253, 255, 0.20) 0%, rgba(128, 12, 23, 0.20) 100%);
        box-shadow: 0 7.392px 62.09px 16.631px rgba(9, 28, 56, 0.25);
        backdrop-filter: blur(55.43749237060547px);
        border: 1px solid #E3171D;
        border-radius: 0;
        text-align: center;
        font-family: Unbounded;
        font-size: 23px;
        font-style: normal;
        font-weight: 700;
        padding: 11px 9px;

    }
    footer .black-section .social-row{height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px;}
    footer .black-section .social-row h5{color:#646464; font-family:Involve; font-size:20px; font-weight:400; margin:0;}
    footer .black-section .social-row .icons{display:flex; gap:95px;}

footer .black-section .social-row .icons img{ height:33px;}

    .footer-auto{
        position:absolute;
        bottom:0px;
        right:300px;
        z-index:1000;
        width:389px;
        height:auto;
    }

    .footer-sf-motors{
        position:absolute;
        bottom:100px;
        right:0px;
        z-index:999;
    }

    footer .red-section {
        position:relative;
        background:#E3171D;
        height:13px;
    }

    #cta-connect-btns {
        position: fixed;
        z-index: 99;
        left: 0;
        height: 0;
        top: 30%;
/*        transform: translateY(-80px);*/
    }

    #cta-connect-btns > ul {
        height: 0;
    }

    #cta-connect-btns li {
        position: relative;
        margin-top: 10px;
        display: flex;
        flex-direction: row;

    }

    #cta-connect-btns .grey-part{
        width:10px;
        height:35px;
        background: #EAEAEA;
        z-index:101;
    }

    #cta-connect-btns a {
        background:var(--brand-red);
        background-repeat: no-repeat;
        background-size: 22px 22px;
        background-position: 13px center;
        cursor: pointer;
        width: 190px;
/*        height:35px;*/
        color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        padding: 8px 0 9px 10px;
        position: absolute;
        left: -155px;
        transition: 0.2s;
        z-index:100;
        font-size:13px;
        position:relative;
    }

    #cta-connect-btns a img {
        position:absolute;
        top:7px;
        right:8px;
        height:20px;
        width:auto;
    }

    #cta-connect-btns a:hover {
        left: 0px;
    }

    /*--------------------------Language Switcher --------------------------*/
    .language-switch {
            cursor: pointer;
            position: relative;
            transition: 0.2s;
    }

    .lang-btn{
        position: relative;
        z-index:100;
    }

    .lang-flag{
        border: 1px solid #fff;
        background: #fff;
        border-radius: 3px;
    }

    .lang-dropdown {
            display: none;
            position: absolute;
            padding: 20px 0 0 0;
            top: 10px;
/*            left: -10px;*/
            z-index: 10;
    }
    .language-switch:hover .lang-dropdown {
            display: block;
    }
    .lang-dropdown-inner {
            background: #fff;
            border-radius: 6px;
            box-shadow: 0 0 20px rgba(0,0,0,0.15);
            padding: 20px 9px 10px 9px;
    }

    .selecting-lang {
            margin: 10px 0 0 0;
            cursor: pointer;
            opacity: 1;
            height: 22px;
            width: 22px;
            box-shadow: 0 0 5px rgba(0,0,0,0.30);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
            -webkit-transition: opacity .2s ease-out;
            -moz-transition: opacity .2s ease-out;
            -o-transition: opacity .2s ease-out;
            transition: opacity .2s ease-out;}
    .lang-dropdown-inner > div:first-child {
            margin-top: 0;
    }
    .selecting-lang:hover {
            opacity: 0.6;
    }

    .filter {
        background:#000;
        height:200px;
        display:flex;
        align-items:center;
        color:#fff;
    }

    .filter .container {
        width:100%;
    }

    .filter__title {
        text-align:center;
        margin:0 0 20px 0;
        color: #fff;
        font-family: Involve;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 114%;
        letter-spacing: 7px;
        text-transform: uppercase;
    }

    .filter__form {
        display:flex;
        flex-wrap:wrap;
        gap:12px;
        justify-content:center;
    }

    .filter__field {
        display:flex;
        flex-direction:column;
    }

    .filter__field label {
        font-size:14px;
        margin-bottom:6px;
        color:#f0f0f0;
    }

    .filter__field input,
    .filter__field select {
        padding:10px 12px;
        border: 1px solid #fff;
        border-radius:9px;
        background:rgba(255,255,255,0.30);
        backdrop-filter:blur(10px);
        color:#fff;
    }

.filter__field select {
    height: 40px;
    line-height: 40px;
}

    .filter__field input::placeholder { color:#ddd; }

    .filter__field select option {
        color: #000;
        background: #fff;
    }

    .filter__btn {
        padding:12px 14px;
        border-radius:9px;
        background:var(--brand-red, #E3141A);
        border:none;
        color:#fff;
        cursor:pointer;
        font-family: Involve-Bold;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        height:37px;
        margin-top:25px;
    }

    .filter__btn.pill{
        text-transform: uppercase;
    }

    .modal-title{
        display: flex;
        flex-direction: column;
        justify-content: start;
        text-align: center;
        margin-bottom: 10px;
    }

    .modal-title .filter__title{
        margin: 0 0 5px 0;
    }

    .modal-title img{
        width:24px;
        height:15px;
        margin: 0 auto;
    }

    /* Home Top */
    .home-top{
        position:relative; isolation:isolate; color:var(--text);
        background:center/cover no-repeat var(--bg, none);
        padding:66px 0 28px;
        margin-top: -35px;
    }
    .home-top__overlay{
        position:absolute; inset:0; z-index:-1;
        background:linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.65) 100%);
    }

    /* Част 1 */
    .home-top__hero{
        display:grid; place-items:center; text-align:center; gap:3px; margin-bottom:22px;
    }
    .home-top__logo{ height:40px; width:auto; }
    .home-top__title{ margin:0; font-family: Bounded; color:#fff; font-size: 40px; font-style: normal; font-weight: 400; text-transform: uppercase; }
    .home-top__subtitle{ margin:0; font-family: Bounded; color:#fff; font-size: 30px; font-style: normal; font-weight: 400; text-transform: uppercase; }

    /* Част 2 – Desktop: 3 в ред */
    .home-top__grid{
        display: grid;
        grid-template-columns: 0 400px 1200px;
        max-width: 1600px;
        width: 100%;
        margin: 20px auto;
    }
    .ht-item, .ht-item-top{
        height: 100%;
        position:relative;
    }
    .ht-item img {
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .ht-item.text {
        background: #000;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding: 30px;
        text-align: left;
    }

    .ht-item.text h3 {
        margin: 5px 0 0 0;
        font-family: Involve;
        font-size: 30px;
        font-style: normal;
        font-weight: 700;
    }

    .ht-item.text p {
        font-size: 16px;
        line-height: 1.5;
        font-family: Involve;
        font-style: normal;
        font-weight: 400;
        margin-top: 5px;
    }

    .ht-item.text p span {
        font-weight: 700;
    }

    .ht-item-center-top p{
        margin: 5px 0;
        text-transform: uppercase;
    }

    .ht-item-center-center{
        /*border-top:1px solid #fff;*/
        /*border-bottom:1px solid #fff;*/
        margin-top: 33px;
        padding: 30px 0px 20px 0;
    }

    .ht-item-center-price{
        margin-top: 30px;
    }

    .ht-item-center-logo{
        margin-top:50px;
    }

    .ht-item-center-logo img{
        height:50px;
        width:auto;
        opacity: 0.4
    }

    /*.ht-item.banner{*/
    /*    border: 3px solid #fff;*/
    /*}*/

    .to-car{
        position:absolute;
        bottom:30px;
        width:180px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center
    }

    .car-status{
        position:absolute;
        color: #fff;
        text-align: left;
        text-shadow: 0 0 7.7px rgba(255, 238, 242, 0.70);
        font-family: Involve;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 114%; /* 27.509px */
        text-transform: uppercase;
        bottom:20px;
        left:25px;
    }

    /* Част 3 – бутон */
    .home-top__cta{ display:grid; place-items:center;text-transform: uppercase; margin-top: 40px; }

    .ht-item-bottom, .swipe{
        display:none;
    }

    /* Focus section */
    .focus-cars, .about-us-short {
        background: #fff;
        padding: 60px 45px;
        text-align: center;
    }

    .focus-header, .about-us-header {
        display: flex;
        flex-direction: column;
        align-items: center;
/*        margin-bottom: 40px;*/
    }

    .focus-header h2, .ul-header h2, .about-us-header h2 {
        margin-top: 15px;
        font-family: Bounded;
        font-size: 32px;
        font-weight: 500;
        font-style:normal;
        color: #050505;
        text-transform: uppercase;
    }

    .focus-cars-row {
        display: flex;
/*        gap: 30px;*/
        justify-content: initial !important;
        flex-direction: row;
    }

    .focus-car-item {
        background: #fff;
        padding: 0px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .focus-cars-swiper .swiper-slide {
        height: auto;          /* да се напасва по съдържание */
        box-sizing: border-box;
    }

    .focus-car-item h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
        text-align: left;
    }

    .focus-car-item .car-image img {
        width: 100%;
/*        border-radius: 10px;*/
        height: auto;
    }

    .car-info {
        display: flex;
        justify-content: space-between;
/*        align-items: flex-start;*/
        margin-top: 11px;
        padding: 10px 0;
        border-top: 1px solid #8E8E8E;
        border-bottom: 1px solid #8E8E8E;
        width: 100%;
        font-family: Involve;
        font-style: normal;
        font-weight: 400;
        line-height: 114%;
    }

    .car-specs {
        text-align: left;
        font-size: 16px;
        color: #050505;
/*        line-height: 1.6;*/
    }

    .car-specs p {
        margin:0 0 10px 0;
    }

    .car-specs span {
        font-weight: 700;
    }

    .car-price {
        color: #E3141A;
        font-weight: 700;
        font-size: 16px;
/*        align-self: center;*/
    }

    .btn-red {
        display: inline-block !important;
        width: auto !important;
        margin-top: 20px;
        border-radius: 10px;
        background: #E3141A;
        color: #FFF;
        font-family: Involve;
        font-size: 20px;
        font-weight: 700;
        padding: 12px 25px;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease;
        text-transform: uppercase;
        font-style: normal;
        max-width: none;
        align-self: center;
    }

    .btn-red:hover {
        background: #c30f14;
    }

    .focus-cars-swiper .swiper-button-prev,
    .focus-cars-swiper .swiper-button-next {
        width: 30px; height: 30px;
    }
    .focus-cars-swiper .swiper-button-prev img,
    .focus-cars-swiper .swiper-button-next img {
        width: 100%; height: 100%;
    }
    .focus-cars-swiper .swiper-button-prev::after,
    .focus-cars-swiper .swiper-button-next::after {
        display: none;
    }

    @media (max-width: 600px) {
        .focus-cars-swiper .swiper-slide {
            width: 100% !important;   /* ключовото */
            max-width: none !important;
            flex: 0 0 100% !important; /* подсигуряване */
        }
    }

    /* Центриран бутон най-отдолу */
    .focus-footer {
        margin-top: 40px;
    }

    .btn-see-all {
        font-size: 18px;
        padding: 14px 30px;
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }

    .focus-footer .btn-red:hover{
        background: #E3141A !important;
        color: #FFF !important;
        border:  1px solid #E3141A;
    }

    /* Useful links */
    /* Секция – бял фон */
    .useful-links{
        background:#fff;
        padding: 50px 0px 0px 0px;
        color:#050505;
    }

    /* Заглавна част */
    .ul-header{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
/*        gap:14px; */
        margin-bottom:28px;
    }
    .ul-logo{ height:38px; width:auto; }

/* Черна вътрешна зона */
    .ul-body{
        background:#000;
        margin-top: 100px;
        padding: 0px;
        position: relative;
        overflow: visible; /* да може да „стърчи“ нагоре */
    }

    /* Грид с 4 карти; изтегляме целия грид нагоре с ~30px */
    .ul-grid{
        display:flex;
/*        grid-template-columns: repeat(4, minmax(260px, 395px));*/
/*        justify-content: center;*/
/*        gap: 25px;*/
/*        transform: translateY(-100px) !important;*/
        justify-content: initial !important;
        flex-direction: row;
    }

    .ul-card-wrap{
        position: relative;
        display: inline-block;
        margin-top: -100px;
        padding-bottom: 100px;
    }

    /* Картата (линк) */
    .ul-card{
        position:relative;
        display:block;
        width: 100%;
        height:auto;
        aspect-ratio: 395 / 580;
/*        max-width: 395px;*/
        overflow:hidden;
        color:#fff;
        text-decoration:none;
        box-shadow: 0 12px 28px rgba(0,0,0,.35);
        background:#111;
    }

    .ul-card-wrap::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 15px;
        height: 80px;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 17.71%, rgba(179, 170, 170, 0.40) 89.58%);
    }

    /* Картинка вътре */
    .ul-card img{
/*        position:absolute;*/
        width:100%;
        height:100%;
        object-fit:cover;
        transition: transform .35s ease, opacity .35s ease;
    }

    /* Стрелка горе вдясно (10px отстояние) */
    .ul-arrow{
        position:absolute; top:10px; right:10px;
        display:inline-flex; align-items:center; justify-content:center;
        width:36px; height:36px; border-radius:999px;
        background:rgba(0,0,0,.45);
        backdrop-filter: blur(4px);
        transition: transform .25s ease, background .25s ease;
    }

    /* Заглавие долу центрирано */
    .ul-title{
        position:absolute; left:50%; bottom:71px; transform: translateX(-50%);
        font-family: Involve; font-weight:400; font-size:25px; text-align:center;font-style: normal;
        text-transform: uppercase;
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.40);
    }

    /* Hover */
    .ul-card:hover img{ transform: scale(1.04); }
    .ul-card:hover .ul-arrow{ transform: translateY(-2px); background: rgba(0,0,0,.65); }

    .useful-swiper .ul-grid{
        display: flex;     /* Swiper така или иначе слага flex; това е за съвместимост */
        gap: 0;            /* разстоянието ще идва от spaceBetween */
        overflow: visible !important; /* за да не се реже сянката ::after от .ul-card-wrap */
    }

    .useful-swiper {
        overflow-y: visible !important;
        position: relative;
        padding: 0 200px !important;
    }
    .useful-swiper .swiper-wrapper{ overflow: visible; }
    .useful-swiper .swiper-slide{ height: auto; box-sizing: border-box;} /* за да расте според съдържанието */


    /* по желание: стил на стрелките да са видими */
    .useful-swiper .swiper-button-prev,
    .useful-swiper .swiper-button-next{
        color:#fff;
        text-shadow:0 2px 6px rgba(0,0,0,.35);
    }

    /* Респонсив настройки */
    @media (max-width: 1600px) {
        .useful-swiper { padding: 0 80px !important; }
    }
    @media (max-width: 1280px){
/*        .ul-grid{ grid-template-columns: repeat(3, minmax(240px, 360px)); }*/
        .useful-swiper { padding: 0 60px !important; }
    }
    @media (max-width: 980px){
/*        .ul-grid{ grid-template-columns: repeat(2, minmax(340px, 340px)); }*/
        .useful-swiper { padding: 0 100px !important; }
    }
    @media (max-width: 600px){
        .useful-links{ padding: 40px 0px 0px; }
        .ul-body{ padding: 0px 18px 28px; }
        .ul-grid{
/*            grid-template-columns: repeat(1, minmax(340px, 340px));*/
/*            gap:18px;*/
/*            transform: translateY(-40px) !important;*/
        }
        .ul-title{ bottom:10px; font-size:16px; }
        .ul-arrow{ width:32px; height:32px; }
        .useful-swiper { padding: 0 100px !important; }
        .useful-swiper .swiper-slide {
            width: 100% !important;   /* ключовото */
            max-width: none !important;
/*            flex: 0 0 100% !important;  подсигуряване   */
        }

        .ul-body {
            margin-top: 50px;
        }

        .ul-card-wrap{
            position: relative;
            display: inline-block;
            margin-top: -45px;
            padding-bottom: 45px;
        }

        .ul-card-wrap::after {
            bottom: 0px;
            height: 40px;
        }

    }

    /* Reviews */
    /* Бял фон + заглавна част (както предходните секции) */
    .reviews { background:#fff; padding:60px 20px; color:#050505;   border-bottom: 1px solid #8E8E8E; }

    .section-header{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; margin-bottom:24px; }
    .section-logo{ width:auto; height:38px; }
    .section-title{
        margin:0;
        font-family:Bounded;
        font-size:32px;
        font-style: normal;
        font-weight: 400;
        text-transform: uppercase;
    }

    /* Viewport + Track (scroll-snap за swipe) */
    .reviews-viewport{
        position: relative;
        /*overflow-x: auto;*/
        /*scroll-snap-type: x mandatory;*/
        /*-webkit-overflow-scrolling: touch;*/
        padding: 10px 0; /* малко въздух над/под */
        /* маска за омекотени краища – по желание */
        mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
        padding-bottom: 40px !important;
        /*overflow: visible !important;*/
    }
    /*.reviews-viewport::-webkit-scrollbar{ display:none; }*/
    /*.reviews-track{*/
    /*    display: flex;*/
    /*    gap: 28px;*/
    /*    padding: 0 200px;*/
    /*}*/

    /* Слайд: центриран, с max 1000x360, snap в центъра */
    .review-slide{
        flex: 0 0 auto;
        width: 80%;        /* да остава място за следващия */
        max-width: 800px;  /* ограничение */
        transition: transform .25s ease, opacity .25s ease;
        position: relative;
        overflow: visible;
        isolation: isolate;      /* създава собствен stacking context */
        z-index: 1;
    }


    /* Карта вътре: ляво (текст) + дясно (снимка 390px) */
    .review-card{
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr 390px;
        grid-template-areas: "left right";
        gap: 0;
        width: 100%;
        max-width: 800px;
        max-height: 360px;
        background:#fff;
        border:1px solid rgba(0,0,0,.08);

        transition: transform .25s ease, opacity .25s ease;
        overflow: hidden;
    }

.review-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -41px;
    height: 40px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, rgba(228, 225, 225, 0.40) 100%);
}

    /* Акцент/дим за активен/неактивни */
    .review-slide { opacity:.5; transform: scale(.96); }
    .review-slide.is-active { opacity:1; transform: scale(1); }

    /* Лява част – вертикален стек */
    .review-left{
        padding:80px 40px 80px 80px;
        display:flex; flex-direction:column; gap:8px;
        min-width: 0; /* за текстови преливания */
    }
    .rev-title{
        margin:0;
        font-size:28px;
        font-weight:700;
        font-style: normal;
        text-transform: uppercase;
    }
    .rev-sub{
        margin:0;
        color:#9F9F9F;
        font-size:20px;
        font-weight:700;
        font-style: normal;
        text-transform: uppercase;
    }
    .rev-text{
        margin:6px 0 8px;
        line-height:1.45;
        color:#000;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
    }
    .rev-stars{ margin-top:auto; font-size:18px; color:#E3141A; }

    /* Дясна част – снимка 390px широка */
    .review-right{
        width:auto; height:100%;
        display:block; background:#000;
    }
    .review-right img{ width:100%; height:100%; object-fit:cover; display:block; }

    .review-left  { grid-area:left; }
    .review-right { grid-area:right; }

    #reviewsViewport .swiper-wrapper { align-items: stretch; }
    #reviewsViewport .swiper-slide   { height:auto; display:flex; }

    #reviewsViewport2 .swiper-button-prev::after,
    #reviewsViewport2 .swiper-button-next::after {
        display: none;
    }

@media (min-width: 1024px) {
    #reviewsViewport2 .swiper-button-prev {
        left: 80px;   /* по-близо до центъра */
    }
    #reviewsViewport2 .swiper-button-next {
        right: 80px;  /* по-близо до центъра */
    }
}

    /* Адаптивност */
    @media (max-width: 1100px){
        .review-card{ grid-template-columns: 1fr 320px; }
        .review-right{ width:320px; height:320px; }
    }
    @media (max-width: 820px){
        .review-card{ grid-template-columns: 1fr; max-height:none; }
        .review-right{ width:100%; height: 220px; }
    }

    /* Filter mobile */
    #filter-mobile{
        display:none;
    }

    #close-search {
        position:absolute;
        top:20px;
        right:20px;
        cursor:pointer;
    }

    #filter-mobile.show{
        display: block;
        position:absolute;
        top:84px;
        left: 0;
        right: 0;
        z-index: 100;
    }

    #brand-strip.hide{
        display: none;
    }

    /* Responsive styles */
    @media (max-width: 1920px) {
        footer .white-section .left-text{
            font-size:50px;
        }

        footer .black-section .menu-row{font-size:16px;}

        .footer-auto{
            width:330px;
            right:220px;
        }

        .footer-sf-motors{
            width:500px;
        }

        .focus-header h2, .ul-header h2, .about-us-header h2, .reviews h2, .car-review h2 {
            font-size: 25px;
        }

        .review-slide {
            width: min(800px, 92vw);
        }

        .review-left {
            padding: 40px 40px 40px 40px;
        }

        .rev-title {
            font-size: 20px;
        }

        .rev-sub {
            font-size: 16px;
        }

    }

    @media (max-width: 1640px) {

        .home-top__grid{
            max-width:1120px;
            width:auto;
            grid-template-columns: 0 248px 888px; /* ~70% от 1600 */
        }
        .ht-item, .ht-item-top{ height: 400px; }

        .ht-item.text {
            padding: 15px;
        }

        .ht-item.text h3 {
            font-size: 20px;
            font-style: normal;
            font-weight: 500;
        }

        .ht-item.text p {
            font-size: 14px;
        }

        .ht-item.text p span {
            font-weight: 600;
        }

        .ht-item-center-center{
            margin-top: 21px;
            padding: 20px 0px 13px 0;
        }

        .ht-item-center-price{
            margin-top: 20px;
        }

        .ht-item-center-logo{
            margin-top:35px;
        }

        .ht-item-center-logo img{
            height:35px;
        }

        .footer-auto, .footer-sf-motors{
            display: none;
        }

    }

    @media (max-width: 1550px) {
        .nav__links {
            gap: 15px;
        }
    }
    @media (max-width: 1190px) {

        .hamburger {display:flex;}
        .mobile-nav.show {display:flex;}

        .nav {
            grid-template-columns: auto 1fr;
            grid-template-areas:
                "left right"
                "center center";
        }

        .nav .left-nav, .nav .right-nav{
            margin-top: 10px;
        }

        .nav .center-nav{
            min-width:0;            /* позволява overflow вътре в грида */
            overflow-x:auto;        /* хоризонтален скрол */
            white-space:nowrap;     /* един ред */
            display:none;
            flex-wrap:nowrap;       /* без пренасяне */
            justify-content:flex-start; /* да тръгват отляво */
            -webkit-overflow-scrolling:touch;
            scrollbar-width:none;
/*            margin-bottom: 10px;*/
        }

        .brand-strip {
            display:none;
        }

        .brand img {
            padding-left: 20px;
        }

        .filter__btn{
            margin-top:5px;
        }

        .ht-item.text{
           display:none;
        }

        .home-top{ padding: 50px 0; }
        .home-top__grid{
            max-width:none;
            width:auto;
            margin: 0 10%;                           /* ~10% отстояние ляво/дясно */
            grid-template-columns: 1fr 1fr;          /* 50% / 50% */
            grid-template-areas:
                "img  banner"
                "text banner";
            gap: 16px;                               /* малка междина, махни ако искаш „долепени“ */
        }
        .ht-img   { grid-area: img;  height: auto; min-height: 260px; }
        .ht-text  { grid-area: text; height: auto; min-height: 260px; }
        .ht-banner{ grid-area: banner; height: 100%; }

        .ht-item-top { height:60%; width:100%; }
        .ht-item-top img { width:100%; }
        .ht-item-bottom{
            display:flex;
            flex-direction: column;
            background: #000;
            padding: 20px;
        }

        .ht-item-bottom-row{
            display:flex;
            flex-direction: row;
            color: #fff;
        }

        .ht-item-bottom-row h3{
            margin:0;
        }

        .ht-item-bottom-row img{
            height:16px;
            width:auto;
        }

        .ht-item-center-logo, .ht-item-center-price {
            align-self: flex-end;
            margin-left: auto;
            padding-bottom: 10px;
        }

        .ht-item-center-center {
            margin-top: 10px;
            padding: 0;
            border: 0;
        }

        .ht-item-center-center p {
            margin-top: 0px;
            margin-bottom: 3px;
            font-size: 12px;
        }

        .ht-item-center-price {
            padding-bottom: 5px;
        }

        .ht-item-center-price p{
            margin-top: 0px;
            margin-bottom: 0px;
            font-size: 14px;
        }

        .row-1{
            border-bottom: 1px solid #fff;
        }

        .car-status{
            font-size: 15px;
        }

        .home-top__title {
            font-size: 30px;
        }

        .home-top__subtitle {
            font-size: 25px;
        }

        .home-top__cta {
            margin-top: 20px;
        }

        .week_desktop{
            display: none !important;
        }

        .week_mobile{
            display: block !important;
        }

    }
    @media (max-width: 1024px) {
        .filter__btn {
            margin-top: 25px;
        }
        .filter .container{
            padding: 0 30px;
        }
    }
    @media (max-width: 890px) {
        .home-top__grid{
            overflow: hidden;
            scroll-snap-type: x mandatory;
            gap: 0;
            padding-bottom: 8px;
            max-width:400px;
            width:auto;
            margin: 0 auto;
        }

        .home-top__grid{
            grid-template-columns: 100% 100%;
            grid-template-rows: auto auto;
            grid-template-areas:
                "banner img";
            grid-auto-flow: row dense;
        }

        .banner { grid-area: banner; }

        .home-top__grid .ht-item{
            scroll-snap-align: start;
            flex: 0 0 100%;
        }


        .swipe{
            display:block;
            width:100%;
            margin: 10px auto;
            text-align: center;
            color:#fff;
            font-family: Involve;
            font-size: 12px;
            font-style: normal;
            letter-spacing: 3px;
        }

    }
    @media (max-width: 768px) {
        .pill { padding:8px 10px; font-size:14px; }
        .icon-btn { width:36px; height:36px; }
        .brand-strip__row img { height:20px; }

        .filter{
            display:none;
        }

        #filter-mobile.show .filter{
            display:block;
            height:auto;
        }

        .filter .container {
            padding: 20px 0px;
            width: auto;
        }

        .filter__title {
            letter-spacing: 2px;
        }

        .filter__field {
            width: 170px;
        }

        footer .white-section {
            display:none;
        }
    }

    @media (max-width: 680px) {
        .contact-row{
            height:auto !important;;
            padding: 10px 0;
        }

        .contact-row div {
            margin-top: 0px !important;;
        }
        .two-numbers{
            display: flex;
            flex-direction: column;
            gap:10px;
        }

        .two-numbers a{
            height:inherit !important;
        }

        footer .black-section .social-row .icons {
            gap: 50px;
        }

        .review-left {
            padding: 20px 10px;
        }
    }

    @media (max-width: 580px) {

        .nav {
            gap:10px;
        }

        .nav.hide {
            height:57.5px;
        }

        .nav .center-nav{
            display:flex;
        }
        .brand-strip.show {
            display:block;
        }

        .nav .center-nav.hide{
            display:none;

        }

        .mob-actions-row.hide{
            background: #000;
        }

        #cta-connect-btns.hide{
            display:none;
        }

        .brand img {
            height: 30px;
        }

        .actions {
            padding-right: 25px;
        }

        .nav .center-nav {
            margin-bottom: 10px;
            padding-left: 10px;
        }

        .home-top__title {
            font-size: 20px;
        }

        .home-top__subtitle {
            font-size: 16px;
        }

        .focus-header h2, .ul-header h2, .about-us-header h2, .reviews h2, .car-review h2 {
            font-size: 20px;
        }

        footer .black-section .menu-row {
            font-size: 14px;
            gap:20px;
            height:40px;
        }

        footer .black-section .contact-row a{
            font-size: 18px;
        }

        footer .black-section .social-row {
            height: 100px;
            gap:10px;
        }

        .review-actions {
            margin-bottom: 40px !important;
            margin-top: 0px !important;
        }

        .car-review .section-header {
            padding-bottom: 0px !important;

        }

        .red-columns{
            display:none;
        }

        footer .white-section .center-content img {
            max-height: 30px;
        }

        footer .white-section {
            height: 250px;
        }

        footer .white-section .left-text {
            font-size: 25px;
            bottom:10px;
            left:10px;
        }

        footer .white-section .center-content a {
            font-size: 16px;
        }

        .about-us-content-left h3 {
            font-size: 16px !important;
            padding: 10px !important;
        }

        .about-us-content-left p {
            font-size: 16px !important;
            margin: 0 0 20px 0 !important;
            padding: 10px !important;
        }

        .red-columns-about, .about-us-content-phones{
            display:none !important;
        }

        .about-us-content-right-top {
            flex-direction: column !important;
            font-size: 18px !important;
            justify-content: center !important;
            gap:15px !important;
        }

        .about-us-content-right-top ul {
            margin-left: 0px !important;
            justify-content: center !important;
            gap:15px;
        }

        .about-us-short {
            padding: 40px 0px !important;
        }

        .about-us-content-left, .about-us-content-right {
            max-width: none !important;
            width:100%;
            text-align: center !important;
            justify-content: center !important;
        }

        .about-us-content-left a.pill {
            align-self: center !important;
        }

        .focus-cars, .about-us-short {
            padding: 60px 10px;
            text-align: center;
        }

        .about-us-short .about-us-content-left{
            padding: 10px !important;
        }

        .focus-car-item h3 {
            margin-top: 0px;
        }

        .btn-red {
            font-size: 18px;
            padding: 10px 20px;
        }

        .focus-footer {
            margin-top: 0px;
        }

        /*Review*/
        .review-card{
            grid-template-columns: 1fr;
            grid-template-areas:
            "right"
            "left";
            max-height:none;
            gap:0;
        }

        .review-left{ padding:20px; text-align:center; }

        .review-slide {
            opacity: 1;
            transform: scale(1);
        }

        .reviews-viewport {
            mask-image: inherit;
        }

        #reviewsViewport .swiper-slide{
            width:100% !important;
            flex:0 0 100% !important;
            height:auto;
            transform:none !important;     /* маха всякакви scale/translate за активни/съседни */
            opacity:1 !important;          /* всички еднаква непрозрачност */
        }

        .review-left  { grid-area:left;  padding:16px 16px 20px; text-align:center; }



        .review-card{
            display:grid;
            grid-template-columns:1fr;
            grid-template-areas:
            "right" "left";
            max-height:none;
            gap:0;
        }
        .review-left  { grid-area:left;  padding:16px 16px 20px !important; text-align:center; }

        .rev-title{ margin:0 0 4px; font-size:22px; }
        .rev-sub  { margin:0 0 8px; font-size:16px; color:#9F9F9F; }
        .rev-text { margin:0 0 12px; font-size:16px; line-height:1.45; }
        .rev-stars{ margin-top:0; font-size:18px; }

        .review-slide, .review-card, .review-left, .review-right,
        .rev-title, .rev-sub, .rev-text, .rev-stars { box-sizing:border-box; }

        .review-slide.is-active .review-left { padding:16px 16px 20px !important; }

        #reviewsViewport .review-slide,
        #reviewsViewport .review-slide.swiper-slide-active,
        #reviewsViewport .swiper-slide-prev,
        #reviewsViewport .swiper-slide-next{
            width:100% !important;
            flex:0 0 100% !important;
            height:auto !important;
            transform:none !important;   /* 🔑 премахва scale/translate разлики */
            opacity:1 !important;        /* 🔑 еднаква непрозрачност */
        }

        .reviews-track {
            gap: 0px;
            padding: 0px;
        }
    }

    @media (max-width: 500px) {
        .pill { font-size:13px; }
        .icon-btn img { width:16px; height:16px; }
        .actions {
            padding-right: 10px;
        }
        .brand img {
            padding-left: 10px;
        }
        .brand img {
            height: 25px;
        }

        .section-logo, .focus-logo, .ul-logo{
            height:20px;
        }
    }

    @media (max-width: 430px) {
        #phone{
            display:none;
        }

        .nav {
            gap: 5px;
        }

        .actions {
            gap: 5px;
        }

        .filter__btn {
            margin-top: 15px;
        }
    }

    @media (max-width: 390px) {
        footer .black-section .menu-row {
            height: auto;
            padding: 10px 0;
            gap:10px;
        }
    }

.about-page__logo{text-align:center;padding-top: 30px;margin-bottom: 20px;}
.about-page__logo img{inline-size:min(50vw,220px);height:auto;margin-inline:auto}

/* Контейнер на формата */
.contact-form-container {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 400px;
    max-width: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

/* Показване на формата */
.contact-form-container.active {
    transform: translateX(0);
}

/* Бутон за затваряне (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

/* Стил на формата */
.contact-form-container h2 {
    margin: 0 0 20px;
}

.contact-form-container label {
    display: block;
    margin: 10px 0 5px;
    font-size: 14px;
    font-weight: bold;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form-container button.submit-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #003049;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}


.form-status { margin: 10px 0 15px; padding: 10px; border-radius: 6px; }
.form-status.info { background:#eef; }
.form-status.success { background:#e8f7e8; }
.form-status.error { background:#fdeaea; }

.error { color:#d33; display:block; margin-top:4px; }
.is-invalid { border-color:#d33; }

#submitBtn[disabled] { opacity:.7; cursor:not-allowed; }

@media (max-width: 400px) {
    .contact-form-container {
        width: 100%;
    }
}

.top-normal{
    margin-top:0px !important;
}

@keyframes slideInLogo {
    from {
        transform: translateX(100%);
        opacity: 0.1;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

img.slide-logo {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}

.slide-logo.visible {
    transform: translateX(0);
    opacity: 1;
}

.sf-videos-section {
    padding-top: 40px;
    padding-bottom: 40px;
    /* центриране и динамични отстояния */
    margin-left: auto;
    margin-right: auto;
    max-width: 1920px;
}

@media (max-width: 1920px) {
    .sf-videos-section { padding-left: 200px; padding-right: 200px; }
}
@media (max-width: 1280px) {
    .sf-videos-section { padding-left: 100px; padding-right: 100px; }
}
@media (max-width: 768px) {
    .sf-videos-section { padding-left: 50px; padding-right: 50px; }
}
@media (max-width: 767px) {
    .sf-videos-section { padding-left: 20px; padding-right: 20px; }
}

.sf-videos-slider {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Голямо видео + заглавие + стрелки */
.sf-main-video {
    display: flex;
    flex-direction: column;
}

.sf-main-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.sf-main-title {
    margin: 10px 0;
}

/* Общ wrapper за видео с 16:9 съотношение */
.sf-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.sf-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Дясната колона */
.sf-side-videos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sf-side-video {
    display: flex;
    flex-direction: column;
}

.sf-side-title {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Стрелки */
/*.sf-main-arrows {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*}*/

/*.sf-arrow {*/
/*    border: none;*/
/*    padding: 6px 10px;*/
/*    cursor: pointer;*/
/*    font-size: 0.9rem;*/
/*    color: #fff;*/
/*    opacity: 0.9;*/
/*    transition: opacity 0.2s, transform 0.15s;*/
/*}*/

.sf-arrow:hover:not(.sf-arrow-disabled) {
    opacity: 1;
    transform: translateY(-1px);
}

.sf-arrow-disabled {
    opacity: 0.3;
    cursor: default;
}

/* Респонсив за мобилни */
@media (max-width: 1024px) {
    .sf-videos-slider {
        grid-template-columns: 1fr;
    }

    .sf-side-videos {
        flex-direction: row;
        gap: 12px;
    }

    .sf-side-video {
        flex: 1;
    }

    .sf-side-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .sf-side-videos {
        display: none;
    }

    /* Центрираме голямото видео */
    .sf-videos-slider {
        grid-template-columns: 1fr;
    }
}

/* основният iframe контейнер */
.sf-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

/* бутоните позиционирани върху видеото */
.sf-main-arrows {
    /*position: absolute;*/
    /*bottom: 12px;*/
    /*right: 12px;*/
    /*display: flex;*/
    gap: 8px;
    z-index: 2;
    text-align: right;
}

.sf-arrow {
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #fff;
    background: transparent;
}

.sf-arrow:hover:not(.sf-arrow-disabled) {
    opacity: 1;
}

.sf-arrow-disabled {
    opacity: 0.4;
    cursor: default;
}

.to-car{
    text-transform: uppercase;
}

.week_mobile{
    display: none !important;
}

.ht-item-center-top{
    text-align: center !important;
    margin: 0 auto;
}

.ht-item-center-top img{
    width: 110px;
    height: auto;
    margin: 0 auto;
}

.ht-item-center-top h3{
    font-size: 18px !important;
    font-family: Bounded !important;
    font-weight: normal !important;
    text-align: center;
}

.ht-item-center-center {
    text-align: center;
}

.ht-item-center-logo {
    margin-top: 30px;
}

.ht-item-center-logo img {
    height: 45px;
    width: auto;
    opacity: 0.4;
    margin: 0 auto;
}

@media (max-width: 1640px) {
    .ht-item .ht-item-center-logo{
        display: none !important;
    }

    .ht-item-center-top h3 {
        font-size: 16px !important;
    }

}

@media (max-width: 1190px) {
    .week_mobile{
        display: flex !important;
    }

    .ht-item .ht-item-center-logo{
        display: block !important;
    }

    .ht-item-center-logo img {
        height: 16px;
        width: auto;
    }

    .ht-item-center-top{
        text-align: left !important;
    }

    .ht-item-center-top h3 {
        text-align: left !important;
    }

    .ht-item-center-center {
        text-align: left !important;
    }
}

.week-price {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #9AEFA7;
}

.week-price span {
    color: #fff;
    text-transform: uppercase;
}

.week-price-mobile{
    font-size: 16px !important;
    font-weight: bold !important;
    color: #9AEFA7;
}

.week-price-mobile span {
    color: #fff;
    text-transform: uppercase;
}




