/* ==========================================================================
   LAB-ISO5.CSS - TRANG PHÒNG LAB NUÔI CẤY PHÔI CHUẨN ISO 5 (2026)
   Dự án: Nâng cấp Website Hệ thống IVF Phương Châu 2026
   Áp dụng: Trang Phòng Lab ISO 5 (/phong-lab-ivf-chuan-iso5-duy-nhat-vn/)
   ========================================================================== */

/* 0. GIỚI HẠN CONTAINER CHUẨN 1240PX */
.ivf-lab-content-wrapper .gdlr-core-pbf-wrapper-container,
.ivf-lab-content-wrapper .gdlr-core-container,
.ivf-lab-content-wrapper .gdlr-core-pbf-column-content,
.ivf-lab-content-wrapper {
    box-sizing: border-box;
}

.ivf-lab-content-wrapper .gdlr-core-pbf-wrapper-container,
.ivf-lab-content-wrapper .gdlr-core-container {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 1. KHỐI 4 THÔNG SỐ VÀNG PHÒNG LAB (TẦNG 1) */
.ivf-lab-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.ivf-lab-spec-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px 20px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ivf-lab-spec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(164, 70, 131, 0.1);
    border-color: #FBCFE8;
}

.ivf-lab-spec-num {
    font-family: 'Quicksand', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #A44683;
    margin-bottom: 6px;
    line-height: 1.1;
}

.ivf-lab-spec-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.ivf-lab-spec-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.45;
    margin: 0;
}

/* 2. MÔI TRƯỜNG LAB & BẢNG SO SÁNH (TẦNG 2) */
.ivf-lab-env-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 50px;
}

.ivf-lab-env-left {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 36px 32px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ivf-lab-env-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.35 !important;
    position: relative;
    padding-left: 16px;
}

.ivf-lab-env-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #A44683;
    border-radius: 99px;
}

.ivf-lab-env-desc {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 14px !important;
}

/* Bảng so sánh ISO 5 vs Lab thường */
.ivf-lab-compare-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border-radius: 22px;
    border: 1.5px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.ivf-lab-compare-head {
    background: linear-gradient(135deg, #5E1A45 0%, #8B356D 100%);
    padding: 18px 24px;
    color: #FFFFFF;
}

.ivf-lab-compare-head h3 {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
}

.ivf-lab-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.ivf-lab-compare-table th,
.ivf-lab-compare-table td {
    padding: 13px 18px;
    border-bottom: 1px solid #F1F5F9;
}

.ivf-lab-compare-table th {
    background: #F1F5F9;
    font-weight: 700;
    color: #334155;
    font-size: 12.5px;
    text-transform: uppercase;
}

.ivf-lab-compare-table td.criteria {
    font-weight: 700;
    color: #1E293B;
}

.ivf-lab-compare-table td.iso5-val {
    background: #FDF2F8;
    color: #A44683;
    font-weight: 800;
}

.ivf-lab-compare-table td.normal-val {
    color: #64748B;
}

/* 3. LƯỚI 3 CÔNG NGHỆ ĐỘT PHÁ (TẦNG 3 - FULL WIDTH 3 COLS) */
.ivf-lab-tech-section {
    margin-bottom: 50px;
}

.ivf-lab-tech-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 36px auto;
}

.ivf-lab-tech-pill {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: #FDF2F8;
    color: #A44683;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #FBCFE8;
    margin-bottom: 10px;
}

.ivf-lab-tech-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 10px 0 !important;
}

.ivf-lab-tech-desc {
    font-size: 14.5px !important;
    color: #64748B !important;
    line-height: 1.6;
    margin: 0;
}

.ivf-lab-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ivf-lab-tech-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ivf-lab-tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(164, 70, 131, 0.1);
    border-color: #FBCFE8;
}

.ivf-lab-tech-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #F1F5F9;
}

.ivf-lab-tech-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ivf-lab-tech-card:hover .ivf-lab-tech-thumb img {
    transform: scale(1.05);
}

.ivf-lab-tech-body {
    padding: 24px 22px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.ivf-lab-tech-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #F0FDFA;
    color: #0D9488;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border: 1px solid #CCFBF1;
    align-self: flex-start;
}

.ivf-lab-tech-card-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
}

.ivf-lab-tech-card-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #64748B !important;
    margin: 0 0 18px 0 !important;
    flex: 1 1 auto;
}

.ivf-lab-tech-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #A44683;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: auto;
}

.ivf-lab-tech-link:hover {
    color: #8B356D;
    transform: translateX(4px);
}

/* 4. KHỐI TESTIMONIAL BÉ GIÁN (TẦNG 4 - FULL WIDTH) */
.ivf-lab-testi-wrap {
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF4F9 100%);
    border-radius: 24px;
    border: 1.5px solid #FBCFE8;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(164, 70, 131, 0.06);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.ivf-lab-testi-thumb {
    flex: 0 0 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ivf-lab-testi-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.ivf-lab-testi-content {
    flex: 1 1 auto;
}

