/**
 * BYD Bogor Addon - Widget Styles (v2.2.0 "Premium Showroom")
 * One coherent stylesheet replacing the layered "cyber" overrides from v2.1.
 * Rhythm: dark cinematic hero -> alternating white / light-grey sections -> dark promo band.
 *
 * Sections:
 *  1. Shared (section header, WhatsApp button, swiper)
 *  2. Hero slider, quick bar & sales intro
 *  3. Pillars, reasons & buying steps
 *  4. Car lineup & spec modal
 *  5. Promo & financing partners
 *  6. Sales spotlight & handover testimonials
 *  7. Location & WhatsApp lead form
 *  8. Credit calculator
 *  9. Virtual chat
 * 10. FAQ accordion
 * 11. Floating WhatsApp
 * 12. Responsive
 */

/* ==========================================================================
   1. SHARED
   ========================================================================== */

.byd-section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.byd-section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--brand-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.byd-section-subtitle::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.byd-section-title {
  font-family: var(--brand-font-heading);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
  text-wrap: balance;
}

.byd-section-desc {
  margin-top: 16px !important;
  font-size: 17px;
  line-height: 1.65;
  color: var(--brand-text-muted);
  text-wrap: pretty;
}

/* WhatsApp CTA (used by reasons, form, calculator) */
.byd-wa-3d-button,
.byd-wa-3d-button-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 26px 10px 18px;
  border: 0;
  border-radius: var(--brand-radius-sm);
  background: var(--brand-wa);
  color: #fff !important;
  font-family: var(--brand-font-heading);
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 10px 24px -10px rgba(22, 163, 74, 0.65);
  transition: background-color var(--brand-transition-fast), transform var(--brand-transition-fast);
}

.byd-wa-3d-button:hover,
.byd-wa-3d-button:focus-visible,
.byd-wa-3d-button-compact:hover,
.byd-wa-3d-button-compact:focus-visible {
  background: var(--brand-wa-hover);
  transform: translateY(-1px);
}

.byd-wa-3d-button-compact {
  min-height: 50px;
  padding: 0 24px 0 18px;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
}

.byd-wa-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.byd-wa-3d-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.byd-wa-3d-label {
  font-size: 15px;
  font-weight: 700;
}

.byd-wa-3d-sub {
  font-family: var(--brand-font-body);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* Legacy image hooks (hidden if old markup is cached) */
.byd-wa-3d-icon,
.byd-wa-3d-icon-small,
.byd-mini-wa-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Swiper base polish */
.byd-elementor-container .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  background: var(--brand-border-strong);
  opacity: 1;
  transition: width var(--brand-transition-normal), background-color var(--brand-transition-normal);
}

.byd-elementor-container .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 8px;
  background: var(--brand-primary);
}

/* ==========================================================================
   2. HERO SLIDER, QUICK BAR & SALES INTRO
   ========================================================================== */

.byd-hero-slider-wrap {
  position: relative;
  background: var(--brand-surface);
}

.byd-hero-swiper {
  position: relative;
  width: 100%;
  height: clamp(560px, 86vh, 780px);
  overflow: hidden;
  background: var(--brand-surface-dark);
}

.byd-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--byd-gutter) 72px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.byd-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.88) 0%, rgba(7, 10, 16, 0.62) 38%, rgba(7, 10, 16, 0.12) 72%, rgba(7, 10, 16, 0) 100%),
    linear-gradient(0deg, rgba(7, 10, 16, 0.65) 0%, rgba(7, 10, 16, 0) 35%);
  pointer-events: none;
}

.byd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.byd-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin-bottom: 20px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.byd-hero-title {
  font-family: var(--brand-font-heading);
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  text-transform: none;
}

