/**
 * Custom Elementor Addon - Widgets Styling
 * Project: BYD Bipo Yasmin Retouch & Companion Plugin
 * Semantic, Accessible, Mobile-First CSS Architecture
 */

/* ==========================================================================
   1. HERO SLIDER WIDGET
   ========================================================================== */
.byd-hero-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--brand-surface-dark);
}

.byd-hero-swiper {
  width: 100%;
  min-height: 680px;
  height: 90vh;
  max-height: 900px;
}

@media (max-width: 767px) {
  .byd-hero-swiper {
    min-height: 580px;
    height: 80vh;
  }
}

.byd-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.byd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.65) 50%, rgba(11, 15, 25, 0.35) 100%);
  z-index: 1;
}

@media (max-width: 767px) {
  .byd-hero-overlay {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.6) 0%, rgba(11, 15, 25, 0.9) 100%);
  }
}

.byd-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.byd-hero-badge {
  display: inline-block;
  background-color: var(--brand-primary);
  color: #ffffff;
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--brand-radius-xs);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(229, 37, 53, 0.3);
}

.byd-hero-title {
  font-family: var(--brand-font-heading);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.03em;
  max-width: 800px;
}

.byd-hero-subtitle {
  font-family: var(--brand-font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 32px 0;
  max-width: 620px;
}

.byd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Swiper Pagination Overrides */
.byd-hero-slider-wrap .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--brand-transition-normal);
  border-radius: var(--brand-radius-full);
}

.byd-hero-slider-wrap .swiper-pagination-bullet-active {
  width: 32px;
  background-color: var(--brand-primary);
  border-radius: 6px;
}

.byd-hero-hint {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  background: var(--brand-surface-dark);
}

.byd-hero-hint svg {
  color: var(--brand-primary);
}

/* ==========================================================================
   2. CAR LINEUP FILTERABLE GRID WIDGET
   ========================================================================== */
.byd-lineup-section {
  padding: 96px 20px;
  background-color: var(--brand-surface);
}

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

.byd-section-subtitle {
  display: block;
  font-family: var(--brand-font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.byd-section-title {
  font-family: var(--brand-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--brand-secondary);
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.byd-section-desc {
  font-family: var(--brand-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-text-muted);
  margin: 0;
}

.byd-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.byd-filter-btn {
  font-family: var(--brand-font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--brand-radius-full);
  border: 1px solid var(--brand-border);
  background-color: #ffffff;
  color: var(--brand-text-dark);
  cursor: pointer;
  transition: all var(--brand-transition-fast);
}

.byd-filter-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.byd-filter-btn.active {
  background-color: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: var(--brand-shadow-glow);
}

.byd-car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .byd-car-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.byd-car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow-xl);
  border-color: rgba(229, 37, 53, 0.3);
}

.byd-car-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.byd-car-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.byd-car-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--brand-primary);
  color: #ffffff;
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--brand-radius-full);
}

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

.byd-car-title {
  font-family: var(--brand-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0 0 12px 0;
  transition: color var(--brand-transition-fast);
}

.byd-car-card:hover .byd-car-title {
  color: var(--brand-primary);
}

.byd-car-price-box {
  margin-bottom: 20px;
}

.byd-car-price-label {
  display: block;
  font-size: 13px;
  color: var(--brand-text-muted);
  font-style: italic;
  margin-bottom: 4px;
}

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

.byd-car-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.byd-car-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--brand-text-muted);
  margin-bottom: 10px;
}

.byd-car-features li svg {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.byd-btn-spec {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background-color: var(--brand-secondary);
  color: #ffffff;
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: var(--brand-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--brand-transition-fast);
}

.byd-btn-spec:hover {
  background-color: var(--brand-primary);
  box-shadow: var(--brand-shadow-glow);
}

/* Vehicle Specification Modal */
.byd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--brand-transition-normal);
}

.byd-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.byd-modal-content {
  background: #ffffff;
  border-radius: var(--brand-radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--brand-shadow-xl);
  transform: scale(0.95);
  transition: transform var(--brand-transition-normal);
}

.byd-modal-overlay.active .byd-modal-content {
  transform: scale(1);
}

.byd-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--brand-secondary);
  transition: all var(--brand-transition-fast);
}

.byd-modal-close:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* ==========================================================================
   3. VIRTUAL SALES AI CHAT ASSISTANT WIDGET
   ========================================================================== */
