/**
 * ==========================================================================
 * BÁT TỰ MANH PHÁI — HOME PAGE STYLES (CSS DÙNG RIÊNG TRANG CHỦ INDEX.HTML)
 * Bao gồm: Hero section, Form lập lá số nhanh, Lưới tính năng, Bảng giá,
 * Đánh giá khách hàng (Testimonials), và FAQ Accordion.
 * ==========================================================================
 */

/* ==========================================================================
   1. HERO SECTION SƠN THỦY HỮU TÌNH KHAI QUANG
   ========================================================================== */
.home-page .hero-cosmic-oriental {
    min-height: 580px;
    padding-top: 50px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Tiêu đề chính trang chủ */
.home-page .hero-cosmic-oriental h1 {
    color: var(--text-title, #302822) !important;
    letter-spacing: -0.015em;
    font-weight: 700 !important;
    font-family: var(--font-royal, 'Playfair Display', serif) !important;
    line-height: 1.25;
}

/* Slogan trang nhã */
.home-page .hero-cosmic-oriental h1 > span {
    display: block !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--text-slogan, #68605A) !important;
    font-family: var(--font-royal, 'Playfair Display', serif) !important;
    font-size: 0.52em !important;
    line-height: 1.4 !important;
    margin-top: 8px !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--text-slogan, #68605A) !important;
    text-shadow: none !important;
    filter: none !important;
}

.home-page .hero-cosmic-oriental p {
    color: var(--text-desc, #46556A) !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    text-shadow: none !important;
}

/* ==========================================================================
   2. CẶP NÚT CTA CHỦ ĐẠO TRÊN HERO
   ========================================================================== */
/* Nút Đỏ “Lập lá số ngay” */
.home-page .btn-cosmic-gold {
    background: var(--btn-red, #B51224) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(181, 18, 36, 0.25) !important;
    height: 48px !important;
    padding: 0 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.home-page .btn-cosmic-gold:hover {
    background: var(--btn-red-hover, #981020) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(181, 18, 36, 0.32) !important;
}

/* Nút Phụ “Tìm hiểu thêm” */
.home-page .btn-cosmic-outline {
    background: #FFFFFF !important;
    color: var(--text-title, #302822) !important;
    font-weight: 600 !important;
    border-radius: 0px !important;
    border: 1px solid var(--gold-dark, #C69200) !important;
    box-shadow: none !important;
    height: 48px !important;
    padding: 0 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer;
}

.home-page .btn-cosmic-outline:hover {
    background: #FFF8DF !important;
    border-color: var(--color-primary, #B51224) !important;
    color: var(--color-primary, #B51224) !important;
}

/* ==========================================================================
   3. BOX LẬP LÁ SỐ NHANH TRÊN HERO
   ========================================================================== */
.home-page .hero-cosmic-oriental .cosmic-card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-paper, #EAE2D5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border-radius: 0px !important;
}

.home-page #hero-quick-form input,
.home-page #hero-quick-form select {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: var(--text-input, #0F172A) !important;
    border-radius: 0px !important;
    font-weight: 500;
}

.home-page #hero-quick-form input:focus,
.home-page #hero-quick-form select:focus {
    border-color: var(--color-primary, #B51224) !important;
    box-shadow: 0 0 0 3px rgba(181, 18, 36, 0.15) !important;
    outline: none !important;
}

/* Toggles Giới Tính & Loại Lịch */
.home-page #hero-quick-form button[type="button"].bg-\[\#B51224\],
.home-page #hero-quick-form button[type="button"].active {
    background: var(--btn-red, #B51224) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(181, 18, 36, 0.2) !important;
}

/* Nút Submit Form */
.home-page #hero-quick-form button[type="submit"] {
    background: var(--btn-red, #B51224) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(181, 18, 36, 0.25) !important;
    transition: all 0.2s ease;
}

.home-page #hero-quick-form button[type="submit"]:hover {
    background: var(--btn-red-hover, #981020) !important;
}

/* ==========================================================================
   4. CÁC THẺ NỘI DUNG (GIỚI THIỆU, DỊCH VỤ, BẢNG GIÁ)
   ========================================================================== */
.home-page .cosmic-card {
    background: #FFFFFF !important;
    border: 1px solid #EAE2D5 !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    color: var(--text-desc, #46556A) !important;
    transition: all 0.25s ease;
}

.home-page .cosmic-card:hover {
    border-color: var(--gold-dark, #C69200) !important;
    box-shadow: 0 10px 30px rgba(80, 60, 20, 0.08) !important;
    transform: translateY(-2px);
}

.home-page .cosmic-card h3 {
    color: var(--text-title, #302822) !important;
}

/* Icon box thẻ tính năng */
.home-page .card-icon-box {
    background-color: rgba(181, 18, 36, 0.07) !important;
    color: #B51224 !important;
    border: 1px solid rgba(181, 18, 36, 0.2) !important;
    border-radius: 0px !important;
    box-shadow: 0 1px 3px rgba(181, 18, 36, 0.08) !important;
    transition: all 0.25s ease !important;
}

.home-page .cosmic-card:hover .card-icon-box {
    background-color: rgba(181, 18, 36, 0.12) !important;
    border-color: #B51224 !important;
    transform: scale(1.05);
}

/* Bảng giá dịch vụ */
.home-page #dich-vu > .grid > div {
    background: #FFFFFF !important;
    border: 1px solid #EAE2D5 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    border-radius: 0px !important;
}

.home-page #dich-vu > .grid > div:hover {
    border-color: var(--gold-dark, #C69200) !important;
    box-shadow: 0 10px 30px rgba(80, 60, 20, 0.08) !important;
}

.home-page .cosmic-card-popular {
    border: 2px solid var(--gold-dark, #C69200) !important;
    box-shadow: 0 10px 30px rgba(80, 60, 20, 0.08) !important;
}

/* ==========================================================================
   5. BANNER CTA CUỐI TRANG & PHÍM TẮT TRUY CẬP NHANH
   ========================================================================== */
.home-page main section:last-of-type > div.rounded-\[24px\],
.home-page main section:last-of-type > div.sm\:rounded-\[28px\] {
    background: #FFFFFF !important;
    border: 1.5px solid var(--gold-dark, #C69200) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.home-page main section:last-of-type a[href*="lap_la_so"] {
    background: var(--btn-red, #B51224) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(181, 18, 36, 0.25) !important;
}

.home-page main section:last-of-type a[href*="lap_la_so"]:hover {
    background: var(--btn-red-hover, #981020) !important;
}

.home-page main section:last-of-type a[href="#dich-vu"] {
    background: #FFFFFF !important;
    border: 1px solid var(--gold-dark, #C69200) !important;
    color: var(--text-title, #302822) !important;
    border-radius: 0px !important;
    height: 48px !important;
    padding: 0 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.home-page main section:last-of-type a[href="#dich-vu"]:hover {
    background: #FFF8DF !important;
    border-color: var(--color-primary, #B51224) !important;
    color: var(--color-primary, #B51224) !important;
}