.byd-hero-subtitle {
  margin-top: 20px !important;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.byd-hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.byd-telemetry-pill {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--brand-radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.byd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Hero swiper controls */
.byd-hero-swiper .swiper-pagination {
  bottom: 104px !important;
  left: var(--byd-gutter) !important;
  width: auto !important;
  text-align: left;
}

.byd-hero-swiper .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.byd-hero-swiper .swiper-pagination-bullet-active {
  width: 48px;
  background: #fff;
}

.byd-swiper-arrow {
  top: auto !important;
  bottom: 88px !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-swiper-arrow::after {
  font-size: 15px !important;
  font-weight: 700;
}

.byd-swiper-arrow:hover {
  background: #fff;
  color: var(--brand-ink) !important;
}

.byd-hero-swiper .swiper-button-prev {
  left: auto !important;
  right: calc(var(--byd-gutter) + 58px) !important;
}

.byd-hero-swiper .swiper-button-next {
  right: var(--byd-gutter) !important;
}

/* Quick bar - floating white card overlapping the hero */
.byd-quick-bar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--byd-container);
  margin: -48px auto 0;
  width: calc(100% - 40px);
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow-lg);
  overflow: hidden;
}

.byd-quick-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  color: var(--brand-ink) !important;
  font-family: var(--brand-font-heading);
  font-size: 15px;
  font-weight: 700;
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-quick-item + .byd-quick-item {
  border-left: 1px solid var(--brand-border);
}

.byd-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-quick-item:hover {
  background: var(--brand-surface-alt);
}

.byd-quick-item:hover .byd-quick-icon {
  background: var(--brand-primary);
  color: #fff;
}

/* Sales intro */
.byd-sales-intro-banner {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
}

.byd-sales-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.byd-intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-family: var(--brand-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.byd-intro-heading {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
  text-wrap: balance;
}

.byd-highlight-name {
  color: var(--brand-primary);
}

.byd-intro-desc {
  margin-top: 18px !important;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--brand-text-muted);
}

.byd-intro-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.byd-intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--brand-border);
}

.byd-intro-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-text);
}

.byd-elementor-container svg.byd-icon {
  fill: none !important;
  stroke: currentColor;
}

.byd-elementor-container svg.byd-icon * {
  fill: none !important;
}

.byd-elementor-container svg.byd-icon [fill="currentColor"] {
  fill: currentColor !important;
}

.byd-elementor-container svg.byd-icon [stroke="none"] {
  stroke: none !important;
}

/* Same protection for older inline outline icons */
.byd-elementor-container svg[fill="none"],
.byd-elementor-container svg[fill="none"] *:not([fill]) {
  fill: none !important;
}

.byd-intro-badges .byd-icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--brand-wa);
  stroke-width: 3;
}

.byd-sales-intro-right {
  position: relative;
}

.byd-composite-frame {
  position: relative;
  padding-bottom: 48px;
}

.byd-showroom-bg-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--brand-radius-xl);
  background-size: cover;
  background-position: center;
  box-shadow: var(--brand-shadow-lg);
  overflow: hidden;
}

.byd-showroom-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--brand-radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--brand-shadow-sm);
}

.byd-showroom-badge .byd-icon {
  color: var(--brand-primary);
}

.byd-consultant-card {
  position: absolute;
  left: -24px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow-lg);
}

.byd-consultant-avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
}

.byd-consultant-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.byd-consultant-meta strong {
  font-family: var(--brand-font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-ink);
}

.byd-consultant-meta > span {
  font-size: 13px;
  color: var(--brand-text-muted);
}

.byd-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-wa);
}

.byd-pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-wa-bright);
}

.byd-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand-wa-bright);
  opacity: 0;
  animation: byd-ping 2s var(--brand-ease) infinite;
}

@keyframes byd-ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   3. PILLARS, REASONS & BUYING STEPS
   ========================================================================== */

.byd-features-wrap {
  background: var(--brand-surface);
}

.byd-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 56px var(--byd-gutter);
  background: var(--brand-surface-alt);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.byd-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  transition: border-color var(--brand-transition-fast), box-shadow var(--brand-transition-fast), transform var(--brand-transition-fast);
}

.byd-pillar-card:hover {
  border-color: var(--brand-border-strong);
  box-shadow: var(--brand-shadow-md);
  transform: translateY(-2px);
}

.byd-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}

.byd-pillar-icon-svg {
  width: 24px;
  height: 24px;
}

.byd-pillar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-ink);
}

.byd-pillar-desc {
  margin-top: 6px !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-text-muted);
}

/* Reasons */
.byd-reasons-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
}

.byd-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.byd-reason-card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  transition: border-color var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
}

.byd-reason-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.35);
  box-shadow: var(--brand-shadow-md);
}

.byd-reason-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--brand-ink);
  color: #fff;
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 800;
}

.byd-reason-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

