/* =========================================================
   TN45CARS - Main Stylesheet
   Brand colors extracted from logo: navy, purple, orange
========================================================= */

:root {
  --navy: #1b2456;
  --navy-dark: #10152f;
  --purple: #7a2fb5;
  --purple-light: #9b4fd6;
  --orange: #ff6f1f;
  --orange-dark: #e85a0c;
  --grey-bg: #f4f5f9;
  --white: #ffffff;
  --text: #1e2136;
  --text-light: #6b6f85;
  --border: #e6e7ef;
  --success: #1fa855;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(27, 36, 86, 0.08);
  --shadow-lg: 0 10px 40px rgba(27, 36, 86, 0.16);
  --header-h: 68px;
  --bottomnav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--grey-bg);
  color: var(--text);
  padding-bottom: var(--bottomnav-h);
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================= TOP HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 42px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.brand-text span {
  display: block;
  font-size: 10px;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.desktop-nav { display: none; }
.desktop-nav ul { display: flex; gap: 28px; }
.desktop-nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  transition: color .2s;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--orange); }

.header-cta { display: none !important; }

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grey-bg);
}
.hamburger-btn span,
.hamburger-btn span::before,
.hamburger-btn span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: all .25s;
}
.hamburger-btn span::before { position: absolute; top: -6px; }
.hamburger-btn span::after { position: absolute; top: 6px; }

/* ================= MOBILE SLIDE MENU ================= */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(16,21,47,0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  max-width: 82vw;
  height: 100%;
  background: var(--navy);
  z-index: 200;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-menu-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu ul li a {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 4px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.mobile-menu .menu-whatsapp {
  margin-top: 24px;
  background: var(--success);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ================= BOTTOM APP NAV (mobile) ================= */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--bottomnav-h);
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 150;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--orange); }
.bottom-nav a.nav-whatsapp { color: var(--success); }

