:root {
  --blue: #1E40AF; --blue-light: #3B82F6; --blue-soft: #EFF6FF;
  --red: #DC2626; --white: #FFFFFF; --bg: #F8FAFC;
  --border: #E2E8F0; --text: #0F172A; --text-mid: #475569; --text-light: #94A3B8;
  --radius: 12px; --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
  --transition: 0.25s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif; color: var(--text); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: 'Inter', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: none;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #B91C1C; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(220,38,38,0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: #F1F5F9; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* HEADER */
header { background: var(--white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -0.02em; }
.logo-text .ez { color: var(--red); }
.logo-text small {
  display: block; font-size: 9px; font-weight: 600;
  color: var(--text-light); letter-spacing: 1px;
  text-transform: uppercase; margin-top: 1px;
}
nav ul { display: flex; gap: 32px; }
nav a { font-weight: 500; font-size: 14px; color: var(--text-mid); transition: var(--transition); position: relative; }
nav a:hover, nav a.active { color: var(--blue); }
nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--red); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); font-size: 13px; }
.header-phone i { color: var(--red); font-size: 12px; }
.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 20px; color: var(--text); cursor: pointer; padding: 8px;
}

/* PAGE HERO (sub-pages) */
.page-hero {
  background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 50%, #FEF2F2 100%);
  padding: 56px 0 48px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light); margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-mid); transition: var(--transition); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb i { font-size: 10px; }
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px); color: var(--text);
  margin-bottom: 12px; line-height: 1.2;
}
.page-hero p { font-size: 16px; color: var(--text-mid); max-width: 640px; line-height: 1.7; }

/* SECTIONS */
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(26px, 3vw, 36px); color: var(--text); margin-bottom: 10px; }
.section-header p { font-size: 16px; color: var(--text-mid); max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block; color: var(--red); font-weight: 700;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 10px;
}

/* FILTERS */
.filter-bar {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
  box-shadow: var(--shadow); margin-bottom: 32px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px; align-items: end;
}
.filter-group label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-mid); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.filter-group select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 13px; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white);
  cursor: pointer; outline: none; transition: var(--transition);
}
.filter-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }
.filter-count {
  font-size: 14px; color: var(--text-mid);
  margin-bottom: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.filter-count strong { color: var(--text); font-weight: 700; }

/* FLEET GRID */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); position: relative;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.car-image { position: relative; height: 200px; overflow: hidden; background: #F1F5F9; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.car-card:hover .car-image img { transform: scale(1.05); }
.car-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: 50px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-rent { background: var(--blue); color: white; }
.badge-sale { background: var(--red); color: white; }
.badge-new { background: #059669; color: white; }
.badge-hot { background: #F59E0B; color: white; }
.car-body { padding: 20px; }
.car-title { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.car-sub { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.car-specs {
  display: flex; gap: 14px; padding: 12px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 14px; flex-wrap: wrap;
}
.car-spec { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-mid); font-weight: 500; }
.car-spec i { color: var(--blue); font-size: 12px; }
.car-footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.car-price { font-size: 20px; font-weight: 800; color: var(--text); }
.car-price span { font-size: 12px; font-weight: 500; color: var(--text-light); }
.car-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-mid); font-weight: 600; }
.car-rating i { color: #F59E0B; font-size: 11px; }
.car-btn {
  width: 100%; padding: 12px; border-radius: 8px;
  background: var(--blue); color: white; font-weight: 600;
  font-size: 13px; border: none; cursor: pointer;
  transition: var(--transition); font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.car-btn:hover { background: var(--blue-light); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1E3A8A 100%);
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  border-radius: 50%;
}
.cta-section h2 { color: white; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; position: relative; z-index: 2; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 28px; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* FOOTER */
footer { background: #0F172A; color: rgba(255,255,255,0.6); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text .ez { color: #F87171; }
.footer-brand .logo-text small { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: var(--transition); font-size: 14px;
}
.social-link:hover { background: var(--blue); color: white; }
.footer-col h4 { color: white; font-size: 14px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-contact-item {
  display: flex; gap: 10px; margin-bottom: 14px;
  font-size: 13px; align-items: flex-start; line-height: 1.5;
}
.footer-contact-item i {
  color: var(--blue-light); font-size: 14px;
  margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0;
}
.footer-contact-item strong {
  display: block; font-size: 11px; color: white;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.nexa3-credit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px; font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.7); transition: var(--transition);
}
.nexa3-credit:hover { background: rgba(30,64,175,0.3); border-color: var(--blue-light); color: white; }
.nexa3-credit .nx {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 5px; display: flex; align-items: center;
  justify-content: center; font-size: 9px; font-weight: 800; color: white;
}
.nexa3-credit strong { color: white; }

/* WHATSAPP */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 54px; height: 54px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav ul { display: none; }
  .mobile-toggle { display: block; }
  .header-phone span { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .page-hero { padding: 40px 0 32px; }
  .filter-bar { grid-template-columns: 1fr; padding: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .page-hero h1 { font-size: 26px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }
}
/* Mobile Menu Open/Close Fix */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 999;
  }
  nav ul.show {
    display: flex;
  }
}