/* ===========================================================
   Tembani Sales Executive — Design System
   Brand: red (#f61037) + white, dark automotive accents
   =========================================================== */
:root {
  --red: #f61037;
  --red-dark: #c70d2c;
  --red-soft: #ff3354;
  --ink: #0d0f14;
  --ink-2: #161a22;
  --ink-3: #1e2430;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: #e7e9ee;
  --paper: #ffffff;
  --paper-2: #f5f6f9;
  --paper-3: #eceef3;
  --text: #0d0f14;
  --text-soft: #525a6b;
  --text-mut: #8a93a6;
  --white: #ffffff;
  --ok: #16a34a;
  --warn: #f59e0b;
  --lost: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(13, 15, 20, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(13, 15, 20, 0.25);
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
section {
  position: relative;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--display);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 38px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 14px 0 10px;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.02rem;
}
.section-pad {
  padding: 84px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(246, 16, 55, 0.7);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}
.btn-wa {
  background: #25d366;
  color: #063d22;
}
.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
/* sheen sweep on primary buttons */
.btn-primary,
.btn-lg {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after {
  left: 130%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  max-width: 180px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px -10px rgba(246, 16, 55, 0.8);
  transition: transform 0.3s ease;
}
.brand:hover .brand-mark {
  transform: scale(1.05) rotate(-3deg);
}
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-word b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-word span {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-soft);
  font-weight: 700;
}
.site-header.scrolled .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}
.brand.on-light .brand-word b {
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #fff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--line);
  transition: 0.2s;
}
.icon-btn:hover {
  background: var(--red);
  border-color: var(--red);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  place-items: center;
  border: 1px solid var(--line);
}
.burger span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Hero (video) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 94px 0 56px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 12, 0.95) 0%,
      rgba(8, 9, 12, 0.82) 38%,
      rgba(8, 9, 12, 0.45) 70%,
      rgba(8, 9, 12, 0.65) 100%
    ),
    linear-gradient(0deg, rgba(8, 9, 12, 0.9) 0%, transparent 32%),
    radial-gradient(
      80% 80% at 90% 12%,
      rgba(246, 16, 55, 0.28),
      transparent 55%
    );
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-inner {
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: wapulse 2.2s infinite;
}
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title em {
  color: var(--red);
  font-style: normal;
  text-shadow: 0 0 40px rgba(246, 16, 55, 0.5);
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 26px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-stats .divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
}
.hero-stats .stat b {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--display);
  line-height: 1;
}
.hero-stats .stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 7px;
}
.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
  }
}
/* entrance animation */
.anim {
  opacity: 0;
  transform: translateY(26px);
  animation: heroUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.trust-strip .row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip .ti {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.trust-strip .ti i {
  color: var(--red);
  font-style: normal;
}

/* ---------- Showroom ---------- */
.showroom {
  background: var(--paper-2);
}
.show-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-dark);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: 0.2s;
}
.chip:hover {
  border-color: var(--red);
  color: var(--red);
}
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.car-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-dark);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.car-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e2430, #0d0f14);
}
.car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-thumb img {
  transform: scale(1.06);
}
.car-thumb .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.car-thumb .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  color: var(--red);
}
.car-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-body h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.car-loc {
  color: var(--text-mut);
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.car-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.car-price .big {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}
.car-price .pm {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 700;
}
.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--line-dark);
  margin-bottom: 14px;
}
.car-specs .sp {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.car-specs .sp i {
  color: var(--red);
  font-style: normal;
  width: 16px;
  text-align: center;
}
.car-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.car-actions .btn {
  flex: 1;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-mut);
}

