/* ==========================================================================
   Quality Auto's — Design System
   Palette: workshop ink / paper / amber / rust / signal green
   Type: Barlow Condensed (display) + Inter (body)
   ========================================================================== */

:root {
  --ink: #15171b;
  --ink-soft: #23262c;
  --paper: #eff0ec;
  --paper-dim: #e4e5df;
  --white: #ffffff;
  --amber: #f2a71b;
  --amber-deep: #c9860f;
  --rust: #d9622b;
  --rust-deep: #b64f1f;
  --green: #2e8b57;
  --text: #1b1d21;
  --text-soft: #565b63;
  --text-on-dark: #f3f2ee;
  --text-on-dark-soft: #a9adb4;
  --line: rgba(21, 23, 27, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --tag-cut: 22px;
  --shadow-soft: 0 18px 40px -22px rgba(21, 23, 27, 0.35);
  --shadow-lift: 0 24px 60px -20px rgba(21, 23, 27, 0.45);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.2px;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Section rhythm ---------- */
.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rust-deep);
  margin-bottom: 14px;
}

.section--dark .section-kicker {
  color: var(--amber);
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: currentColor;
  display: block;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--text-soft);
}

.section--dark .section-head p {
  color: var(--text-on-dark-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 14px 26px;
  border: 2px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--amber {
  background: var(--amber);
  color: var(--ink);
}

.btn--amber:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text-on-dark);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 1rem;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  font-size: 0.86rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}

.topbar__info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__info a,
.topbar__info span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-on-dark-soft);
}

.topbar__info a:hover {
  color: var(--amber);
}

.topbar__info svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--amber);
}

.topbar__social {
  display: flex;
  gap: 12px;
}

.topbar__social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: grid;
  place-items: center;
}

.topbar__social svg {
  width: 13px;
  height: 13px;
}

.topbar__social a:hover {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

@media (max-width: 860px) {
  .topbar__social {
    display: none;
  }
  .topbar__info span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar .container {
    justify-content: center;
  }
  .topbar__info {
    gap: 14px;
    justify-content: center;
  }
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 30px -14px rgba(21, 23, 27, 0.3);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 54px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 34px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--amber);
  transition: width 0.22s ease;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.header__call svg {
  width: 34px;
  height: 34px;
  color: var(--amber-deep);
  flex-shrink: 0;
}

.header__call span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-family: var(--font-body);
  text-transform: none;
}

.header__call strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0;
  align-items: center;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .header__call span,
  .header__call svg {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--ink);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    color: var(--text-on-dark);
    font-size: 1.5rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-on-dark);
    display: block;
  }

  .header__call {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 420px) {
  .nav {
    inset: 0 0 0 10%;
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(21, 23, 27, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 98;
}

.nav-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(242, 167, 27, 0.16), transparent 45%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 34px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 130px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 167, 27, 0.12);
  border: 1px solid rgba(242, 167, 27, 0.35);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 16px 7px 12px;
  margin-bottom: 22px;
}

.hero__eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-on-dark-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 28px;
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.86rem;
  color: var(--text-on-dark-soft);
}

.hero__art {
  position: relative;
}

.hero__frame {
  position: relative;
  border: 1px solid var(--line-on-dark);
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.hero__frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
}

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: var(--amber);
  color: var(--ink);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  box-shadow: var(--shadow-lift);
  max-width: 240px;
}

.hero__badge svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.15;
}

.hero__badge small {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}

.hero__tag {
  position: absolute;
  top: -18px;
  right: 18px;
  background: var(--ink);
  border: 1px solid var(--line-on-dark);
  color: var(--text-on-dark);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__tag svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.hero-divider {
  position: relative;
  height: 90px;
  margin-top: -90px;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-bottom: 110px;
  }
  .hero__art {
    order: -1;
  }
  .hero__frame img {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 0;
  }
  .hero__grid {
    padding-bottom: 90px;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .hero__stats {
    gap: 22px;
  }
  .hero__badge {
    left: 0;
    bottom: -20px;
    max-width: 210px;
  }
}

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
}

.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.marquee__item svg {
  width: 20px;
  height: 20px;
  color: var(--amber-deep);
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Service bays ---------- */
.bay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bay-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px 30px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tag-cut)), calc(100% - var(--tag-cut)) 100%, 0 100%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bay-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.bay-card__num {
  position: absolute;
  top: 22px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-soft);
  letter-spacing: 1px;
}

