.home-page {
    padding: 2.4rem 0 7rem;
}

.home-hero {
    display: block;
    margin-bottom: 6rem;
    padding: 5.6rem 5.2rem;
    border-radius: .8rem;
    background: #f8f8f8;
}

.home-hero__cover {
    margin-bottom: 4.4rem;
}

.home-hero__title {
    max-width: 86rem;
    margin: 0 0 3.8rem;
    color: #353535;
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.08;
}

.home-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.6rem 3rem;
}

.home-hero__stat {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    min-width: 0;
}

.home-hero__stat img {
    flex: 0 0 5.6rem;
    width: 5.6rem;
    height: 5.6rem;
    object-fit: contain;
}

.home-hero__stat p {
    margin: 0;
    color: #353535;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.25;
}

.home-hero__search {
    max-width: none;
    padding-top: 1.2rem;
    border-top: 1px solid #e5e5e5;
}

.home-hero .main__search {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.home-hero__search-title,
.home-hero .main__search-title {
    margin: 0 0 2.4rem;
    color: #353535;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
}

.home-hero .search-input.form-control {
    width: 100%;
    height: 6.6rem !important;
    padding: 0 2.2rem;
    border: .3rem solid #42985f;
    border-radius: 1.2rem;
    color: #353535;
    font-size: 1.9rem !important;
    background: #fff;
}

.home-hero .search-response {
    display: none;
    position: absolute;
    padding: .5rem;
    border: .3rem solid #42985f;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(53, 53, 53, .14);
    overflow: auto;
}

.home-hero .search-response .s-group-header {
    padding: 1.2rem 1.4rem;
    color: #888;
    font-size: 1.4rem;
    font-weight: 700;
}

.home-hero .search-response li a {
    display: block;
    padding: .9rem 1.3rem;
    border-radius: .5rem;
    color: #353535 !important;
    font-size: 1.4rem;
}

.home-hero .search-response li a.active,
.home-hero .search-response li a:hover {
    background: #42985f !important;
    color: #fff !important;
}

.home-section {
    margin: 8rem 0;
}

.home-about__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}

.home-about__image {
    overflow: hidden;
    border-radius: .8rem;
    background: #f8f8f8;
}

.home-about__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-experts__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.home-experts__header .m__title {
    margin-bottom: 0;
}

.home-experts__link {
    max-width: 32rem;
    color: #666;
    font-size: 1.6rem;
    line-height: 1.35;
    text-align: right;
}

.home-experts__link a {
    color: #42985f;
    font-weight: 700;
}

.home-experts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.home-expert-card {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.4rem;
    min-height: 17rem;
    padding: 1.6rem;
    border: 1px solid #e5e5e5;
    border-radius: .8rem;
    background: #fff;
    color: #353535;
    transition: border-color .2s, box-shadow .2s, color .2s;
}

.home-expert-card:hover {
    border-color: #7fcf9a;
    color: #353535;
    box-shadow: 0 1rem 3rem rgba(53, 53, 53, .08);
}

.home-expert-card__photo {
    overflow: hidden;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: #f3fbf6;
}

.home-expert-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-expert-card__name {
    display: block;
    margin: 0 0 .6rem;
    color: #353535;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.25;
}

.home-expert-card__speciality {
    display: block;
    margin: 0 0 .8rem;
    color: #42985f;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-expert-card__description {
    display: block;
    margin: 0;
    color: #666;
    font-size: 1.4rem;
    line-height: 1.4;
}

.home-section__action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.home-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1.2rem 4rem;
    border-radius: .8rem;
    background: #7fcf9a;
    color: #fff !important;
    font-size: 1.7rem;
    font-weight: 700;
    transition: background-color .2s;
}

.home-section__button:hover {
    background: #42985f;
}

.home-price__search {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.home-price__search .search_select {
    width: 100%;
    min-height: 4.8rem;
}

.home-price__list {
    display: grid;
    gap: .8rem;
}

.home-price__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 1rem 1.4rem;
    align-items: center;
    padding: 1.4rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.home-price__name {
    color: #353535;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-price__name:hover {
    color: #42985f;
}

.home-price__value {
    margin: 0;
    color: #666;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-price__value span {
    color: #353535;
    font-weight: 900;
}

@media only screen and (max-width: 1080px) {
    .home-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-experts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-price__row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    }
}

@media only screen and (max-width: 760px) {
    .home-page {
        padding-top: 1.2rem;
    }

    .home-hero {
        margin-bottom: 4rem;
        padding: 2.4rem 2rem;
    }

    .home-hero__cover {
        margin-bottom: 3.2rem;
    }

    .home-hero__title {
        margin-bottom: 2.8rem;
        font-size: 3.4rem;
    }

    .home-about__grid,
    .home-experts__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .home-hero__stat img {
        width: 4.8rem;
        height: 4.8rem;
    }

    .home-hero__stat p {
        font-size: 1.65rem;
    }

    .home-hero__search-title,
    .home-hero .main__search-title {
        margin-bottom: 1.8rem;
        font-size: 2.6rem;
    }

    .home-hero .search-input.form-control {
        height: 5.8rem !important;
        font-size: 1.6rem !important;
    }

    .home-section {
        margin: 6rem 0;
    }

    .home-experts__header {
        display: block;
    }

    .home-experts__link {
        max-width: none;
        margin-top: 1.6rem;
        text-align: left;
    }

    .home-expert-card {
        grid-template-columns: 7.2rem minmax(0, 1fr);
        min-height: 0;
        padding: 1.4rem;
    }

    .home-expert-card__photo {
        width: 7.2rem;
        height: 7.2rem;
    }

    .home-price__row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}
