/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray-900: #111;
    --gray-700: #333;
    --gray-500: #666;
    --gray-400: #888;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;
    --white: #ffffff;
    --red: #cc0000;
    --red-dark: #a00000;
    --font: 'Inter', sans-serif;
    --radius: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
    --transition: 0.22s ease;
    --max-w: 1280px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER TOP ===== */
.header-top { background: var(--black); color: var(--white); padding: 9px 0; font-size: 13px; }
.header-top-content { display: flex; align-items: center; justify-content: center; gap: 0; white-space: nowrap; }
.ht-phone { color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; transition: color var(--transition); }
.ht-phone:hover { color: var(--white); }
.ht-divider { display: inline-block; width: 1px; height: 16px; background: rgba(255,255,255,0.25); margin: 0 18px; flex-shrink: 0; }
.wa-top-btn { background: #25D366; color: white !important; padding: 5px 16px; border-radius: 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; transition: background var(--transition); white-space: nowrap; flex-shrink: 0; }
.wa-top-btn:hover { background: #1da851; }

/* ===== MAIN NAV ===== */
.site-header { position: sticky; top: 0; z-index: 1000; }
.main-nav { background: var(--white); border-bottom: 2px solid var(--black); transition: box-shadow 0.25s ease; }
.main-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-link { display: flex; align-items: center; }
.logo { height: 72px; width: auto; filter: invert(1) hue-rotate(180deg) saturate(3) brightness(1.15); transition: transform 0.2s ease; }
.logo-link:hover .logo { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li a { padding: 8px 16px; font-size: 14px; font-weight: 500; letter-spacing: 0.3px; border-radius: var(--radius); transition: all var(--transition); color: var(--dark); }
.nav-links li a:hover, .nav-links li a.active { background: var(--black); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; border-radius: var(--radius); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO BANNER ===== */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/banner.jpg'); background-size: cover; background-position: center; opacity: 0.45; }
.hero-content { position: relative; z-index: 1; max-width: 680px; color: var(--white); padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: white; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 900; line-height: 1.08; margin-bottom: 20px; letter-spacing: -1.5px; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px; transition: all var(--transition); letter-spacing: 0.3px; }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn-dark { background: var(--black); color: var(--white); border: 2px solid var(--white); }
.btn-dark:hover { background: var(--white); color: var(--black); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-wa { background: #25D366; color: white; }
.btn-wa:hover { background: #1da851; transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== SEARCH BAR ===== */
.hero-search { background: var(--white); border-radius: var(--radius-lg); padding: 24px; margin-top: 36px; box-shadow: var(--shadow-lg); }
.hero-search h3 { font-size: 14px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-fields select, .search-fields input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 14px; color: var(--dark); background: var(--gray-50); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.search-fields select:focus, .search-fields input:focus { outline: none; border-color: var(--black); background: var(--white); }
.search-group label { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 6px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--black); letter-spacing: -1px; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 560px; margin: 0 auto; }
.section-divider { width: 48px; height: 3px; background: var(--black); margin: 16px auto 0; }

/* ===== STATS ===== */
.stats-section { background: var(--black); color: var(--white); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 48px; font-weight: 900; letter-spacing: -2px; color: var(--white); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== CARS GRID ===== */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.car-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); position: relative; }
.car-card:hover { border-color: var(--black); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.car-card-img { position: relative; height: 220px; overflow: hidden; background: var(--gray-100); }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.car-card:hover .car-card-img img { transform: scale(1.04); }
.car-badge-sold { position: absolute; top: 12px; left: 12px; background: #cc0000; color: white; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.car-badge-new { position: absolute; top: 12px; right: 12px; background: var(--black); color: white; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.car-card-body { padding: 20px; }
.car-name { font-size: 19px; font-weight: 800; color: var(--black); margin-bottom: 4px; letter-spacing: -0.5px; }
.car-year-fuel { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.car-spec { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); }
.car-spec i { color: var(--gray-400); width: 14px; text-align: center; }
.car-price { font-size: 26px; font-weight: 900; color: var(--black); letter-spacing: -1px; margin-bottom: 16px; }
.car-price-sub { font-size: 12px; color: var(--gray-500); font-weight: 400; display: block; letter-spacing: 0; }
.car-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.car-actions-sold { text-align: center; padding: 12px; background: var(--gray-100); border-radius: var(--radius); font-size: 13px; color: var(--gray-500); font-style: italic; }

/* ===== CAR PLACEHOLDER IMAGE ===== */
.car-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--gray-100); color: var(--gray-400); gap: 8px; }
.car-img-placeholder i { font-size: 48px; }
.car-img-placeholder span { font-size: 13px; }

/* ===== SINGLE CAR PAGE ===== */
.car-detail { padding: 48px 0 80px; }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 32px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--black); }
.car-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.car-gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-100); margin-bottom: 12px; max-height: 480px; }
.car-gallery-main img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.car-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.car-gallery-thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--gray-200); cursor: pointer; transition: border-color var(--transition); }
.car-gallery-thumbs img:hover, .car-gallery-thumbs img.active { border-color: var(--black); }
.car-detail-title { font-size: 34px; font-weight: 900; color: var(--black); letter-spacing: -1.5px; margin-bottom: 8px; }
.car-detail-meta { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; display: flex; gap: 16px; flex-wrap: wrap; }
.car-detail-price { font-size: 44px; font-weight: 900; color: var(--black); letter-spacing: -2px; margin-bottom: 4px; }
.car-detail-price-note { font-size: 13px; color: var(--gray-500); margin-bottom: 28px; }
.car-sidebar-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.car-sidebar-actions .btn { justify-content: center; width: 100%; font-size: 15px; padding: 15px; }
.car-specs-table { background: var(--gray-50); border-radius: var(--radius-lg); padding: 24px; margin-top: 32px; }
.car-specs-table h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.3px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--gray-500); }
.spec-value { font-weight: 600; color: var(--dark); }
.car-desc-section { margin-top: 32px; }
.car-desc-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.car-desc-section p { font-size: 15px; color: var(--gray-700); line-height: 1.7; }
.car-features-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.car-feature-tag { background: var(--gray-100); border: 1.5px solid var(--gray-200); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--dark); }
.guarantees-box { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 20px; margin-top: 24px; }
.guarantees-box h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: rgba(255,255,255,0.6); }
.guarantee-item { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; }
.guarantee-item i { color: #25D366; font-size: 14px; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-tag { text-align: left; }
.about-content h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: var(--black); letter-spacing: -1px; margin-bottom: 20px; }
.about-content p { font-size: 16px; color: var(--gray-500); line-height: 1.75; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--gray-50); border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.about-feature-icon { width: 40px; height: 40px; background: var(--black); color: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.about-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.about-feature p { font-size: 13px; color: var(--gray-500); margin: 0; line-height: 1.4; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; transition: all var(--transition); }
.service-card:hover { border-color: var(--black); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { width: 56px; height: 56px; background: var(--black); color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--black); color: var(--white); text-align: center; padding: 80px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; letter-spacing: -1.5px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1.5px solid var(--gray-200); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 16px; font-weight: 600; text-align: left; background: none; color: var(--dark); gap: 16px; }
.faq-question i { font-size: 14px; color: var(--gray-400); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 22px; font-size: 15px; color: var(--gray-500); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 48px; height: 48px; background: var(--black); color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 16px; font-weight: 600; color: var(--dark); }
.contact-item a:hover { color: var(--red); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; }
.contact-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.wa-contact-box { background: #25D366; color: white; border-radius: var(--radius-lg); padding: 24px; margin-top: 24px; }
.wa-contact-box h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.wa-contact-box p { font-size: 14px; margin-bottom: 16px; opacity: 0.9; }

/* ===== ADMIN ===== */
.admin-body { background: var(--gray-50); min-height: 100vh; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--black); }
.login-box { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo img { height: 60px; margin: 0 auto; background: var(--black); padding: 8px 16px; border-radius: var(--radius); }
.login-box h2 { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 15px; background: var(--gray-50); transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--black); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-full { width: 100%; padding: 14px; font-size: 16px; background: var(--black); color: var(--white); border-radius: var(--radius); font-weight: 700; transition: background var(--transition); }
.btn-full:hover { background: var(--dark); }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; }
.alert-error { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--black); color: white; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-logo img { height: 48px; background: rgba(255,255,255,0.05); padding: 6px 10px; border-radius: var(--radius); }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); border-left: 3px solid transparent; transition: all var(--transition); }
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,0.08); border-left-color: white; }
.admin-main { margin-left: 260px; flex: 1; }
.admin-topbar { background: var(--white); border-bottom: 1.5px solid var(--gray-200); padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 20px; font-weight: 800; }
.admin-content { padding: 32px; }
.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th { background: var(--black); color: white; padding: 14px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.badge-sold { background: #fee2e2; color: #b91c1c; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-available { background: #d1fae5; color: #065f46; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.admin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; transition: all var(--transition); }
.admin-btn-sm { padding: 5px 10px; font-size: 12px; }
.admin-btn-dark { background: var(--black); color: white; }
.admin-btn-dark:hover { background: var(--dark); }
.admin-btn-red { background: #fee2e2; color: #b91c1c; }
.admin-btn-red:hover { background: #fca5a5; }
.admin-btn-green { background: #d1fae5; color: #065f46; }
.admin-btn-green:hover { background: #a7f3d0; }
.admin-btn-yellow { background: #fef3c7; color: #92400e; }
.admin-btn-yellow:hover { background: #fde68a; }
.admin-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); max-width: 900px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .span-2 { grid-column: span 2; }
.photo-upload-area { border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); padding: 32px; text-align: center; cursor: pointer; transition: all var(--transition); }
.photo-upload-area:hover { border-color: var(--black); }
.photo-upload-area i { font-size: 36px; color: var(--gray-400); margin-bottom: 12px; }
.photo-upload-area p { font-size: 14px; color: var(--gray-500); }
.photos-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.photo-preview-item { position: relative; width: 100px; height: 80px; }
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--gray-200); }
.photo-preview-item .remove-photo { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; cursor: pointer; border: none; }
.photos-order-note { font-size: 12px; color: var(--gray-500); margin-top: 8px; font-style: italic; }

/* ===== BREADCRUMB / PAGE HEADER ===== */
.page-header { background: var(--black); color: white; padding: 48px 0; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.6); font-size: 17px; }

/* ===== FLOATING / STICKY ===== */
.back-to-top { position: fixed; bottom: 90px; right: 20px; width: 46px; height: 46px; background: var(--black); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 1001; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--dark); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.floating-wa { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; border-radius: 50px; padding: 13px 18px 13px 14px; display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition); z-index: 1000; }
.floating-wa span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.3s ease; }
.floating-wa:hover span { max-width: 200px; }
.floating-wa i { font-size: 22px; }
.floating-wa:hover { background: #1da851; box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

/* ===== FILTER BAR (MASINI PAGE) ===== */
.filter-bar { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 36px; }
.filter-bar-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filter-bar select, .filter-bar input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 14px; background: white; }
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--black); }
.results-count { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.results-count span { font-weight: 700; color: var(--dark); }
.no-results { text-align: center; padding: 80px 24px; }
.no-results i { font-size: 64px; color: var(--gray-300); margin-bottom: 16px; }
.no-results h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.no-results p { color: var(--gray-500); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--gray-700); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--black); }