.bay-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--rust-deep);
  margin-bottom: 22px;
}

.bay-card__icon svg {
  width: 28px;
  height: 28px;
}

.bay-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.bay-card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.bay-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.bay-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.bay-card__link:hover svg {
  transform: translateX(4px);
}

.bay-card--accent {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}

.bay-card--accent .bay-card__num {
  color: var(--text-on-dark-soft);
}

.bay-card--accent .bay-card__icon {
  background: rgba(242, 167, 27, 0.14);
  color: var(--amber);
}

.bay-card--accent h3 {
  color: var(--white);
}

.bay-card--accent p {
  color: var(--text-on-dark-soft);
}

.bay-card--accent .bay-card__link {
  color: var(--white);
}

@media (max-width: 980px) {
  .bay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bay-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  counter-reset: step;
}

.process__step {
  position: relative;
  padding: 0 26px 0 0;
}

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  right: -4px;
  width: 32px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}

.process__index {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--amber-deep);
  line-height: 1;
  margin-bottom: 14px;
}

.process__step h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.process__step p {
  color: var(--text-soft);
  font-size: 0.96rem;
  max-width: 30ch;
}

@media (max-width: 860px) {
  .process {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .process__step:not(:last-child)::after {
    display: none;
  }
}

/* ---------- Why choose us (feature strip) ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.feature {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: none;
}

.feature__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--rust-deep);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature:nth-child(2) {
    border-right: none;
  }
  .feature:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .feature {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none !important;
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__art {
  position: relative;
}

.about__art img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about__plate {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
}

.about__plate b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rust-deep);
  line-height: 1;
}

.about__plate span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.about__text p {
  color: var(--text-soft);
  margin-bottom: 16px;
  font-size: 1.03rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about__stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.about__stats .stat span {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.about__badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.about__badges img {
  height: 30px;
  width: auto;
}

.about__badges span {
  font-size: 0.86rem;
  color: var(--text-soft);
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

@media (max-width: 940px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__art {
    order: -1;
  }
  .about__plate {
    position: static;
    margin-top: 14px;
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Offers ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.offer-card {
  border: 1px solid var(--line-on-dark);
  padding: 30px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tag-cut)), calc(100% - var(--tag-cut)) 100%, 0 100%);
}

.offer-card--hi {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.offer-card:not(.offer-card--hi) {
  background: var(--ink-soft);
}

.offer-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.offer-card--hi .offer-card__tag {
  background: rgba(21, 23, 27, 0.12);
}

.offer-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.offer-card--hi h3 {
  color: var(--ink);
}

.offer-card p {
  color: var(--text-on-dark-soft);
  margin-bottom: 22px;
  min-height: 66px;
}

.offer-card--hi p {
  color: rgba(21, 23, 27, 0.72);
}

@media (max-width: 940px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-card p {
    min-height: 0;
  }
}

/* ---------- Testimonials ---------- */
.testi {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.testi__track {
  overflow: hidden;
}

.testi__slides {
  display: flex;
  transition: transform 0.45s ease;
}

.testi__slide {
  flex: 0 0 100%;
  padding: 6px;
}

.testi__card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 42px 44px;
  text-align: center;
}

.testi__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--amber-deep);
  margin-bottom: 20px;
}

.testi__stars svg {
  width: 18px;
  height: 18px;
}

.testi__quote {
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
}

.testi__name {
  font-weight: 700;
  font-size: 1rem;
}

.testi__role {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.testi__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testi__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
}

.testi__dot.is-active {
  background: var(--amber-deep);
  width: 24px;
  border-radius: 5px;
  transition: width 0.2s ease;
}

.testi__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  place-items: center;
}

.testi__arrow:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.testi__arrow svg {
  width: 18px;
  height: 18px;
}

.testi__arrow--prev {
  left: -60px;
}

.testi__arrow--next {
  right: -60px;
}

@media (max-width: 900px) {
  .testi__arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .testi__card {
    padding: 30px 22px;
  }
  .testi__quote {
    font-size: 1.14rem;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item__q svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--rust-deep);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  padding: 0 4px 24px;
  color: var(--text-soft);
  max-width: 68ch;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 1px solid var(--line);
}

