/* ==========================================================================
   ĐÔNG Y GIA TRUYỀN THẾ LONG - STYLESHEET
   Phong cách: Hiện đại, Trang trọng, Sang trọng, Đậm chất Thảo dược Cổ truyền
   ========================================================================== */

/* --- 1. CSS VARIABLES & SYSTEM THEME --- */
:root {
    --primary-dark: #065f46;       /* Xanh ngọc lục bảo quý phái, tươi tắn, sang trọng đẳng cấp */
    --primary: #059669;            /* Xanh ngọc lục bảo thảo dược tươi sáng, rực rỡ chuẩn YHCT */
    --primary-medium: #10b981;     /* Xanh ngọc bích tươi sáng, tràn đầy sinh khí */
    --primary-light: #34d399;      /* Xanh mint ngọc thanh khiết */
    --primary-soft: #ecfdf5;       /* Nền xanh ngọc thanh mát, sáng sủa */
    --primary-subtle: #f0fdf4;     /* Nền trắng phớt ngọc tinh khôi */
    
    --accent-gold: #f59e0b;        /* Vàng kim hoàng gia rực rỡ */
    --accent-gold-dark: #d97706;   /* Vàng hổ phách đậm đà */
    --accent-gold-light: #fef08a;  /* Vàng nắng sáng rực */
    --accent-gold-soft: #fffbeb;   /* Nền vàng nhạt sáng trong */

    --text-dark: #064e3b;          /* Chữ đậm rõ nét, tương phản cao trên nền sáng */
    --text-body: #374151;          /* Màu chữ nội dung sáng rõ, dễ đọc */
    --text-muted: #4b5563;         /* Màu chữ phụ không bị mờ */
    --text-light: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f6fbf8;           /* Nền xám phớt ngọc sáng trong */
    --bg-card: #ffffff;
    
    --border-color: #d1fae5;
    --border-light: #e6f9f0;

    --shadow-sm: 0 2px 10px rgba(5, 150, 105, 0.08);
    --shadow-md: 0 8px 24px rgba(5, 150, 105, 0.14);
    --shadow-lg: 0 16px 40px rgba(6, 95, 70, 0.18);
    --shadow-gold: 0 8px 25px rgba(245, 158, 11, 0.35);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.68;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- 3. LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 45px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.w-100 {
    width: 100%;
}

/* --- 4. SECTION HEADERS & TAGS --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.section-tag-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background-color: rgba(255, 255, 255, 0.22);
    color: var(--accent-gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    backdrop-filter: blur(5px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.28;
    position: relative;
    display: table;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

.section-desc.lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 12px;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

/* --- SECTION HEADERS & ĐƯỜNG KẺ PHÂN CÁCH NGHỆ THUẬT ĐÔNG Y --- */
.section-header {
    margin-bottom: 28px;
    position: relative;
}

/* Tiêu đề trong các khu vực căn giữa (Bài thuốc, Vì sao chọn, Đánh giá, Tin tức) */
.section-header.text-center .section-title,
.text-center .section-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Tiêu đề trong các khu vực 2 cột (Giới thiệu sứ mệnh, Nhật ký khám chữa bệnh) */
.about-text .section-title,
.gallery-right-content .section-title {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

/* ĐƯỜNG KẺ PHÂN CÁCH NGHỆ THUẬT TOÀN BỘ TRANG WEB:
   1. Căn nằm chính giữa dòng chữ (margin: ... auto)
   2. Chiều dài chiếm đúng 1/2 dòng chữ (width: 50%)
   3. Kéo tiến lên sát với tiêu đề hơn (margin-top: 7px, margin-bottom: 18px) */
.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3.5px;
    background: linear-gradient(90deg, #10b981 0%, #059669 45%, #f59e0b 100%);
    border-radius: 9999px;
    margin: 7px auto 18px auto;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);
}

/* --- QUY TẮC CĂN ĐỀU 2 BÊN CÁC DÒNG VĂN BẢN (KHÔNG THÒ RA THỤT VÀO) --- */
p,
.section-desc,
.hero-desc,
.justified-text,
.about-text p,
.highlight-item p,
.gallery-right-content p,
.gallery-feature-list li,
.remedy-content p,
.why-content p,
.testi-quote,
.news-content p,
.footer-desc,
.footer-disclaimer,
.modal-body p,
.consult-desc,
.card-desc,
.service-desc,
.step-desc {
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: left;
    word-break: normal;
    overflow-wrap: break-word;
}

/* 2. CÁC VĂN BẢN GIỚI THIỆU Ở DƯỚI TIÊU ĐỀ THÌ CĂN GIỮA ĐỂ ĐỀU NHAU (GHI ĐÈ LÊN CĂN ĐỀU 2 BÊN) */
.section-header.text-center .section-desc,
.section-header.text-center p,
.section-header .section-desc.max-w-700,
.text-center .section-desc,
.modal-header p,
.search-modal-header p {
    text-align: center !important;
    text-align-last: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 680px;
    line-height: 1.7;
}

/* --- 5. BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
    color: var(--text-light);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.18);
    color: var(--text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

/* --- 6. TOP BAR --- */
.topbar {
    background: linear-gradient(90deg, #065f46 0%, #059669 50%, #065f46 100%);
    color: #ffffff;
    font-size: 0.84rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-left span i, .topbar-right span i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.topbar-socials {
    display: flex;
    gap: 10px;
}

.topbar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 0.75rem;
}

.topbar-socials a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* --- 7. HEADER / NAVBAR --- */
.header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.sticky {
    box-shadow: 0 6px 25px rgba(17, 61, 35, 0.12);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--accent-gold-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(30, 94, 58, 0.25);
    border: 1px solid var(--accent-gold);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-subtitle {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-gold-dark);
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.logo-motto {
    font-size: 0.74rem;
    font-weight: 800;
    color: #b45309; /* Vàng hổ phách hoàng gia sắc nét, nổi bật */
    letter-spacing: 1px;
    white-space: nowrap;
    margin-top: 1.5px;
}

/* Nav Menu */
.navbar .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-soft);
}

.header-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-search-header {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(30, 94, 58, 0.25);
    white-space: nowrap;
}

.btn-search-header:hover {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    color: #113d23;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(191, 161, 95, 0.35);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 6px;
}

/* --- 8. HERO SECTION / BANNER SLIDER LỚN ĐA NĂNG --- */
/* --- 8. HERO SECTION / BANNER SLIDER LỚN ĐA NĂNG --- */
.hero {
    position: relative;
    background: 
        radial-gradient(circle at 85% 15%, rgba(254, 240, 138, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(52, 211, 153, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, #065f46 0%, #047857 30%, #059669 65%, #0d9488 100%);
    color: var(--text-light);
    padding: 16px 0 0 0;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16) 0%, transparent 35%),
        radial-gradient(circle at 85% 65%, rgba(254, 240, 138, 0.22) 0%, transparent 45%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.78;
}

.hero-glow-1 {
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(254, 240, 138, 0.9) 0%, rgba(254, 240, 138, 0) 70%);
}

.hero-glow-2 {
    bottom: 20px;
    left: -70px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.85) 0%, rgba(52, 211, 153, 0) 70%);
}

