/* ==========================================================================
   5. PROCESS-STEPS.CSS - HÀNH TRÌNH 4 BƯỚC TÌM MẦM SỐNG (ivf-process-2026)
   Dự án: Nâng cấp Website Hệ thống IVF Phương Châu 2026
   ========================================================================== */

/* 5.1 TOÀN BỘ WRAPPER KHỐI QUY TRÌNH NATIVE PAGE BUILDER */
.gdlr-core-pbf-wrapper.ivf-process-2026,
.ivf-roadmap-sec-wrap.ivf-process-2026 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 75px 0 85px 0 !important; /* Đúng chuẩn thiết kế HTML: 75px top, 85px bottom */
    background: linear-gradient(180deg, #FDF4F8 0%, #FFF5F9 50%, #FFFFFF 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.ivf-process-2026 > .gdlr-core-pbf-background-wrap {
    background: linear-gradient(180deg, #FDF4F8 0%, #FFF5F9 50%, #FFFFFF 100%) !important;
    border-radius: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

.ivf-process-2026 .gdlr-core-pbf-wrapper-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* KHÔNG IN NGHIÊNG TIÊU ĐỀ VÀ CÁC THÀNH PHẦN KHỐI PROCESS */
.ivf-process-2026 h1,
.ivf-process-2026 h2,
.ivf-process-2026 h3,
.ivf-process-2026 h4,
.ivf-process-2026 .gdlr-core-title-item-title,
.ivf-process-2026 .gdlr-core-stunning-text-item-title,
.ivf-process-2026 .gdlr-core-stunning-text-item-caption,
.ivf-process-2026 .gdlr-core-stunning-text-item-caption-bottom,
.ivf-process-2026 .ivf-step-title,
.ivf-process-2026 .ivf-step-desc,
.ivf-process-2026 .ivf-step-highlight,
.ivf-process-2026 .ivf-roadmap-badge,
.ivf-process-2026 .gdlr-core-info-font {
    font-style: normal !important;
}

/* Stunning Text Header */
.ivf-process-2026 .gdlr-core-column-60 {
    width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
}

.ivf-process-2026 .gdlr-core-stunning-text-item {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.ivf-process-2026 .ivf-process-stunning-header {
    text-align: center !important;
    max-width: 820px !important;
    margin: 0 auto 30px auto !important; /* Thu gọn khoảng cách từ tiêu đề/lời dẫn xuống các bước đúng 30px */
    padding-bottom: 0 !important;
}

.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-caption,
.ivf-process-2026 .gdlr-core-stunning-text-item-caption,
.ivf-process-2026 .gdlr-core-info-font,
.ivf-process-2026 .gdlr-core-skin-caption,
.ivf-process-stunning-header .gdlr-core-stunning-text-item-caption,
.ivf-process-stunning-header .gdlr-core-info-font,
.ivf-process-stunning-header .gdlr-core-skin-caption,
.ivf-process-2026 .ivf-roadmap-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fdf2f7 !important;
    color: #A44683 !important;
    border: 1px solid #fbcfe8 !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-style: normal !important; /* Tuyệt đối không in nghiêng */
    margin-bottom: 14px !important;
    box-shadow: 0 2px 6px rgba(138, 38, 94, 0.05) !important;
    letter-spacing: 0.3px !important;
}

.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-caption::before {
    content: '' !important;
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23A44683' stroke-width='2.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") !important;
}

.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    font-style: normal !important; /* Không in nghiêng */
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-content,
.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-content p,
.ivf-process-2026 .ivf-process-stunning-header .gdlr-core-stunning-text-item-caption-bottom {
    font-size: 15.5px !important;
    color: #57516A !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    font-style: normal !important; /* Không in nghiêng */
}

.ivf-process-2026 .gdlr-core-column-60:first-child,
.ivf-process-2026 .gdlr-core-column-60:first-child .gdlr-core-pbf-column-content-margin,
.ivf-process-2026 .gdlr-core-column-60:first-child .gdlr-core-pbf-element {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 4 Columns Timeline Step Items - ĐỒNG NHẤT CHIỀU CAO (EQUAL HEIGHTS) */
.ivf-process-2026 .gdlr-core-pbf-column.gdlr-core-column-15 {
    position: relative !important;
    box-sizing: border-box !important;
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    float: none !important;
    padding: 0 12px !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
}

/* Line nối liên tục chuyển màu gradient một dải từ Bước 1 (#A44683) sang Bước 4 (#087B97) theo đúng thiết kế HTML */
.ivf-process-2026 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15:nth-child(2)::before {
    content: '' !important;
    position: absolute !important;
    top: 24px !important;
    left: 50% !important;
    width: 300% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #A44683 0%, #7E2B60 35%, #087B97 100%) !important;
    z-index: 1 !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(164, 70, 131, 0.2) !important;
    display: block !important;
}

/* Ẩn các đoạn line trùng lặp trên các cột 2, 3, 4 */
.ivf-process-2026 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15:nth-child(3)::before,
.ivf-process-2026 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15:nth-child(4)::before,
.ivf-process-2026 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15:nth-child(5)::before {
    display: none !important;
}

.ivf-process-2026 .gdlr-core-pbf-column-content-margin,
.ivf-process-2026 .gdlr-core-pbf-column-content,
.ivf-process-2026 .gdlr-core-pbf-element,
.ivf-process-2026 .gdlr-core-text-box-item,
.ivf-process-2026 .gdlr-core-text-box-item-content,
.ivf-process-2026 .ivf-step-item-box,
.ivf-process-2026 .ivf-timeline-step-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ivf-process-2026 .ivf-step-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 320px !important;
    box-sizing: border-box !important;
}

.ivf-process-2026 .ivf-step-title {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 0 10px 0 !important;
}

.ivf-process-2026 .ivf-step-desc {
    flex: 1 1 auto !important;
    min-height: 85px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin: 0 0 16px 0 !important;
}

.ivf-process-2026 .ivf-step-highlight {
    margin-top: auto !important;
}

.ivf-process-2026 .ivf-roadmap-cta-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 45px !important;
    flex-wrap: wrap !important;
}


/* 5.2 TIÊU ĐỀ KHỐI (HEADER) */
.ivf-roadmap-header {
    text-align: center !important;
    max-width: 820px !important;
    margin: 0 auto 56px auto !important;
}

.ivf-roadmap-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fdf2f7 !important;
    color: #A44683 !important;
    border: 1px solid #fbcfe8 !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    box-shadow: 0 2px 6px rgba(138, 38, 94, 0.05) !important;
    letter-spacing: 0.3px !important;
}

