/* =============================================
   TRACKTORR — Dealer Site Stylesheet
   ============================================= */

:root {
  --primary:    #E8500A;
  --primary-dk: #C44208;
  --accent:     #F5A623;
  --dark:       #1C2B36;
  --dark-2:     #243342;
  --mid:        #3D5166;
  --light-bg:   #F4F6F8;
  --border:     #DDE3EA;
  --text:       #2C3E50;
  --muted:      #6B7C8D;
  --white:      #FFFFFF;
  --green:      #27AE60;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.11);
  --shadow-lg:  0 8px 36px rgba(0,0,0,.15);
  --radius:     8px;
  --radius-sm:  5px;
  --transition: .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }
input, select, textarea { font-family: inherit; }

/* ---- Utilities ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }
.text-center { text-align: center; }

/* ---- Modal ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 32px; max-width: 500px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform .25s; }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-header h3 { font-size: 19px; font-weight: 800; color: var(--dark); line-height: 1.25; }
.modal-close { background: var(--light-bg); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); color: var(--text); }
.modal-close:hover { background: var(--border); }
.modal-item-info { background: var(--light-bg); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; border-left: 4px solid var(--primary); }
.modal-item-emoji { font-size: 30px; }
.modal-item-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.modal-item-price { font-size: 15px; color: var(--primary); font-weight: 800; margin-top: 2px; }
.modal-form .form-field { margin-bottom: 13px; }
.modal-form .form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.modal-form .form-field input, .modal-form .form-field select, .modal-form .form-field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); outline: none; transition: border-color var(--transition); background: var(--white); }
.modal-form .form-field input:focus, .modal-form .form-field select:focus, .modal-form .form-field textarea:focus { border-color: var(--primary); }
.modal-form .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-disclaimer { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.55; }
.modal-success { text-align: center; padding: 20px 10px; }
.modal-success .success-icon { font-size: 52px; margin-bottom: 14px; }
.modal-success h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- Badges ---- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.badge-new    { background: #D5F5E3; color: #1A7A40; }
.badge-hot    { background: #FDEBD0; color: #B7450C; }
.badge-sold   { background: #EAECEE; color: #5D6D7E; }
.badge-sale   { background: #FDEDEC; color: #C0392B; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; cursor: pointer; }
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dk); border-color: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: var(--white); }
.btn-dark     { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover     { background: var(--dark-2); }
.btn-white    { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover    { background: #f0f2f4; }
.btn-green    { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover    { background: #219A52; }
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 13px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Section headings ---- */
.section-label { display: inline-block; color: var(--primary); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: 10px; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--muted); font-size: 15px; max-width: 520px; }
.section-sub.center { margin: 0 auto; }
.rule { width: 44px; height: 4px; background: var(--primary); border-radius: 2px; margin-top: 12px; }
.rule.center { margin: 12px auto 0; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--dark);
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-right a { color: rgba(255,255,255,.85); font-weight: 600; font-size: 13px; transition: color var(--transition); }
.topbar-right a:hover { color: var(--accent); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100vw;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.logo-name { font-size: 22px; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.logo-name span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: #FEF0E8; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-weight: 700; font-size: 14px; color: var(--dark); display: flex; align-items: center; gap: 5px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 6px; }
.hamburger span { display: block; width: 23px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-top: 2px solid var(--border);
  padding: 0 24px;
  display: flex; flex-direction: column; gap: 2px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { max-height: 500px; opacity: 1; padding: 12px 24px 20px; }
.nav-mobile a { color: var(--text); font-size: 15px; font-weight: 500; padding: 11px 12px; border-radius: var(--radius-sm); display: block; transition: all var(--transition); }
.nav-mobile a:hover { background: #FEF0E8; color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(232,80,10,.18); border: 1px solid rgba(232,80,10,.35); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
.hero-title { font-size: clamp(30px, 4vw, 48px); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.hero-title span { color: var(--primary); }
.hero-desc { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; margin-bottom: 28px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.65); }
.trust-item strong { color: var(--white); font-size: 15px; }

/* Hero search card */
.hero-search {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-search h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 18px; }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form-field select, .form-field input {
  padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: var(--white); outline: none;
  transition: border-color var(--transition);
}
.form-field select:focus, .form-field input:focus { border-color: var(--primary); }

/* ============================================================
   STATS RIBBON
   ============================================================ */
.stats-ribbon { background: var(--primary); padding: 0; }
.stats-ribbon-inner { display: flex; }
.stat-cell { flex: 1; padding: 20px 16px; display: flex; align-items: center; gap: 12px; color: var(--white); border-right: 1px solid rgba(255,255,255,.22); justify-content: center; }
.stat-cell:last-child { border-right: none; }
.stat-icon { font-size: 24px; opacity: .9; }
.stat-num { font-size: 24px; font-weight: 800; line-height: 1; }
.stat-lbl { font-size: 11px; opacity: .82; margin-top: 2px; letter-spacing: .4px; text-transform: uppercase; }

/* ============================================================
   INVENTORY CARDS
   ============================================================ */
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.eq-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); cursor: pointer; }
.eq-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.eq-card-img { position: relative; height: 210px; background: linear-gradient(135deg, var(--dark-2), var(--mid)); overflow: hidden; }
.eq-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.eq-card:hover .eq-card-img img { transform: scale(1.05); }
.eq-card-img .eq-emoji { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 80px; background: linear-gradient(135deg, var(--dark-2) 0%, var(--mid) 100%); transition: transform .4s; }
.eq-card:hover .eq-emoji { transform: scale(1.07); }
.eq-card-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.eq-card-body { padding: 16px; }
.eq-card-make { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
.eq-card-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.35; }
.eq-card-specs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.eq-card-specs span { display: flex; align-items: center; gap: 4px; }
.eq-card-price { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.eq-card-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.eq-card-actions { display: flex; gap: 8px; }
.eq-card-footer { padding: 10px 16px; background: var(--light-bg); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw { background: var(--light-bg); }
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; position: relative; }
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 10%; right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.hiw-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-circle {
  width: 60px; height: 60px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.step-num {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px;
  background: var(--primary); color: var(--white);
  border-radius: 50%; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hiw-step h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.hiw-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 48px; }
.why-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: all var(--transition); }
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   DELIVERY SECTION
   ============================================================ */
/* Happy Customers Section */
.customers-photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.customers-photo-wrap { position:relative; border-radius:12px; overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/3; }
.customers-photo { width:100%; height:100%; object-fit:cover; object-position:top center; display:block; transition:transform .35s ease; }
.customers-photo-wrap:hover .customers-photo { transform:scale(1.04); }
.cust-name-tag { position:absolute; bottom:0; left:0; right:0; background:linear-gradient(to top, rgba(28,43,54,.9) 0%, transparent 100%); padding:20px 16px 14px; font-size:13px; font-weight:700; color:#fff; letter-spacing:.3px; }
.customers-stat-row { display:flex; gap:48px; justify-content:center; flex-wrap:wrap; }
.cust-stat { text-align:center; }
.cst-num { display:block; font-size:28px; font-weight:900; color:var(--dark); line-height:1.1; margin-bottom:4px; }
.cst-lbl { display:block; font-size:12px; font-weight:600; color:var(--muted); letter-spacing:1.5px; text-transform:uppercase; }
@media(max-width:600px){
  .customers-photo-grid { grid-template-columns:1fr; }
  .customers-stat-row { gap:24px; }
  .cst-num { font-size:22px; }
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.18);
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.22);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.wa-float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .8; }
  70%  { transform: scale(1.7); opacity: 0;  }
  100% { transform: scale(1.7); opacity: 0;  }
}
@media(max-width:600px){
  .wa-float { bottom:18px; right:18px; width:52px; height:52px; }
  .wa-float svg { width:27px; height:27px; }
}

/* Testimonials */
.testimonials-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.testi-card {
  background: var(--dark);
  border-radius:14px;
  padding:36px 32px 28px;
  display:flex; flex-direction:column; gap:20px;
  box-shadow: 0 8px 32px rgba(28,43,54,.22);
  transition: transform .2s ease, box-shadow .2s ease;
  position:relative; overflow:hidden;
}
.testi-card::before {
  content:'\201C';
  position:absolute; top:-10px; left:24px;
  font-size:120px; font-weight:900; color:var(--primary);
  opacity:.18; line-height:1; pointer-events:none;
}
.testi-card:hover { transform:translateY(-4px); box-shadow:0 16px 48px rgba(28,43,54,.32); }
.testi-stars { color:#F5A623; font-size:26px; letter-spacing:4px; }
.testi-body {
  font-size:19px; line-height:1.85; color:rgba(255,255,255,.93);
  flex:1; font-style:italic; font-weight:500;
}
.testi-author { display:flex; align-items:center; gap:18px; border-top:1px solid rgba(255,255,255,.12); padding-top:22px; }
.testi-avatar { width:66px; height:66px; border-radius:50%; object-fit:cover; object-position:top center; flex-shrink:0; border:3px solid var(--primary); box-shadow:0 0 0 3px rgba(232,80,10,.25); }
.testi-name { font-weight:900; font-size:19px; color:#fff; letter-spacing:-.3px; }
.testi-loc { font-size:14px; color:var(--primary); margin-top:4px; font-weight:700; letter-spacing:.5px; }
@media(max-width:768px){ .testimonials-grid { grid-template-columns:1fr; } }

.delivery-section { background: var(--dark); padding: 64px 0; }
.delivery-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.delivery-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.delivery-text h2 span { color: var(--primary); }
.delivery-text p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; margin-bottom: 22px; }
.delivery-points { display: flex; flex-direction: column; gap: 14px; }
.delivery-point { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.dp-icon { font-size: 18px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.delivery-map {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.delivery-map .map-emoji { font-size: 80px; margin-bottom: 16px; }
.delivery-map h4 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.delivery-map p { color: rgba(255,255,255,.6); font-size: 13px; }
.delivery-states { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; justify-content: center; }
.state-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }

/* ============================================================
   BROWSE PAGE
   ============================================================ */
.browse-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 40px 0; }
.sidebar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px; height: fit-content; position: sticky; top: 88px; }
.sidebar-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.sidebar-title button { font-size: 12px; font-weight: 600; color: var(--primary); background: none; cursor: pointer; padding: 0; border: none; }
.filter-group { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; }
.filter-group h4 { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 10px; }
.filter-options { display: flex; flex-direction: column; gap: 7px; }
.filter-opt label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
.filter-opt input[type="checkbox"] { accent-color: var(--primary); width: 14px; height: 14px; }
.filter-opt .cnt { margin-left: auto; font-size: 11px; color: var(--muted); background: var(--light-bg); padding: 1px 6px; border-radius: 8px; }
.price-range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range-inputs input { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; outline: none; width: 100%; transition: border-color var(--transition); }
.price-range-inputs input:focus { border-color: var(--primary); }
.browse-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-info { font-size: 14px; color: var(--muted); }
.results-info strong { color: var(--text); }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { font-size: 13px; font-weight: 600; color: var(--muted); }
.sort-wrap select { padding: 7px 11px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; background: var(--white); color: var(--text); outline: none; }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 36px; }
.page-btn { width: 38px; height: 38px; border: 1.5px solid var(--border); background: var(--white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-btn.disabled { opacity: .4; pointer-events: none; }
#noResults { display: none; text-align: center; padding: 60px 20px; }

/* ============================================================
   LISTING DETAIL
   ============================================================ */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 36px 0; }
.gallery-main { height: 400px; border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dark-2), var(--mid)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { display: flex; gap: 7px; overflow-x: auto; }
.gallery-thumb { flex-shrink: 0; width: 90px; height: 66px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dark-2), var(--mid)); transition: border-color var(--transition); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--primary); }
.detail-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--dark); margin: 22px 0 10px; line-height: 1.25; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-desc { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 22px; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.specs-table th { background: var(--light-bg); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 9px 14px; text-align: left; border: 1px solid var(--border); }
.specs-table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; }
.specs-table tr:nth-child(even) td { background: var(--light-bg); }