/* Slider Viewport Structure */
.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 8px 0 16px 0;
    opacity: 0.45;
    transform: scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.22fr 0.88fr;
    gap: 36px;
    align-items: center;
    position: relative;
}

/* Hero Content Left */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(254, 240, 138, 0.28) 50%, rgba(245, 158, 11, 0.3) 100%);
    border: 2px solid #fef08a;
    color: #ffffff;
    font-size: 1.25rem; /* Phóng to nổi bật dòng chữ "6 đời kế thừa và phát triển" */
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    box-shadow: 0 0 25px rgba(254, 240, 138, 0.6), 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    letter-spacing: 0.6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-badge i {
    color: #ffd026;
    font-size: 1.4rem; /* Biểu tượng vương miện rực rỡ */
    filter: drop-shadow(0 0 10px rgba(255, 208, 38, 0.95));
    animation: crownGlow 2.5s infinite ease-in-out;
}

@keyframes crownGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 208, 38, 0.8)); }
    50% { transform: scale(1.12); filter: drop-shadow(0 0 16px rgba(255, 234, 121, 1)); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem; /* Thu nhỏ cỡ chữ để tiêu đề phía trên nằm trọn trên 1 dòng */
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    display: inline-block;
    max-width: 100%;
}

.hero-title-top {
    display: block;
    font-size: 2.2rem;
    white-space: nowrap; /* Đảm bảo nằm trọn trên 1 dòng */
    text-align: center;
    color: #ffffff;
    line-height: 1.25;
}