.ivf-roadmap-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

.ivf-roadmap-subtitle {
    font-size: 15.5px !important;
    color: #57516A !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

/* 5.3 TIMELINE JOURNEY TRACK */
.ivf-timeline-track-wrap {
    position: relative !important;
    width: 100% !important;
}

/* Đường line nối liên tục */
.ivf-timeline-line {
    position: absolute !important;
    top: 24px !important;
    left: 12.5% !important;
    right: 12.5% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #A44683 0%, #7E2B60 35%, #087b97 100%) !important;
    z-index: 1 !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(164, 70, 131, 0.2) !important;
}

.ivf-timeline-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    position: relative !important;
    z-index: 2 !important;
    align-items: stretch !important;
}

.ivf-timeline-step-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: relative !important;
    box-sizing: border-box !important;
    height: 100% !important;
}

/* 5.4 STEP NODE (CON SỐ MỐC 01, 02, 03, 04 - HÌNH TRÒN ĐẲNG HƯỚNG TUYỆT ĐỐI) */
.ivf-process-2026 .ivf-step-node,
.ivf-step-node {
    align-self: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    background: #ffffff !important;
    border: 3px solid #f3c6e3 !important;
    color: #A44683 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 auto 14px auto !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 14px rgba(138, 38, 94, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ivf-process-2026 .ivf-step-node .ivf-node-num,
.ivf-step-node .ivf-node-num {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-style: normal !important;
}

.ivf-step-node::after {
    content: "" !important;
    position: absolute !important;
    bottom: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 2px !important;
    height: 14px !important;
    background: #f3c6e3 !important;
    z-index: 2 !important;
}

.ivf-timeline-step-item:hover .ivf-step-node {
    background: linear-gradient(135deg, #8A265E 0%, #A44683 100%) !important;
    color: #ffffff !important;
    border-color: #A44683 !important;
    box-shadow: 0 6px 18px rgba(138, 38, 94, 0.25) !important;
}

/* 5.5 THẺ BƯỚC ĐI (STEP CARD) */
.ivf-step-card {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid #fbcfe8 !important;
    border-radius: 20px !important;
    padding: 26px 22px !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 8px 24px rgba(138, 38, 94, 0.06) !important;
    flex: 1 1 auto !important;
}

.ivf-timeline-step-item:hover .ivf-step-card {
    background: #ffffff !important;
    border-color: #f472b6 !important;
    box-shadow: 0 16px 36px rgba(138, 38, 94, 0.12) !important;
    transform: translateY(-4px) !important;
}

/* Icon Box inside Card */
.ivf-step-icon-wrap {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
}

/* Steps 1, 2, 3: Magenta theme */
.ivf-process-2026 .ivf-timeline-step-item:not(.is-destination) .ivf-step-icon-wrap {
    background: #fdf2f7 !important;
    color: #A44683 !important;
}
.ivf-process-2026 .ivf-timeline-step-item:not(.is-destination) .ivf-step-icon-wrap svg {
    stroke: #A44683 !important;
}

/* Step 4: Destination Milestone (IVF Teal) */
.ivf-process-2026 .ivf-timeline-step-item.is-destination .ivf-step-icon-wrap {
    background: #e6f4f7 !important;
    color: #087b97 !important;
}
.ivf-process-2026 .ivf-timeline-step-item.is-destination .ivf-step-icon-wrap svg {
    stroke: #087b97 !important;
}


.ivf-timeline-step-item:hover .ivf-step-icon-wrap {
    transform: scale(1.08) !important;
}

.ivf-step-title {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.ivf-step-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #57516A !important;
    margin: 0 0 18px 0 !important;
    flex: 1 1 auto !important;
}

.ivf-step-highlight {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #A44683 !important;
    background: #fdf2f7 !important;
    border: 1px solid #fce7f3 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    width: fit-content !important;
    line-height: 1.3 !important;
    margin-top: auto !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* 5.6 BƯỚC 4: ĐÍCH ĐẾN MILESTONE (IVF TEAL) */
.ivf-timeline-step-item.is-destination .ivf-step-node {
    border-color: #087b97 !important;
    color: #087b97 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(8, 123, 151, 0.15) !important;
}

.ivf-timeline-step-item.is-destination .ivf-step-node::after {
    background: #087b97 !important;
}

.ivf-timeline-step-item.is-destination:hover .ivf-step-node {
    background: #087b97 !important;
    border-color: #087b97 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(8, 123, 151, 0.3) !important;
}

.ivf-timeline-step-item.is-destination .ivf-step-card {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9fa 100%) !important;
    border-color: #a5e0ec !important;
    box-shadow: 0 8px 24px rgba(8, 123, 151, 0.08) !important;
}

.ivf-timeline-step-item.is-destination:hover .ivf-step-card {
    border-color: #087b97 !important;
    box-shadow: 0 16px 36px rgba(8, 123, 151, 0.15) !important;
}

.ivf-dest-milestone-tag {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: #e6f4f7 !important;
    color: #087b97 !important;
    border: 1px solid #bce3eb !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.ivf-step-highlight.is-dest-hl {
    background: #087b97 !important;
    color: #ffffff !important;
    border-color: #087b97 !important;
}
.ivf-step-highlight.is-dest-hl svg {
    stroke: #ffffff !important;
}

/* 5.6 CALL TO ACTION (CTA) BAR */
.ivf-process-2026 .gdlr-core-column-60:last-child,
.ivf-process-2026 .gdlr-core-column-60:last-child .gdlr-core-pbf-column-content-margin,
.ivf-process-2026 .gdlr-core-column-60:last-child .gdlr-core-pbf-element,
.ivf-process-2026 .gdlr-core-column-60:last-child .gdlr-core-text-box-item {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.ivf-roadmap-cta-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 45px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex-wrap: wrap !important;
}

.ivf-roadmap-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #087b97 !important;
    color: #ffffff !important;
    padding: 13px 28px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(8, 123, 151, 0.25) !important;
    transition: all 0.3s ease !important;
}

.ivf-roadmap-btn-primary:hover {
    background: #A44683 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(164, 70, 131, 0.35) !important;
    color: #ffffff !important;
}

.ivf-roadmap-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #A44683 !important;
    border: 1.5px solid #8A265E !important;
    padding: 13px 24px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(138, 38, 94, 0.05) !important;
    transition: all 0.3s ease !important;
}

.ivf-roadmap-btn-secondary:hover {
    background: #fdf2f7 !important;
    color: #A44683 !important;
    border-color: #A44683 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(138, 38, 94, 0.15) !important;
}

/* 5.7 RESPONSIVE CHO TABLET VÀ MOBILE:
   Đã được quy hoạch và tập trung 100% tại css/responsive.css để dễ kiểm soát và tối ưu toàn diện */

