/* ─── Design Rationale ───
   Typography: Rajdhani (automotive, mechanical feel, bold headers) paired with DM Sans (clean, readable body).
   Color: Deep charcoal #0D1117 base with safety amber #FBBF24 accents — high-visibility, industrial, premium.
   Hero: Asymmetric split — bold headline left, a visual "service card" widget right showing the detail package.
   No stock photos. All visual elements built with CSS. Feels handcrafted, not templated.
   ─────────────────────────────────────────────────── */

:root {
  --bg:        #0D1117;
  --bg-card:   #161B22;
  --bg-alt:    #1C2330;
  --accent:    #FBBF24;
  --accent-dim:#9A7B00;
  --text:      #E6EDF3;
  --text-muted:#8B949E;
  --border:    rgba(251,191,36,0.15);
  --radius:    8px;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Navbar ─────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.nav-tagline { font-size: 12px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  padding: 80px 48px 80px;
  background: linear-gradient(135deg, var(--bg) 0%, #111827 60%, #0D1A0F 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual Card */
.hero-visual { display: flex; justify-content: center; }
.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 280px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.card-label {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251,191,36,0.1);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}
.top-left { top: -14px; left: 20px; }
.card-center { text-align: center; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.gauge { margin: 0 auto 12px; width: 80px; height: 40px; }
.gauge-track {
  width: 80px;
  height: 40px;
  border-radius: 80px 80px 0 0;
  background: rgba(251,191,36,0.1);
  position: relative;
  overflow: hidden;
}
.gauge-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to top, var(--accent-dim), var(--accent));
  border-radius: 80px 80px 0 0;
}
.card-stat { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; }
.card-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.card-bottom { display: flex; flex-direction: column; gap: 8px; }
.check-row { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.check { color: var(--accent); font-weight: 700; }

/* ─── Services ───────────────────────────────────── */
.services { padding: 80px 48px; }
.section-header { max-width: 1200px; margin: 0 auto 48px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-sub { font-size: 16px; color: var(--text-muted); }
.section-title.light, .section-sub.light { color: var(--text); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: rgba(251,191,36,0.4); }
.service-card.featured { border-color: var(--accent); }
.service-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.service-icon { margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── How ────────────────────────────────────────── */
.how { background: var(--bg-alt); padding: 80px 48px; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.how-content .section-title { margin-bottom: 12px; }
.how-content .section-sub { margin-bottom: 40px; }
.step-list { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; align-items: flex-start; gap: 20px; }
.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(251,191,36,0.1);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.step h4 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--text-muted); }

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}
.flow-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.flow-icon { font-size: 28px; }
.flow-arrow { font-size: 20px; color: var(--text-muted); }
.flow-caption { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }
.proof-stat { text-align: center; }
.proof-number { font-family: var(--font-head); font-size: 80px; font-weight: 700; color: var(--accent); line-height: 1; }
.proof-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ─── Manifesto ──────────────────────────────────── */
.manifesto {
  background: #0A0E12;
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 860px; margin: 0 auto; }
.manifesto-text { font-family: var(--font-head); font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; line-height: 1.5; color: var(--text-muted); }
.manifesto-text.accent { color: var(--accent); margin-top: 20px; }

/* ─── Closing ────────────────────────────────────── */
.closing {
  padding: 100px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0A0E12 100%);
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  max-width: 700px;
  margin: 0 auto 20px;
}
.closing-body { font-size: 16px; color: var(--text-muted); }

/* ─── Footer ─────────────────────────────────────── */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.footer-tag { font-size: 13px; color: var(--text-muted); margin-left: auto; }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar { padding: 16px 24px; }
  .hero { padding: 60px 24px; }
  .services { padding: 60px 24px; }
  .how { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 24px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-tag { margin-left: 0; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { display: none; }
}

/* ─── Navbar links (for /dealers page) ───────────── */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link-active { color: var(--accent); }

/* ─── Dealers — shared layout wrapper ───────────── */
.d-section-inner { max-width: 1200px; margin: 0 auto; }

/* ─── Dealers Hero ───────────────────────────────── */
.d-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, var(--bg) 0%, #111827 60%, #0D1A0F 100%);
  max-width: 100%;
}
.d-hero-inner { max-width: 560px; }
.d-hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text);
}
.d-hero-headline em { font-style: normal; color: var(--accent); }
.d-hero-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.d-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.d-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(251,191,36,0.1);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
}
.d-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s;
}
.d-cta-btn:hover { opacity: 0.88; }
.d-hero-card-wrap { display: flex; justify-content: center; }
.d-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 300px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.d-lot-icon { display: flex; justify-content: center; margin-bottom: 12px; }