/* Khung nghệ thuật hoàng gia làm nổi bật các dòng chữ vàng banner */
.highlight-gold-frame {
    display: table;
    margin: 10px auto 0 auto;
    padding: 7px 32px;
    background: linear-gradient(135deg, rgba(2, 44, 34, 0.9) 0%, rgba(6, 78, 59, 0.82) 50%, rgba(4, 120, 87, 0.72) 100%);
    border: 2px solid #fef08a;
    border-radius: var(--radius-full);
    box-shadow: 0 0 25px rgba(254, 240, 138, 0.55), inset 0 0 16px rgba(254, 240, 138, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.highlight-gold-frame::before {
    content: '✦';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd026;
    font-size: 0.95rem;
    filter: drop-shadow(0 0 6px rgba(255, 208, 38, 0.9));
}

.highlight-gold-frame::after {
    content: '✦';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd026;
    font-size: 0.95rem;
    filter: drop-shadow(0 0 6px rgba(255, 208, 38, 0.9));
}

.highlight-gold-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(254, 240, 138, 0.8), inset 0 0 22px rgba(254, 240, 138, 0.4), 0 10px 28px rgba(0, 0, 0, 0.4);
}

.hero-title .highlight-gold {
    display: block;
    text-align: center;
    font-size: 1.95rem;
    line-height: 1.3;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #fff9c4 20%, #fef08a 40%, #ffd026 70%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-style: italic;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.9));
    letter-spacing: 0.6px;
    padding: 0 6px;
}

.hero-desc {
    font-size: 1.05rem;
    color: #f0fdf4;
    line-height: 1.62;
    margin-bottom: 20px;
    max-width: 630px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

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

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: #065f46;
}

.hero-buttons .btn-outline-white {
    background: rgba(255, 255, 255, 0.22);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline-white:hover {
    background: #ffffff;
    color: #065f46;
    border-color: #ffffff;
}

.pulse-btn {
    position: relative;
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 240, 138, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(254, 240, 138, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(254, 240, 138, 0);
    }
}

/* Hero Visual Card Right */
.hero-visual {
    position: relative;
}

.hero-card-featured {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--text-dark);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25), 0 0 30px rgba(254, 240, 138, 0.35);
    position: relative;
    border: 2.5px solid #fde047;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), 0 0 40px rgba(254, 240, 138, 0.5);
}

.card-top-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-top-tag.tag-accent {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-card-img {
    height: 185px;
    position: relative;
    overflow: hidden;
}

.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-card-featured:hover .hero-card-img img {
    transform: scale(1.06);
}

.hero-floating-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1.5px solid #d97706;
    border-radius: var(--radius-md);
    padding: 8px 14px;
    color: #065f46;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.hero-floating-badge .badge-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #b45309;
    line-height: 1.1;
}

.hero-floating-badge .badge-txt {
    font-size: 0.72rem;
    color: #065f46;
    font-weight: 700;
}

.hero-card-body {
    padding: 15px 18px;
    background: #ffffff;
}

.card-feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.hero-card-body h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #065f46;
    margin-bottom: 0;
    font-weight: 700;
}

.pill-badge {
    padding: 3px 9px;
    background: #edf9f2;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.pill-badge.pill-gold {
    background: #fefce8;
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.hero-card-body p {
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 10px;
    line-height: 1.5;
}

.hero-check-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.38;
}