.contact__info {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 46px 40px;
}

.contact__info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 26px;
}

.contact__item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-on-dark);
}

.contact__item:first-of-type {
  border-top: none;
}

.contact__item svg {
  width: 22px;
  height: 22px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-on-dark-soft);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact__item p,
.contact__item a {
  font-size: 0.98rem;
  color: var(--text-on-dark);
}

.contact__item a:hover {
  color: var(--amber);
}

.contact__map {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  filter: grayscale(0.15) contrast(1.02);
}

.contact__form-wrap {
  padding: 46px 40px;
  background: var(--white);
}

.contact__form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact__form-wrap > p {
  color: var(--text-soft);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  border-color: var(--amber-deep);
  background: var(--white);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-top: 14px;
}

.form-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex-shrink: 0;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(46, 139, 87, 0.1);
  border: 1px solid rgba(46, 139, 87, 0.3);
  color: #1e6b41;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.94rem;
}

.form-success.is-visible {
  display: flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 940px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__map {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .contact__info,
  .contact__form-wrap {
    padding: 34px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--rust) 0%, var(--amber-deep) 100%);
  color: var(--ink);
  padding: 54px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
  max-width: 34ch;
}

.cta-band__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-band .btn--dark {
  background: var(--ink);
  color: var(--white);
}

.cta-band .btn--outline {
  color: var(--ink);
  border-color: var(--ink);
}

.cta-band .btn--outline:hover {
  background: rgba(21, 23, 27, 0.08);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding-top: 76px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}

.footer__brand img {
  height: 50px;
  width: auto;
  margin-bottom: 18px;
  background: var(--paper);
  padding: 10px 16px;
}

.footer__brand p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__dealer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-soft);
  border: 1px solid var(--line-on-dark);
  padding: 10px 16px;
}

.footer__dealer img {
  height: 20px;
  width: auto;
  margin: 0;
  filter: brightness(1.1);
}

