/* MÀU SẮC CHỦ ĐẠO DỰA TRÊN LOGO & TÂM LÝ HỌC */
:root {
    --primary: #F39C12; /* Vàng cam đậm - Màu của mặt trời, sự ấm áp */
    --primary-light: #FAD7A1;
    --secondary: #27AE60; /* Xanh lá - Màu của sự sống, chữa lành */
    --accent: #E74C3C; /* Đỏ san hô nhẹ - Điểm nhấn */
    
    --bg-main: #FCFBF8; /* Cảm giác mềm mại, không chói mắt */
    --bg-warm: #FFF9ED; /* Nền khối màu ấm áp */
    
    --text-dark: #2C3E50;
    --text-p: #556B8D;
    --white: #FFFFFF;
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-p);
    max-width: 600px;
    margin: 0 auto;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #D35400);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(243, 156, 18, 0.4);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.2rem;
}

.btn i {
    margin-left: 8px;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    margin-top: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    border: none;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--accent);
}

/* NAVBAR (NEW) */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; /* Đảm bảo nút hamburger luôn nằm trên menu mobile */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    /* Hiệu ứng chéo chữ X cho Hamburger khi mở */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* 1. HERO SECTION */
.hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    border-radius: 50%;
}

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

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--bg-warm);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--primary-light);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-p);
    margin-bottom: 30px;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 30px 30px 10px 30px;
    border: 8px solid white;
    box-shadow: var(--shadow);
    overflow: visible;
    max-width: 400px;
}

.image-frame img {
    border-radius: 22px 22px 2px 22px;
    display: block;
    width: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: white;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.floating-card i {
    color: var(--accent);
}

/* PLACEHOLDER STYLES (ĐỂ KHUNG ẢNH KHÔNG BỊ RỖNG MÀ CÓ VIỀN NÉT ĐỨT) */
.image-frame.has-placeholder {
    background-color: var(--bg-warm);
    border: 8px dashed var(--primary-light);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame-circle.has-placeholder {
    background-color: var(--bg-warm);
    border: 8px dashed var(--primary-light);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.has-placeholder img {
    display: none !important;
}

.placeholder-overlay {
    display: none;
}

.has-placeholder .placeholder-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-align: center;
    width: 100%;
}

.has-placeholder .placeholder-overlay i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.has-placeholder .placeholder-overlay p {
    font-weight: 600;
    opacity: 0.7;
}

/* 2. PAIN POINTS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pain-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.pain-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-box.red { background: #FDEDEC; color: var(--accent); }
.icon-box.gold { background: #FEF5E7; color: var(--primary); }
.icon-box.green { background: #EAFAF1; color: var(--secondary); }
.icon-box.blue { background: #EBF5FB; color: #3498DB; }

.pain-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-p);
}

.empathy-box {
    background-color: var(--bg-warm);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 3. SOLUTIONS */
.bg-warm {
    background-color: var(--bg-warm);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.solution-card.active {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-warm);
    line-height: 1;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.solution-card .subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-style: italic;
}

.solution-card ul {
    list-style: none;
}

.solution-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-p);
}

.solution-card li i {
    color: var(--secondary);
    margin-top: 4px;
}

.solution-card .price-tag {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #E5E7EB;
    color: var(--text-p);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5; /* Rớt dòng mượt mà */
    display: block; /* Hủy flex để chữ k bị ép dài ra tràn khỏi khung */
}

.solution-card .price-tag i {
    color: #BDC3C7;
    font-size: 0.9rem;
    margin-right: 6px; /* Thay thế khoảng cách của gap */
}

.solution-card .price-tag small {
    color: #95A5A6;
    font-size: 0.8rem;
    font-weight: normal;
}

/* 4. BENEFITS */
.benefits-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-image {
    flex: 1;
    position: relative;
}

.image-frame-circle {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3 / 4;
    height: auto;
    border-radius: 150px 150px 20px 20px;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.image-frame-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Tăng độ zoom và đẩy ảnh lên trên nhiều hơn */
    transform: scale(1.2) translateY(-8%);
}

.quote-box {
    position: absolute;
    bottom: -45px;
    right: -25px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 250px;
    border-top: 4px solid var(--primary);
}

.quote-box i {
    color: var(--primary-light);
    font-size: 2rem;
    margin-bottom: 10px;
}

.quote-box p {
    font-style: italic;
    font-size: 0.95rem;
}

.expert-name-sign {
    margin-top: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-align: right;
}

.benefits-content {
    flex: 1;
}

