@charset "UTF-8"; 

/* =========================================
   FONT MAZDA <!-- بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ -->
   ========================================= */
@font-face { font-family: 'MazdaType'; src: url('MazdaType-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'MazdaType'; src: url('MazdaType-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'MazdaType'; src: url('MazdaType-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'MazdaType'; src: url('MazdaType-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; }

/* =========================================
   VARIABLES
   ========================================= */
:root {
    --red: #960018;
    --red-dark: #6e0011;
    --red-glow: rgba(150,0,24,0.15);
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --grey: #888888;
    --light: #f4f4f2;
    --white: #ffffff;
    --border: rgba(0,0,0,0.09);
    --font: 'MazdaType', 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.165,0.84,0.44,1);
    --t: all 0.4s var(--ease);
    --shadow: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-red: 0 15px 40px rgba(150,0,24,0.2);
    --r: 8px;
    --max: 1260px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--t); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.protect-img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* =========================================
   LAYOUT
   ========================================= */
.container { width: 92%; max-width: var(--max); margin: 0 auto; }
.section { padding: 100px 0; }
.section.bg-light { background: var(--light); }

.section-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--black); }
.section-title span { color: var(--red); }
.section-subtitle { color: var(--grey); font-size: 1.05rem; margin-top: 16px; max-width: 600px; line-height: 1.8; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* =========================================
   BUTTONS
   ========================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 34px; font-family: var(--font); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; border: none; border-radius: 4px; transition: var(--t); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 20px 50px rgba(150,0,24,0.3); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--red); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); border-radius: 4px; }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--black); border: 1.5px solid var(--black); border-radius: 4px; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1da851; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,0.3); }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 22px 0; transition: var(--t);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    padding: 14px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.07);
    backdrop-filter: blur(12px);
}
.navbar.solid { background: var(--white); padding: 14px 0; box-shadow: 0 2px 30px rgba(0,0,0,0.07); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo img { height: 38px; width: auto; }
.navbar:not(.scrolled):not(.solid) .brand-logo img { filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-item { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.3px; color: var(--white); padding: 6px 0; position: relative; }
.navbar.scrolled .nav-item, .navbar.solid .nav-item { color: var(--black); }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--red); transition: var(--t); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }
.nav-item:hover, .nav-item.active { color: var(--red); }
.navbar.scrolled .nav-item:hover, .navbar.solid .nav-item:hover { color: var(--red); }

.nav-wa-btn { background: var(--red); color: var(--white); padding: 10px 22px; border-radius: 40px; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px; }
.nav-wa-btn:hover { background: var(--red-dark); transform: scale(1.04); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--white); transition: var(--t); border-radius: 2px; }
.navbar.scrolled .hamburger span, .navbar.solid .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: var(--black); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--black); }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; max-width: 650px; }
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 18px; font-weight: 500; }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; color: var(--white); line-height: 1.07; margin-bottom: 22px; }
.hero-title span { color: var(--red); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 480px; line-height: 1.8; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: var(--t); }
.hero-dot.active { background: var(--red); width: 28px; border-radius: 4px; }
.hero-scroll { position: absolute; bottom: 36px; right: 50px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.4; } }

/* =========================================
   POPUP PROMO
   ========================================= */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 5000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; backdrop-filter: blur(5px); }
.popup-overlay.show { opacity: 1; pointer-events: all; }
.popup-content { background: var(--white); max-width: 460px; width: 90%; border-radius: 12px; overflow: hidden; position: relative; transform: translateY(20px); transition: transform 0.4s var(--ease); box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.popup-overlay.show .popup-content { transform: translateY(0); }
.popup-top { background: var(--red); padding: 30px; text-align: center; color: var(--white); }
.popup-top h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.popup-top p { font-size: 0.9rem; opacity: 0.9; }
.popup-body { padding: 30px; }
.popup-body p { color: var(--grey); margin-bottom: 24px; line-height: 1.7; }
.close-popup { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.2); border: none; color: var(--white); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: var(--t); }
.close-popup:hover { background: rgba(255,255,255,0.4); }

