/* ═══════════════════════════════════════════════════════════════
   EVZOO.CO.UK — Global Design System
   Electric for Everyone.
   Version: 1.0 | Prototype
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --blue:        #1E4B8F;
  --blue-dark:   #163a73;
  --blue-light:  #E8F0FB;
  --green:       #4CAF50;
  --green-dark:  #388E3C;
  --green-light: #E8F5E9;
  --dark:        #1A1A2E;
  --dark-mid:    #16213E;
  --body-bg:     #F4F6F9;
  --card-bg:     #FFFFFF;
  --text:        #1A1A2E;
  --text-body:   #424242;
  --text-light:  #757575;
  --border:      #E0E0E0;
  --yellow:      #FFC107;
  --orange:      #FF6B35;
  --red:         #E53935;
  --purple:      #7B1FA2;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow:      0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.18);

  --header-h:    68px;
  --container:   1280px;
  --gap:         24px;
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--body-bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; color: var(--text); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin-bottom: 0.75rem; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section    { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-subtitle { color: var(--text-light); font-size: 1rem; margin-bottom: 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.view-all { color: var(--blue); font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.view-all:hover { text-decoration: none; color: var(--blue-dark); }
.view-all::after { content: '→'; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }
.btn-green   { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-featured  { background: var(--yellow); color: #333; }
.badge-new       { background: var(--green);  color: #fff; }
.badge-used      { background: var(--blue-light); color: var(--blue); }
.badge-dealer    { background: var(--dark); color: #fff; }
.badge-private   { background: #EDE7F6; color: var(--purple); }
.badge-lease     { background: var(--orange); color: #fff; }
.badge-fleet     { background: #E3F2FD; color: #1565C0; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
#evzoo-header { position: sticky; top: 0; z-index: 1000; }

.site-header {
  background: var(--dark);
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.header-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; text-decoration: none; }
.header-logo:hover { text-decoration: none; }
.logo-img { height: 40px; width: auto; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-mark { font-size: 1.55rem; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.logo-mark .ev  { color: var(--green); }
.logo-mark .zoo { color: #fff; }
.logo-tagline { font-size: 0.62rem; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1px; }

/* Nav links */
.header-nav { display: flex; align-items: center; margin-left: 36px; gap: 2px; flex: 1; }

.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem; font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap; cursor: pointer;
}
.nav-link:hover, .nav-item.active .nav-link { color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-link .chevron { font-size: 0.65rem; opacity: 0.6; transition: transform var(--transition); }
.nav-item:hover .nav-link .chevron { transform: rotate(180deg); }

/* ── DROPDOWN menus ── */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-xl); min-width: 200px;
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 18px;
  color: var(--text-body); font-size: 0.875rem;
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.dropdown .dd-divider { border-top: 1px solid var(--border); margin: 6px 0; }

/* ── MEGA MENU ── */
.mega-trigger { }
.mega-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-top: 3px solid var(--green);
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 999;
}
.mega-trigger:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 28px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.mega-col h5 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--blue-light);
}
.mega-col .mega-cat {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--text); padding: 5px 0; margin-bottom: 2px;
  transition: color var(--transition);
}
.mega-col .mega-cat:hover { color: var(--blue); text-decoration: none; }
.mega-col .mega-sub {
  display: block; font-size: 0.82rem; color: var(--text-light);
  padding: 3px 0 3px 12px; transition: color var(--transition);
}
.mega-col .mega-sub:hover { color: var(--blue); text-decoration: none; }
.mega-col-spacer { margin-top: 16px; }

/* Header right */
.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.header-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.header-icon-btn:hover { background: rgba(255,255,255,0.16); color: #fff; }
.header-login-btn {
  color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: var(--transition);
}
.header-login-btn:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 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); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--dark); overflow-y: auto; z-index: 998; padding: 16px 0 40px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 24px;
  color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); text-decoration: none; }