.byd-reason-desc {
  margin-top: 10px !important;
  font-size: 15px;
  line-height: 1.65;
  color: var(--brand-text-muted);
}

.byd-reasons-cta {
  margin-top: 40px;
  text-align: center;
}

/* Steps */
.byd-steps-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface-alt);
}

.byd-steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: none;
}

.byd-steps-container::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-border-strong) 0 8px, transparent 8px 14px);
}

.byd-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.byd-step-circle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  font-family: var(--brand-font-heading);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--brand-surface-alt);
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-step-item:hover .byd-step-circle {
  background: var(--brand-primary);
  color: #fff;
}

.byd-step-body {
  flex: 1;
  width: 100%;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-md);
}

.byd-step-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-ink);
}

.byd-step-desc {
  margin-top: 8px !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-text-muted);
}

/* ==========================================================================
   4. CAR LINEUP & SPEC MODAL
   ========================================================================== */

.byd-lineup-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
  scroll-margin-top: 80px;
}

.byd-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -16px auto 40px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-full);
}

.byd-filter-btn {
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--brand-radius-full);
  background: transparent;
  color: var(--brand-text-muted);
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
}

.byd-filter-btn:hover {
  color: var(--brand-ink);
}

.byd-filter-btn.active {
  background: var(--brand-ink);
  color: #fff;
  box-shadow: var(--brand-shadow-sm);
}

.byd-car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.byd-car-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--brand-transition-normal), transform var(--brand-transition-normal), border-color var(--brand-transition-normal);
}

.byd-car-card.is-hidden {
  display: none;
}

.byd-car-card:hover {
  border-color: var(--brand-border-strong);
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(-4px);
}

.byd-car-thumb-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 220px;
  padding: 28px 20px 16px;
  background:
    radial-gradient(60% 18% at 50% 88%, rgba(11, 18, 32, 0.16), transparent 70%),
    linear-gradient(180deg, #f3f4f7 0%, #e9ecf1 100%);
  overflow: hidden;
}

.byd-car-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform var(--brand-transition-normal);
}

.byd-car-card:hover .byd-car-thumb {
  transform: scale(1.04);
}

.byd-car-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  border-radius: var(--brand-radius-full);
  background: #fff;
  color: var(--brand-ink);
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--brand-shadow-xs);
}

.byd-car-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.byd-car-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.byd-car-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 12px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}

.byd-car-price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-text-subtle);
}

.byd-car-price {
  font-family: var(--brand-font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--brand-primary);
}

.byd-car-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.byd-car-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--brand-text);
}

.byd-car-features .byd-icon {
  margin-top: 3px;
  color: var(--brand-primary);
  stroke-width: 3;
}

.byd-car-actions-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.byd-card-btn-wa,
.byd-btn-spec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--brand-radius-sm);
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color var(--brand-transition-fast), border-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-card-btn-wa {
  border: 1px solid var(--brand-wa);
  background: var(--brand-wa);
  color: #fff !important;
}

.byd-card-btn-wa:hover {
  background: var(--brand-wa-hover);
  border-color: var(--brand-wa-hover);
}

.byd-btn-spec {
  border: 1px solid var(--brand-border-strong);
  background: #fff;
  color: var(--brand-ink);
}

.byd-btn-spec:hover {
  border-color: var(--brand-ink);
}

/* Modal */
.byd-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 10, 16, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--brand-transition-normal), visibility var(--brand-transition-normal);
}

.byd-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.byd-modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px;
  background: #fff;
  border-radius: var(--brand-radius-xl);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--brand-transition-normal);
}

.byd-modal-overlay.active .byd-modal-content {
  transform: none;
}

.byd-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--brand-border);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.byd-modal-close:hover {
  background: var(--brand-surface-alt);
}

.byd-modal-head {
  padding-right: 40px;
  margin-bottom: 20px;
}

.byd-modal-car-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.byd-modal-car-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.byd-modal-car-price {
  margin-top: 4px !important;
  font-family: var(--brand-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-primary);
}

.byd-modal-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 210px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: var(--brand-radius-lg);
  background: linear-gradient(180deg, #f3f4f7 0%, #e9ecf1 100%);
}

.byd-modal-car-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.byd-modal-car-specs {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-md);
  overflow: hidden;
}

