/* ============================================================
   COWAY CICILAN & GARANSI REVAMP STYLES (EXACT FIGMA SPECS)
   ============================================================ */

.garansi-page {
    background: #FFFFFF;
    color: #333333;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* ============================================================
   1. HERO BANNER SECTION (EDF5F8 Background with Heart Service Pemurnian Air BG)
   ============================================================ */
.garansi-hero-section {
    background: #EDF5F8;
    border-bottom: 2px solid #00A7E1;
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
}

/* Background Side Patterns from Layanan Heart Service Pemurnian Air (Water Section) */
.garansi-hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 504px;
    height: 100%;
    background: url('/img/sales-team/bg-kiri.png') left center / contain no-repeat;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.garansi-hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 506px;
    height: 100%;
    background: url('/img/sales-team/bg-kanan.png') right center / contain no-repeat;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.garansi-hero-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 56px;
    width: 100%;
}

.garansi-hero-left {
    flex: 0 0 400px;
    max-width: 400px;
}

.garansi-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00A7E1;
    margin-bottom: 14px;
}

.garansi-hero-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #333333;
    margin: 0;
}

.garansi-hero-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
}

.garansi-feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.garansi-feature-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.garansi-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.garansi-feature-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin: 0;
}

.garansi-feature-desc {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #606060;
    margin: 0;
}

/* ============================================================
   2. SKEMA PEMBAYARAN SECTION
   ============================================================ */
.skema-pembayaran-section {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
}

.skema-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.skema-tag {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00A7E1;
    margin: 0;
}

.skema-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #333333;
    margin: 0;
}

.skema-subtitle {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    color: #727272;
    margin: 0;
}

/* CARDS STACK CONTAINER */
.skema-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

/* SINGLE CARD ROW BASE */
.cicilan-card-row {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 56px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 40px rgba(0, 167, 225, 0.08);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* HARD CASH & INSTALLMENT CARDS EXACT FIGMA SPECS */
.cicilan-card-row.hard-cash-card,
.cicilan-card-row.installment-card {
    width: 100%;
    max-width: 1280px;
    min-height: 616px;
    padding: 56px;
    gap: 40px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background: #FFFFFF;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 167, 225, 0.08);
    position: relative;
    overflow: hidden;
}

/* ::before Pseudo-element for Gradient Border Top & Side */
.cicilan-card-row.hard-cash-card::before,
.cicilan-card-row.installment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding: 2px 1px 0px 1px;
    background: linear-gradient(180deg, #00A7E1 0%, rgba(0, 167, 225, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

/* Background Pattern INSIDE Hard Cash Wrapper */
.hardcash-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('/img/tentang/bg-philosophy.png') center / cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

/* Rotated Background Pattern INSIDE Installment Wrapper */
.installment-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('/img/tentang/bg-philosophy.png') center / cover no-repeat;
    opacity: 0.12;
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 1;
}

/* Card 1 Text Col (Left) & Image Col (Right) */
.cicilan-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 32px;
}

.cicilan-img-col {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Card Title & Bottom Line */
.cicilan-card-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: #333333;
    margin: 0;
    max-width: 500px;
}

/* Underline under Titles */
.hardcash-title-underline {
    width: 150px;
    height: 0px;
    border: 3px solid #00A7E1;
    margin: 10px 0 20px;
}

.cicilan-card-desc {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #606060;
    margin: 0 0 16px;
    max-width: 600px;
}

