/* ==========================================================================
   Module: CTA Banner Section
   ========================================================================== */
.cta-banner {
  position: relative;
  padding-block: var(--space-12);
  margin-block: var(--space-6);
  overflow: hidden;
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  margin-inline: var(--space-4);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.2);
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(200,0,26,0.3) 100%);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--color-white);
}

.cta-banner__title-highlight { 
  color: var(--color-primary); 
  position: relative;
}

.cta-banner__desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.cta-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.cta-banner__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 280px;
}

.cta-banner__actions .btn {
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-banner__btn-text {
  margin-left: 8px; /* Khoảng cách icon và chữ trên màn PC */
}

/* Luxury Hotline Button */
.btn--hotline-cta {
  background: transparent !important;
  color: var(--color-gold) !important;
  border: 2px solid var(--color-gold) !important;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(184, 146, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.btn--hotline-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(184, 146, 42, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn--hotline-cta:hover {
  background: var(--color-gold) !important;
  color: #000 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(184, 146, 42, 0.4);
}

.btn--hotline-cta:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn--hotline-cta svg {
  animation: hotlineShake 2.5s ease-in-out infinite;
}

@keyframes hotlineShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  5%, 15% { transform: rotate(-15deg) scale(1.2); }
  10%, 20% { transform: rotate(15deg) scale(1.2); }
  25% { transform: rotate(0deg) scale(1); }
}

.cta-banner__note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: var(--space-2);
}

@media (max-width: 1023px) {
  .cta-banner {
    margin-inline: 0;
    border-radius: 0;
  }
  .cta-banner__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding: var(--space-8) var(--space-6);
    background: transparent;
    backdrop-filter: none;
    border: none;
  }
  .cta-banner__actions { 
    width: 100%; 
    max-width: 400px;
    margin-inline: auto;
  }
  .cta-banner__features {
    flex-direction: column;
    gap: var(--space-3);
  }
}

@media (max-width: 1023px) {
  .cta-banner__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .cta-banner__actions { width: 100%; max-width: 400px; }
  .cta-banner__actions .btn { width: 100%; }
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 767px) {
  .cta-banner__actions {
    flex-direction: row; /* Thay đổi từ cột (dọc) sang hàng (ngang) */
    flex-wrap: wrap; /* Cho phép dòng text rớt xuống tầng v2 */
    gap: 8px;
    max-width: 100%;
  }

  .cta-banner__actions .btn {
    flex: 1; /* Chia đều 50-50 tỷ lệ màn hình */
    padding: 12px 6px !important; /* Thu mỏng bề ngang nút */
    font-size: 13px !important; /* Tăng cỡ chữ để dễ nhìn hơn trên Mobile */
    letter-spacing: 0;
    white-space: nowrap;
  }

  .cta-banner__actions .btn svg {
    width: 16px; /* Tăng tỷ lệ Icon tương xứng với cỡ chữ mới */
    height: 16px;
  }

  .cta-banner__actions .btn span {
    margin-left: 4px !important; /* Mảnh hẹp khoảng cách thay vì margin cứng */
  }
  
  .cta-banner__note {
    width: 100%; /* Nhường chỗ text note nằm trọn vẹn ở dưới dàn nút ngang */
  }

  .cta-banner__hide-mobile {
    display: none; /* Cắt bỏ hoàn toàn chữ Hotline để Icon thế chỗ trên Mobile */
  }
}