.byd-modal-car-specs li {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.byd-modal-car-specs li:nth-child(odd) {
  background: var(--brand-surface-alt);
}

.byd-spec-k {
  font-weight: 600;
  color: var(--brand-text-muted);
}

.byd-spec-v {
  font-weight: 600;
  color: var(--brand-ink);
}

.byd-modal-wa-btn {
  width: 100%;
  min-height: 52px;
}

/* ==========================================================================
   5. PROMO & FINANCING PARTNERS (dark band)
   ========================================================================== */

.byd-promo-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(var(--brand-primary-rgb), 0.16), transparent 60%),
    var(--brand-surface-dark);
  color: #fff;
  scroll-margin-top: 80px;
}

.byd-promo-section .byd-section-subtitle {
  color: var(--brand-primary-on-dark);
}

.byd-promo-section .byd-section-title {
  color: #fff;
}

.byd-promo-section .byd-section-desc {
  color: var(--brand-text-light-muted);
}

.byd-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.byd-promo-card {
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--brand-radius-lg);
  transition: background-color var(--brand-transition-fast), border-color var(--brand-transition-fast), transform var(--brand-transition-fast);
}

.byd-promo-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.byd-promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(var(--brand-primary-rgb), 0.16);
  color: var(--brand-primary-on-dark);
}

.byd-promo-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.byd-promo-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.byd-promo-desc {
  margin-top: 10px !important;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

.byd-bank-label-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0 24px;
}

.byd-bank-label-wrap::before,
.byd-bank-label-wrap::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--brand-border-dark);
}

.byd-bank-label {
  font-family: var(--brand-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.byd-bank-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.byd-bank-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 18px;
  background: #fff;
  border-radius: var(--brand-radius-md);
  transition: transform var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
}

.byd-bank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.5);
}

.byd-bank-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-bottom: 14px;
}

.byd-bank-logo img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.byd-bank-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--brand-ink);
}

.byd-bank-perk {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--brand-text-muted);
}

/* ==========================================================================
   6. SALES SPOTLIGHT & HANDOVER TESTIMONIALS
   ========================================================================== */

.byd-testimonial-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
  scroll-margin-top: 80px;
}

.byd-sales-spotlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-xl);
}

.byd-spotlight-avatar-box {
  position: relative;
}

.byd-spotlight-avatar {
  display: block;
  width: 132px;
  height: 156px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: var(--brand-shadow-md);
}

.byd-spotlight-star-tag {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--brand-shadow-sm);
}

.byd-spotlight-content .byd-intro-pill {
  margin-bottom: 12px;
}

.byd-spotlight-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.byd-spotlight-role {
  font-family: var(--brand-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand-primary);
}

.byd-spotlight-quote {
  margin-top: 14px !important;
  padding-left: 16px;
  border-left: 3px solid var(--brand-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-text-muted);
}

.byd-spotlight-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.byd-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-full);
  background: #fff;
  color: var(--brand-ink) !important;
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--brand-transition-fast);
}

.byd-pill-link svg {
  color: var(--brand-primary);
}

.byd-pill-link:hover {
  border-color: var(--brand-ink);
}

/* Contact & social links (v2.3.0) */
.byd-spotlight-contact-pills {
  align-items: center;
}

.byd-pill-link {
  text-decoration: none !important;
  transition: border-color var(--brand-transition-fast), background-color var(--brand-transition-fast), color var(--brand-transition-fast), transform var(--brand-transition-fast);
}

.byd-pill-link:hover {
  transform: translateY(-1px);
}