/* =========================================
   PHILOSOPHY / ABOUT
   ========================================= */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.philosophy-text .section-subtitle { margin-top: 20px; }
.philosophy-text blockquote { border-left: 3px solid var(--red); padding-left: 20px; margin: 28px 0; font-style: italic; font-size: 1.1rem; color: var(--black); line-height: 1.6; }
.philosophy-img { position: relative; }
.philosophy-img img { width: 100%; border-radius: var(--r); object-fit: cover; height: 500px; }
.philosophy-badge { position: absolute; bottom: -20px; right: -20px; background: var(--red); color: var(--white); padding: 22px 28px; border-radius: var(--r); text-align: center; box-shadow: var(--shadow-red); }
.philosophy-badge .num { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.philosophy-badge .lbl { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar { background: var(--black); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.6rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-num span { color: var(--red); }
.stat-lbl { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 2px; margin-top: 8px; }

/* =========================================
   TEST DRIVE CTA
   ========================================= */
.test-drive-cta { position: relative; padding: 110px 0; background-image: url('images/hero-bg-1.webp'); background-size: cover; background-position: center; background-attachment: fixed; color: var(--white); text-align: center; }
.test-drive-cta .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); }
.test-drive-cta .container { position: relative; z-index: 2; }
.test-drive-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; max-width: 700px; margin: 0 auto 18px; line-height: 1.2; }
.test-drive-cta p { max-width: 580px; margin: 0 auto 36px; opacity: 0.85; font-size: 1rem; line-height: 1.8; }

/* =========================================
   GALLERY / HANDOVER SLIDER
   ========================================= */
.slider-container { overflow: hidden; padding: 20px 0 50px; width: 100%; }
.slider-track { display: flex; align-items: center; gap: 24px; width: max-content; animation: marquee 45s linear infinite; }
.slider-track:hover { animation-play-state: paused; }
.slide-item { width: 360px; height: 250px; flex-shrink: 0; border-radius: 10px; overflow: hidden; position: relative; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.slide-item:hover img { transform: scale(1.06); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   PROFILE CTA BANNER
   ========================================= */
.profile-cta { background: var(--dark2); border-radius: 16px; padding: 50px 60px; display: flex; align-items: center; gap: 50px; margin: 0 auto 60px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.profile-cta::before { content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: var(--red-glow); }
.profile-cta-img img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); box-shadow: 0 0 30px rgba(150,0,24,0.4); flex-shrink: 0; }
.profile-cta-body { color: var(--white); flex: 1; }
.profile-cta-body .role { font-size: 0.78rem; font-weight: 700; color: var(--red); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.profile-cta-body h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 14px; }
.profile-cta-body p { color: #bbb; line-height: 1.8; margin-bottom: 24px; max-width: 560px; font-size: 0.97rem; }
.profile-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================
   YOUTUBE
   ========================================= */
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.yt-video { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.yt-video iframe { width: 100%; height: 100%; border: none; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--black); color: #aaa; padding: 80px 0 30px; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo img { height: 42px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-col p { font-size: 0.93rem; line-height: 1.9; }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--t); }
.footer-socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.92rem; color: #aaa; }
.footer-links a:hover { color: var(--red); padding-left: 6px; }
.footer-contact-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.footer-contact-item i { color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.92rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 26px; text-align: center; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }

/* =========================================
   FLOATING WA
   ========================================= */
.floating-wa { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: #25D366; color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 8px 25px rgba(37,211,102,0.45); z-index: 999; transition: var(--t); animation: pulseWA 2.5s ease infinite; }
.floating-wa:hover { transform: scale(1.12); }
@keyframes pulseWA { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 60% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* =========================================
   PRODUK PAGE
   ========================================= */
.page-hero { position: relative; height: 380px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding-bottom: 60px; }
.page-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3)); }
.page-hero .container { position: relative; z-index: 2; color: var(--white); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; margin-bottom: 8px; }
.page-hero p { opacity: 0.8; font-size: 1rem; }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 50px; }
.filter-tab { padding: 9px 22px; border: 1.5px solid var(--border); border-radius: 40px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--t); color: var(--grey); background: var(--white); font-family: var(--font); }
.filter-tab.active, .filter-tab:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: var(--t); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.product-img-box { position: relative; background: var(--light); height: 220px; overflow: hidden; }
.product-img-box img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.5s ease; }
.product-card:hover .product-img-box img { transform: scale(1.05); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--black); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; padding: 4px 12px; border-radius: 3px; text-transform: uppercase; }
.product-badge.badge-new { background: var(--red); }
.product-badge.badge-phev { background: #0d7a3e; }

.color-swatches { display: flex; justify-content: center; gap: 8px; padding: 16px 20px 0; flex-wrap: wrap; }
.swatch { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--t); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1); }
.swatch:hover, .swatch.active { transform: scale(1.3); border-color: var(--red); }

