/* ==========================================================================
   CTA QUOTE SECTION — Báo Giá Dự Án
   Prefix: cta-quote
   
   DOM Structure (Flatsome UX Builder):
   <section id="cta-quote" class="cta-quote">
     <div class="cta-quote__container">
       <h2 class="cta-quote__title">...</h2>
       <p class="cta-quote__desc">...</p>
       <div class="cta-quote__actions">
         <a class="cta-quote__btn cta-quote__btn--primary">...<br></a>
         <a class="cta-quote__btn cta-quote__btn--outline">...<br></a>
       </div>
     </div>
   </section>

   ⚠️ Flatsome auto-inserts <br> inside <a> tags — must hide them.
   ========================================================================== */

/* ── Section ── */
#cta-quote {
  background: var(--bg-dark, #1A1A1A) !important;
  padding: clamp(32px, 4vw, 48px) 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
#cta-quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Force white text on dark bg ── */
#cta-quote,
#cta-quote h2,
#cta-quote p,
#cta-quote a,
#cta-quote em {
  color: #FFFFFF !important;
}

/* ── Container ── */
#cta-quote .cta-quote__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Title ── */
#cta-quote .cta-quote__title {
  font-family: var(--font-heading, 'Noto Serif', serif) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #FFFFFF !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

/* Remove Flatsome auto-<br> inside title */
#cta-quote .cta-quote__title br {
  display: none !important;
}

#cta-quote .cta-quote__title em {
  font-style: italic;
  color: var(--brand-secondary, #C9A96E) !important;
}

/* ── Description ── */
#cta-quote .cta-quote__desc {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.60) !important;
  line-height: 1.6 !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  max-width: 480px;
}

/* ── Button wrapper ── */
#cta-quote .cta-quote__actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap;
}

/* ── FIX: Hide Flatsome auto-inserted <br> inside buttons ── */
#cta-quote .cta-quote__btn br {
  display: none !important;
}

/* ── Buttons ── */
#cta-quote .cta-quote__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 38px !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 0 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap !important;
  line-height: 1 !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

/* Primary — filled gold */
#cta-quote .cta-quote__btn--primary {
  background: var(--brand-primary, #B8860B) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--brand-primary, #B8860B) !important;
}

#cta-quote .cta-quote__btn--primary:hover {
  background: var(--brand-primary-dark, #946B09) !important;
  border-color: var(--brand-primary-dark, #946B09) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.25) !important;
}

/* Outline — bordered white */
#cta-quote .cta-quote__btn--outline {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

#cta-quote .cta-quote__btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.60) !important;
  color: #FFFFFF !important;
  background: transparent !important;
  transform: translateY(-1px);
}

/* ── Hide empty <p> Flatsome inserts ── */
#cta-quote .cta-quote__container>p:empty {
  display: none !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  #cta-quote {
    padding: 28px 0 !important;
  }

  #cta-quote .cta-quote__actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  #cta-quote .cta-quote__btn {
    width: 100% !important;
    max-width: 280px !important;
  }
}