.byd-pill--icon {
  justify-content: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.byd-pill--icon svg {
  width: 18px;
  height: 18px;
}

/* Brand colours (toggle "Warna Ikon Sesuai Brand") */
.byd-contact-brand .byd-pill--whatsapp svg { color: #16a34a; }
.byd-contact-brand .byd-pill--instagram svg { color: #d62976; }
.byd-contact-brand .byd-pill--youtube svg { color: #ff0000; }
.byd-contact-brand .byd-pill--tiktok svg { color: #111111; }
.byd-contact-brand .byd-pill--facebook svg { color: #1877f2; }
.byd-contact-brand .byd-pill--x svg { color: #111111; }
.byd-contact-brand .byd-pill--linkedin svg { color: #0a66c2; }

.byd-contact-brand .byd-pill--whatsapp:hover { border-color: #16a34a; background: #f0fdf4; }
.byd-contact-brand .byd-pill--instagram:hover { border-color: #d62976; background: #fdf2f8; }
.byd-contact-brand .byd-pill--youtube:hover { border-color: #ff0000; background: #fef2f2; }
.byd-contact-brand .byd-pill--facebook:hover { border-color: #1877f2; background: #eff6ff; }
.byd-contact-brand .byd-pill--linkedin:hover { border-color: #0a66c2; background: #eff6ff; }

/* Custom icons from Icon Library / Media Library */
.byd-pill-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.byd-pill--icon .byd-pill-icon-img {
  width: 20px;
  height: 20px;
}

.byd-pill-icon-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 16px;
  line-height: 1;
  color: var(--brand-primary);
}

.byd-pill-icon-custom svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.byd-contact-brand .byd-pill--whatsapp .byd-pill-icon-custom { color: #16a34a; }
.byd-contact-brand .byd-pill--instagram .byd-pill-icon-custom { color: #d62976; }
.byd-contact-brand .byd-pill--youtube .byd-pill-icon-custom { color: #ff0000; }
.byd-contact-brand .byd-pill--tiktok .byd-pill-icon-custom,
.byd-contact-brand .byd-pill--x .byd-pill-icon-custom { color: #111111; }
.byd-contact-brand .byd-pill--facebook .byd-pill-icon-custom { color: #1877f2; }
.byd-contact-brand .byd-pill--linkedin .byd-pill-icon-custom { color: #0a66c2; }

.byd-pill--missing {
  border-style: dashed !important;
  color: var(--brand-text-muted) !important;
  background: transparent !important;
  font-weight: 500;
  cursor: help;
}

/* Social icons get a small divider from the contact pills */
.byd-pill-link:not(.byd-pill--icon) + .byd-pill--icon {
  margin-left: 6px;
}

.byd-handover-block {
  margin-top: var(--byd-section-y);
}

.byd-testimonial-swiper {
  position: relative;
  padding-bottom: 8px !important;
  overflow: hidden;
}

.byd-testimonial-swiper .swiper-slide {
  height: auto;
}

.byd-testimonial-slide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
}

.byd-handover-photo-box {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--brand-surface-sunken);
  overflow: hidden;
}

.byd-testimonial-client-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.byd-verified-handover-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--brand-radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 11px;
  font-weight: 700;
}

.byd-verified-handover-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-wa);
}

.byd-testimonial-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.byd-testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f5a524;
}

.byd-testimonial-text {
  flex: 1;
  margin-top: 12px !important;
  font-size: 15px;
  line-height: 1.65;
  color: var(--brand-text);
}

.byd-testimonial-author {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--brand-border);
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-ink);
}

.byd-testimonial-car {
  margin-top: 4px !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
}

.byd-testimonial-swiper .swiper-pagination {
  display: none;
}

.byd-testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.byd-testi-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--brand-border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-ink);
  cursor: pointer;
  transition: background-color var(--brand-transition-fast), color var(--brand-transition-fast), border-color var(--brand-transition-fast);
}

.byd-testi-nav button:hover {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}

/* ==========================================================================
   7. LOCATION & WHATSAPP LEAD FORM
   ========================================================================== */

.byd-lead-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface-alt);
  scroll-margin-top: 80px;
}

.byd-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.byd-lead-location-card,
.byd-lead-form-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-xl);
  overflow: hidden;
  box-shadow: var(--brand-shadow-sm);
}

.byd-showroom-photo-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.byd-showroom-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byd-showroom-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--brand-radius-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
}

.byd-location-content {
  padding: 28px;
}

.byd-dealer-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
}

.byd-dealer-sales-rep {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 12px 0 20px;
  font-size: 14px;
}

.byd-rep-label {
  color: var(--brand-text-muted);
}

.byd-rep-name {
  font-weight: 700;
  color: var(--brand-ink);
}

.byd-rep-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary) !important;
  font-weight: 700;
}

.byd-location-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.byd-loc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-text);
}

.byd-loc-item .byd-icon {
  margin-top: 1px;
  color: var(--brand-primary);
}

.byd-map-frame-wrap {
  margin-top: 20px;
  border-radius: var(--brand-radius-md);
  overflow: hidden;
  background: var(--brand-surface-sunken);
  border: 1px solid var(--brand-border);
}

