﻿.page-home {
    background: var(--site-bg, var(--bg));
    display: flex;
    flex-direction: column;
}
    .page-home .card {
        display: flex;
        flex-direction: column;
        padding: 24px;
        border-radius: 16px;
        /*border: 4px solid #1B1B1B1A;*/
        box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
        backdrop-filter: blur(32px);
        background: rgba(255, 255, 255, 0.8);
    }
    .page-home .card-badge {
        background: rgba(240, 90, 40, 0.9); /* оранжевый 80% */
        height: 52px;
        border-bottom-right-radius: 12px;
        border-top-left-radius: 16px;
        padding: 8px 24px;
        display: flex;
        align-items: center;
        position: absolute;
        top: -4px;
        left: -4px;
        z-index: 1;
    }
    

/* ===== Home Page Hero Section ===== */

    .page-home .hero {
        position: relative; /* нужно для абсолютного позиционирования ребёнка */
        width: 100%;
        min-height: 760px;
        background-image: var(--home-hero-bg);
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        padding: 60px 0;
        
    }
        .page-home .hero .content-container {
            height: 232px;
            padding-right: 640px;
            gap: 24px;
            display: block;
            padding-top: 120px; 
        }

        .page-home .hero h1 {
            line-height: 1.1;
        }

        .page-home .hero p {
            line-height: 1.4;
            margin-top: 10px;
            margin-bottom: 16px;
        }
        .page-home .hero .hero-child {
            position: absolute;
            bottom: 0;
            right: calc((100vw - 1200px) / 2 - 130px);
            pointer-events: none; /* клики проходят насквозь */
            user-select: none;
            max-width: none; /* чтобы не подстраивалось под контейнер */
        }

/* Адаптив */
@media (max-width: 900px) {
    .page-home .hero .hero-child {
        width: 60%;
        height: auto; 
        right: 0px;
        bottom: 0;
    }
}


.page-home .intro-text {
    text-align: center;
}

    .page-home .intro-text p {
        margin: 12px 0;
        line-height: 1.3;
    }

/* ===== Home Page Three Cards Section ===== */
    .page-home .three-cards {
        background: transparent;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0 0px;
        border-radius: 20px;
    }

            .page-home .three-cards .card .card-image {
                display: block;
                margin: 0 auto;
            }
            .page-home .three-cards .card h3 {
                text-align: center;
                margin: 16px 0;
                font-weight: inherit;
            }

        .page-home .three-cards .card .btn {
            display: block;
            width: fit-content;
            margin: 2px auto 0;
            padding: 14px 18px;
            margin-top: auto; 
        }

        .page-home .three-cards ul {
            list-style-type: disc; 
            padding-left: 0px; /* отступ слева, чтобы кружочки были видны */
            margin: 6px 0px; /* отступ сверху/снизу для всей группы списка */
            list-style: none; /* убираем стандартные маркеры */
        }

            .page-home .three-cards ul li {
                margin-bottom: 8px; /* расстояние между пунктами списка */
                line-height: 1.1; /* делаем текст более читаемым */
                position: relative;
                padding-left: 20px; /* отступ для нашего кружочка */
            }
                /* отдельно добавляем стили для кружочков */
                .page-home .three-cards ul li::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 8px; 
                    width: 8px;
                    height: 8px;
                    background-color: var(--btn-bg); 
                    border-radius: 50%;
                }

/* ===== Home Page How Section ===== */
.page-home .section-how {
    text-align: center;
    line-height: 1.4;
    background-image: var(--home-how-bg);
    background-position: center 65%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-bottom: 40px;
}

.page-home .section-how p {
    margin: 6px auto;
}
    .page-home .section-how h3 {
        text-align: left;
    }

.page-home .four-cards {
    background: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 0px;
    border-radius: 20px;
    margin: 40px auto;
}
    .page-home .four-cards .card .card-image {
        display: block;
        margin: 0 auto;
    }

    .page-home .four-cards .card h3 {
        text-align: left;
       font-weight: inherit;
    }
    .page-home .four-cards .card p {
        text-align: left;
        margin-top: 14px;
        font-weight: inherit;
    }

    .page-home .four-cards .card .step-number {
        display: inline-block;
        width: 36px;
        height: 38px;
        background-color: var(--step-number-bg);
        color: white;
        border-radius: 50%;
        text-align: center;
        line-height: 38px;
        margin-right: 0px;
        font-weight: bold;
    }


/* ===== Home Page Why Section ===== */
.page-home .section-why {
    text-align: center;
    background: linear-gradient(180deg, #0E5577 0%, #113F56 100%);
}

.page-home .section-why .title {
    margin: 14px auto;
}

    .page-home .section-why .cards-grid-2x2 {
        margin: 48px 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .page-home .section-why .card {
        background: rgba(255, 255, 255, 0.9); 
        border: 4px solid rgba(27, 27, 27, 0.1); 
        backdrop-filter: blur(32px);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
        position: relative;
        padding-top: 70px; /* место для бейджа */
        text-align: left;
        line-height: 1.4;
    }

/* ===== Home Page Awards Section ===== */
.page-home .section-awards {
    text-align: center;
    background-image: var(--home-awards-bg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-home .awards-items {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.page-home .section-awards .card {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.9);
}
.page-home .section-awards .card-image {
    height: 217px;
    width: auto;
    margin: 0 auto 20px;
}

.page-home .section-awards p {
    margin: 12px auto;
}

.page-home .award-item {
    text-align: center;
}

    .page-home .award-item img {
        max-height: 56px;
        margin-bottom: 10px;
    }

.page-home .awards-note {
    margin-top: 16px;
}

/* ===== Help Your Child Section ===== */

.page-home .section-help {
    background: linear-gradient(180deg, #0E5577 0%, #113F56 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 608px;
}
    /*  (слой 2) */
    .page-home .section-help .blue-triangle-bg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        object-fit: cover;
        z-index: 1;
        pointer-events: none;
        object-fit: contain;
        z-index: 1;
        pointer-events: none;
    }


    .page-home .section-help .help-child {
        position: absolute;
        top: 50%; 
        right: 0;
        transform: translateY(-50%); 
        z-index: 2;
        pointer-events: none;
    }

    .page-home .section-help .content-container {
        height: 450px;
        padding-right: 530px;
        gap: 24px;
        display: block;
        padding-top: 50px
    }

.page-home .section-help h1 {
    line-height: 1.3;
}

.page-home .section-help p {
    line-height: 1.3;
    margin-top: 14px;
}
.page-home .section-help .buttons-group {
   
    margin-top: 30px;
}

    /* Контент поверх картинок */
    .page-home .section-help .content-container {
        position: relative;
        z-index: 3;
        text-align: left;
    }