.footer__dealer span {
  font-size: 0.78rem;
  color: var(--text-on-dark-soft);
  border-left: 1px solid var(--line-on-dark);
  padding-left: 12px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.footer__bottom a:hover {
  color: var(--amber);
}

.footer__credit {
  font-size: 0.82rem;
  color: var(--text-on-dark-soft, #94a3b8);
}

.footer__credit a {
  color: var(--amber, #f59e0b);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.footer__credit a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

@media (max-width: 940px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating actions ---------- */
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.float-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.float-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-btn:hover {
  transform: translateY(-3px);
}

.float-btn--whatsapp {
  background: #25d366;
  color: var(--white);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.float-btn--top {
  background: var(--ink);
  color: var(--white);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.amber-text {
  color: var(--amber-deep);
}

/* ---------- Footer GSTIN ---------- */
.footer__gstin {
  font-size: 0.78rem;
  color: var(--text-on-dark-soft);
  margin-top: 12px;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   VEHICLE SHOWCASE SLIDER
   ========================================================================== */
.vslider {
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
}

.vslider__track {
  display: flex;
  transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.vslider__track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.vslider__slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 14px;
  box-sizing: border-box;
}

.vslider__card {
  background: var(--ink-soft);
  border: 1px solid var(--line-on-dark);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.vslider__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -18px rgba(0,0,0,0.55);
}

.vslider__img-wrap {
  position: relative;
  background: #f1f3f6;
  padding: 0;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vslider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.vslider__card:hover .vslider__img {
  transform: scale(1.05);
}

.vslider__badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 0.5px;
}

.vslider__badge-top--blue { background: #2563eb; color: #fff; }
.vslider__badge-top--green { background: var(--green); color: #fff; }
.vslider__badge-top--purple { background: #7c3aed; color: #fff; }

.vslider__info {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.vslider__model-tag {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(242,167,27,0.14);
  color: var(--amber);
  border: 1px solid rgba(242,167,27,0.3);
  width: fit-content;
  letter-spacing: 0.6px;
}

.vslider__model-tag--cargo { background: rgba(37,99,235,0.14); color: #60a5fa; border-color: rgba(37,99,235,0.3); }
.vslider__model-tag--eco   { background: rgba(46,139,87,0.14); color: #4ade80; border-color: rgba(46,139,87,0.3); }
.vslider__model-tag--ev    { background: rgba(124,58,237,0.14); color: #c4b5fd; border-color: rgba(124,58,237,0.3); }

.vslider__info h3 {
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

.vslider__tagline {
  color: var(--text-on-dark-soft);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.45;
}

.vslider__specs {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.vslider__specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vslider__specs li span {
  font-size: 0.73rem;
  color: var(--text-on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vslider__specs li strong {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
}

.vslider__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vslider__price span {
  font-size: 0.76rem;
  color: var(--text-on-dark-soft);
}

.vslider__price strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--amber);
  line-height: 1;
}

.vslider__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.vslider__actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Slider arrows */
.vslider__arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--ink);
  border: none;
  display: grid;
  place-items: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: var(--shadow-soft);
}

.vslider__arrow:hover {
  background: var(--amber-deep);
  transform: translateY(-50%) scale(1.08);
}

.vslider__arrow--prev { left: 14px; }
.vslider__arrow--next { right: 14px; }

.vslider__arrow svg {
  width: 22px;
  height: 22px;
}

/* Slider dots */
.vslider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
}

.vslider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.28);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.vslider__dot.is-active {
  background: var(--amber);
  width: 24px;
  border-radius: 4px;
}

/* Finance strip */
.finance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--line-on-dark);
}

.finance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-right: 1px solid var(--line-on-dark);
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
}

.finance-item:last-child { border-right: none; }

.finance-item svg {
  width: 22px;
  height: 22px;
  color: var(--amber);
  flex-shrink: 0;
}

.finance-item strong {
  color: var(--white);
}

/* Responsive vehicle slider */
@media (max-width: 1024px) {
  .vslider__slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 640px) {
  .vslider__slide {
    flex: 0 0 90%;
  }
  .vslider__img-wrap {
    height: 280px;
  }
  .vslider__arrow {
    top: 34%;
    width: 38px;
    height: 38px;
  }
  .finance-strip {
    grid-template-columns: 1fr 1fr;
  }
  .finance-item {
    border-bottom: 1px solid var(--line-on-dark);
  }
}

@media (max-width: 420px) {
  .vslider__slide {
    flex: 0 0 100%;
    padding: 0 10px;
  }
  .vslider__img-wrap {
    height: 250px;
  }
  .finance-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OFFER BANNER SLIDER
   ========================================================================== */
.offers-banner-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.obanner {
  position: relative;
  overflow: hidden;
  padding-bottom: 52px;
  margin-top: 0;
}

.obanner__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.obanner__track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.obanner__slide {
  flex: 0 0 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.obanner__card {
  position: relative;
  border-radius: 0;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  min-height: 240px;
}

.obanner__card--1 { background: linear-gradient(130deg, #c9860f 0%, #f2a71b 60%, #ffca56 100%); }
.obanner__card--2 { background: linear-gradient(130deg, #1a3a5c 0%, #1e3a5f 50%, #254d7a 100%); }
.obanner__card--3 { background: linear-gradient(130deg, var(--rust-deep) 0%, var(--rust) 70%, #e8854d 100%); }
.obanner__card--4 { background: linear-gradient(130deg, #1b4d35 0%, var(--green) 70%, #43c978 100%); }

.obanner__content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.obanner__pill {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 14px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.obanner__card--1 .obanner__pill { color: var(--ink); background: rgba(0,0,0,0.12); }

.obanner__content h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
}

.obanner__card--1 .obanner__content h3 { color: var(--ink); }

.obanner__content p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
  font-size: 1rem;
  max-width: 44ch;
}

.obanner__card--1 .obanner__content p { color: rgba(21,23,27,0.72); }

.obanner__deco {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 0.95;
  text-align: center;
  letter-spacing: -2px;
  pointer-events: none;
  z-index: 1;
}

.obanner__card--1 .obanner__deco { color: rgba(21,23,27,0.1); }

.obanner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  border: none;
  display: grid;
  place-items: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: var(--shadow-soft);
}

.obanner__arrow:hover {
  background: var(--amber);
  transform: translateY(-50%) scale(1.08);
}

.obanner__arrow--prev { left: 8px; }
.obanner__arrow--next { right: 8px; }

.obanner__arrow svg { width: 20px; height: 20px; }

.obanner__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
}

.obanner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.obanner__dot.is-active {
  background: var(--amber-deep);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .obanner__card {
    padding: 38px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
  .obanner__deco {
    right: 14px;
    font-size: 3.5rem;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .obanner__card {
    padding: 30px 22px;
    min-height: 0;
  }
  .obanner__deco {
    display: none;
  }
}

/* ==========================================================================
   SPARE PARTS SECTION
   ========================================================================== */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.parts-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.parts-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.parts-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--rust-deep);
  margin-bottom: 6px;
}

.parts-card__icon svg { width: 26px; height: 26px; }

.parts-card h3 { font-size: 1.3rem; margin: 0; }

.parts-card > p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

.parts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.parts-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.parts-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-deep);
  flex-shrink: 0;
}

.parts-card--cta {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}

.parts-card--cta .parts-card__icon {
  background: rgba(242,167,27,0.14);
  color: var(--amber);
}

.parts-card--cta h3 { color: var(--white); }
.parts-card--cta > p { color: var(--text-on-dark-soft); }

@media (max-width: 980px) {
  .parts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .parts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EMI CALCULATOR
   ========================================================================== */
.emi-section {
  background: var(--ink);
  color: var(--text-on-dark);
}

.emi-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.emi-info h2 { color: var(--white); margin-bottom: 16px; }
.emi-info > p { color: var(--text-on-dark-soft); margin-bottom: 20px; font-size: 1.05rem; }

.emi-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emi-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-on-dark-soft);
}

.emi-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

/* Calculator widget */
.emi-calc {
  background: var(--white);
  padding: 36px 32px;
}

.emi-calc h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--ink);
}

.emi-calc h3 svg { width: 22px; height: 22px; color: var(--amber-deep); }

.emi-field {
  margin-bottom: 22px;
}

.emi-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.emi-label-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.emi-label-row span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-deep);
}

.emi-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: var(--paper);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.emi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--amber-deep);
  cursor: pointer;
  transition: transform 0.15s;
}

.emi-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.emi-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--amber-deep);
  cursor: pointer;
}

.emi-range-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.emi-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin: 24px 0 14px;
}

.emi-result__item {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emi-result__item:last-child { border-right: none; }

.emi-result__item span {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.emi-result__item strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1;
}

.emi-result__item:first-child strong {
  color: var(--rust-deep);
  font-size: 1.5rem;
}

.emi-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 940px) {
  .emi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .emi-calc {
    padding: 26px 20px;
  }
  .emi-result {
    grid-template-columns: 1fr;
  }
  .emi-result__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .emi-result__item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--ink);
  border-top: 2px solid var(--amber);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-on-dark-soft);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  border-right: 1px solid var(--line-on-dark);
}

.mobile-bar__btn:last-child { border-right: none; }

.mobile-bar__btn svg {
  width: 22px;
  height: 22px;
}

.mobile-bar__btn--call {
  background: var(--rust-deep);
  color: #fff;
}

.mobile-bar__btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.mobile-bar__btn--vehicles:hover {
  background: rgba(242,167,27,0.15);
  color: var(--amber);
}

.mobile-bar__btn--book {
  background: var(--amber);
  color: var(--ink);
}

@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
  }

  /* Push content above mobile bar */
  body {
    padding-bottom: 64px;
  }

  /* Move floating stack higher */
  .float-stack {
    bottom: 80px;
  }
}

/* ==========================================================================
   ICON UTILITY
   ========================================================================== */
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--amber);
  border: 1px solid rgba(242, 167, 27, 0.4);
  cursor: pointer;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.admin-toggle-btn:hover {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.mobile-bar__btn--admin {
  background: #111418;
  color: var(--amber);
  border-left: 1px solid var(--line-on-dark);
}

/* Modal Window */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.25s ease;
}