.byd-map-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 220px;
}

.byd-btn-gmaps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-sm);
  background: #fff;
  color: var(--brand-ink) !important;
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 700;
  transition: border-color var(--brand-transition-fast), background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-btn-gmaps .byd-icon {
  color: var(--brand-primary);
}

.byd-btn-gmaps:hover {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff !important;
}

.byd-btn-gmaps:hover .byd-icon {
  color: #fff;
}

.byd-lead-form-card {
  padding: 32px;
}

.byd-form-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--brand-border);
}

.byd-form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-ink);
}

.byd-form-subtitle {
  margin-top: 8px !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--brand-text-muted);
}

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

.byd-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.byd-form-group:nth-child(n+3) {
  grid-column: 1 / -1;
}

.byd-form-group:nth-child(3),
.byd-form-group:nth-child(4) {
  grid-column: auto;
}

.byd-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-ink);
}

.byd-req {
  color: var(--brand-primary);
}

.byd-opt {
  font-weight: 400;
  color: var(--brand-text-subtle);
}

.byd-input,
.byd-select,
.byd-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-sm);
  background: #fff;
  color: var(--brand-ink);
  font-family: var(--brand-font-body);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: var(--brand-shadow-xs);
  transition: border-color var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.byd-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
}

.byd-textarea {
  min-height: 96px;
  resize: vertical;
}

.byd-input::placeholder,
.byd-textarea::placeholder {
  color: var(--brand-text-subtle);
}

.byd-input:focus,
.byd-select:focus,
.byd-textarea:focus {
  outline: none;
  border-color: var(--brand-ink);
  box-shadow: 0 0 0 4px rgba(11, 18, 32, 0.08);
}

.byd-input.byd-invalid,
.byd-textarea.byd-invalid {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb), 0.12);
}

.byd-form-error {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 10px 14px;
  border-radius: var(--brand-radius-sm);
  background: var(--brand-primary-soft);
  color: #a3131f;
  font-size: 14px;
  font-weight: 500;
}

.byd-form-error[hidden] {
  display: none;
}

.byd-form-submit-wa {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
}

/* ==========================================================================
   8. CREDIT CALCULATOR
   ========================================================================== */

.byd-calc-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
  scroll-margin-top: 80px;
}

.byd-calc-card-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-xl);
  box-shadow: var(--brand-shadow-md);
  overflow: hidden;
}

.byd-calc-controls-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
}

.byd-calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.byd-calc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--brand-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-ink);
}

.byd-calc-label-row .byd-calc-label {
  margin-bottom: 0;
}

.byd-calc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.byd-calc-select {
  width: 100%;
  min-height: 50px;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
}

.byd-calc-dp-percent-badge {
  padding: 4px 10px;
  border-radius: var(--brand-radius-full);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
}

.byd-calc-dp-chips,
.byd-calc-tenor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.byd-calc-dp-chips {
  grid-template-columns: repeat(6, 1fr);
}

.byd-dp-chip,
.byd-tenor-btn {
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-sm);
  background: #fff;
  color: var(--brand-text);
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--brand-transition-fast);
}

.byd-dp-chip:hover,
.byd-tenor-btn:hover {
  border-color: var(--brand-ink);
}

.byd-dp-chip.active,
.byd-tenor-btn.active {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}

.byd-calc-result-col {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--brand-surface-alt);
  border-left: 1px solid var(--brand-border);
}

.byd-calc-preview-thumb {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 160px;
  margin-bottom: 20px;
}

.byd-calc-preview-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.byd-calc-sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--brand-border-strong);
  font-size: 14px;
}

.byd-calc-sum-label {
  color: var(--brand-text-muted);
}

.byd-calc-sum-val {
  font-weight: 700;
  color: var(--brand-ink);
  text-align: right;
}

.byd-calc-sum-val.highlight {
  color: var(--brand-primary);
}

.byd-calc-installment-banner {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--brand-radius-md);
  background: var(--brand-ink);
  color: #fff;
}

.byd-calc-inst-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.byd-calc-inst-number {
  margin: 4px 0 !important;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.byd-calc-inst-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.byd-calc-submit-btn {
  width: 100%;
  margin-top: 18px;
}

/* ==========================================================================
   9. VIRTUAL CHAT
   ========================================================================== */

.byd-chat-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface-alt);
}