.hero-check-list li i {
    color: #059669;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Navigation Arrows */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d97706;
    color: #059669;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-prev-arrow {
    left: 20px;
}

.hero-next-arrow {
    right: 20px;
}

.hero-nav-arrow:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding: 9px 0;
}

.hero-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.35s ease;
}

.hero-dots .dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero-dots .dot.active {
    width: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #fef08a);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}

.hero-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.hero-counter .current-slide {
    color: #fef08a;
    font-size: 1.05rem;
    font-weight: 800;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-grow: 1;
    justify-content: flex-end;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(254, 240, 138, 0.7);
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff9a6;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.78rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.25);
}

/* --- 9. GIỚI THIỆU SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.98fr 1.02fr;
    gap: 40px;
    align-items: flex-start; /* Đẩy khối hình ảnh lên cao phía trên, ngang bằng đỉnh tiêu đề */
}

.about-images {
    position: relative;
    padding-bottom: 20px;
    padding-right: 15px;
    margin-top: 6px;
}

.img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.img-wrapper.main-img {
    width: 88%;
    border: 4px solid var(--bg-white);
    position: relative;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.img-wrapper.main-img img {
    width: 100%;
    height: 415px;
    object-fit: cover;
    display: block;
}

.img-wrapper.sub-img {
    position: absolute;
    right: 0;
    bottom: -15px;
    width: 55%;
    border: 5px solid var(--bg-white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-radius: var(--radius-lg);
    z-index: 2;
}

.img-wrapper.sub-img img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.3);
    border: 1.5px solid var(--accent-gold);
    z-index: 3;
}

.experience-badge strong {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1;
    color: #fef08a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.experience-badge span {
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    margin-top: 4px;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.about-text .section-title {
    color: var(--primary-dark);
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-text .section-desc {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.hl-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-item h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.about-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Luôn giữ nút tư vấn và thông tin thầy thuốc trên cùng 1 hàng */
    gap: 14px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.about-action .btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 11px 20px;
    font-size: 0.9rem;
}

.doctor-sign {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.doctor-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--primary-light);
    flex-shrink: 0;
}

.doctor-sign strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary-dark);
    line-height: 1.25;
}

.doctor-sign span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* --- 10. HÌNH ẢNH & VIDEO KHÁM CHỮA BỆNH THỰC TẾ (LAYOUT 2 PHẦN) --- */
/* --- 10. HÌNH ẢNH & VIDEO KHÁM CHỮA BỆNH THỰC TẾ (LAYOUT 2 PHẦN) --- */
.gallery-split-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 45px;
    align-items: flex-start; /* Kéo slide lên trên cao, cao ngang bằng đỉnh cột giới thiệu bên phải */
}

/* Cột bên trái: Slider chứa 2 ảnh trên + 1 video dưới */
.gallery-left-media {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Mục "Chủ đề" đặt ở trên đầu, căn giữa slide, cao ngang bằng mục "Hoạt động khám chữa bệnh" */
.gallery-topic-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
}

.gallery-topic-tag {
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(21, 128, 61, 0.12);
    transition: var(--transition);
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.media-slider-wrapper {
    position: relative;
    padding: 0;
    width: 100%;
}

.media-slider-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    padding: 0; /* Loại bỏ padding để hình ảnh và video kéo dãn 100% không bị hở 2 bên */
    border: 2px solid var(--border-color);
    box-shadow: 0 12px 35px rgba(20, 83, 45, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.media-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    width: 100%;
}

.media-slide-set {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
}

/* Hàng 2 ảnh phía trên */
.slide-top-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px 4px 0 4px;
    background: #ffffff;
    box-sizing: border-box;
}

/* Khung 1 video phía dưới */
.slide-bottom-video {
    padding: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.media-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #eef7f2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    display: block;
}

.media-box:hover img {
    transform: scale(1.06);
    opacity: 0.92;
}

