.home-picture {
    position: relative;
    overflow: hidden;
    padding: 52px 0 70px;
    background: radial-gradient(circle at 77% 18%, rgba(35, 170, 204, 0.09) 0 2px, transparent 3px), linear-gradient(180deg, #fff 0%, #fff 72%, #f7fdff 100%);
}

    .home-picture::before {
        content: "";
        position: absolute;
        top: 26px;
        right: -8%;
        width: 42%;
        height: 185px;
        border: 4px solid rgba(35, 170, 204, 0.10);
        border-left-color: transparent;
        border-bottom-color: rgba(35, 170, 204, 0.16);
        border-radius: 50%;
        transform: rotate(-18deg);
        pointer-events: none;
    }

    .home-picture::after {
        content: "";
        position: absolute;
        right: 22.4%;
        top: 124px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #20a8c8;
        box-shadow: 0 0 0 8px rgba(32, 168, 200, 0.08);
        pointer-events: none;
    }

.grid.wide.home-pic-grid {
    position: relative;
    z-index: 1;
    max-width: 1365px;
}

.home-pic-grid::before {
    content: "";
    position: absolute;
    left: -22%;
    bottom: 100px;
    width: 46%;
    height: 190px;
    border-top: 4px solid rgba(35, 170, 204, 0.10);
    border-radius: 50%;
    transform: rotate(-19deg);
    pointer-events: none;
}

.home-picture-heading {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto 54px;
    text-align: center;
}

.home-picture-kicker {
    display: block;
    margin-bottom: 2px;
    color: #143f4b;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.home-picture .p-title-tops {
    margin: 0;
    color: #143f4b;
    font-family: "Montserrat-Bold";
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.05;
    text-align: center;
}

.home-picture-list {
    position: relative;
    width: min(100%, 1480px);
    margin: 0 auto;
}

.home-picture-item {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    grid-template-rows: repeat(2, 216px);
    gap: 20px;
    align-items: stretch;
}

    .home-picture-item .img {
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 0;
        border-radius: 18px;
        background: #dff1f7;
        box-shadow: 0 18px 44px rgba(8, 50, 68, 0.10);
        isolation: isolate;
    }

        .home-picture-item .img:nth-child(n+8) {
            display: none;
        }

        .home-picture-item .img:nth-child(1) {
            grid-column: 1 / span 4;
            grid-row: 1 / span 2;
            align-self: center;
            height: 264px;
        }

        .home-picture-item .img:nth-child(2) {
            grid-column: 5 / span 4;
            grid-row: 1;
        }

        .home-picture-item .img:nth-child(3) {
            grid-column: 5 / span 4;
            grid-row: 2;
        }

        .home-picture-item .img:nth-child(4) {
            grid-column: 9 / span 4;
            grid-row: 1 / span 2;
        }

        .home-picture-item .img:nth-child(5) {
            grid-column: 13 / span 4;
            grid-row: 1;
        }

        .home-picture-item .img:nth-child(6) {
            grid-column: 13 / span 4;
            grid-row: 2;
        }

        .home-picture-item .img:nth-child(7) {
            grid-column: 17 / span 4;
            grid-row: 1 / span 2;
            align-self: center;
            height: 264px;
        }

        .home-picture-item .img::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 2;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 40%), linear-gradient(180deg, transparent 50%, rgba(4, 39, 52, 0.15));
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s ease;
        }

        .home-picture-item .img::after {
            content: "";
            position: absolute;
            inset: 12px;
            z-index: 3;
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 14px;
            opacity: 0;
            transform: scale(0.96);
            pointer-events: none;
            transition: opacity .35s ease, transform .35s ease;
        }

        .home-picture-item .img:hover {
            box-shadow: 0 24px 54px rgba(8, 50, 68, 0.18);
        }

            .home-picture-item .img:hover::before,
            .home-picture-item .img:hover::after {
                opacity: 1;
                transform: scale(1);
            }

            .home-picture-item .img:hover img {
                transform: scale(1.065);
            }

        .home-picture-item .img a {
            display: block;
        }

        .home-picture-item .img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1);
            transition: transform .65s cubic-bezier(.2, .75, .2, 1), filter .35s ease;
        }