.byd-chat-box {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-xl);
  box-shadow: var(--brand-shadow-md);
  overflow: hidden;
}

.byd-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--brand-ink);
  color: #fff;
}

.byd-chat-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byd-chat-avatar-wrap {
  position: relative;
}

.byd-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.byd-online-indicator {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--brand-ink);
  border-radius: 50%;
  background: var(--brand-wa-bright);
}

.byd-chat-username {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.byd-chat-userstatus {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.byd-chat-online {
  color: #4ade80;
}

.byd-chat-reset {
  display: inline-flex;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.byd-chat-body {
  height: 280px;
  padding: 20px;
  overflow-y: auto;
  background: var(--brand-surface-alt);
}

.byd-chat-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
}

.byd-msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  background: #fff !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-text) !important;
  font-size: 14px;
  line-height: 1.55;
}

.byd-msg-time {
  margin: 4px 0 0 6px;
  font-size: 11px;
  color: var(--brand-text-subtle);
}

.byd-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--brand-border);
}

.byd-chip-btn {
  padding: 8px 14px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-full);
  background: #fff;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.byd-chip-btn:hover {
  border-color: var(--brand-ink);
}

.byd-chat-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px 20px;
}

.byd-chat-input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--brand-border-strong);
  border-radius: var(--brand-radius-sm);
  font-size: 15px;
}

.byd-chat-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--brand-radius-sm);
  background: var(--brand-wa);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   10. FAQ ACCORDION
   ========================================================================== */

.byd-faq-section {
  padding: var(--byd-section-y) var(--byd-gutter);
  background: var(--brand-surface);
}

.byd-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.byd-faq-item {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-md);
  overflow: hidden;
  transition: border-color var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
}

.byd-faq-item.active {
  border-color: var(--brand-border-strong);
  box-shadow: var(--brand-shadow-md);
}

.byd-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
}

.byd-faq-question {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-ink);
}

.byd-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-surface-alt);
  color: var(--brand-ink);
  transition: transform var(--brand-transition-normal), background-color var(--brand-transition-fast), color var(--brand-transition-fast);
}

.byd-faq-item.active .byd-faq-icon {
  transform: rotate(180deg);
  background: var(--brand-primary);
  color: #fff;
}

.byd-faq-body {
  display: none;
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--brand-text-muted);
}

/* ==========================================================================
   11. FLOATING WHATSAPP
   ========================================================================== */

.byd-floating-wa-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.byd-floating-tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-full);
  box-shadow: var(--brand-shadow-lg);
  color: var(--brand-text);
  font-size: 13px;
  white-space: nowrap;
  animation: byd-tooltip-in 0.6s var(--brand-ease) 1.2s both;
}

.byd-tooltip-text strong {
  color: var(--brand-ink);
}

@keyframes byd-tooltip-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}

.byd-tooltip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-wa-bright);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.byd-floating-wa-link {
  position: relative;
  display: block;
}

.byd-floating-3d-disc {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-wa-bright);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.7), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform var(--brand-transition-fast);
}

.byd-floating-wa-link:hover .byd-floating-3d-disc {
  transform: scale(1.06);
}

.byd-floating-3d-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.byd-floating-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.byd-floating-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-wa-bright);
  animation: byd-wa-pulse 2.4s ease-out infinite;
}

@keyframes byd-wa-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .byd-pillars-grid,
  .byd-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .byd-bank-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .byd-car-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .byd-steps-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .byd-steps-container::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .byd-sales-intro-grid,
  .byd-lead-grid,
  .byd-calc-card-main {
    grid-template-columns: 1fr;
  }

  .byd-calc-result-col {
    border-left: 0;
    border-top: 1px solid var(--brand-border);
  }

  .byd-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .byd-consultant-card {
    left: 16px;
  }
}

