/* =========================================
   SECTION MODAL
   ========================================= */

.section-modal {
    width: min(1100px, calc(100vw - 40px));
    max-height: 95vh;
    overflow-y: auto;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(20, 50, 70, 0.18);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172b45;
}


/* =========================================
   HEADER
   ========================================= */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 38px 20px;
    border-bottom: 1px solid #dfe6e8;
}

    .section-header h1 {
        margin: 0;
        font-size: 27px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

        .section-header h1 span {
            font-weight: 600;
        }

.close-button {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    font-size: 34px;
    font-weight: 300;
    color: #9ba6ad;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 50%;
}

    .close-button:hover {
        background: #f2f5f5;
        color: #172b45;
    }


/* =========================================
   SECTION INFO
   ========================================= */

.section-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 28px 40px 10px;
    background: linear-gradient( 180deg, #f4fbfa 0%, #ffffff 100% );
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #607789;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    font-size: 21px;
    box-shadow: 0 4px 12px rgba(30, 80, 90, 0.10);
}

.info-label {
    margin-right: 5px;
    font-size: 16px;
}

.info-item strong {
    color: #526f82;
    font-size: 16px;
}


/* =========================================
   CONTENT
   ========================================= */

.section-content {
    padding: 20px 40px 55px;
    background: linear-gradient( 180deg, #ffffff 0%, #f8fcfb 100% );
}

.title-decoration {
    width: 74px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #238b78;
}

.section-content h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #172b45;
}

.section-intro {
    margin: 16px 0 32px;
    font-size: 18px;
    line-height: 1.55;
    color: #607789;
}


/* =========================================
   PRODUCT GRID
   ========================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 950px;
}


/* =========================================
   PRODUCT CARD
   ========================================= */

.product-card {
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e6eeee;
    box-shadow: 0 12px 30px rgba(30, 70, 80, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(30, 70, 80, 0.17);
    }


/* =========================================
   PRODUCT IMAGE
   ========================================= */

.product-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.product-card:hover
.product-image-wrapper img {
    transform: scale(1.04);
}


/* =========================================
   BADGE
   ========================================= */

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    border-radius: 30px;
    background: #258c78;
    color: white;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

    .product-badge span {
        font-size: 18px;
    }

.badge-blue {
    background: #247fc8;
}


/* =========================================
   PRODUCT BODY
   ========================================= */

.product-body {
    padding: 25px 27px 27px;
}

    .product-body h3 {
        margin: 0;
        font-size: 27px;
        font-weight: 800;
        color: #172b45;
    }

.product-description {
    margin: 8px 0 20px;
    color: #82929e;
    font-size: 16px;
}

.product-divider {
    height: 1px;
    background: #e4eaec;
    margin-bottom: 18px;
}


/* =========================================
   FEATURES
   ========================================= */

.product-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .product-features li {
        display: flex;
        align-items: center;
        gap: 13px;
        font-size: 16px;
        color: #50677a;
    }

        .product-features li span {
            width: 25px;
            text-align: center;
            font-size: 18px;
        }


/* =========================================
   BUTTON
   ========================================= */

.product-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .product-button:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

.button-green {
    background: #258c78;
}

.button-blue {
    background: #247fc8;
}

.product-button .arrow {
    font-size: 25px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.product-button:hover .arrow {
    transform: translateX(5px);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 800px) {

    .section-info {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .section-content {
        padding-left: 25px;
        padding-right: 25px;
    }

        .section-content h2 {
            font-size: 34px;
        }

    .product-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 500px) {

    .section-modal {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .section-header {
        padding: 20px;
    }

        .section-header h1 {
            font-size: 22px;
        }

    .section-content h2 {
        font-size: 30px;
    }

    .section-intro {
        font-size: 16px;
    }

    .product-image-wrapper {
        height: 220px;
    }
}