.benefits-content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.check-icon {
    width: 30px;
    height: 30px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.benefit-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.benefit-list p {
    color: var(--text-p);
}

/* 5. TESTIMONIALS (PHẢN HỒI KHÁCH HÀNG) */
.testimonials .grid-3 {
    gap: 40px;
}

.review-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 4px solid var(--primary);
}

.review-card::before {
    content: '\f10d'; /* FontAwesome quote-left */
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.8;
}

.stars {
    color: #F1C40F; /* Màu vàng sao */
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    min-height: 140px;
    line-height: 1.7;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #EEEEEE;
    padding-top: 20px;
}

.reviewer .avatar i {
    font-size: 3.5rem;
    color: #BDC3C7;
}

.reviewer-info strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: #7F8C8D;
}

/* 7. VỀ CHUYÊN GIA */
.about-container { display: flex; gap: 50px; align-items: center; }
.about-image { flex: 0 0 350px; display: flex; justify-content: center; }
.about-content { flex: 1; }
.about-content p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-dark); line-height: 1.7; }

/* 8. CÂU HỎI THƯỜNG GẶP (FAQ) */
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item {
    background: white; padding: 25px 30px; border-radius: 12px;
    box-shadow: var(--shadow); border-left: 4px solid var(--primary);
    margin-bottom: 20px; transition: var(--transition);
}
.faq-item:hover { transform: translateX(5px); }
.faq-item h4 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 12px; }
.faq-item h4 i { color: var(--primary); margin-right: 8px; }
.faq-item p { color: var(--text-p); font-size: 1rem; }

/* 9. CTA VÀ CAM KẾT VÀ BỐ CỤC */
.cta-section {
    background: linear-gradient(135deg, #FFF9ED, #FFEEC0);
}
.commit-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.commit-item { display: flex; gap: 20px; margin-bottom: 25px; }
.commit-icon {
    width: 60px; height: 60px; background: white; color: var(--secondary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0; box-shadow: var(--shadow);
}
.commit-item h4 { font-size: 1.15rem; margin-bottom: 5px; color: var(--text-dark); }
.commit-item p { color: var(--text-p); font-size: 0.95rem; }

.cta-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.1);
}

.cta-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.cta-box > p {
    margin-bottom: 25px;
    color: var(--text-p);
}

.offer-box {
    background: #FEF5E7;
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed var(--primary);
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.offer-box i {
    color: var(--accent);
    margin-right: 5px;
}

.cta-copy-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.cta-empathy,
.cta-promise {
    color: var(--text-p);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

.cta-empathy {
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(243, 156, 18, 0.08), rgba(243, 156, 18, 0.03));
    border-radius: 14px;
    border-left: 4px solid var(--primary-light);
}

.cta-promise {
    font-weight: 600;
    color: var(--text-dark);
}

.cta-action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-action-group .btn-outline {
    margin-top: 0;
    border-width: 1px;
    border-color: rgba(39, 174, 96, 0.3);
    color: var(--secondary);
    background: rgba(39, 174, 96, 0.06);
}

.cta-action-group .btn-outline:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.cta-helper-text {
    margin: 14px 0 0;
    font-size: 0.88rem;
    color: var(--text-p);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus {
    border-color: var(--primary);
}

/* MODAL (CHI TIẾT SẢN PHẨM) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: url('background1.png') center/cover no-repeat;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    overflow: hidden; /* Cắt ảnh & layer mờ */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 1; /* Cần thiết để ::before nằm dưới */
    display: flex;
    flex-direction: column;
}

#modal-sp3 .modal-content {
    background: url('background3.png') center/cover no-repeat;
}

#modal-sp2 .modal-content {
    background: url('background2.png') center/cover no-repeat;
}

#modal-sp4 .modal-content {
    background: url('background4.png') center/cover no-repeat;
}

/* Lớp phủ mờ (Glassmorphism overlay) */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Giảm độ dày của lớp sương mù trắng */
    backdrop-filter: blur(5px); /* Giảm độ mờ để thấy rõ nét ảnh hơn */
    -webkit-backdrop-filter: blur(5px);
    z-index: -1; 
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(248, 249, 250, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: 100%;
}

.modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.modal-body h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.modal-body .subtitle {
    color: #D35400; /* Màu cam đậm hơn để tăng độ chênh lệch nền */
    font-weight: 700; /* Nét chữ cực kỳ dày, rõ nét */
    font-style: italic;
    margin-bottom: 25px;
    display: block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1); /* Viền sáng trắng bao quanh khối chữ */
}

.modal-body p {
    margin-bottom: 15px;
    color: #1A1A1A; /* Đậm hơn để tăng độ bao phủ màu sắc */
    line-height: 1.7;
    font-weight: 500; /* Nét chữ dày hơn một chút */
    text-shadow: 0 0 10px rgba(255, 255, 255, 1); /* Tạo quầng sáng trắng quanh chữ chống lóa */
}