.byd-chat-section {
  padding: 96px 20px;
  background-color: var(--brand-surface-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.byd-chat-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.byd-chat-card {
  background: rgba(19, 27, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--brand-radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.byd-chat-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--brand-border-dark);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.byd-chat-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.byd-chat-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byd-chat-agent-name {
  font-family: var(--brand-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.byd-chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-green-whatsapp);
  text-transform: uppercase;
}

.byd-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-green-whatsapp);
  box-shadow: 0 0 10px var(--brand-green-whatsapp);
  animation: byd-pulse 1.8s infinite;
}

@keyframes byd-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.byd-chat-body {
  padding: 28px 24px;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.byd-chat-msg {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.byd-chat-msg.agent {
  align-self: flex-start;
}

.byd-chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.byd-chat-bubble {
  padding: 16px 20px;
  border-radius: var(--brand-radius-lg);
  font-size: 14px;
  line-height: 1.6;
}

.byd-chat-msg.agent .byd-chat-bubble {
  background: #1e293b;
  color: #f1f5f9;
  border-top-left-radius: 4px;
  border: 1px solid var(--brand-border-dark);
}

.byd-chat-msg.user .byd-chat-bubble {
  background: var(--brand-primary);
  color: #ffffff;
  border-top-right-radius: 4px;
}

.byd-chat-footer {
  padding: 24px;
  border-top: 1px solid var(--brand-border-dark);
  background: rgba(255, 255, 255, 0.02);
}

.byd-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.byd-chip-btn {
  background: #ffffff;
  color: var(--brand-secondary);
  border: 1px solid var(--brand-border-dark);
  font-family: var(--brand-font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--brand-radius-full);
  cursor: pointer;
  transition: all var(--brand-transition-fast);
}

.byd-chip-btn:hover {
  background: #334155;
  color: #ffffff;
  border-color: #64748b;
}

.byd-chat-input-row {
  display: flex;
  gap: 12px;
}

@media (max-width: 640px) {
  .byd-chat-input-row {
    flex-direction: column;
  }
}

.byd-chat-textarea {
  flex-grow: 1;
  background: #0b0f19;
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--brand-radius-md);
  padding: 14px 18px;
  color: #ffffff;
  font-family: var(--brand-font-body);
  font-size: 14px;
  resize: none;
  min-height: 60px;
  outline: none;
  transition: border-color var(--brand-transition-fast), box-shadow var(--brand-transition-fast);
}

.byd-chat-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(229, 37, 53, 0.25);
}

.byd-btn-send {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--brand-radius-md);
  padding: 0 28px;
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--brand-transition-fast);
  min-height: 60px;
  box-shadow: var(--brand-shadow-glow);
}

.byd-btn-send:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. PROMO & FACILITIES WIDGET
   ========================================================================== */
.byd-promo-section {
  padding: 96px 20px;
  background: var(--brand-surface-dark);
  color: #ffffff;
  position: relative;
}

.byd-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 64px auto;
}

@media (min-width: 1024px) {
  .byd-promo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.byd-promo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--brand-radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--brand-transition-normal);
  display: flex;
  flex-direction: column;
}

.byd-promo-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.byd-promo-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--brand-radius-md);
  background: rgba(229, 37, 53, 0.15);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.byd-promo-title {
  font-family: var(--brand-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.byd-promo-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.byd-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .byd-bank-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .byd-bank-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.byd-bank-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--brand-radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--brand-transition-fast);
}

.byd-bank-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.byd-bank-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--brand-radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.byd-bank-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.byd-bank-name {
  font-family: var(--brand-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.byd-bank-perk {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
}

/* ==========================================================================
   5. SALES PROFILE & TESTIMONIAL SLIDER WIDGET
   ========================================================================== */
.byd-testimonial-section {
  padding: 96px 20px;
  background-color: #ffffff;
}

.byd-sales-testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .byd-sales-testimonial-wrap {
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: flex-start;
  }
}

.byd-sales-card {
  background: #ffffff;
  border-radius: var(--brand-radius-xl);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-lg);
  overflow: hidden;
  position: relative;
}

.byd-sales-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0f172a;
}

.byd-sales-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.byd-sales-star-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(229, 37, 53, 0.4);
}

.byd-sales-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #ffffff;
}