.ivf-lab-testi-quote-icon {
    font-size: 48px;
    line-height: 1;
    color: #A44683;
    font-family: Georgia, serif;
    margin-bottom: 8px;
    opacity: 0.4;
}

.ivf-lab-testi-text {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    font-style: italic;
    margin-bottom: 18px !important;
}

.ivf-lab-testi-author {
    font-family: 'Quicksand', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #0F172A;
}

.ivf-lab-testi-meta {
    font-size: 13px;
    color: #A44683;
    font-weight: 600;
}

/* 5. CÂU HỎI THƯỜNG GẶP & SIDEBAR BOOKING (TẦNG 5 - CÂN ĐỐI 2 CỘT) */
.ivf-lab-faq-booking-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 50px;
}

.ivf-lab-faq-col {
    display: flex;
    flex-direction: column;
}

.ivf-lab-faq-sec-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 20px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ivf-lab-faq-sec-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #A44683;
    border-radius: 99px;
    display: inline-block;
}

.ivf-lab-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ivf-lab-faq-item {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1.5px solid #F1F5F9;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: all 0.25s ease;
}

.ivf-lab-faq-item[open] {
    border-color: #FBCFE8;
    box-shadow: 0 4px 18px rgba(164, 70, 131, 0.08);
}

.ivf-lab-faq-question {
    padding: 18px 22px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 48px;
    user-select: none;
    transition: color 0.2s ease;
}

.ivf-lab-faq-question::-webkit-details-marker {
    display: none;
}

.ivf-lab-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 600;
    color: #A44683;
    transition: transform 0.25s ease;
}

.ivf-lab-faq-item[open] .ivf-lab-faq-question {
    color: #A44683;
    border-bottom: 1px dashed #FCE7F3;
}

.ivf-lab-faq-item[open] .ivf-lab-faq-question::after {
    content: '−';
}

.ivf-lab-faq-answer {
    padding: 16px 22px 20px 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.ivf-lab-faq-answer p {
    margin: 0 !important;
}

/* Khối Booking Card ở Cột Phải */
.ivf-lab-booking-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 32px 26px;
    border: 1.5px solid #FBCFE8;
    box-shadow: 0 8px 28px rgba(164, 70, 131, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.ivf-lab-booking-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #FDF2F8;
    color: #BE185D;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.ivf-lab-booking-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 10px 0 !important;
}

.ivf-lab-booking-desc {
    font-size: 13.5px !important;
    color: #64748B !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
}

.ivf-lab-btn-book {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #A44683 0%, #8B356D 100%);
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 14px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(164, 70, 131, 0.25);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.ivf-lab-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(164, 70, 131, 0.35);
}

.ivf-lab-booking-hotlines {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #F1F5F9;
    margin-bottom: 16px;
}

.ivf-lab-hl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 4px 0;
}

.ivf-lab-hl-row:not(:last-child) {
    border-bottom: 1px dashed #E2E8F0;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.ivf-lab-hl-label {
    color: #64748B;
    font-weight: 600;
}

.ivf-lab-hl-phone {
    color: #A44683;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
}

.ivf-lab-booking-time {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.5;
    margin-top: auto;
}

/* 6. CTA BANNER CUỐI TRANG */
.ivf-lab-cta-banner {
    background: linear-gradient(135deg, #5E1A45 0%, #3B0E2B 60%, #1E1B4B 100%);
    border-radius: 24px;
    padding: 38px 44px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 40px;
    box-shadow: 0 16px 40px rgba(94, 26, 69, 0.25);
}

.ivf-lab-cta-left {
    flex: 1 1 auto;
}

.ivf-lab-cta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: #F3C6E3;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.ivf-lab-cta-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.ivf-lab-cta-desc {
    font-size: 14.5px !important;
    color: #FCE7F3 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    max-width: 580px;
}

.ivf-lab-cta-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ivf-lab-btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 14px;
    background: #FFFFFF;
    color: #5E1A45 !important;
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.ivf-lab-btn-cta-primary:hover {
    background: #FDF2F8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ivf-lab-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.ivf-lab-btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* RESPONSIVE CHO TRANG LAB ISO 5 */
@media (max-width: 991px) {
    .ivf-lab-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ivf-lab-env-row {
        grid-template-columns: 1fr;
    }
    
    .ivf-lab-tech-grid {
        grid-template-columns: 1fr;
    }
    
    .ivf-lab-testi-wrap {
        flex-direction: column;
        padding: 28px 24px;
    }
    
    .ivf-lab-testi-thumb {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .ivf-lab-faq-booking-row {
        grid-template-columns: 1fr;
    }
    
    .ivf-lab-cta-banner {
        flex-direction: column;
        padding: 32px 24px;
        text-align: center;
    }
    
    .ivf-lab-cta-right {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .ivf-lab-specs-grid {
        grid-template-columns: 1fr;
    }
}