@media (max-width: 767px) {
  .byd-section-header {
    margin-bottom: 32px;
  }

  .byd-section-desc {
    font-size: 15px;
  }

  /* Hero */
  .byd-hero-swiper {
    height: clamp(560px, 92svh, 720px);
  }

  .byd-hero-slide {
    align-items: flex-end;
    padding-bottom: 120px;
    background-position: 65% center;
  }

  .byd-hero-overlay {
    background: linear-gradient(0deg, rgba(7, 10, 16, 0.94) 0%, rgba(7, 10, 16, 0.7) 45%, rgba(7, 10, 16, 0.15) 80%);
  }

  .byd-hero-subtitle {
    font-size: 15px;
    margin-top: 14px !important;
  }

  .byd-hero-actions {
    flex-direction: column;
    margin-top: 24px;
  }

  .byd-hero-actions a {
    width: 100%;
  }

  .byd-swiper-arrow {
    display: none !important;
  }

  .byd-hero-swiper .swiper-pagination {
    bottom: 76px !important;
  }

  .byd-quick-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
    width: calc(100% - 32px);
  }

  .byd-quick-item {
    flex-direction: column;
    gap: 8px;
    min-height: 92px;
    font-size: 13px;
    text-align: center;
  }

  .byd-quick-item + .byd-quick-item {
    border-left: 0;
  }

  .byd-quick-item:nth-child(even) {
    border-left: 1px solid var(--brand-border);
  }

  .byd-quick-item:nth-child(n+3) {
    border-top: 1px solid var(--brand-border);
  }

  .byd-intro-ctas a {
    flex: 1 1 100%;
  }

  .byd-intro-badges {
    flex-direction: column;
  }

  .byd-consultant-card {
    left: 12px;
    right: 12px;
  }

  /* Grids */
  .byd-pillars-grid,
  .byd-reasons-grid,
  .byd-car-grid,
  .byd-promo-grid {
    grid-template-columns: 1fr;
  }

  .byd-pillars-grid {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 12px;
  }

  .byd-pillar-card {
    padding: 18px;
  }

  .byd-reason-card {
    padding: 22px;
  }

  /* Steps become a vertical timeline */
  .byd-steps-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .byd-steps-container::before {
    display: block;
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--brand-border-strong) 0 8px, transparent 8px 14px);
  }

  .byd-step-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .byd-step-circle {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .byd-step-body {
    padding: 16px 18px;
  }

  /* Lineup */
  .byd-filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    margin-top: -8px;
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .byd-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .byd-filter-btn {
    flex-shrink: 0;
    padding: 0 16px;
  }

  .byd-car-thumb-wrap {
    height: 190px;
  }

  .byd-card-btn-wa,
  .byd-btn-spec {
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .byd-modal-content {
    padding: 24px 20px;
  }

  .byd-modal-car-specs li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Promo */
  .byd-promo-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 20px;
  }

  .byd-promo-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .byd-promo-desc {
    margin-top: 6px !important;
  }

  .byd-bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .byd-bank-label-wrap {
    margin-top: 48px;
  }

  /* Spotlight */
  .byd-sales-spotlight-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding: 28px 20px;
    text-align: center;
  }

  .byd-spotlight-name {
    justify-content: center;
  }

  .byd-spotlight-quote {
    padding-left: 0;
    border-left: 0;
  }

  .byd-spotlight-contact-pills {
    justify-content: center;
  }

  /* Form */
  .byd-lead-form-card,
  .byd-location-content {
    padding: 22px;
  }

  .byd-whatsapp-form {
    grid-template-columns: 1fr;
  }

  .byd-form-group:nth-child(3),
  .byd-form-group:nth-child(4) {
    grid-column: 1 / -1;
  }

  /* Calculator */
  .byd-calc-controls-col,
  .byd-calc-result-col {
    padding: 24px 20px;
  }

  .byd-calc-dp-chips {
    grid-template-columns: repeat(3, 1fr);
  }

  .byd-calc-tenor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Floating WA */
  .byd-floating-wa-wrap {
    right: 16px !important;
    bottom: 16px !important;
  }

  .byd-floating-tooltip.byd-tooltip-hide-mobile,
  .byd-floating-tooltip {
    display: none;
  }

  .byd-floating-3d-disc {
    width: 56px !important;
    height: 56px !important;
  }
}

/* Never allow horizontal scroll from widgets */
.byd-hero-slider-wrap,
.byd-features-wrap,
.byd-lineup-section,
.byd-promo-section,
.byd-testimonial-section,
.byd-lead-section,
.byd-calc-section,
.byd-chat-section,
.byd-faq-section {
  max-width: 100%;
  overflow-x: clip;
}
