/* HBI Auto - Modern Auto Dealership Design */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15), 0 4px 6px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; color: var(--gray-800); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header - Clean White */
.header { position: fixed; top: 0; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow); z-index: 1000; height: 72px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 26px; height: 26px; color: var(--white); }
.logo-text { font-size: 22px; font-weight: 800; color: var(--secondary); }
.logo-text span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--gray-600); font-size: 15px; font-weight: 600; padding: 8px 0; position: relative; transition: color 0.25s; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-btn { background: var(--primary); color: var(--white); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: all 0.25s; }
.nav-btn:hover { background: var(--primary-dark); transform: translateY(-1px); color: var(--white); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2.5px; background: var(--gray-800); border-radius: 2px; transition: 0.3s; }

/* Hero - Sleek Automotive Style */
.hero { padding: 120px 0 80px; background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(37,99,235,0.08) 100%); }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { padding-right: 20px; }
.hero-tag { display: inline-block; background: var(--primary); color: var(--white); padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero-title { font-size: 52px; font-weight: 900; color: var(--secondary); line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--gray-600); margin-bottom: 32px; line-height: 1.75; }
.hero-features { display: flex; gap: 32px; margin-bottom: 36px; }
.hero-feature { display: flex; align-items: center; gap: 10px; }
.hero-feature-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-feature-icon svg { width: 18px; height: 18px; color: var(--white); }
.hero-feature span { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.hero-buttons { display: flex; gap: 14px; }

.hero-image-wrap { position: relative; }
.hero-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-image img { width: 100%; height: 360px; object-fit: cover; }
.hero-badge { position: absolute; top: 20px; left: 20px; background: var(--accent); color: var(--secondary); padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.hero-price { position: absolute; bottom: 20px; right: 20px; background: var(--white); padding: 14px 22px; border-radius: 10px; box-shadow: var(--shadow-lg); }
.hero-price span { display: block; }
.hero-price-label { font-size: 11px; color: var(--gray-400); text-transform: uppercase; font-weight: 600; }
.hero-price-value { font-size: 22px; font-weight: 800; color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.25s; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }
.btn-dark { background: var(--secondary); color: var(--white); }
.btn-dark:hover { background: var(--gray-900); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 90px 0; }
.section-gray { background: var(--gray-100); }
.section-dark { background: var(--secondary); color: var(--white); }

.section-header { margin-bottom: 50px; }
.section-header.text-center { text-align: center; }
.section-tag { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.section-title { font-size: 40px; font-weight: 900; color: var(--secondary); line-height: 1.15; letter-spacing: -1px; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 17px; color: var(--gray-600); margin-top: 14px; max-width: 580px; }
.section-header.text-center .section-desc { margin: 14px auto 0; }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,0.75); }

/* Services - Grid Cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 190px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 20px; color: var(--secondary); margin-bottom: 10px; font-weight: 800; }
.service-card-body p { color: var(--gray-600); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 14px; font-weight: 700; }
.service-card-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* Stats Bar */
.stats-bar { display: flex; justify-content: center; gap: 80px; padding: 50px 0; background: var(--secondary); }
.stat-item { text-align: center; }
.stat-number { font-size: 44px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; font-weight: 600; }

/* Why Choose */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-card { display: flex; gap: 20px; padding: 32px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); transition: all 0.3s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 26px; height: 26px; color: var(--white); }
.why-content h3 { font-size: 18px; color: var(--secondary); margin-bottom: 8px; font-weight: 800; }
.why-content p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* Lead Section */
.lead-section { padding: 90px 0; background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-900) 100%); }
.lead-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.lead-info h2 { font-size: 38px; color: var(--white); margin-bottom: 18px; font-weight: 900; }
.lead-info > p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 36px; line-height: 1.8; }
.lead-contacts { display: flex; flex-direction: column; gap: 18px; }
.lead-contact { display: flex; align-items: center; gap: 14px; color: var(--white); }
.lead-contact-icon { width: 44px; height: 44px; background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.lead-contact-icon svg { width: 20px; height: 20px; color: var(--primary-light); }
.lead-contact span { font-size: 14px; }
.lead-contact a { color: var(--white); }
.lead-contact a:hover { color: var(--primary-light); }

.lead-form { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-xl); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--gray-800); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 8px; font-size: 15px; transition: all 0.25s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.form-check label { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

/* Services Page */
.page-hero { padding: 150px 0 70px; background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-900) 100%); }
.page-hero h1 { font-size: 48px; color: var(--white); margin-bottom: 14px; font-weight: 900; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.8); }