/* ===== PROCESS STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 24px; }
.step-number { width: 56px; height: 56px; background: var(--black); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; margin: 0 auto 20px; }
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ===== FOOTER ===== */
.site-footer { background: #0d0d0d; color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--red); border-radius: 2px; }
.footer-brand .footer-logo { height: 60px; width: auto; filter: invert(1) hue-rotate(180deg) saturate(3) brightness(1.15); margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 5px 12px; color: rgba(255,255,255,0.7); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-contact ul li i { color: var(--red); flex-shrink: 0; margin-top: 2px; width: 14px; }
.footer-contact ul li a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact ul li a:hover { color: #fff; }
.footer-social { margin-top: 20px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 25px; font-size: 13px; font-weight: 700; transition: all var(--transition); }
.social-btn.wa { background: #25D366; color: #fff; }
.social-btn.wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .car-detail-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .search-fields { grid-template-columns: 1fr 1fr; }
    .filter-bar-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 2px solid var(--black); flex-direction: column; padding: 16px 24px; gap: 4px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 12px 16px; }
    .main-nav { position: relative; }
    .nav-inner { height: 70px; }
    .logo { height: 58px; }
    .hero { min-height: 500px; }
    .hero-content { padding: 56px 0; }
    .search-fields { grid-template-columns: 1fr; }
    .search-fields > .btn { width: 100%; justify-content: center; }
    .about-features { grid-template-columns: 1fr; }
    .cars-grid { grid-template-columns: 1fr; }
    .car-actions { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    .admin-sidebar { transform: translateX(-100%); transition: transform var(--transition); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .filter-bar-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 56px 0; }
    .floating-wa span { display: none; }
    .floating-wa { padding: 14px; border-radius: 50%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { text-align: center; }
    .footer-brand .footer-logo { margin: 0 auto 18px; }
    .footer-badges { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
    .header-contact-info { flex-direction: column; gap: 8px; }
    .hero-ctas { flex-direction: column; }
    .cta-band .btn-row { flex-direction: column; align-items: center; }
    .filter-bar-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}