/* ---------- Services ---------- */
.services .svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: 0.22s;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.svc .svc-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.svc h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.svc p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---------- Split / About ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split-media {
  position: relative;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.about-list li i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(246, 16, 55, 0.12);
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ---------- Calculator + Booking band ---------- */
.tools {
  background: radial-gradient(
    120% 120% at 10% 0%,
    #20070d,
    var(--ink) 55%,
    #06070a
  );
  color: #fff;
}
.tools .section-head h2 {
  color: #fff;
}
.tools .section-head p {
  color: rgba(255, 255, 255, 0.7);
}
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tool-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.tool-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-card h3 i {
  color: var(--red);
  font-style: normal;
}
.tool-card .muted {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.85);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.1);
}
.field select option {
  color: #000;
}
.field input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  margin-right: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover {
  background: var(--red-dark);
}
.file-hint {
  font-size: 0.74rem;
  color: var(--text-mut);
  margin-top: 6px;
}
.form-light .file-hint {
  color: var(--text-mut);
}
.range-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}
.range-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.calc-result {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  margin: 18px 0;
}
.calc-result small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.calc-result .amount {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}
.calc-result .note {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 4px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---------- CTA banner ---------- */
.cta-band {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 30px 60px -25px rgba(246, 16, 55, 0.6);
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
.cta-band p {
  opacity: 0.92;
  margin-top: 6px;
}
.cta-band .btn-light {
  background: #fff;
  color: var(--red);
}
.cta-band .btn-light:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.foot-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.foot-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: 0.2s;
}
.foot-grid a:hover {
  color: var(--red);
  padding-left: 4px;
}
.foot-brand p {
  margin: 14px 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.foot-soc {
  display: flex;
  gap: 10px;
}
.foot-soc a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  color: #fff;
}
.foot-soc a:hover {
  background: var(--red);
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0;
}
.wa-float .wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7);
  animation: wapulse 2.4s infinite;
}
.wa-float .wa-btn:hover {
  transform: scale(1.07);
}
@keyframes wapulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow);
  animation: pop 0.25s ease;
}
@keyframes pop {
  from {
    transform: translateY(14px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-3);
  display: grid;
  place-items: center;
  color: var(--text-soft);
}
.modal-head {
  text-align: center;
  margin-bottom: 24px;
}
.modal-head .lock {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.modal-head h3 {
  font-size: 1.4rem;
}
.modal-head p {
  color: var(--text-soft);
  font-size: 0.9rem;
}
.modal .field label {
  color: var(--text);
}
.modal .field input {
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  color: var(--text);
}
.modal .field input:focus {
  border-color: var(--red);
  background: #fff;
}
.modal .hint {
  font-size: 0.78rem;
  color: var(--text-mut);
  text-align: center;
  margin-top: 14px;
}
.form-error {
  background: #fff1f2;
  color: var(--lost);
  border: 1px solid #fecdd3;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  margin-bottom: 14px;
  display: none;
}
.form-error.show {
  display: block;
}

/* light form variant (for white sections) */
.form-light .field label {
  color: var(--text);
}
.form-light .field input,
.form-light .field select,
.form-light .field textarea {
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  color: var(--text);
}
.form-light .field input:focus,
.form-light .field select:focus,
.form-light .field textarea:focus {
  border-color: var(--red);
  background: #fff;
}

/* toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast i {
  color: #25d366;
  font-style: normal;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===========================================================
   DASHBOARD
   =========================================================== */
.dash-body {
  background: var(--paper-2);
  min-height: 100vh;
}
.dash-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--ink);
  color: #fff;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin-bottom: 30px;
  padding: 0 8px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  width: 100%;
  transition: 0.2s;
}
.side-nav button i {
  font-style: normal;
  width: 20px;
  text-align: center;
}
.side-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.side-nav button.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(246, 16, 55, 0.8);
}
.side-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.side-foot button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 14px;
  width: 100%;
  border-radius: 10px;
}
.side-foot button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.dash-main {
  padding: 26px 32px;
  overflow-y: auto;
  height: 100vh;
}
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.dash-top h1 {
  font-size: 1.6rem;
}
.dash-top .sub {
  color: var(--text-soft);
  font-size: 0.9rem;
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-user .av {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.stat-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 14px;
}
.stat-card .ic.r {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.stat-card .ic.b {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}
.stat-card .ic.g {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.stat-card .ic.o {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.stat-card .num {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.stat-card .lbl {
  color: var(--text-soft);
  font-size: 0.86rem;
  margin-top: 4px;
}
.stat-card .trend {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 8px;
}
.stat-card .trend.up {
  color: var(--ok);
}
.stat-card .trend.down {
  color: var(--lost);
}

.panel {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.panel-head h3 {
  font-size: 1.1rem;
}
.chart-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.chart-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.chart-box {
  position: relative;
  height: 280px;
}
.chart-box.sm {
  height: 230px;
}

.table-wrap {
  overflow-x: auto;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-mut);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--paper-3);
}
table.data td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--paper-3);
  vertical-align: middle;
}
table.data tr:hover td {
  background: var(--paper-2);
}
.cell-car {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cell-car img {
  width: 54px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--ink-3);
}
.cell-car b {
  font-size: 0.92rem;
}
.cell-car small {
  color: var(--text-mut);
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.badge.new {
  background: #eff6ff;
  color: #2563eb;
}
.badge.contacted {
  background: #fff7ed;
  color: #d97706;
}
.badge.won {
  background: #f0fdf4;
  color: var(--ok);
}
.badge.lost {
  background: #fef2f2;
  color: var(--lost);
}
.badge.live {
  background: #f0fdf4;
  color: var(--ok);
}
.badge.sold {
  background: #f3f4f6;
  color: var(--text-soft);
}
.badge.src {
  background: var(--paper-3);
  color: var(--text-soft);
}

.row-actions {
  display: flex;
  gap: 6px;
}
.mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--text-soft);
  border: 1px solid var(--line-dark);
  transition: 0.2s;
}
.mini-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.mini-btn.del:hover {
  background: var(--lost);
  border-color: var(--lost);
}
.status-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  background: #fff;
}