.admin-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal__scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(4px);
}

.admin-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: 90vh;
  background: var(--white);
  border: 2px solid var(--amber);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  z-index: 2;
  animation: adminSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adminSlideUp {
  from { transform: translateY(24px) scale(0.98); }
  to { transform: translateY(0) scale(1); }
}

.admin-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  border-bottom: 2px solid var(--amber);
  flex-shrink: 0;
}

.admin-modal__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-modal__title svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.admin-modal__title h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
}

.admin-modal__title small {
  color: var(--text-on-dark-soft);
  font-size: 0.8rem;
  display: block;
}

.admin-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-auth-status {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--amber);
  border-radius: 4px;
}

.admin-close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}

.admin-close-btn:hover {
  color: var(--amber);
}

/* ==========================================================================
   MODERN ADMIN DASHBOARD STYLES
   ========================================================================== */

/* Login View */
.admin-login-box {
  max-width: 440px;
  margin: 60px auto;
  padding: 44px 40px;
  text-align: center;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.admin-login-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--amber);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.admin-login-icon svg {
  width: 28px;
  height: 28px;
}

.admin-login-box h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.admin-login-box p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.admin-login-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
}

/* Dashboard Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  flex: 1;
  height: calc(90vh - 68px);
  min-height: 0;
  overflow: hidden;
  background: #f8fafc;
}

.admin-nav {
  background: #0f172a;
  border-right: 1px solid #1e293b;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
}

.admin-nav__tab {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 12px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  width: calc(100% - 24px);
}

.admin-nav__tab svg {
  width: 18px;
  height: 18px;
  color: #64748b;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.admin-nav__tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.admin-nav__tab:hover svg {
  color: #f8fafc;
}

.admin-nav__tab.is-active {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.06) 100%);
  color: #f59e0b;
  font-weight: 700;
}

.admin-nav__tab.is-active svg {
  color: #f59e0b;
}

.admin-nav__footer {
  margin-top: auto;
  padding: 18px 20px 0;
  border-top: 1px solid #1e293b;
}

.admin-nav__footer .btn {
  width: 100%;
  text-align: center;
}

.admin-tab-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  padding: 28px 36px 60px;
  background: #f8fafc;
  -webkit-overflow-scrolling: touch;
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.is-active {
  display: block;
  animation: adminFadeIn 0.2s ease;
}

@keyframes adminFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-pane-header {
  position: sticky;
  top: -28px;
  z-index: 20;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-pane-header h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.admin-pane-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

/* Cards List (Vehicles & Offers) */
.admin-cards-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-item-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  transition: all 0.2s ease;
}