.home-picture .decor-1,
.home-picture .decor-1-right,
.home-picture .btn,
.home-picture .p-title,
.home-pic-grid .p-descript {
    display: none;
}

@media (min-width: 1400px) {
    .home-picture-item {
        grid-template-rows: repeat(2, 216px);
    }

    .grid.wide.home-pic-grid {
        position: relative;
        z-index: 1;
        max-width: 1565px;
    }
}

@media (max-width: 1199px) {
    .home-picture {
        padding: 48px 0 62px;
    }

    .home-picture-list {
        width: 100%;
    }

    .home-picture-item {
        grid-template-rows: repeat(2, 190px);
        gap: 16px;
    }

        .home-picture-item .img:nth-child(1),
        .home-picture-item .img:nth-child(7) {
            height: 236px;
        }
}

@media (max-width: 1023px) {
    .home-picture {
        padding: 50px 0 58px;
    }

        .home-picture::before {
            top: 20px;
            right: -18%;
            width: 58%;
            height: 150px;
        }

        .home-picture::after {
            top: 104px;
            right: 14%;
            width: 11px;
            height: 11px;
        }

    .home-pic-grid::before {
        display: none;
    }

    .home-picture-heading {
        margin-bottom: 32px;
    }

    .home-picture-kicker {
        font-size: 26px;
    }

    .home-picture .p-title-tops {
        font-size: 40px;
    }

    .home-picture-item {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: repeat(3, 190px);
        gap: 14px;
    }

        .home-picture-item .img:nth-child(n+7) {
            display: none;
        }

        .home-picture-item .img:nth-child(1),
        .home-picture-item .img:nth-child(2),
        .home-picture-item .img:nth-child(3),
        .home-picture-item .img:nth-child(4),
        .home-picture-item .img:nth-child(5),
        .home-picture-item .img:nth-child(6) {
            height: auto;
            align-self: stretch;
        }

        .home-picture-item .img:nth-child(1) {
            grid-column: 1 / span 3;
            grid-row: 1;
        }

        .home-picture-item .img:nth-child(2) {
            grid-column: 4 / span 3;
            grid-row: 1;
        }

        .home-picture-item .img:nth-child(3) {
            grid-column: 1 / span 2;
            grid-row: 2;
        }

        .home-picture-item .img:nth-child(4) {
            grid-column: 3 / span 2;
            grid-row: 2;
        }

        .home-picture-item .img:nth-child(5) {
            grid-column: 5 / span 2;
            grid-row: 2;
        }

        .home-picture-item .img:nth-child(6) {
            grid-column: 1 / span 6;
            grid-row: 3;
        }
}

@media (max-width: 739px) {
    .home-picture {
        padding: 16px 0 46px;
    }

        .home-picture::before {
            right: -42%;
            width: 92%;
            height: 130px;
            border-width: 3px;
        }

        .home-picture::after {
            top: 94px;
            right: 11%;
            width: 9px;
            height: 9px;
        }

    .home-picture-heading {
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .home-picture-kicker {
        font-size: 21px;
        line-height: 1.25;
    }

    .home-picture .p-title-tops {
        font-size: 32px;
    }

    .home-picture-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: 148px;
        gap: 12px;
    }

        .home-picture-item .img {
            border-radius: 14px;
            box-shadow: 0 12px 30px rgba(8, 50, 68, 0.10);
        }

            .home-picture-item .img:nth-child(n+7) {
                display: none;
            }

            .home-picture-item .img:nth-child(1),
            .home-picture-item .img:nth-child(2),
            .home-picture-item .img:nth-child(3),
            .home-picture-item .img:nth-child(4),
            .home-picture-item .img:nth-child(5),
            .home-picture-item .img:nth-child(6) {
                grid-column: auto;
                grid-row: auto;
                height: auto;
            }

            .home-picture-item .img:nth-child(3) {
                grid-row: span 2;
            }

            .home-picture-item .img:nth-child(6) {
                grid-column: span 2;
            }
}

@media (max-width: 420px) {
    .home-picture-item {
        grid-auto-rows: 135px;
        gap: 10px;
    }

    .home-picture .p-title-tops {
        font-size: 29px;
    }
}