.product-body { padding: 24px; }
.product-type { font-size: 0.75rem; font-weight: 700; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.product-price { color: var(--red); font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.spec-item { background: var(--light); border-radius: 6px; padding: 10px 14px; }
.spec-item .spec-lbl { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.spec-item .spec-val { font-size: 0.88rem; font-weight: 700; color: var(--black); }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; padding: 11px 14px; font-size: 0.82rem; }

/* Brochure Download */
.brochure-link { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--grey); padding: 8px 0; transition: var(--t); border-top: 1px dashed var(--border); margin-top: 16px; }
.brochure-link:hover { color: var(--red); }
.brochure-link i { font-size: 0.95rem; }

/* =========================================
   KOMPARASI PAGE
   ========================================= */
.compare-header { display: grid; grid-template-columns: 220px 1fr 1fr; background: var(--black); color: var(--white); border-radius: 12px 12px 0 0; overflow: hidden; }
.compare-header > div { padding: 24px 30px; }
.compare-header > div:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.07); }
.compare-select { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: var(--white); padding: 12px 16px; border-radius: 6px; font-family: var(--font); font-size: 0.95rem; cursor: pointer; }
.compare-select option { background: var(--black); }

.compare-body { border: 1px solid var(--border); border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 220px 1fr 1fr; }
.compare-row:nth-child(even) { background: var(--light); }
.compare-row > div { padding: 18px 30px; border-right: 1px solid var(--border); font-size: 0.93rem; }
.compare-row > div:last-child { border-right: none; }
.compare-row > div:first-child { font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); }
.compare-row .winner { color: var(--red); font-weight: 700; }

.compare-img-box { padding: 30px; text-align: center; border-right: 1px solid var(--border); }
.compare-img-box img { width: 100%; max-height: 180px; object-fit: contain; margin: 0 auto; }
.compare-img-box:last-child { border-right: none; }
.compare-car-name { font-size: 1.2rem; font-weight: 700; margin-top: 12px; }
.compare-car-price { color: var(--red); font-weight: 700; font-size: 1.05rem; margin-top: 4px; }

/* =========================================
   KONTAK PAGE
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.contact-info .section-subtitle { margin-top: 0; margin-bottom: 36px; }
.profile-card { display: flex; gap: 22px; align-items: center; background: var(--light); padding: 22px; border-radius: 10px; border-left: 4px solid var(--red); margin-bottom: 36px; }
.profile-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.profile-card-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.profile-card-info p { color: var(--red); font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.profile-card-info a { font-weight: 600; font-size: 1rem; color: var(--black); }
.profile-card-info a:hover { color: var(--red); }

.contact-socials { display: flex; gap: 12px; margin-bottom: 36px; }
.contact-socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--t); }
.contact-socials a:hover { background: var(--red); transform: translateY(-3px); }

.contact-map { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 36px; }
.contact-map iframe { width: 100%; height: 280px; border: none; display: block; }

.contact-form-box { background: var(--dark2); padding: 44px; border-radius: 14px; color: var(--white); position: sticky; top: 100px; }
.contact-form-box h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-box > p { color: #999; font-size: 0.9rem; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #bbb; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white); border-radius: 6px; font-family: var(--font); font-size: 0.95rem; transition: var(--t); }
.form-group select option { background: var(--dark2); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); background: rgba(150,0,24,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit-note { text-align: center; color: #666; font-size: 0.78rem; margin-top: 12px; }
.form-submit-note i { color: #4a4a4a; }

/* Gallery Grid on Kontak */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.gallery-grid img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; transition: var(--t); cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.04); box-shadow: var(--shadow); }