/* Price card */
.price-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.price-card .price { font-size: 30px; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.price-card .price-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-card .btn { margin-bottom: 8px; }
.divider-line { height: 1px; background: var(--border); margin: 16px 0; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.qs-item { background: var(--light-bg); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.qs-val { font-size: 15px; font-weight: 700; color: var(--dark); }
.qs-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }
.contact-form-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 14px; }
.contact-form-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--dark); }
.contact-form-card .form-field { margin-bottom: 10px; }
.contact-form-card .form-field input,
.contact-form-card .form-field textarea,
.contact-form-card .form-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; outline: none; transition: border-color var(--transition); color: var(--text); }
.contact-form-card .form-field input:focus,
.contact-form-card .form-field textarea:focus { border-color: var(--primary); }
.contact-form-card .form-field textarea { resize: vertical; min-height: 80px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-big-icon { background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%); border-radius: var(--radius); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 110px; }
.about-float-stat { position: absolute; bottom: -16px; right: -16px; background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 14px 18px; text-align: center; box-shadow: var(--shadow-md); }
.about-float-stat .fn { font-size: 26px; font-weight: 900; }
.about-float-stat .fl { font-size: 12px; opacity: .9; }
.about-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.process-points { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.process-point { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.5; }
.pp-icon { font-size: 18px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding: 56px 0; }
.contact-form-wrap { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form-wrap h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.contact-form-wrap > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.contact-form-wrap .form-field { margin-bottom: 14px; }
.contact-form-wrap .form-field input,
.contact-form-wrap .form-field select,
.contact-form-wrap .form-field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; transition: border-color var(--transition); color: var(--text); }
.contact-form-wrap .form-field input:focus,
.contact-form-wrap .form-field textarea:focus,
.contact-form-wrap .form-field select:focus { border-color: var(--primary); }
.contact-form-wrap .form-field textarea { resize: vertical; min-height: 130px; }
.contact-form-wrap .form-field label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 5px; display: block; }
.contact-info-panel { display: flex; flex-direction: column; gap: 14px; }
.info-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; transition: var(--transition); }
.info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.info-icon { width: 44px; height: 44px; background: #FEF0E8; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--primary); flex-shrink: 0; }
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 3px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--dark); }
.info-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.faq-item { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-btn { width: 100%; text-align: left; padding: 16px 18px; background: none; font-size: 14px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: none; }
.faq-icon { font-size: 18px; flex-shrink: 0; transition: .25s; }
.faq-body { display: none; padding: 0 18px 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   PAGE HERO (inner)
   ============================================================ */
.page-hero { background: var(--dark); padding: 48px 0; color: var(--white); }
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 15px; max-width: 500px; }
.breadcrumb-bar { background: var(--light-bg); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--primary); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%); padding: 60px 0; text-align: center; }
.cta-banner h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 900; color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #111D26; color: rgba(255,255,255,.65); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-brand .logo-name { color: var(--white); font-size: 22px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-top: 12px; opacity: .65; }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.soc-btn { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: var(--transition); }
.soc-btn:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; opacity: .65; transition: opacity var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 10px; opacity: .7; }
.footer-contact li span:first-child { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .45; flex-wrap: wrap; gap: 6px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--dark); color: var(--white); padding: 13px 18px; border-radius: var(--radius-sm); font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; min-width: 240px; }
.toast.success { background: var(--green); }
.toast.error { background: #C0392B; }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-search { max-width: 560px; }
  .browse-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .about-story { grid-template-columns: 1fr; }
  .delivery-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hiw-steps::before { display: none; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links, .nav-cta .btn-outline, .nav-cta .btn-primary, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .stats-ribbon-inner { flex-wrap: wrap; }
  .stat-cell { flex-basis: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .inventory-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .browse-toolbar { flex-direction: column; align-items: flex-start; }
}