.attach-list { display: grid; gap: 12px; }
.attach-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px;
}
.attach-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.attach-file {
  width: 56px; height: 56px; border-radius: 8px; background: var(--paper-2);
  display: grid; place-items: center; color: var(--text-mut); font-size: 1.3rem; flex-shrink: 0;
}
.attach-item > div { flex: 1; min-width: 0; }
.attach-item b { display: block; font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-item small { color: var(--text-mut); font-size: 0.76rem; }

.dash-form .field label {
  color: var(--text);
  font-size: 0.82rem;
}
.dash-form .field input,
.dash-form .field select,
.dash-form .field textarea {
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  color: var(--text);
}
.dash-form .field input:focus,
.dash-form .field select:focus,
.dash-form .field textarea:focus {
  border-color: var(--red);
  background: #fff;
}

.view {
  display: none;
}
.view.active {
  display: block;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(
    120% 120% at 80% 10%,
    #2a0a12,
    var(--ink) 50%,
    #06070a
  );
}
.gate .modal {
  max-width: 400px;
}

/* ===========================================================
   PREMIUM REFINEMENTS v2
   =========================================================== */
.eyebrow {
  letter-spacing: 0.18em;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.025em;
}
.section-pad {
  padding: 96px 0;
}

/* glassy header once scrolled */
.site-header.scrolled {
  background: rgba(10, 11, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* trust strip → premium dark bar with red ticks */
.trust-strip {
  background: linear-gradient(90deg, #0a0b0f, #15171f);
  padding: 26px 0;
}
.trust-strip .ti {
  font-weight: 500;
  font-size: 0.9rem;
}
.trust-strip .ti i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(246, 16, 55, 0.14);
  color: var(--red);
  font-size: 0.85rem;
}

/* showroom cards → more premium */
.showroom {
  background: linear-gradient(180deg, #f7f8fb, #eef0f5);
}
.car-card {
  border: 1px solid rgba(13, 15, 20, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 30px -18px rgba(13, 15, 20, 0.3);
}
.car-card:hover {
  box-shadow: 0 30px 60px -28px rgba(13, 15, 20, 0.45);
  border-color: rgba(246, 16, 55, 0.25);
}
.car-thumb {
  aspect-ratio: 16/11;
}
.car-thumb .tag {
  backdrop-filter: blur(4px);
  background: rgba(246, 16, 55, 0.92);
  box-shadow: 0 6px 16px -6px rgba(246, 16, 55, 0.8);
}
.car-thumb .fav {
  transition: 0.2s;
}
.car-card:hover .car-thumb .fav {
  transform: scale(1.1);
  background: var(--red);
  color: #fff;
}
.car-body {
  padding: 20px;
}
.car-price .big {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.car-price .pm {
  background: rgba(246, 16, 55, 0.1);
  padding: 3px 9px;
  border-radius: 7px;
}
.car-specs .sp i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--paper-2);
}
.chip {
  box-shadow: 0 4px 12px -8px rgba(13, 15, 20, 0.3);
}
.chip.active {
  box-shadow: 0 8px 18px -8px rgba(13, 15, 20, 0.5);
}

/* services → glassy cards with top accent */
.svc {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfbfd);
}
.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc:hover::before {
  transform: scaleX(1);
}
.svc .svc-ic {
  box-shadow: 0 12px 26px -12px rgba(246, 16, 55, 0.7);
  transition: transform 0.35s ease;
}
.svc:hover .svc-ic {
  transform: translateY(-4px) rotate(-4deg);
}

/* tool cards */
.tool-card {
  border-radius: 22px;
  backdrop-filter: blur(6px);
}
.calc-result {
  box-shadow: 0 20px 40px -20px rgba(246, 16, 55, 0.7);
}

/* about / split media: framed + accent */
.split-media img {
  border-radius: 22px;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--red);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
}

/* cta band shimmer */
.cta-band {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 120% at 100% 0%,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
}
.cta-band > * {
  position: relative;
  z-index: 1;
}

/* footer polish */
.site-footer {
  background: linear-gradient(180deg, #0a0b0f, #0d0f14);
}

/* ---------- Owner / Haval feature ---------- */
.owner {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 0;
  background: linear-gradient(180deg, #070809, #0d0f14 60%, #090a0d);
}
.owner-glow {
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  left: -160px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(246, 16, 55, 0.28), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.owner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.owner-media {
  position: relative;
}
.owner-media img {
  width: 100%;
  border-radius: 22px;
  -webkit-mask-image: radial-gradient(
    120% 120% at 60% 40%,
    #000 70%,
    transparent 100%
  );
  mask-image: radial-gradient(120% 120% at 60% 40%, #000 70%, transparent 100%);
}
.owner-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 15, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
}
.owner-tag .ot-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #25d366;
  color: #063d22;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.owner-tag small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}
.owner-tag b {
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.owner-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin: 14px 0 16px;
  letter-spacing: -0.025em;
}
.owner-copy > p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
}
.owner-list {
  list-style: none;
  margin: 24px 0 30px;
  display: grid;
  gap: 14px;
}
.owner-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}
.owner-list li i:first-child {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(246, 16, 55, 0.16);
  color: var(--red);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1rem;
}
.owner-list li b {
  color: #fff;
  font-weight: 600;
}
.owner-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.owner .btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.owner .btn-dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* scroll-reveal richer */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.car-card,
.svc {
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* ===========================================================
   REVIEWS, GALLERY TEASER, FAQ, COMING SOON
   =========================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 26px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}
.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-quote {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.review-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--display);
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-who b {
  display: block;
  font-size: 0.92rem;
}
.review-who small {
  color: var(--text-mut);
  font-size: 0.78rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--ink-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .gi-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.gallery-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mut);
  font-size: 0.8rem;
  margin-top: 18px;
}
.gallery-note i {
  color: var(--red);
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  color: var(--text);
}
.faq-q i {
  color: var(--red);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q i {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding: 0 18px 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 220px;
}

.car-card.coming-soon {
  opacity: 0.98;
}
.car-card.coming-soon .car-thumb {
  background: linear-gradient(135deg, #2a2f3a, #12151c);
}
.cs-ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.35);
  font-size: 2.2rem;
}
.cs-tag {
  background: rgba(13, 15, 20, 0.85) !important;
  box-shadow: none !important;
}
.cs-note {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.tag-popular {
  left: auto;
  right: 12px;
  top: 12px;
  background: rgba(13, 15, 20, 0.85) !important;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tag-popular i {
  color: #f59e0b;
}
.car-thumb .tag ~ .tag-popular {
  top: 46px;
}

/* ---------- Showroom page toolbar ---------- */
.showroom-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.sort-select {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.coming-soon-strip {
  margin-bottom: 36px;
}
.coming-soon-strip h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.coming-soon-strip h3 i {
  color: var(--red);
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Gallery page ---------- */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.protect-note {
  background: var(--paper-2);
  border: 1px dashed var(--line-dark);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.86rem;
  margin-bottom: 30px;
}
.protect-note i {
  color: var(--red);
  font-size: 1.1rem;
}

/* ===========================================================
   DASHBOARD v2 — polish + logos
   =========================================================== */
.dash-body {
  background: #eef0f5;
}
/* sidebar */
.sidebar {
  background: linear-gradient(180deg, #101218, #0a0b0f);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px 14px;
}
.sidebar-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px 0;
  margin-bottom: 26px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-brand .brand-sub {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red-soft);
  font-weight: 600;
  padding-left: 2px;
}
.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.brand-word--dark b {
  color: var(--ink);
}
.side-nav button {
  border-radius: 11px;
  font-weight: 500;
}
.side-nav button.active {
  box-shadow: 0 12px 24px -12px rgba(246, 16, 55, 0.9);
}
.side-nav button .badge {
  margin-left: auto;
}
/* topbar */
.dash-top h1 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.dash-user {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 8px 14px 8px 10px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.dash-user .av {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 8px 18px -8px rgba(246, 16, 55, 0.8);
}
/* stat cards */
.stat-card {
  border-radius: 18px;
  box-shadow: 0 10px 30px -20px rgba(13, 15, 20, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  border-color: rgba(13, 15, 20, 0.05);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -24px rgba(13, 15, 20, 0.5);
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 16, 55, 0.06), transparent 70%);
}
.stat-card .num {
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.stat-card .ic {
  box-shadow: 0 12px 24px -14px rgba(13, 15, 20, 0.6);
}
/* panels */
.panel {
  border-radius: 18px;
  box-shadow: 0 10px 30px -22px rgba(13, 15, 20, 0.35);
  border-color: rgba(13, 15, 20, 0.05);
}
.panel-head h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
/* table polish */
table.data tbody tr {
  transition: background 0.15s ease;
}
table.data .cell-car img {
  border-radius: 9px;
  box-shadow: 0 4px 10px -6px rgba(13, 15, 20, 0.5);
}
.mini-btn {
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.mini-btn:hover {
  transform: translateY(-1px);
}
.badge {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}
/* gate */
.gate .modal {
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.gate-logo {
  height: 42px;
  width: auto;
  margin: 0 auto 18px;
  display: block;
}
.gate .modal-head .lock {
  width: 46px;
  height: 46px;
  font-size: 1.15rem;
  border-radius: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-video {
    display: none;
  }
}

/* keep the hero CTA above the fold on genuinely short screens only */
@media (max-height: 680px) {
  .hero {
    padding-top: 84px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 4.6vw, 3.1rem);
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .hero-cta {
    margin-bottom: 22px;
  }
  .hero-stats .stat b {
    font-size: 1.8rem;
  }
  .hero-scroll {
    display: none;
  }
}
@media (max-height: 560px) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }
  .hero-sub {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-media {
    order: -1;
    max-width: 520px;
  }
  .car-grid,
  .services .svc-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid,
  .full-gallery-grid,
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .tools-grid,
  .chart-row,
  .chart-row-3,
  .owner-grid {
    grid-template-columns: 1fr;
  }
  .owner-media {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }
  .owner-glow {
    display: none;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: -260px;
    z-index: 80;
    transition: left 0.3s;
    width: 248px;
  }
  .sidebar.open {
    left: 0;
  }
  .dash-main {
    height: auto;
  }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    transform: translateY(-130%);
    transition: transform 0.3s;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    transform: none;
  }
  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }
  .burger {
    display: grid;
  }
  .car-grid,
  .services .svc-grid,
  .grid-2,
  .stat-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid,
  .full-gallery-grid,
  .cs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding: 60px 0;
  }
  .cta-band {
    padding: 32px 24px;
  }
  .dash-main {
    padding: 18px;
  }
  .show-top {
    align-items: flex-start;
  }
}