.modal-body ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 15px;
    color: #1A1A1A;
    font-weight: 500; 
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

/* FOOTER */
footer {
    background: #2C3E50;
    color: white;
    padding: 40px 0 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

footer p {
    color: #BDC3C7;
    margin-bottom: 20px;
}

.footer-connect {
    margin: 10px 0 24px;
}

.footer-connect-title {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer-connect-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-connect-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-connect-link i {
    color: var(--primary);
}

.footer-connect-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.footer-connect-link.is-disabled {
    opacity: 0.65;
    cursor: default;
}

.copyright {
    border-top: 1px solid #34495E;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* FLOATING YOUTUBE BUTTON */
.floating-youtube-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid white;
}

.floating-youtube-btn strong {
    font-weight: 800;
}

.floating-youtube-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
    color: white;
}

/* CHATBOT WIDGET */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.chatbot-launcher {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.chatbot-launcher-label {
    background: linear-gradient(135deg, var(--secondary), #1E8449);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(39, 174, 96, 0.24);
    position: relative;
    white-space: nowrap;
    animation: bounce 2.2s infinite;
}

.chatbot-launcher-label::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 18px;
    border-width: 14px 14px 0 0;
    border-style: solid;
    border-color: var(--secondary) transparent transparent transparent;
}

.chatbot-launcher-avatar {
    width: 76px;
    height: 76px;
    background: white;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 5px rgba(0, 166, 81, 0.55), 0 12px 28px rgba(39, 174, 96, 0.28);
    animation: chatbot-ripple 1.8s infinite;
    position: relative;
}

.chatbot-launcher-avatar img,
.chatbot-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-panel {
    position: absolute;
    left: 0;
    bottom: 112px;
    width: min(380px, calc(100vw - 24px));
    background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.18);
    border: 1px solid rgba(243, 156, 18, 0.14);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.96);
    transform-origin: bottom left;
    transition: var(--transition);
    pointer-events: none;
}

.chatbot-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.chatbot-header-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 3px;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.chatbot-header-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.chatbot-header-copy strong {
    font-size: 1rem;
}

.chatbot-header-copy span {
    font-size: 0.85rem;
    opacity: 0.94;
}

.chatbot-close {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    max-height: 360px;
    overflow-y: auto;
    padding: 16px 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255, 249, 237, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
}

.chatbot-message {
    display: flex;
}

.chatbot-message.bot {
    justify-content: flex-start;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 0.94rem;
    box-shadow: 0 8px 18px rgba(44, 62, 80, 0.06);
}

.chatbot-message.bot .chatbot-bubble {
    background: white;
    color: var(--text-dark);
    border: 1px solid rgba(243, 156, 18, 0.12);
    border-bottom-left-radius: 8px;
}

.chatbot-message.user .chatbot-bubble {
    background: linear-gradient(135deg, var(--secondary), #219653);
    color: white;
    border-bottom-right-radius: 8px;
}

.chatbot-message.typing .chatbot-bubble {
    min-width: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
}

.chatbot-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.45);
    animation: chatbotTyping 1.1s infinite ease-in-out;
}

.chatbot-typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.chatbot-typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

.chatbot-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.chatbot-action-btn,
.chatbot-quick-reply,
.chatbot-send {
    font-family: 'Quicksand', sans-serif;
}

.chatbot-action-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-action-btn.primary {
    background: linear-gradient(135deg, var(--primary), #D35400);
    color: white;
}

.chatbot-action-btn.secondary {
    background: rgba(39, 174, 96, 0.12);
    color: var(--secondary);
}

.chatbot-action-btn:hover,
.chatbot-quick-reply:hover,
.chatbot-send:hover,
.chatbot-launcher:hover {
    transform: translateY(-2px);
}

.chatbot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 14px;
}

.chatbot-quick-reply {
    border: 1px solid rgba(39, 174, 96, 0.22);
    background: rgba(39, 174, 96, 0.08);
    color: var(--secondary);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-form {
    display: flex;
    gap: 10px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    background: white;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 0.94rem;
    outline: none;
    font-family: 'Quicksand', sans-serif;
    transition: var(--transition);
}

.chatbot-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.12);
}

.chatbot-send {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #D35400);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.25);
    transition: var(--transition);
}