/* ================= HERO ================= */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 36px 0 30px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.5;
}
.hero-has-photo::after { display: none; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}
.hero h1 span { color: var(--orange); }
.hero p {
  margin-top: 8px;
  color: #cfd3ea;
  font-size: 14px;
}
.hero-stats {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}
.hero-stats div strong { display: block; font-size: 18px; color: var(--orange); }
.hero-stats div span { font-size: 11px; color: #cfd3ea; }

/* ---- Hero v2 (richer marketing hero: badge, search CTA, feature strip) ---- */
.hero-v2 {
  padding: 44px 0 26px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 { width: 280px; height: 280px; right: -80px; top: -100px; background: radial-gradient(circle, var(--purple) 0%, transparent 70%); opacity: 0.45; }
.hero-blob-2 { width: 220px; height: 220px; left: -80px; bottom: -80px; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); opacity: 0.3; }

/* When a hero-bg.jpg photo is present, index.php adds these instead of the blobs */
.hero-has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Kept fairly dark across the whole width (not just under the text) so
     readability never depends on exactly how bright the uploaded photo is.
     Still a touch lighter on the right so the photo remains visible there. */
  background: linear-gradient(100deg, rgba(10,14,36,0.88) 0%, rgba(10,14,36,0.72) 50%, rgba(10,14,36,0.55) 100%);
}
.hero-has-photo .hero-v2-text h1,
.hero-has-photo .hero-v2-text p,
.hero-has-photo .hero-badge {
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.hero-has-photo .hero-v2-text p { color: #f0f1fa; }

.hero-v2-text { position: relative; z-index: 2; max-width: 560px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--orange);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.hero-v2-text h1 { font-size: 26px; font-weight: 800; line-height: 1.28; margin-top: 12px; }
.hero-v2-text h1 span { color: var(--orange); }
.hero-v2-text p { margin-top: 10px; color: #cfd3ea; font-size: 14px; line-height: 1.5; }

.hero-search-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10,14,36,0.55);
  border: 1.5px solid rgba(255,255,255,0.18);
  padding: 13px 18px;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .15s;
  backdrop-filter: blur(4px);
}
.hero-search-cta:active { transform: scale(0.98); }
.hero-search-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-search-arrow { margin-left: 4px; transition: transform .2s; }
.hero-search-cta:hover .hero-search-arrow { transform: translateX(3px); }

.google-rating-badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,20,40,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 9px 16px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.google-rating-badge:hover { background: rgba(16,20,40,0.75); }
.google-rating-stars {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffc93c;
  letter-spacing: 0.5px;
}
.google-rating-count {
  font-size: 12.5px;
  font-weight: 600;
  color: #cfd3ea;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 10px;
}

.hero-trust-badge {
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.hero-trust-badge-inline { margin-top: 18px; display: inline-flex; }
.hero-trust-badge-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.hero-trust-badge strong { display: block; font-size: 12.5px; color: var(--navy); }
.hero-trust-badge span { font-size: 10.5px; color: var(--text-light); }

.hero-feature-strip {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  background: rgba(10,14,36,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  backdrop-filter: blur(6px);
}
.hero-feature-item { display: flex; align-items: center; gap: 10px; }
.hero-feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(120deg, var(--purple), var(--purple-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero-feature-item strong { display: block; font-size: 12.5px; color: #fff; }
.hero-feature-item span { font-size: 10.5px; color: #b7bbd6; }

/* ================= FILTER BAR ================= */
.filter-section {
  background: #fff;
  margin-top: -18px;
  position: relative;
  z-index: 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.filter-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}
.filter-field select,
.filter-field input {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: #fff;
}
.filter-field select:focus,
.filter-field input:focus {
  outline: none;
  border-color: var(--purple);
}
.filter-range { display: flex; gap: 8px; }
.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; flex: 1; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-primary:active, .btn-outline:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--success); color: #fff; }
.btn-purple { background: linear-gradient(120deg, var(--purple), var(--purple-light)); color: #fff; }

/* ================= SECTION TITLES ================= */
.section {
  padding: 28px 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}
.section-head span { font-size: 13px; color: var(--text-light); }
.result-count { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }

/* ================= CAR GRID / CARDS ================= */
.car-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.car-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.car-card:active { transform: scale(0.98); }
.car-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--grey-bg);
}
.car-card-img img { width: 100%; height: 100%; object-fit: cover; }
.car-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.car-badge.sold { background: var(--text-light); }
.car-imgcount {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(16,21,47,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
}
.car-card-body { padding: 14px; }
.car-card-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.car-card-body .variant { font-size: 12.5px; color: var(--text-light); margin-top: 2px; }
.car-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple);
  margin-top: 8px;
}
.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.car-meta span {
  font-size: 11.5px;
  background: var(--grey-bg);
  color: var(--text);
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: 600;
}
.car-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.car-card-actions .btn { padding: 10px 14px; font-size: 13px; }

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-light);
}
.empty-state svg { width: 60px; height: 60px; margin: 0 auto 14px; opacity: 0.4; }

/* ================= CAR DETAILS PAGE ================= */
.breadcrumb {
  font-size: 12.5px;
  color: var(--text-light);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--purple); font-weight: 600; }

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
  margin-top: 12px;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-status {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--navy);
}
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.thumb-strip::-webkit-scrollbar { display: none; }
.thumb-strip img {
  width: 66px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  opacity: 0.6;
  border: 2px solid transparent;
}
.thumb-strip img.active { opacity: 1; border-color: var(--orange); }

.car-title-block { margin-top: 18px; }
.car-title-block h1 { font-size: 22px; font-weight: 800; color: var(--navy); }
.car-title-block .variant { color: var(--text-light); font-size: 14px; margin-top: 3px; }
.car-title-block .price { font-size: 26px; font-weight: 800; color: var(--purple); margin-top: 10px; }
.status-pill {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(31,168,85,0.12);
  color: var(--success);
}
.status-pill.sold { background: rgba(107,111,133,0.15); color: var(--text-light); }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.spec-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow);
}
.spec-item .label { font-size: 11px; color: var(--text-light); text-transform: uppercase; font-weight: 700; }
.spec-item .value { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-top: 4px; }