/* Hard Cash & Installment Image exact 500x500px specs */
.hardcash-img-wrapper {
    width: 500px;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hardcash-img {
    width: 500px;
    height: 500px;
    border-radius: 32px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Carousel Slides Styling for Cicilan Paket 3, 5, 6, 7 */
.cicilan-carousel-wrapper {
    position: relative;
}

.cicilan-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.cicilan-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cicilan-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Carousel Bars / Dots Indicator Below Image */
.cicilan-carousel-bars {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-bar {
    width: 10px;
    height: 8px;
    border-radius: 4px;
    background: #CBD5E1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-bar:hover {
    background: #94A3B8;
}

.carousel-bar.active {
    width: 32px;
    background: #00A7E1;
}

/* Bullet List with SVG Check Icon */
.cicilan-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cicilan-bullet-list li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #475569;
}

.cicilan-bullet-list li .bullet-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   3. SERVICE LANJUTAN (FILTER PACKAGE) SECTION - FULL WIDTH BG
   ============================================================ */
.service-lanjutan-section {
    width: 100%;
    background: linear-gradient(90deg, #F2FBFF 50%, #EAFDFF 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.service-lanjutan-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.service-lanjutan-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-lanjutan-img {
    flex: 0 0 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Lanjutan Image exact 440x440px & border-radius 32px */
.service-lanjutan-img-wrapper {
    width: 440px;
    height: 440px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 167, 225, 0.12);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-lanjutan-img-file {
    width: 440px;
    height: 440px;
    border-radius: 32px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================================
   4-TIER RESPONSIVE BREAKPOINTS
   ============================================================ */

/* 1. MACBOOK & LAPTOPS (1024px - 1439px) */
@media (max-width: 1439px) {
    .garansi-hero-grid {
        gap: 40px;
    }

    .garansi-hero-left {
        flex: 0 0 340px;
        max-width: 340px;
    }

    .garansi-hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .cicilan-card-row.hard-cash-card,
    .cicilan-card-row.installment-card {
        min-height: auto;
        padding: 44px;
    }

    .hardcash-img-wrapper,
    .hardcash-img {
        width: 420px;
        height: 420px;
    }

    .service-lanjutan-img {
        flex: 0 0 380px;
    }

    .service-lanjutan-img-wrapper,
    .service-lanjutan-img-file {
        width: 380px;
        height: 380px;
    }

    .cicilan-img-col {
        flex: 0 0 420px;
    }

    .cicilan-card-row,
    .service-lanjutan-box {
        padding: 0;
        gap: 36px;
    }

    .cicilan-card-title {
        font-size: 28px;
        line-height: 36px;
    }
}

/* 2. TABLETS & SMALL LAPTOPS (768px - 1023px) */
@media (max-width: 1023px) {
    .garansi-hero-section {
        padding: 130px 0 60px;
    }

    .garansi-hero-grid {
        flex-direction: column;
        gap: 32px;
    }

    .garansi-hero-left {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .garansi-hero-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        width: 100%;
    }

    .skema-title {
        font-size: 30px;
        line-height: 38px;
    }

    .skema-subtitle {
        font-size: 16px;
    }

    .cicilan-card-row.hard-cash-card,
    .cicilan-card-row.installment-card,
    .service-lanjutan-box {
        flex-direction: column;
        padding: 36px 28px;
        gap: 32px;
        border-radius: 32px;
        min-height: auto;
    }

    .hardcash-img-wrapper,
    .hardcash-img,
    .service-lanjutan-img-wrapper,
    .service-lanjutan-img-file {
        width: 100%;
        max-width: 440px;
        height: auto;
        aspect-ratio: 1/1;
    }

    .cicilan-text-col,
    .cicilan-img-col,
    .service-lanjutan-text,
    .service-lanjutan-img {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* 3. MOBILE SMARTPHONES (<768px) */
@media (max-width: 767px) {
    .garansi-hero-section {
        padding: 110px 0 50px;
    }

    .garansi-hero-title,
    .skema-title,
    .cicilan-card-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    .garansi-feature-desc,
    .skema-subtitle,
    .cicilan-card-desc,
    .cicilan-bullet-list li {
        font-size: 15px !important;
        line-height: 24px !important;
        font-weight: 400 !important;
    }

    .garansi-hero-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skema-pembayaran-section,
    .service-lanjutan-section {
        padding: 50px 0;
    }

    .skema-header {
        margin-bottom: 36px;
    }

    .cicilan-card-row.hard-cash-card,
    .cicilan-card-row.installment-card,
    .service-lanjutan-box {
        padding: 24px 18px;
        border-radius: 24px;
        gap: 24px;
    }

    .hardcash-img-wrapper,
    .hardcash-img,
    .service-lanjutan-img-wrapper,
    .service-lanjutan-img-file {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        border-radius: 20px;
    }
}