.byd-sales-name {
  font-family: var(--brand-font-heading);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.byd-sales-role {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.byd-sales-actions {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.byd-sales-btn-phone {
  background: var(--brand-primary);
  color: #ffffff !important;
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: var(--brand-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: var(--brand-shadow-glow);
  transition: all var(--brand-transition-fast);
}

.byd-sales-btn-phone:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
}

.byd-sales-btn-email {
  background: #f1f5f9;
  color: var(--brand-secondary) !important;
  font-family: var(--brand-font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--brand-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  transition: all var(--brand-transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.byd-sales-btn-email:hover {
  background: #e2e8f0;
}

/* Right Testimonial Swiper */
.byd-testimonial-right {
  display: flex;
  flex-direction: column;
}

.byd-testimonial-quote-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--brand-text-muted);
  margin-bottom: 36px;
  font-style: italic;
  border-left: 3px solid var(--brand-primary);
  padding-left: 18px;
}

.byd-testimonial-swiper {
  width: 100%;
  padding-bottom: 48px;
}

.byd-testimonial-slide-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .byd-testimonial-slide-card {
    flex-direction: column;
  }
}

.byd-testimonial-client-img {
  width: 110px;
  height: 110px;
  border-radius: var(--brand-radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.byd-testimonial-content {
  flex-grow: 1;
}

.byd-testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--brand-accent-amber);
  margin-bottom: 12px;
}

.byd-testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--brand-text-dark);
  margin: 0 0 16px 0;
}

.byd-testimonial-author {
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-secondary);
  margin: 0 0 2px 0;
}

.byd-testimonial-car {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-text-muted);
  margin: 0;
}

/* ==========================================================================
   6. WHATSAPP LEAD FORM & LOCATION MAP WIDGET
   ========================================================================== */
.byd-lead-section {
  padding: 96px 20px;
  background-color: var(--brand-surface);
}

.byd-lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .byd-lead-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.byd-map-card {
  background: #ffffff;
  border-radius: var(--brand-radius-xl);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.byd-map-frame-box {
  width: 100%;
  height: 380px;
  position: relative;
  background: #e2e8f0;
}

.byd-map-frame-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.byd-map-bottom-cta {
  padding: 24px;
  background: #ffffff;
}

.byd-btn-gmaps {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--brand-radius-md);
  background: rgba(229, 37, 53, 0.1);
  color: var(--brand-primary) !important;
  font-family: var(--brand-font-heading);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all var(--brand-transition-fast);
}

.byd-btn-gmaps:hover {
  background: var(--brand-primary);
  color: #ffffff !important;
  box-shadow: var(--brand-shadow-glow);
}

.byd-lead-form-card {
  background: #ffffff;
  border-radius: var(--brand-radius-xl);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow-lg);
  padding: 36px;
}

@media (max-width: 640px) {
  .byd-lead-form-card {
    padding: 24px;
  }
}

.byd-lead-form-title {
  font-family: var(--brand-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-secondary);
  margin: 0 0 24px 0;
}

.byd-form-group {
  margin-bottom: 20px;
}

.byd-form-label {
  display: block;
  font-family: var(--brand-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 6px;
}

.byd-form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-md);
  padding: 14px 18px;
  font-family: var(--brand-font-body);
  font-size: 14px;
  color: var(--brand-secondary);
  outline: none;
  transition: all var(--brand-transition-fast);
}

.byd-form-control:focus {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 53, 0.15);
}

.byd-btn-submit-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--brand-radius-md);
  background: var(--brand-primary);
  color: #ffffff;
  font-family: var(--brand-font-heading);
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: var(--brand-shadow-glow);
  transition: all var(--brand-transition-fast);
}

.byd-btn-submit-wa:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   7. TOP 10 FAQ ACCORDION WIDGET
   ========================================================================== */
.byd-faq-section {
  padding: 96px 20px;
  background-color: #ffffff;
}

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

.byd-faq-item {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  transition: all var(--brand-transition-fast);
}

.byd-faq-item.active {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--brand-shadow-md);
}

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

.byd-faq-question {
  font-family: var(--brand-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-secondary);
  margin: 0;
  transition: color var(--brand-transition-fast);
}

.byd-faq-item.active .byd-faq-question {
  color: var(--brand-primary);
}

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

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

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

.byd-faq-item.active .byd-faq-body {
  display: block;
}

/* ==========================================================================
   8. FLOATING WHATSAPP BUTTON WIDGET
   ========================================================================== */
.byd-floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.byd-floating-wa-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-green-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--brand-shadow-glow-wa);
  position: relative;
  text-decoration: none !important;
  transition: transform var(--brand-transition-fast), background-color var(--brand-transition-fast);
}

.byd-floating-wa-btn:hover {
  transform: scale(1.08);
  background: var(--brand-green-hover);
}

.byd-floating-wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-family: var(--brand-font-heading);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: byd-bounce 2s infinite;
}

@keyframes byd-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}