.img-box {
    height: 250px;
}

.video-box {
    height: 330px;
}

/* Hover overlay trên ảnh */
.media-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 83, 45, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.media-hover-overlay i {
    font-size: 1.4rem;
}

.media-hover-overlay span {
    font-size: 0.75rem;
    font-weight: 600;
}

.img-box:hover .media-hover-overlay {
    opacity: 1;
}

.media-type-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.tag-img {
    background: rgba(20, 83, 45, 0.9);
    color: #ffffff;
    border: 1px solid #fef08a;
}

.tag-video {
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.video-time-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.media-box-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

/* Nút Play video trung tâm */
.video-play-center {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    z-index: 3;
}

.video-box:hover .video-play-center {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ffffff;
    color: #dc2626;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
}

.video-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(20, 83, 45, 0.95) 0%, rgba(20, 83, 45, 0.65) 70%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.video-caption-bar h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    color: var(--accent-gold-light);
    margin-bottom: 2px;
}

.video-caption-bar p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Nút điều hướng mũi tên gạt */
.media-nav-arrow {
    position: absolute;
    top: 54%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.media-prev-arrow {
    left: -22px;
}

.media-next-arrow {
    right: -22px;
}

.media-nav-arrow:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

/* Thanh điều khiển Dots & Chỉ số trang */
.media-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 4px;
}

.media-slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.media-slider-dots .m-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.media-slider-dots .m-dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background: var(--primary);
}

.media-slide-counter {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Cột bên phải: Chữ giới thiệu */
.gallery-right-content {
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.gallery-right-content .section-desc {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 18px;
    line-height: 1.8;
}

.justified-text {
    text-align: justify;
    text-justify: inter-word;
}

.gallery-action-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-top: 22px;
    width: 100%;
}

.gallery-action-btns .btn {
    flex: 1 1 0px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.12);
}

.btn-outline-green {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-green:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.25);
}

/* Video & Image Modal Styling */
.video-modal-box {
    max-width: 800px;
    padding: 24px;
    background: #111;
    color: #fff;
}

.video-modal-header {
    margin-bottom: 14px;
    padding-right: 30px;
}

.video-modal-header h4 {
    font-size: 1.1rem;
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-modal-box {
    max-width: 750px;
    padding: 20px;
    background: var(--bg-white);
    text-align: center;
}

.image-preview-container img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.image-caption-text {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* --- 11. BÀI THUỐC SECTION --- */
.remedy-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px 0;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(30, 94, 58, 0.25);
}

.remedies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.remedy-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.remedy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.remedy-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 61, 35, 0.9);
    color: var(--accent-gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
    backdrop-filter: blur(4px);
    border: 1px solid var(--accent-gold);
}

.remedy-img {
    height: 200px;
    overflow: hidden;
}

.remedy-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.remedy-card:hover .remedy-img img {
    transform: scale(1.08);
}

.remedy-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.remedy-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}

.remedy-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.remedy-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.remedy-meta {
    background: var(--bg-light);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 0.83rem;
}

.remedy-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.remedy-meta span i {
    color: var(--primary);
}

/* --- 12. VÌ SAO CHỌN SECTION --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 26px;
}

.why-card {
    background: var(--bg-white);
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    border: 1px solid rgba(30, 94, 58, 0.2);
}

.why-card:hover .why-icon {
    background: var(--accent-gold);
    color: var(--text-light);
    border-color: var(--accent-gold-dark);
}

.why-content h4 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.why-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 13. ĐÁNH GIÁ KHÁCH HÀNG (SLIDER CAROUSEL) --- */
.testimonial-slider-wrapper {
    position: relative;
    margin-top: 26px;
    padding: 0 50px;
}

.testimonial-slider-container {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 15px 0;
}

.testimonial-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 24px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.testi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.testi-stars {
    color: #f59e0b;
    font-size: 0.92rem;
    display: flex;
    gap: 3px;
}

.testi-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