/* ─── Dealers Pricing ────────────────────────────── */
.d-pricing { padding: 80px 48px; }
.d-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.d-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.d-tier-card:hover { border-color: rgba(251,191,36,0.4); }
.d-tier-featured { border-color: var(--accent); }
.d-tier-fleet { border-style: dashed; }
.d-tier-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.d-tier-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.d-tier-price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.d-tier-unit { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.d-tier-price-custom {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}
.d-tier-min {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(251,191,36,0.08);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.d-tier-list {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.d-tier-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.d-tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.d-tier-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  display: block;
  padding-top: 8px;
}
.d-tier-link:hover { text-decoration: underline; }
.d-tier-link-cta {
  background: var(--accent);
  color: #000;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 14px;
  text-decoration: none;
}
.d-tier-link-cta:hover { opacity: 0.88; text-decoration: none; }

/* ─── Before/After Photos ────────────────────────── */
.d-photos { background: var(--bg-alt); padding: 80px 48px; }
.d-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.d-photo-pair { display: flex; flex-direction: column; gap: 8px; }
.d-photo-slot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.d-photo-before { background: #111; }
.d-photo-after { background: #111; border-color: rgba(251,191,36,0.25); }
.d-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}
.d-photo-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.d-photo-sub {
  font-size: 11px;
  color: rgba(139,148,158,0.6);
  font-style: italic;
}
/* "BEFORE" and "AFTER" corner tags */
.d-photo-before::after, .d-photo-after::after {
  content: 'BEFORE';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.7);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 4px;
}
.d-photo-after::after {
  content: 'AFTER';
  color: var(--accent);
}
.d-photo-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 4px;
}

/* ─── Why Dealers ────────────────────────────────── */
.d-why { padding: 80px 48px; }
.d-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.d-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.d-why-icon { flex-shrink: 0; }
.d-why-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin: 0; }
.d-why-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ─── Lead Capture Form ──────────────────────────── */
.d-form-section {
  background: #0A0E12;
  border-top: 1px solid var(--border);
  padding: 80px 48px;
}
.d-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.d-form-header { margin-bottom: 40px; }
.d-form { display: flex; flex-direction: column; gap: 20px; }
.d-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.d-form-group { display: flex; flex-direction: column; gap: 6px; }
.d-label { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.03em; }
.d-required { color: var(--accent); }
.d-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.d-input:focus { border-color: rgba(251,191,36,0.5); }
.d-input::placeholder { color: rgba(139,148,158,0.5); }
.d-select { appearance: none; cursor: pointer; }
.d-textarea { resize: vertical; min-height: 100px; }
.d-form-footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.d-submit-btn {
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.d-submit-btn:hover { opacity: 0.88; }
.d-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.d-form-note { font-size: 13px; color: var(--text-muted); }
.d-form-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(251,191,36,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.d-form-error {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #F87171;
  font-size: 14px;
}

/* ─── Dealers Responsive ─────────────────────────── */
@media (max-width: 1100px) {
  .d-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .d-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .d-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
  .d-hero-inner { max-width: 100%; }
  .d-hero-card-wrap { justify-content: flex-start; }
  .d-pricing { padding: 60px 24px; }
  .d-photos { padding: 60px 24px; }
  .d-why { padding: 60px 24px; }
  .d-form-section { padding: 60px 24px; }
  .d-photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .d-pricing-grid { grid-template-columns: 1fr; }
  .d-why-grid { grid-template-columns: 1fr; }
  .d-form-row { grid-template-columns: 1fr; }
  .d-hero-badges { gap: 8px; }
  .d-hero-card { width: 100%; max-width: 300px; }
  .nav-links { gap: 12px; }
}