.desc-block {
  margin-top: 22px;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.desc-block h3 { font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.desc-block p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.sticky-enquire {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + 12px);
  left: 16px; right: 16px;
  z-index: 90;
}
.sticky-enquire .btn { width: 100%; padding: 15px; font-size: 15px; box-shadow: var(--shadow-lg); }

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  opacity: 0.8;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy-dark);
  color: #cfd3ea;
  padding: 34px 0 16px;
  margin-top: 20px;
}
.footer-grid { display: grid; gap: 22px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { font-size: 13px; margin-top: 8px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col li { font-size: 13px; margin-bottom: 8px; color: #a9adc4; }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #7a7fa0;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ================= LOADING SKELETON ================= */
.skeleton {
  background: linear-gradient(90deg, #eceef4 25%, #f6f7fb 37%, #eceef4 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ================= RESPONSIVE: TABLET/DESKTOP ================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .hamburger-btn { display: none; }
  .desktop-nav { display: block; }
  .header-cta { display: inline-flex !important; }
  .filter-grid { grid-template-columns: repeat(4, 1fr); }
  .filter-actions { grid-column: span 2; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-v2 { min-height: 520px; padding: 60px 0 34px; }
  .hero-v2-text h1 { font-size: 40px; }
  .hero-v2-text p { font-size: 16px; }
  .hero-feature-strip { grid-template-columns: repeat(4, 1fr); max-width: 700px; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky-enquire { display: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .car-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-details-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; }
}

/* =========================================================
   ABOUT PAGE — signature motif: Indian number-plate badges
   (TN45 is literally the Tirupur RTO code — the brand's own name)
========================================================= */
:root {
  --plate-white: #f7f6f1;
  --plate-black: #141414;
  --plate-blue: #0a3d91;
}

.about-eyebrow {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}
.about-eyebrow-dark { color: var(--purple); background: rgba(122,47,181,0.08); }

/* ---- Plate component (the signature element) ---- */
.plate {
  display: inline-flex;
  align-items: stretch;
  background: var(--plate-white);
  border: 3px solid var(--plate-black);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  flex-shrink: 0;
}
.plate-ind {
  background: var(--plate-blue);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.plate-number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  color: var(--plate-black);
  display: flex;
  align-items: center;
  letter-spacing: 2px;
}
.plate-lg { border-width: 4px; }
.plate-lg .plate-number { font-size: 26px; padding: 14px 20px; }
.plate-lg .plate-ind { font-size: 10px; padding: 0 7px; }
.plate-sm .plate-number { font-size: 18px; padding: 9px 14px; }
.plate-sm .plate-ind { font-size: 7px; padding: 0 4px; }

/* ---- About hero ---- */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 44px 0 60px;
}
.about-hero-blob {
  position: absolute;
  width: 320px; height: 320px;
  right: -100px; top: -120px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.4;
  filter: blur(40px);
  pointer-events: none;
}
.about-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.about-hero-text h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.28;
  margin-top: 14px;
}
.about-hero-text h1 span { color: var(--orange); }
.about-hero-text p {
  color: #cfd3ea;
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 480px;
}
.about-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.about-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-google-badge { margin-top: 0; }

/* ---- Generic about section spacing ---- */
.about-section { padding: 34px 0; }
.about-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 10px;
  line-height: 1.3;
}

/* ---- Our Story ---- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
.about-story-text p { margin-top: 14px; color: var(--text-light); font-size: 14.5px; line-height: 1.7; }
.about-story-plates {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.about-plate-label { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ---- Why Choose Us cards ---- */
.about-benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}
.about-benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.about-benefit-card:hover { transform: translateY(-3px); }
.about-benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--purple), var(--purple-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.about-benefit-card h3 { font-size: 15px; color: var(--navy); font-weight: 700; }
.about-benefit-card p { font-size: 13px; color: var(--text-light); margin-top: 6px; line-height: 1.5; }

/* ---- Founder ---- */
.about-founder-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-founder-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.about-founder-quote-mark {
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 0.5;
  color: var(--orange);
  opacity: 0.7;
}
.about-founder-message { color: #e6e8f5; font-size: 15px; line-height: 1.6; font-style: italic; }
.about-founder-signature { margin-top: 4px; }
.about-founder-name { font-family: 'Space Mono', monospace; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; }
.about-founder-title { color: #9aa0c4; font-size: 12px; margin-top: 3px; }

/* ---- Final CTA band ---- */
.about-cta-band {
  text-align: center;
  background: linear-gradient(120deg, var(--purple), var(--orange));
  border-radius: var(--radius);
  padding: 40px 24px;
  margin: 10px 0 40px;
  color: #fff;
}
.about-cta-band h2 { color: #fff; margin-top: 0; }
.about-cta-band p { color: rgba(255,255,255,0.9); font-size: 14px; margin-top: 8px; max-width: 460px; margin-left: auto; margin-right: auto; }
.about-cta-band-buttons { justify-content: center; margin-top: 20px; }
.about-cta-band .btn-primary { background: #fff; color: var(--purple); }
.about-cta-band .btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }

/* ---- Scroll reveal ---- */
/* Content stays visible by default. JS adds .reveal-armed (only once JS has
   actually run) before hiding anything — so if main.js fails to load for any
   reason, sections are never stuck invisible; they just skip the animation. */
.reveal.reveal-armed { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-armed.reveal-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .about-hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
  .about-hero-text h1 { font-size: 38px; }
  .about-hero-text p { font-size: 15.5px; }
  .about-section h2 { font-size: 28px; }
  .about-story-grid { grid-template-columns: 1.3fr 0.7fr; }
  .about-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .about-founder-card { flex-direction: row; text-align: left; padding: 36px; }
  .about-founder-quote-mark { position: absolute; top: 20px; left: 130px; font-size: 70px; }
}
@media (min-width: 1024px) {
  .about-benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   PUBLIC FORM / CARD COMPONENTS
   (used by sell-your-car.php and any other public-facing forms —
   mirrors the admin panel's card/form-field pattern for consistency)
========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.card-head h2 { font-size: 17px; color: var(--navy); font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }

.hint { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }

.alert-error {
  background: #fdecec;
  color: #c0392b;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 14px;
}
.alert-success {
  background: #eafaf0;
  color: var(--success);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 14px;
}

@media (min-width: 700px) {
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}


/* =========================================================
   STICKY MOBILE CONTACT BAR
   ========================================================= */

.sticky-mobile-contact {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 0;

    background: #ffffff;
    border-top: 1px solid #e5e7eb;

    position: relative;
    z-index: 1000;
}


/* =========================================================
   COMMON BUTTON
   ========================================================= */

.sticky-mobile-contact a {
    flex: 1 1 50%;

    min-width: 0;
    height: 52px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background .2s ease,
        color .2s ease;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.sticky-mobile-contact .sticky-whatsapp {
    background: #20b358 !important;
    color: #ffffff !important;

    border: 0;
    border-right: 1px solid rgba(255,255,255,.25);
}

.sticky-mobile-contact .sticky-whatsapp svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    color: #ffffff !important;
    fill: currentColor;
}

.sticky-mobile-contact .sticky-whatsapp:hover,
.sticky-mobile-contact .sticky-whatsapp:focus {
    background: #179b4b !important;
    color: #ffffff !important;
}


/* =========================================================
   CALL NOW
   ========================================================= */

.sticky-mobile-contact .sticky-call {
    background: #ffffff !important;
    color: #17204f !important;

    border: 0;
}

.sticky-mobile-contact .sticky-call svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;

    color: #17204f !important;
    fill: currentColor;
}

.sticky-mobile-contact .sticky-call:hover,
.sticky-mobile-contact .sticky-call:focus {
    background: #f3f4f8 !important;
    color: #17204f !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .sticky-mobile-contact {
        display: flex !important;
    }

    .sticky-mobile-contact a {
        height: 52px;
        font-size: 15px;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 769px) {

    .sticky-mobile-contact {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .sticky-mobile-contact {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;

        z-index: 99999;

        box-shadow: 0 -4px 15px rgba(0,0,0,.12);
    }

    body {
        padding-bottom: 52px;
    }
}

.posted-date {
    margin-top: 6px;
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

/* =========================================
   TN45 CARS - SEO CONTENT
   ========================================= */

.seo-content-section {
    margin: 0;
    padding: 35px 0 20px;
}

.seo-content-section .seo-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #222;
}

.seo-content-section h2 {
    margin: 0 0 16px;
    padding: 0;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

.seo-content-section h3 {
    margin: 24px 0 8px;
    padding: 0;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
}

.seo-content-section p {
    margin: 0 0 14px;
    padding: 0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: #222;
}

.seo-content-section .seo-last-text {
    margin-bottom: 0;
}

.seo-content-section a {
    color: #1b2456;
    font-weight: 600;
    text-decoration: none;
}

.seo-content-section a:hover {
    text-decoration: underline;
}


/* =========================================
   SPACE BEFORE NEXT SECTION
   ========================================= */

.seo-content-section + .section {
    margin-top: 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .seo-content-section {
        padding: 25px 0 15px;
    }

    .seo-content-section h2 {
        margin-bottom: 14px;
        font-size: 24px;
        line-height: 1.35;
    }

    .seo-content-section h3 {
        margin-top: 21px;
        margin-bottom: 7px;
        font-size: 19px;
        line-height: 1.4;
    }

    .seo-content-section p {
        margin-bottom: 12px;
        font-size: 16px;
        line-height: 1.65;
    }

    .seo-content-section .seo-last-text {
        margin-bottom: 0;
    }
}

/* =========================================================
   GOOGLE REVIEWS - SINGLE LINE
========================================================= */

.google-review-badge {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;

    background: rgba(16, 20, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 9px 16px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.google-review-stars {
    font-size: 15px;
    font-weight: 700;
    color: #ffc93c;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.google-review-rating {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: #fff;
    flex-shrink: 0;
}

.google-review-rating strong {
    font-size: 17px;
    font-weight: 800;
}

.google-review-rating span {
    font-size: 12px;
    color: #cfd3ea;
}

.google-review-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.google-review-info strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.google-review-info span {
    font-size: 11.5px;
    color: #cfd3ea;
}


/* ================= MOBILE ================= */

@media (max-width: 767px) {

    .google-review-badge {
        gap: 7px;
        padding: 8px 10px;
        max-width: 100%;
    }

    .google-review-stars {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .google-review-rating strong {
        font-size: 15px;
    }

    .google-review-rating span {
        font-size: 11px;
    }

    .google-review-info {
        gap: 4px;
        padding-left: 7px;
    }

    .google-review-info strong {
        font-size: 11.5px;
    }

    .google-review-info span {
        font-size: 10px;
    }
}

```css
/* =========================================================
   TN45 CARS - CONTACT PAGE
   FIXED VERSION
========================================================= */

.contact-hero {
    position: relative;
    width: 100%;
    padding: 72px 0 68px;
    background:
        radial-gradient(circle at 85% 20%, rgba(122, 47, 181, 0.24), transparent 34%),
        linear-gradient(135deg, #10152f 0%, #1b2456 55%, #10152f 100%);
    color: #ffffff;
    overflow: hidden;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff9a65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0 0 16px !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(34px, 5vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
}

.contact-hero h1 span {
    color: #ff6f1f !important;
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto !important;
    color: #d9dcef !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.75 !important;
}

.contact-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-hero-actions .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* =========================================================
   MAIN CONTACT AREA
========================================================= */

.contact-section {
    width: 100%;
    padding: 55px 0 !important;
    background: #ffffff;
}

.contact-section > .container {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: start;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.contact-info {
    width: 100%;
}

.contact-section-head {
    margin: 0 0 12px !important;
}

.contact-section-head h2 {
    margin: 5px 0 0 !important;
    color: #10152f !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.contact-small-label {
    display: inline-block;
    color: #7a2fb5 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.3px;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-intro {
    max-width: 520px;
    margin: 0 0 24px !important;
    color: #5f6475 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

