h1, .h1, h2, .h2, h3, .h3 {
    color: #64463f;
}

.h2 {
   margin-top: 70px;
   margin-bottom: 35px;
   padding: 0;
}

.b-hero {
    display: flex;
    align-items: center;
    padding-inline: 77px;
    height: 402px;
    border-radius: 8px;
    background: #5d3d35 no-repeat center/cover url(/images/sozdanie-sajta-pravo/bn.jpg);
}
.b-hero__title {
    max-width: 500px;
    text-wrap: balance;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
@media (width <= 767.98px) {
    .b-hero {
        height: auto;
        padding: 40px 20px;
        background-position-x: 70%;
    }
    .b-hero__title {
        font-size: 28px;
        max-width: calc(100% - 140px);
    }
}

.b-tariffs {
    margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-tariffs__el {
    min-height: 650px;
    position: relative;
    padding: 30px 37px 26px;
    border-radius: 8px;
    background-color: #f4ebe6;
}
.b-tariffs__el:nth-child(2) {
    background-color: #ead8ce;
}
.b-tariffs__el:nth-child(3) {
    background-color: #ddc4b6;
}
.b-tariffs__el-type {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1;
}
.b-tariffs__el-title {
    margin-bottom: 36px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
}
.b-tariffs__el-title a {
    color: inherit;
}
.b-tariffs__el-list {
    margin: 0;
    padding: 0;
}
.b-tariffs__el-list li {
    position: relative;
    list-style: none;
    padding-left: 45px;
    font-size: 18px;
}
.b-tariffs__el-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 23px;
    height: 21px;
    background: no-repeat url(/images/sozdanie-sajta-medicina/ic_2.png);
}
.b-tariffs__el-list li a {
    color: inherit;
}
.b-tariffs__el-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: inherit;
}

.b-tariffs__el-price-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}
.b-tariffs__el-price-row + .b-tariffs__el-price-row {
    margin-top: 16px;
}
.b-tariffs__el-name {
    font-size: 17px;
}
.b-tariffs__el-name a {
    color: inherit;
}
.b-tariffs__el-value {
    font-size: 30px;
    font-weight: 600;
}
.b-tariffs__el-value span {
    font-size: 17px;
}
.b-tariffs__el-btn-wrap {
    margin-top: 40px;
}
.b-tariffs__el-btn-wrap .btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 16px 10px;
    background-color: #6f3d1e;
    /* background-image: linear-gradient(to top, #6f3d1e, #bf6c3a); */
    box-shadow: inset 0 -42px 35px -10px #bf6c3a;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.b-tariffs__el-btn-wrap .btn:hover {
    background: #bf6c3a;
}
@media (max-width: 991.98px) {
    .b-tariffs {
        grid-template-columns: 1fr;
    }
    .b-tariffs__el {
        min-height: initial;
    }
    .b-tariffs__el-bottom {
        position: static;
    }
}
@media (max-width: 767.98px) {
    .b-tariffs__el {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.inf-head {
    margin-block: 55px 25px;
    font-size: 24px;
    font-weight: 600;
    color: #64463f;
}
.inf-text {
    margin-bottom: 55px;
}
.inf-row {
    margin-bottom: 100px;
}
.inf-row > * {
    margin-bottom: 20px;
}

.list-style {
    margin-bottom: 0;
    padding: 0;
}
.list-style li {
    padding-left: 50px;
    position: relative;
    list-style: none;
    min-height: 42px;
    vertical-align: middle;
    line-height: 30px;
}
.list-style li::before {
    content: "";
    position: absolute;
    left: 0;
    display: inline-block;
    width: 27px;
    height: 29px;
    margin-right: 25px;
    background: no-repeat url(/images/sozdanie-sajta-pravo/w.png);
}
@media (width <= 767.98px) {
    .inf-row {
        margin-bottom: 50px;
    }
}

.b-otrasli {
    margin-bottom: 130px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 18px;
}
.b-otrasli__item-img {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}
.b-otrasli__item-title {
    font-size: 24px;
    font-weight: 600;
    color: #64463f;
}
.b-otrasli__item-text {
    font-size: 16px;
    color: #808080;
}
@media (width <= 1199.98px) {
    .b-otrasli {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (width <= 575.98px) {
    .b-otrasli {
        grid-template-columns: 1fr;
    }
}