.mobile-nav .mob-section { padding: 10px 24px 4px; font-size: 0.72rem; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.mobile-nav .mob-sub { padding-left: 40px; font-size: 0.875rem; }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0D1B3E 0%, #1A1A2E 40%, #1E4B8F 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 60px 20px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; width: 100%; position: relative; z-index: 1;
}
.hero-content { padding-bottom: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.3);
  color: var(--green); padding: 5px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
}
.hero-eyebrow::before { content: '⚡'; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; line-height: 1.12; margin-bottom: 6px;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  color: rgba(255,255,255,0.65); font-size: 1.1rem;
  margin-bottom: 32px; font-weight: 400;
}

/* Search bar */
.hero-search {
  background: #fff; border-radius: var(--radius-lg);
  padding: 8px; display: flex; gap: 8px; align-items: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3); flex-wrap: wrap;
}
.hero-search select,
.hero-search input {
  flex: 1; min-width: 140px; border: 1px solid var(--border);
  border-radius: 6px; padding: 11px 14px;
  font-size: 0.9rem; color: var(--text);
  background: #fff; outline: none; transition: border-color var(--transition);
}
.hero-search select:focus, .hero-search input:focus { border-color: var(--blue); }
.hero-search .search-submit {
  background: var(--green); color: #fff; border: none;
  padding: 11px 28px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.hero-search .search-submit:hover { background: var(--green-dark); }
.search-icon { font-size: 1rem; }

/* Quick links */
.hero-quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-quick-links a {
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.hero-quick-links a:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }

/* Hero mascots */
.hero-mascots {
  position: relative; min-height: 380px;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-mascots .mascot-group {
  position: absolute; bottom: 0; right: 0; left: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  gap: 0;
}
.hero-mascots .mascot-group img {
  height: 280px; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}
.hero-mascots .mascot-group img:hover { transform: translateY(-8px) scale(1.04); }
.hero-mascots .mascot-solo {
  max-height: 420px; object-fit: contain; width: 100%;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
}

/* Hero stats bar — sits below hero-inner, full width */
.hero-stats-bar {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%; position: relative; z-index: 1;
}
.hero-stats-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: flex; gap: 0; align-items: stretch;
}
.hero-stat {
  flex: 1; padding: 16px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-num { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.hero-stat .stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY TILES
═══════════════════════════════════════════════════════════════ */
.categories-section { background: var(--body-bg); padding: 48px 0; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.category-tile {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; display: block;
  min-height: 220px;
  background: var(--dark-mid);
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); text-decoration: none; }
.category-tile .tile-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  transition: transform 0.4s ease;
}
.category-tile:hover .tile-bg { transform: scale(1.04); }
.category-tile .tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.category-tile .tile-content { position: relative; z-index: 2; padding: 20px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.category-tile .tile-icon { font-size: 2rem; margin-bottom: 8px; }
.category-tile .tile-name { color: #fff; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.category-tile .tile-sub  { color: rgba(255,255,255,0.7); font-size: 0.78rem; margin-top: 4px; }
.category-tile .tile-count { color: var(--green); font-size: 0.75rem; font-weight: 600; margin-top: 6px; }
.category-tile .tile-arrow {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 32px; height: 32px; background: rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.9rem; transition: var(--transition);
}
.category-tile:hover .tile-arrow { background: var(--green); }

/* Tile colour accents */
.tile-sparky  { border-top: 3px solid #FF6B35; }
.tile-chico   { border-top: 3px solid var(--purple); }
.tile-ellie   { border-top: 3px solid var(--blue); }
.tile-geo     { border-top: 3px solid var(--green); }

/* ═══════════════════════════════════════════════════════════════
   WHY EVZOO
═══════════════════════════════════════════════════════════════ */
.why-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card { text-align: center; padding: 32px 20px; }
.why-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; background: var(--blue-light);
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   LISTING CARDS
═══════════════════════════════════════════════════════════════ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.listing-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border); display: flex; flex-direction: column;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img-wrap {
  position: relative; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--dark-mid), var(--blue));
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.card-img-placeholder .vh-emoji { font-size: 3.5rem; }
.card-img-placeholder .vh-name  { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-align: center; padding: 0 12px; }

/* Image type gradients */
.img-car       { background: linear-gradient(135deg, #1e3a5f, #1E4B8F); }
.img-van       { background: linear-gradient(135deg, #1b4332, #2d6a4f); }
.img-truck     { background: linear-gradient(135deg, #3d1c00, #8B4513); }
.img-bike      { background: linear-gradient(135deg, #1a1a2e, #FF6B35); }
.img-moto      { background: linear-gradient(135deg, #2d1b4e, var(--purple)); }
.img-charger   { background: linear-gradient(135deg, #1a2744, #3F51B5); }
.img-solar     { background: linear-gradient(135deg, #1c3a1c, #4CAF50); }
.img-luxury    { background: linear-gradient(135deg, #1a1a2e, #4A4080); }
.img-scooter   { background: linear-gradient(135deg, #3d1a00, #FF8F00); }

.card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; flex-wrap: wrap;
}
.card-save {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: var(--transition); border: none; color: #999;
}
.card-save:hover { background: #fff; color: var(--red); transform: scale(1.1); }
.card-finance-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 4px 9px; border-radius: 20px;
}

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.card-price { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.card-price .price-pm { font-size: 0.78rem; color: var(--text-light); font-weight: 400; margin-left: 4px; }
.card-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.spec-chip {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.78rem; color: var(--text-light);
}
.spec-chip .spec-ico { font-size: 0.85rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-location { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.card-enquire {
  font-size: 0.8rem; color: var(--blue); font-weight: 600;
  padding: 6px 14px; border: 1.5px solid var(--blue);
  border-radius: 6px; transition: var(--transition);
}
.card-enquire:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════════════════════ */
.stats-strip {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .stat-n { font-size: 2.4rem; font-weight: 900; color: var(--green); }
.stat-item .stat-l { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   NEWS CARDS
═══════════════════════════════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.news-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: box-shadow var(--transition); display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); }
.news-card-img { position: relative; overflow: hidden; }
.news-card-img img { width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card.featured .news-card-img img { height: 260px; }
.news-card:not(.featured) .news-card-img img { height: 160px; }
.news-cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: #fff;
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.08em;
}
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.news-meta .dot { width: 3px; height: 3px; background: var(--border); border-radius: 50%; }
.news-title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 8px; }
.news-card.featured .news-title { font-size: 1.15rem; }
.news-excerpt { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.news-card:not(.featured) .news-excerpt { display: none; }
.news-read-more { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-top: 12px; display: flex; align-items: center; gap: 4px; }
.news-read-more::after { content: '→'; }

/* ═══════════════════════════════════════════════════════════════
   POPULAR SEARCHES & TAGS
═══════════════════════════════════════════════════════════════ */
.popular-section { background: var(--body-bg); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag {
  padding: 7px 16px; border-radius: 20px;
  border: 1.5px solid var(--border); background: var(--card-bg);
  color: var(--text-body); font-size: 0.85rem;
  transition: var(--transition); cursor: pointer;
}
.search-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
#evzoo-footer .site-footer {
  background: var(--dark); color: rgba(255,255,255,0.75); padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-mark { font-size: 1.8rem; }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-top: 4px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 240px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.social-btn:hover { background: var(--green); color: #fff; text-decoration: none; }
.footer-col h5 {
  color: var(--green); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-bottom-right { display: flex; gap: 16px; }
.footer-bottom-right a { color: rgba(255,255,255,0.35); font-size: 0.8rem; transition: color var(--transition); }
.footer-bottom-right a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

/* ── OZEV TRUST STRIP ── */
.trust-strip {
  background: linear-gradient(90deg, var(--dark), #0d2040);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 12px 0;
}
.trust-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 0.78rem; }
.trust-item span:first-child { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (for inner pages)
═══════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
  color: #fff; padding: 40px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1rem; margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.breadcrumb a, .breadcrumb span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── FILTER SIDEBAR ── */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filter-sidebar {
  background: var(--card-bg); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 20px;
  position: sticky; top: calc(var(--header-h) + 12px);
}
.filter-sidebar h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.filter-group select,
.filter-group input { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.85rem; color: var(--text); background: #fff; }
.filter-range { display: flex; gap: 8px; }
.filter-range input { flex: 1; }
.filter-apply { width: 100%; margin-top: 4px; }

/* ── RESULT META BAR ── */
.results-meta-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.results-count { font-size: 0.9rem; color: var(--text-light); }
.results-count strong { color: var(--text); }
.results-sort { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-light); }
.results-sort select { border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; font-size: 0.85rem; }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; border: 1.5px solid var(--border);
  color: var(--text-body); font-size: 0.875rem; cursor: pointer;
  transition: var(--transition); background: var(--card-bg);
}
.page-btn:hover, .page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   INDIVIDUAL LISTING PAGE
═══════════════════════════════════════════════════════════════ */
.listing-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

.listing-gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; position: relative; }
.gallery-main { position: relative; height: 400px; background: var(--dark-mid); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; }
.gallery-thumb { height: 72px; background: var(--dark-mid); overflow: hidden; cursor: pointer; border-radius: 4px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition); }
.gallery-thumb:hover img { opacity: 0.8; }

.listing-spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.listing-spec-table tr:nth-child(even) { background: var(--body-bg); }
.listing-spec-table td { padding: 10px 14px; font-size: 0.875rem; }
.listing-spec-table td:first-child { font-weight: 600; color: var(--text); width: 42%; }
.listing-spec-table td:last-child { color: var(--text-body); }

.enquiry-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 12px);
  box-shadow: var(--shadow);
}
.enquiry-card .price-big { font-size: 2rem; font-weight: 900; color: var(--blue); margin-bottom: 4px; }
.enquiry-card .price-lease { font-size: 0.875rem; color: var(--green); font-weight: 600; margin-bottom: 18px; }
.enquiry-form { display: flex; flex-direction: column; gap: 12px; }
.enquiry-form input, .enquiry-form textarea {
  border: 1px solid var(--border); border-radius: 6px; padding: 11px 14px;
  font-size: 0.875rem; font-family: inherit; resize: none;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--blue); }
.seller-card {
  background: var(--body-bg); border-radius: var(--radius);
  padding: 14px; margin-top: 16px; display: flex; gap: 12px; align-items: center;
}
.seller-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.seller-info .name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.seller-info .type { font-size: 0.78rem; color: var(--text-light); }
.seller-rating { font-size: 0.8rem; color: var(--yellow); }

/* ═══════════════════════════════════════════════════════════════
   UTILITIES & MISC
═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-muted   { color: var(--text-light); }
.text-green   { color: var(--green); }
.text-blue    { color: var(--blue); }
.text-red     { color: var(--red); }
.fw-bold { font-weight: 700; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── BANNER AD SLOT ── */
.banner-ad {
  background: var(--body-bg); border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 20px;
  text-align: center; color: var(--text-light); font-size: 0.8rem;
  margin: 24px 0;
}
.banner-ad.leaderboard { min-height: 90px; }
.banner-ad.rectangle   { min-height: 250px; max-width: 300px; }

/* ── Required field asterisk ── */
.field-req { color: #EF4444; font-weight: 700; margin-left: 2px; }
.form-req-note { font-size: 0.78rem; color: var(--text-light); margin-bottom: 16px; }
.form-req-note .field-req { font-size: 0.85rem; }
/* Red left border on required inputs */
input[required], select[required], textarea[required] {
  border-left: 3px solid #EF4444!important;
  padding-left: 12px!important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mascots { display: none; }
  .hero-content { padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .listing-detail-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .header-nav, .header-right .header-login-btn, .header-right .btn-green { display: none; }
  .hamburger { display: flex; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-tile { min-height: 160px; }
  .news-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stats-inner { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 540px) {
  .listings-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search select, .hero-search input, .hero-search .search-submit { width: 100%; }
}