.service-block { padding: 70px 0; border-bottom: 1px solid var(--gray-200); }
.service-block:nth-child(even) { background: var(--gray-100); }
.service-block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-block:nth-child(even) .service-block-inner { direction: rtl; }
.service-block:nth-child(even) .service-block-inner > * { direction: ltr; }
.service-block-img img { border-radius: 12px; box-shadow: var(--shadow-lg); width: 100%; height: 340px; object-fit: cover; }
.service-block-content h2 { font-size: 30px; color: var(--secondary); margin-bottom: 14px; font-weight: 900; }
.service-block-content > p { color: var(--gray-600); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.service-list li::before { content: '✓'; color: var(--white); background: var(--primary); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* Gallery */
.gallery-section { padding: 70px 0 90px; background: var(--gray-100); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); transition: all 0.35s; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-card img { width: 100%; height: 200px; object-fit: cover; }
.gallery-card-body { padding: 20px; }
.gallery-card-body h4 { font-size: 17px; color: var(--secondary); margin-bottom: 6px; font-weight: 700; }
.gallery-card-body p { font-size: 13px; color: var(--gray-600); }

/* Contact Page */
.contact-section { padding: 150px 0 100px; background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info h2 { font-size: 34px; color: var(--secondary); margin-bottom: 14px; font-weight: 900; }
.contact-info > p { color: var(--gray-600); margin-bottom: 36px; font-size: 15px; }
.contact-details { margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 24px; height: 24px; color: var(--white); }
.contact-item-text h4 { font-size: 15px; color: var(--secondary); margin-bottom: 3px; font-weight: 700; }
.contact-item-text p, .contact-item-text a { font-size: 14px; color: var(--gray-600); }

.hours-card { background: var(--white); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); }
.hours-card h4 { font-size: 17px; color: var(--secondary); margin-bottom: 18px; font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--gray-600); }
.hours-row span:last-child { font-weight: 700; color: var(--secondary); }

.contact-form-wrap { background: var(--white); border-radius: 14px; padding: 42px; box-shadow: var(--shadow-lg); }
.map-section { padding: 0 0 100px; background: var(--gray-100); }
.map-wrap { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* Legal Pages */
.legal-page { padding: 150px 0 100px; }
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h1 { font-size: 38px; color: var(--secondary); margin-bottom: 32px; font-weight: 900; }
.legal-content h2 { font-size: 24px; color: var(--secondary); margin: 36px 0 16px; font-weight: 800; }
.legal-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.85; font-size: 15px; }
.legal-content ul { margin: 16px 0 24px 20px; }
.legal-content ul li { color: var(--gray-600); margin-bottom: 10px; position: relative; padding-left: 20px; }
.legal-content ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

/* Sitemap */
.sitemap-page { padding: 150px 0 100px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.sitemap-card { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); }
.sitemap-card h3 { font-size: 20px; color: var(--secondary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); font-weight: 800; }
.sitemap-card ul li { margin-bottom: 12px; }
.sitemap-card ul li a { color: var(--gray-600); font-size: 14px; transition: all 0.25s; }
.sitemap-card ul li a:hover { color: var(--primary); padding-left: 4px; }

/* Footer */
.footer { background: var(--secondary); color: var(--white); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.footer-brand address { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.9; font-style: normal; }
.footer-brand address a { color: rgba(255,255,255,0.85); }
.footer-brand address a:hover { color: var(--primary-light); }
.footer-col h4 { font-size: 16px; margin-bottom: 22px; color: var(--white); font-weight: 700; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.25s; }
.footer-links a:hover { color: var(--primary-light); padding-left: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
.footer-disclaimer { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 16px 20px; margin-bottom: 18px; }
.footer-disclaimer p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.5); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); padding: 22px 24px; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); display: none; }
.cookie-banner.active { display: block; }
.cookie-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cookie-text h4 { font-size: 16px; color: var(--secondary); margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: var(--gray-600); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal.active { display: flex; }
.cookie-modal-box { background: var(--white); border-radius: 14px; padding: 34px; max-width: 460px; width: 100%; }
.cookie-modal-box h3 { font-size: 24px; color: var(--secondary); margin-bottom: 10px; font-weight: 800; }
.cookie-modal-box > p { color: var(--gray-600); margin-bottom: 26px; font-size: 14px; }
.cookie-opt { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.cookie-opt:last-of-type { border-bottom: none; }
.cookie-opt label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--gray-800); cursor: pointer; }
.cookie-opt p { color: var(--gray-500); font-size: 12px; margin-top: 6px; }
.cookie-modal-btns { display: flex; gap: 10px; margin-top: 26px; }

/* Skip Link */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--primary); color: var(--white); padding: 10px 22px; z-index: 99999; border-radius: 6px; font-weight: 700; transition: top 0.3s; }
.skip-link:focus { top: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-content { padding-right: 0; order: 1; }
  .hero-image-wrap { order: 0; }
  .hero-image img { height: 300px; }
  .hero-title { font-size: 42px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .service-block-inner { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block-inner { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header { height: 64px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 0; box-shadow: var(--shadow-lg); }
  .nav.active { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
  .nav-btn { margin-top: 12px; display: block; text-align: center; }
  .mobile-toggle { display: flex; }
  
  .hero { padding: 90px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-features { flex-direction: column; gap: 14px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-image img { height: 240px; }
  .hero-badge, .hero-price { display: none; }
  
  .section { padding: 65px 0; }
  .section-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 32px; padding: 40px 0; }
  .stat-number { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form { padding: 32px; }
  .contact-form-wrap { padding: 32px; }
  
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-buttons { width: 100%; }
  .cookie-buttons .btn { flex: 1; }
}
