:root{--red:#d8242a;--dark:#101828;--muted:#667085;--soft:#f6f7f9;--line:#e7e8ec;--wa:#18b653}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--dark);background:#fff;padding-bottom:0}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}
.topbar{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 2px 14px #00000018}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo img{width:155px;height:auto}
.menu{display:flex;align-items:center;gap:30px;font-weight:600}
.menu a:hover,.menu a.active{color:var(--red)}
.btn{display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:13px 22px;font-weight:700;border:1px solid transparent}
.btn-red{background:var(--red);color:#fff}
.btn-outline{border-color:var(--red);color:var(--red);background:#fff}
.btn-wa{background:var(--wa);color:#fff}
.hamb{display:none;border:0;background:transparent;color:var(--red);font-size:30px}

.hero{background:linear-gradient(105deg,#121926 0%,#202b3d 42%,#fff0 42%),url('../img/sales-didien-card.jpg') center right/cover no-repeat;min-height:620px;display:flex;align-items:center;position:relative}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#00000075,#00000025,#00000008)}
.hero-content{position:relative;z-index:2;color:#fff;max-width:620px;padding:80px 0}
.eyebrow{display:inline-block;background:#ffffff24;border:1px solid #ffffff55;padding:8px 14px;border-radius:99px;margin-bottom:18px}
.hero h1{font-size:54px;line-height:1.05;margin:0 0 18px}
.hero p{font-size:19px;line-height:1.7;margin:0 0 28px;color:#f4f6f8}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}

.hero-slider{position:relative;width:100%;height:620px;overflow:hidden;margin-top:0;background:#f5f5f5}
.hero-slider .slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease}
.hero-slider .slide.active{opacity:1;visibility:visible}
.hero-slider .slide img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:none;background:rgba(0,0,0,.35);color:#fff;font-size:34px;line-height:1;cursor:pointer;z-index:5}
.slider-btn.prev{left:24px}
.slider-btn.next{right:24px}
.slider-btn:hover{background:rgba(215,25,32,.9)}
.slider-dots{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:8px;z-index:5}
.slider-dots .dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.6)}
.slider-dots .dot.active{background:#d71920}

.section{padding:70px 0}
.section.soft{background:var(--soft)}
.title{text-align:center;margin-bottom:34px}
.title h2{font-size:36px;margin:0 0 10px}
.title p{color:var(--muted);margin:0;font-size:17px}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 8px 30px #1018280b}
.card-img{height:220px;position:relative;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.badge{position:absolute;right:14px;bottom:14px;border:1px solid #fff;color:#fff;background:#00000028;border-radius:99px;padding:7px 16px;font-size:15px}
.card-body{padding:22px}
.car-row{display:flex;justify-content:space-between;gap:14px}
.car-name{background:var(--red);color:#fff;border-radius:99px;padding:10px 18px;font-weight:700;align-self:flex-start}
.spec{color:#4b5565;line-height:1.9;font-size:15px}
.spec b{color:var(--red);font-size:21px;margin-right:8px}
.price-row{border-top:1px solid var(--line);margin-top:14px;padding-top:18px;display:flex;align-items:center;justify-content:space-between}
.price{font-size:26px;font-weight:800}
.arrow{width:54px;height:38px;border:1px solid var(--red);border-radius:999px;display:grid;place-items:center;font-size:24px;color:var(--dark)}
.about{display:grid;grid-template-columns:.85fr 1.15fr;gap:44px;align-items:center}
.about-img img{width:100%;max-height:620px;object-fit:cover;border-radius:22px;box-shadow:0 20px 50px #10182820}
.about h2{font-size:36px;margin:0 0 15px}
.about p{color:#606b80;line-height:1.75}
.contact-card{background:var(--red);color:#fff;border-radius:20px;padding:28px;margin-top:24px;max-width:520px}
.contact-card h3{font-size:30px;margin:0 0 16px;border-bottom:1px solid #ffffff80;padding-bottom:14px}
.contact-card div{margin:10px 0}
.promo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.promo{background:#fff;border-radius:18px;border:1px solid var(--line);padding:24px;text-align:center}
.promo .ico{font-size:38px}
.gallery{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:18px}
.gallery-intro{background:#fff;border-radius:18px;padding:28px}
.gallery-intro h2{font-size:30px;margin:0 0 15px}
.gallery-item{background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--line)}
.gallery-item img{width:100%;height:220px;object-fit:cover;display:block}
.gallery-item div{padding:15px}
.footer-cta{background:var(--red);padding:26px 0;color:#fff}
.footer-flex{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.copyright{text-align:center;padding:18px;color:#667085}
.bottom-nav{display:none}

/* HAPUS/MATIKAN FLOATING LAMA */
.floating-wa,.mobile-floating,.mobile-wa{display:none !important}

/* FLOATING FINAL */
.floating-action{position:fixed !important;right:20px !important;bottom:30px !important;display:flex !important;flex-direction:column !important;gap:12px !important;z-index:999999 !important}
.floating-whatsapp,.floating-top{width:58px !important;height:58px !important;min-width:58px !important;min-height:58px !important;max-width:58px !important;max-height:58px !important;border-radius:50% !important;display:flex !important;align-items:center !important;justify-content:center !important;border:none !important;outline:none !important;text-decoration:none !important;box-shadow:0 6px 18px rgba(0,0,0,.25) !important;padding:0 !important;margin:0 !important;line-height:1 !important}
.floating-whatsapp{background:#25D366 !important;color:#fff !important;font-size:34px !important}
.floating-whatsapp i{line-height:1 !important}
.floating-top{background:#d71920 !important;color:#fff !important;font-size:28px !important;font-weight:700 !important;cursor:pointer !important;opacity:0 !important;visibility:hidden !important;transform:translateY(8px);transition:.25s ease;appearance:none !important;-webkit-appearance:none !important}
.floating-top.show{opacity:1 !important;visibility:visible !important;transform:translateY(0)}

@media(max-width:900px){
body{padding-bottom:86px}
.container{width:94%}
.nav{height:74px}
.logo img{width:106px}
.menu{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;box-shadow:0 12px 30px #0002;padding:16px 24px;flex-direction:column;align-items:flex-start}
.menu.open{display:flex}
.hamb{display:block}
.nav .btn{padding:12px 17px}
.hero{min-height:520px;background:linear-gradient(180deg,#00000060,#00000070),url('../img/sales-didien-card.jpg') center/cover no-repeat}
.hero h1{font-size:37px}
.hero p{font-size:16px}
.section{padding:48px 0}
.product-grid{grid-template-columns:1fr;gap:26px}
.card{border-radius:10px}
.card-img{height:240px}
.card-body{padding:22px 28px 18px}
.car-row{align-items:flex-start}
.car-name{font-size:20px;padding:12px 22px}
.spec{font-size:18px}
.price{font-size:28px}
.about{grid-template-columns:1fr}
.about-img img{max-height:560px}
.promo-grid{grid-template-columns:1fr 1fr}
.gallery{grid-template-columns:1fr}
.gallery-item img{height:290px}
.footer-cta{display:none}
.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;background:var(--red);color:#fff;z-index:80;border-radius:12px 12px 0 0;box-shadow:0 -8px 22px #0002}
.bottom-nav a{height:76px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font-size:14px}
.bottom-nav span{font-size:25px}
.title h2,.about h2{font-size:30px}
}

@media(max-width:768px){
.hero-slider{height:240px !important;margin-top:0}
.hero-slider .slide img{object-fit:cover;object-position:center}
.slider-btn{width:34px;height:34px;font-size:26px}
.slider-btn.prev{left:10px}
.slider-btn.next{right:10px}
.slider-dots{bottom:12px}
.floating-action{right:15px !important;bottom:92px !important}
.floating-whatsapp,.floating-top{width:52px !important;height:52px !important;min-width:52px !important;min-height:52px !important;max-width:52px !important;max-height:52px !important}
.floating-whatsapp{font-size:30px !important}
.floating-top{font-size:24px !important}
}

@media(max-width:480px){
.nav .btn{font-size:14px;padding:11px 14px}
.hero{min-height:490px}
.hero h1{font-size:32px}
.hero-content{padding:54px 0}
.card-img{height:230px}
.promo-grid{grid-template-columns:1fr}
.price{font-size:26px}
.spec{font-size:16px}
.gallery-item img{height:245px}
.hero-slider{height:220px !important}
}

/* === FIX MOBILE INDEX FINAL === */
@media(max-width:768px){

    html, body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    .container{
        width:100%;
        max-width:100%;
        padding-left:14px;
        padding-right:14px;
    }

    .topbar{
        width:100%;
    }

    .nav{
        width:100%;
        height:58px;
        padding:0 10px;
    }

    .logo img{
        width:95px;
    }

    .nav .btn{
        font-size:10px;
        padding:8px 10px;
    }

    .hamb{
        display:block;
        font-size:22px;
    }

    .menu{
        display:none;
        position:absolute;
        top:58px;
        left:0;
        width:180px;
        background:#fff;
        padding:12px;
        z-index:999;
        box-shadow:0 8px 20px rgba(0,0,0,.15);
    }

    .menu.open{
        display:flex;
    }

    .menu a{
        font-size:13px;
        padding:7px 0;
    }

    .hero-slider{
        width:100%;
        height:230px !important;
        overflow:hidden;
        position:relative;
    }

    .hero-slider .slide{
        position:absolute !important;
        inset:0 !important;
        width:100%;
        height:100%;
        display:block;
        opacity:0;
        visibility:hidden;
    }

    .hero-slider .slide.active{
        opacity:1;
        visibility:visible;
    }

    .hero-slider .slide img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center;
        display:block;
    }

    .product-grid{
        grid-template-columns:1fr !important;
        width:100%;
    }

    .card{
        width:100%;
    }

    .section{
        padding:36px 0;
    }

    .title h2{
        font-size:24px;
    }

    .title p{
        font-size:13px;
    }

    .floating-action{
        position:fixed !important;
        right:14px !important;
        bottom:88px !important;
        z-index:999999 !important;
    }
}