@keyframes chatbot-ripple {
    0% { box-shadow: 0 0 0 0 rgba(0, 166, 81, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(0, 166, 81, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 166, 81, 0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes chatbotTyping {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-container, .benefits-container, .about-container, .commit-cta-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-container .section-header, .about-container .empathy-box, .commitments-content {
        text-align: center !important;
    }
    .commit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .floating-card { left: 20px; }
    .benefit-list li { text-align: left; }
}

@media (max-width: 768px) {
    .hero-content h1, .benefits-content h2 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .cta-box { padding: 30px 20px; text-align: center; }
    .floating-youtube-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .chatbot-widget {
        bottom: 20px;
        left: 20px;
    }
    .chatbot-launcher-avatar {
        width: 68px;
        height: 68px;
    }
    .chatbot-panel {
        width: min(350px, calc(100vw - 24px));
        bottom: 100px;
    }
    .chatbot-launcher-label {
        padding: 11px 16px;
        font-size: 0.88rem;
    }
}

@media (max-width: 520px) {
    .chatbot-widget {
        left: 12px;
        bottom: 12px;
    }
    .chatbot-panel {
        width: calc(100vw - 24px);
        max-width: none;
        bottom: 94px;
    }
    .chatbot-launcher-label {
        white-space: normal;
        max-width: 220px;
    }
    .chatbot-messages {
        max-height: 300px;
    }
}

/* 10. SURVEY SECTION */
.survey-section {
    background-color: var(--white);
    position: relative;
}

.survey-box {
    background: #FFFAF0;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.08);
    border: 1px solid #FDECD1;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group > label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.survey-form input[type="text"],
.survey-form input[type="tel"],
.survey-form textarea {
    padding: 14px 18px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: white;
}

.survey-form textarea {
    resize: vertical;
}

.survey-form input[type="text"]:focus,
.survey-form input[type="tel"]:focus,
.survey-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.checkbox-group, .radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.checkbox-label, .radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label.has-input,
.radio-label.has-input {
    flex-wrap: wrap;
    align-items: center;
}

.checkbox-label.has-input input[type="text"],
.radio-label.has-input input[type="text"] {
    padding: 8px 12px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .survey-box {
        padding: 30px 20px;
    }
}

/* =============================================
   SURVEY POPUP MODAL
   ============================================= */
#modal-survey .modal-content {
    background: linear-gradient(160deg, #FFFDF8 0%, #FFF9ED 50%, #FFF3DC 100%);
    max-width: 690px;
    max-height: 92vh;
    border-top: 5px solid var(--primary);
    box-shadow: 0 25px 60px rgba(243, 156, 18, 0.18), 0 0 0 1px rgba(243, 156, 18, 0.1);
    animation: surveySlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#modal-survey .modal-content::before {
    background: none;
    backdrop-filter: none;
}

@keyframes surveySlideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.survey-popup-body {
    padding: 38px 45px 30px;
    overflow-y: auto;
    max-height: 92vh;
}

.survey-popup-header {
    text-align: center;
    margin-bottom: 18px;
}

.survey-popup-icon {
    font-size: 2.8rem;
    margin-bottom: 8px;
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.survey-popup-header h3 {
    font-size: 1.55rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: none;
}

.survey-popup-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0 !important;
    text-shadow: none;
    font-style: italic;
}

.survey-popup-intro {
    font-style: italic;
    color: var(--text-p);
    text-align: center;
    padding: 14px 22px;
    background: rgba(243, 156, 18, 0.07);
    border-radius: 14px;
    border-left: 3px solid var(--primary-light);
    margin-bottom: 22px;
    font-size: 0.97rem;
    line-height: 1.75;
    text-shadow: none !important;
    font-weight: 500;
}

.survey-popup-dismiss {
    display: block;
    text-align: center;
    margin-top: 14px;
    background: none;
    border: none;
    color: #B0B8C4;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.survey-popup-dismiss:hover {
    color: #7F8C8D;
}

.survey-success-msg {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.survey-success-msg .success-emoji {
    font-size: 3.5rem;
    margin-bottom: 18px;
    display: block;
}

.survey-success-msg h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.6rem;
    text-shadow: none;
}

.survey-success-msg p {
    color: var(--text-p);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: none !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .survey-popup-body {
        padding: 30px 18px 25px;
    }
    #modal-survey .modal-content {
        max-height: 96vh;
        width: 95%;
        margin: 10px auto;
    }
    .survey-popup-header h3 {
        font-size: 1.25rem;
    }
    .survey-popup-intro {
        padding: 12px 15px;
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    .form-group label {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .radio-label, .checkbox-label {
        font-size: 0.92rem;
        padding: 8px 10px;
    }
    .radio-label.has-input input[type="text"], 
    .checkbox-label.has-input input[type="text"] {
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
    }
}