/* Khung ảnh & video khách hàng chia sẻ */
.testi-customer-img-box {
    position: relative;
    width: 100%;
    height: 175px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.testi-customer-img-box img.customer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.testimonial-card:hover .testi-customer-img-box img.customer-photo {
    transform: scale(1.06);
}

/* Khung video khách hàng chia sẻ */
.testi-customer-video-box {
    cursor: pointer;
    position: relative;
}

.testi-customer-video-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.testi-customer-video-box:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.testi-customer-video-box .video-play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(5, 150, 105, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 0 18px rgba(5, 150, 105, 0.6);
    transition: transform 0.3s ease, background 0.3s ease;
}

.testi-customer-video-box:hover .video-play-center {
    transform: translate(-50%, -50%) scale(1.12);
    background: #059669;
}

.testi-customer-video-box .video-badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.testi-customer-video-box .video-time-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.photo-caption {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.testi-quote {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-style: italic;
    flex-grow: 1;
}

.testi-author {
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
    text-align: center;
}

.author-info {
    text-align: center;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    text-align: center;
}

.author-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Nút bấm Xem Trước / Xem Tiếp */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary-dark);
    border: 1.5px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Chấm tròn Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    width: 26px;
    border-radius: var(--radius-full);
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(30, 94, 58, 0.35);
}

/* --- 14. TIN TỨC & BÀI VIẾT SECTION --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin-top: 26px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-cat {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.read-more:hover {
    color: var(--accent-gold-dark);
    gap: 10px;
}

/* --- 15. CONTACT & BOOKING FORM SECTION --- */
.contact {
    background: linear-gradient(135deg, #103820 0%, #195230 100%);
    color: var(--text-light);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 18px;
    color: var(--text-light);
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.c-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.c-detail-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-gold-light);
    margin-bottom: 2px;
}

.c-detail-item p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Form Styling */
.contact-form-wrap {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    color: var(--text-dark);
}

.consultation-form h4 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consultation-form h4 i {
    color: var(--primary);
}

.form-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 0.94rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(30, 94, 58, 0.12);
}

/* --- 16. FOOTER --- */
.footer {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #022c22 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.footer-top {
    padding: 45px 0 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
    gap: 40px;
}

.logo-footer .logo-title {
    color: var(--text-light);
}

.logo-footer .logo-subtitle {
    color: var(--accent-gold);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.75);
}

.cert-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    transform: translateX(5px);
}

.footer-contact-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--accent-gold);
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.footer-bottom {
    padding: 22px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-disclaimer {
    font-style: italic;
    font-size: 0.78rem;
}

/* --- 17. MODAL POPUP --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

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

.modal-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 34px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: var(--transition);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 12px auto;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Search Modal Specific Styling */
.search-modal-box {
    max-width: 640px;
    padding: 32px 28px;
}

.search-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.search-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.search-modal-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.search-input-wrap {
    position: relative;
    margin-bottom: 14px;
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.15rem;
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary-light);
    font-size: 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.search-input-wrap input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 94, 58, 0.14);
    outline: none;
}

.search-clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 2px;
}

.search-clear-btn:hover {
    color: var(--primary-dark);
}

.search-quick-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-tag-btn {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid rgba(30, 94, 58, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-tag-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.search-results {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.search-result-item:hover {
    border-color: var(--primary);
    background: #fff;
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.search-result-info h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 3px;
}

.search-result-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.search-result-tag {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary);
    white-space: nowrap;
}

.search-no-result {
    text-align: center;
    padding: 24px 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.search-no-result i {
    font-size: 2rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 8px;
}

/* --- 18. FLOATING ACTION BUTTONS --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 900;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.float-call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulseRing 2s infinite;
}

.float-zalo {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.float-top {
    background: var(--primary-dark);
    opacity: 0;
    visibility: hidden;
}

.float-top.show {
    opacity: 1;
    visibility: visible;
}

.float-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- 19. TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--accent-gold);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.toast-body strong {
    display: block;
    font-size: 1rem;
    color: var(--accent-gold-light);
}

.toast-body p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}