/* =========================================
   ARTIKEL PAGE
   ========================================= */
.artikel-hero { background: var(--black); padding: 160px 0 80px; }
.artikel-hero .section-label { color: #888; }
.artikel-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; }
.artikel-hero p { color: #888; margin-top: 14px; max-width: 500px; line-height: 1.7; }

.artikel-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.artikel-tag { padding: 7px 18px; border: 1.5px solid var(--border); border-radius: 30px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--t); color: var(--grey); background: transparent; font-family: var(--font); }
.artikel-tag:hover, .artikel-tag.active { border-color: var(--red); color: var(--red); }

.artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.artikel-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: var(--t); display: flex; flex-direction: column; }
.artikel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.artikel-img { height: 210px; overflow: hidden; position: relative; }
.artikel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.artikel-card:hover .artikel-img img { transform: scale(1.07); }
.artikel-cat { position: absolute; top: 14px; left: 14px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 3px; color: var(--white); background: var(--red); }
.artikel-cat.cat-tips { background: var(--black); }
.artikel-cat.cat-promo { background: #0d7a3e; }
.artikel-cat.cat-design { background: #5b21b6; }
.artikel-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.artikel-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.artikel-body h3 a:hover { color: var(--red); }
.artikel-body p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.artikel-read-more { color: var(--red); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: var(--t); }
.artikel-read-more:hover { gap: 12px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .philosophy-grid, .contact-layout { grid-template-columns: 1fr; }
    .philosophy-img { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .compare-header, .compare-row { grid-template-columns: 150px 1fr 1fr; }
    .compare-header > div, .compare-row > div { padding: 16px 20px; }
    .yt-grid { grid-template-columns: 1fr; }
    .contact-form-box { position: relative; top: 0; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 78%; height: 100vh; background: var(--white); flex-direction: column; padding: 90px 36px 40px; box-shadow: -10px 0 40px rgba(0,0,0,0.1); align-items: flex-start; z-index: 999; gap: 0; }
    .nav-links.open { right: 0; }
    .nav-item { color: var(--black) !important; font-size: 1rem; padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
    .nav-wa-btn { display: none; }
    .hamburger { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 20px; }
    .profile-cta { flex-direction: column; text-align: center; padding: 36px 24px; }
    .profile-cta-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .compare-header, .compare-row { grid-template-columns: 110px 1fr 1fr; font-size: 0.82rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .artikel-grid, .product-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .compare-header, .compare-row { grid-template-columns: 90px 1fr 1fr; }
}

/* CSS untuk mengembalikan kotak Terms & Conditions agar tidak hilang */

.terms-section {
    margin-top: 60px; /* Jarak atas kotak */
    padding: 0 15px; /* Jarak samping agar responsif */
}

.terms-container {
    background: var(--light, #f8f8f8); /* Latar belakang lembut (sesuaikan variabel warna Anda jika ada) */
    border-left: 4px solid var(--red, #e30613); /* Garis merah di kiri */
    padding: 32px; /* Jarak dalam kotak */
    border-radius: 8px; /* Sudut melengkung */
    max-width: 100%; /* Lebar penuh */
}

.terms-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px; /* Jarak bawah judul */
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex; /* Untuk menyejajarkan ikon dan teks */
    align-items: center;
    color: #333;
}

.terms-title i {
    color: var(--red, #e30613); /* Warna ikon info merah */
    margin-right: 12px; /* Jarak antara ikon dan teks */
}

.terms-list {
    list-style: none; /* Hilangkan poin bullet bawaan */
    padding: 0;
    margin: 0;
}

.terms-list li {
    color: #000000; /* <-- Diubah ke hitam pekat */
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

/* Menambahkan simbol *) secara otomatis di depan setiap poin */
.terms-list li::before {
    content: "*)";
    position: absolute;
    left: 0;
    color: var(--red, #e30613); /* Warna simbol merah */
    font-weight: bold;
}

.terms-list li:last-child {
    margin-bottom: 0; /* Hilangkan jarak bawah poin terakhir */
}

/* ==========================================================================
   MOBILE FRIENDLY IMPROVEMENTS
   ========================================================================== */

/* --- Filter Tabs: horizontal scroll on mobile --- */
@media (max-width: 768px) {
    .filter-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 8px;
        margin-bottom: 30px;
        scrollbar-width: none;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab {
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .artikel-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .artikel-filters::-webkit-scrollbar { display: none; }
    .artikel-tag { flex-shrink: 0; white-space: nowrap; }

    /* Color swatches: bigger tap targets on mobile */
    .swatch {
        width: 26px;
        height: 26px;
    }

    /* Product cards: full width, nicer padding */
    .product-card { margin: 0; }
    .product-img-box img {
        height: 200px;
        object-fit: contain;
        background: var(--light);
    }

    /* Hero content padding */
    .hero-content { padding: 0 0 80px; max-width: 100%; }
    .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
    .hero-desc { font-size: 0.93rem; }
    .hero-btns { flex-direction: column; gap: 10px; align-items: flex-start; }
    .hero-btns .btn { width: 100%; justify-content: center; }

    /* Stats bar */
    .stats-bar { padding: 36px 0; }
    .stat-num { font-size: 2rem; }

    /* Test drive CTA */
    .test-drive-cta { padding: 70px 0; background-attachment: scroll; }

    /* Handover slider items smaller on mobile */
    .slide-item { width: 260px; height: 185px; }

    /* Profile CTA */
    .profile-cta { padding: 30px 20px; gap: 24px; }
    .profile-cta-img img { width: 110px; height: 110px; }
    .profile-cta-body h2 { font-size: 1.6rem; }
    .profile-cta-btns { flex-direction: column; gap: 10px; }
    .profile-cta-btns .btn { width: 100%; justify-content: center; }

    /* Footer adjustments */
    .footer { padding: 50px 0 20px; }

    /* Komparasi: make table scrollable */
    .compare-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .compare-header, .compare-row {
        grid-template-columns: 100px minmax(140px,1fr) minmax(140px,1fr);
        font-size: 0.8rem;
    }
    .compare-header > div,
    .compare-row > div { padding: 12px 14px; }

    /* Compare car images */
    .compare-car-img { height: 140px !important; }

    /* Artikel grid on mobile */
    .artikel-grid { grid-template-columns: 1fr; gap: 20px; }
    .artikel-img img { height: 200px; object-fit: cover; }

    /* Floating WA button - make sure not cut off */
    .floating-wa { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }

    /* Popup on mobile */
    .popup-content { width: 95%; }

    /* Section padding reduce on mobile */
    .section { padding: 56px 0; }

    /* Nav hamburger overlay */
    .nav-links.open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: -1;
    }

    /* Kontak form */
    .contact-layout { gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .profile-cta { padding: 24px 16px; }
    .profile-cta-body h2 { font-size: 1.4rem; }
    .slide-item { width: 220px; height: 155px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { padding-bottom: 16px; }

    /* Ensure buttons don't overflow */
    .btn { padding: 12px 20px; font-size: 0.85rem; }
    .btn-sm { padding: 9px 16px; font-size: 0.8rem; }

    /* Product card actions stacked */
    .product-actions { flex-direction: column; gap: 8px; }
    .product-actions .btn { width: 100%; }

    /* Compare selects full width */
    .compare-selects { flex-direction: column; gap: 12px; }
    .compare-selects select { width: 100%; }
}

/* Touch-friendly minimum tap size */
@media (max-width: 768px) {
    .hero-dot { width: 12px; height: 12px; }
    .hero-dot.active { width: 32px; }
    .pfl-item { padding: 12px 0; font-size: 0.85rem; }
    .footer-links li a { padding: 4px 0; display: block; }
}