.admin-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.admin-item-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 4px;
}

.admin-item-topbar h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-item-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-item-preview img {
  width: 100%;
  height: 135px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 6px;
}

.admin-file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 8px 10px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admin-file-label:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.admin-item-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.admin-item-fields .form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 6px;
}

.admin-item-fields .form-control {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 40px;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.2s ease;
  width: 100%;
}

.admin-item-fields .form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
  outline: none;
}

.btn--danger {
  background: #fef2f2;
  color: #dc2626 !important;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn--danger:hover {
  background: #dc2626;
  color: #ffffff !important;
  border-color: #dc2626;
}

/* Security Cards */
.admin-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-security-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 24px;
}

.admin-security-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.admin-security-card--danger {
  border-color: #fecaca;
  background: #fff5f5;
}

.admin-security-card--danger p {
  font-size: 0.88rem;
  color: #991b1b;
  margin-bottom: 18px;
}

/* Gallery / Media Library Styles */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.admin-gallery-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.2s ease;
}

.admin-gallery-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.admin-gallery-thumb {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px;
}

.admin-gallery-meta {
  font-size: 0.72rem;
  font-family: monospace;
  background: #f1f5f9;
  padding: 4px 6px;
  border-radius: 4px;
  color: #475569;
  word-break: break-all;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
}

.admin-gallery-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.admin-gallery-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 6px 8px;
  text-align: center;
}

/* Toast notification */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #f8fafc;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  animation: adminSlideUp 0.25s ease;
}

@media (max-width: 860px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #1e293b;
    padding: 8px;
  }
  .admin-nav__tab {
    padding: 10px 14px;
    margin: 0 4px;
    white-space: nowrap;
    width: auto;
  }
  .admin-nav__footer {
    display: none;
  }
  .admin-item-card {
    grid-template-columns: 1fr;
  }
  .admin-item-fields {
    grid-template-columns: 1fr;
  }
  .admin-security-grid {
    grid-template-columns: 1fr;
  }
  .admin-modal__dialog {
    height: 96vh;
  }
  .admin-layout {
    height: calc(96vh - 65px);
  }
  .admin-tab-content {
    padding: 18px 16px 60px;
  }
}

/* Custom Sleek Scrollbar for Admin Content */
.admin-tab-content::-webkit-scrollbar {
  width: 8px;
}

.admin-tab-content::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.admin-tab-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.admin-tab-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


