h1 {
    margin-bottom: 30px;
}

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

@media (width <= 767.98px) {
    h2, h3, .h2, .h3 {
        margin-block: 2rem 1rem;
    }
}

.h3 {
    text-transform: initial;
    font-size: 28px;
    font-weight: bold;
}

.h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 600;
}

.h5 {
    font-size: 16px;
    font-weight: 600;
}

.h-color-green {
    --main-color: #3ebf20;
}

.h-color-red {
    --main-color: #ff3a3a;
}

.b-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 45px;
    padding: 20px 60px 60px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffbea7;
}
.b-hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.b-hero__bg-img img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: right;
}
@media (width <= 991.98px) {
    .b-hero__bg-img img {
        object-position: calc(100% + 40px);
    }
}
@media (width <= 575.98px) {
    .b-hero__bg-img img {
        object-position: center;
    }
}
.b-hero__title {
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.b-hero__text {
    margin-bottom: 40px;
    font-size: 22px;
    font-weight: normal;
    color: #fff;
}
.b-hero__published {
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
}
@media (width <= 767.98px) {
    .b-hero {
        height: auto;
        padding: 40px 20px 80px;
        /* background-position-x: 70%; */
    }
    .b-hero__title {
        max-width: 60%;
        font-size: 28px;
    }
    .b-hero::after {
        display: none;
    }
}

.table-styled {
    --head-bg-color: #db473f;
    --head-color: #fff;
    --border-color: #ffd9cf;
    --bg-color: #fff;
    --bg-2-color: #f8f8f8;
}
.table-styled :is(td, th) {
    padding: 20px;
    font-weight: 300;
}
.table-styled :is(td, th):not(:first-child) {
    text-align: left;
}
.table-styled thead :is(td, th) {
    background: linear-gradient(to top, #db473f, #ff996f);
}
.table-styled tbody tr:nth-child(odd) td {
    background: #f8f8f8;
}
.table-styled thead :is(td, th) {
    font-size: 20px;
}
.table-styled td:first-child {
    font-size: 16px;
    font-weight: bold;
    color: #ff592b;
}


.g-box {
    margin-block: 40px;
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
}
.g-box__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 40px;
    border-radius: 8px;
    background: #db473f linear-gradient(to right, #d34747, #ff5628 36%, #ffc19c);
    color: #fff;
}
.g-box_to-top .g-box__item {
    background: #db473f linear-gradient(to top, #d34747, #ff5628 36%, #ffc19c);
}
.g-box__item-title {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 800;
}
.g-box__item-text {
    font-size: 16px;
    line-height: 1.2;
}
@media (width <= 991.98px) {
    .g-box {
        grid-auto-flow: row;
    }
}
@media (width <= 767.98px) {
    .g-box__item {
        padding: 20px;
    }
}

.b-warning {
    max-width: 1000px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 40px;
    padding: 35px 40px 40px 95px;
    border-radius: 8px;
    border: solid 1px #ff5e31;
    background-color: #fff3f0;
    background-image: url(/images/yandex-map/w.png);
    background-repeat: no-repeat;
    background-position: 30px 50%;
    font-size: 16px;
    color: #545454;
}
.b-warning__hl {
    font-size: 20px;
    font-weight: bold;
    color: #ff5e31;
}
.b-warning__text {
    flex: 1;
}


.b-tarif-container {
    margin-block: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}
.b-tariff {
    --accent-color: #ff7047;
    --main-color: #000;
    --second-color: #666;
    --bd-color: #dbdbdb;
    --bg-color: #fff8f0;

    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    
	border-radius: 8px;
	border: solid 1px var(--bg-color);
    background-color: var(--bg-color);
	padding: 32px 26px 54px;
    color: var(--main-color);
}
.b-tariff_pro {
    --bg-color: #ffeee8;

	background-repeat: no-repeat;
	background-position: 100% 0;
	background-image: url(/images/yandex-map/pop.png);
}
.b-tariff_seo {
    --bg-color: #fff2e3;
}
.b-tariff__sub {
    margin-bottom: 20px;
	font-size: 19px;
	font-weight: normal;
	line-height: normal;
	color: #999;
}
.b-tariff__title {
	margin-bottom: 32px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: currentColor;
}
.b-tariff ul {
    padding-left: 0;
}
.b-tariff li {
    padding-left: 20px;
    position: relative;
    list-style: none;
}
.b-tariff li::before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent-color);
}
.b-tariff__list {
    margin: 0;
    padding: 0;
}
.b-tariff__list li {
    position: relative;
    list-style: none;
    padding-left: 40px;
    margin-bottom: 28px;
}
.b-tariff__list li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
    background: no-repeat url(/images/yandex-map/check.png);
}
.b-tariff__list li .title {
    font-size: 18px;
}
.b-tariff__list li .text {
    font-size: 14px;
    color: var(--second-color);
}
.b-tariff__line {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}
.b-tariff__line span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 4px 20px;
    border-radius: 17px;
    border: solid 1px var(--bd-color);
    background-color: var(--bg-color);
    font-size: 18px;
    font-weight: bold;
}
.b-tariff__line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: var(--bd-color);
}
.b-tariff__price2 {
    font-size: 19px;
}
.b-tariff__price2 span {
    font-size: 30px;
    font-weight: 600;
}
.b-tariff__btn-showmore-wrap {
	position: relative;
    height: 1px;
    background-color: #848fa8;
    background-clip: content-box;
    padding: 10px 0;
    box-sizing: content-box;
}
.b-tariff__btn-showmore {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 21px;
	height: 21px;
	display: block;
	padding: 7px 6px 8px 7px;
	box-shadow: 0px 3px 10px 0 rgba(51, 48, 84, 0.15);
	background-color: #fff;
	background-image: url(/images/contextual_reklama/deep.png);
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 50%;
	border: none;
}
.b-tariff__showarea {
	margin-bottom: 11px;
}
.b-tariff__check-list {
	padding: 0;
	margin-bottom: 20px;
}
.b-tariff__check-item {
	position: relative;
	list-style: none;
	margin: 5px 0;
	padding-left: 26px;
	font-size: 16px;
	color: #91959f;
}
.b-tariff__check-item::before {
	content: "";
	display: block;
	width: 17px;
	height: 17px;
	position: absolute;
	top: 3px;
	left: 0;
	background: no-repeat url(/images/contextual_reklama/check_grey.png);
}
.b-tariff__check-item.active {
	color: #333054;
}
.b-tariff__check-item.active::before {
	background-image: url(/images/contextual_reklama/check_violet.png);
}
.b-tariff__check-item a {
	color: inherit;
}
.b-tariff__price-onetime-descr {
	text-align: center;
	font-size: 16px;
	color: #333054;
}
.b-tariff__price-onetime-number {
	text-align: center;
	font-size: 45px;
	font-weight: 800;
	color: #333054;
}
.b-tariff__price-onetime-currency {
	text-align: center;
	font-size: 14px;
	color: #333054;
}
.b-tariff__btn-wrap {
	margin-top: 24px;
}
.b-tariff__btn-wrap .btn {
	display: block;
	width: 100%;
    padding: 16px 16px;
    font-size: 22px;
    font-weight: 600;
    border: none;
    background-color: var(--page-accent-color);
    background: linear-gradient(to right, #bf4936, #ff5628 64%, #ffaa76);
    color: #fff;
}
.b-tariff_elit .b-tariff__btn-wrap .btn {
    background-color: #fff;
    color: #000;
}

.b-tarif:hover {
	box-shadow: 0px 15px 35px 0 rgba(5, 34, 75, 0.1);
}

@media (max-width: 767.98px) {
	.b-tariff__price {
		font-size: 48px;
	}
	.b-tariff__showarea {
		display: none;
	}
}

.b-numb-list {
    margin-block: 40px;
    display: grid;
    grid-auto-flow: column;
    gap: 20px;
}
.b-numb-list__item {
    position: relative;
    overflow: hidden;
    counter-increment: num;
    padding: 24px 24px 90px;
    border-radius: 8px;
    background-color: #ff5e31;
}
.b-numb-list__item::after {
    content: '0'counter(num);
    position: absolute;
    right: 13px;
    bottom: 0;
    font-size: 148px;
    font-weight: bold;
    line-height: 100px;
    color: #ff724b;
}
.b-numb-list__item-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.b-numb-list__item-text {
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
}
@media (max-width: 991.98px) {
    .b-numb-list {
        grid-auto-flow: row;
    }
}

.b-grid-box {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.b-grid-box__green {
    --bg-color: #d0f7c8;
    --accent-color: #1c8d02;
    --color: #013410;
}
.b-grid-box__red {
    --bg-color: #ffdcdc;
    --accent-color: #bb0404;
    --color: #501919;
}
.b-grid-box__item {
    border-radius: 12px;
    padding: 26px;
    padding-left: 90px;
    background-color: var(--bg-color);
    background-repeat: no-repeat;
    background-position: 30px 50%;
}
.b-grid-box__green .b-grid-box__item {
    background-image: url(/images/yandex-map/check1.png);
}
.b-grid-box__red .b-grid-box__item {
    background-image: url(/images/yandex-map/check2.png);
}
.b-grid-box__item-title {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
}
@media (max-width: 767.98px) {
    .b-grid-box {
        grid-template-columns: 1fr;
    }
}

.b-case-img img {
    border-radius: 12px;
}
.b-case {
    display: grid;
    gap: 34px 25px;
    grid-template-columns: 100px 1fr;
}
.b-case__row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
    gap: 20px 50px;
}
.b-case__row-block {
    column-gap: 40px;
    grid-template-columns: 200px 1fr;
    padding: 35px 25px;
    border-radius: 12px;
    background-image: linear-gradient(to top, #d34747, #ff5628 36%, #ffc19c);
    color: #fff;
}
.b-case__title {
    text-transform: uppercase;
    font-weight: 800;
}
.b-case__text {
    line-height: 1.25;
}
.b-case__text ul {
    padding-left: 0;
    margin-bottom: 0;
}
.b-case__text ul li {
    list-style: none;
    margin-bottom: 20px;
}
.b-case__text ul li:last-child {
    margin-bottom: 0;
}
.b-case__title_mark {
    color: #ff592b;
}
.b-case__text_mark {
    color: #ff592b;
}

.b-case__text .ul-style li {
    position: relative;
    padding-left: 40px;
}
.b-case__text .ul-style li::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 0;
}
@media (max-width: 767.98px) {
    .b-case__row {
        grid-template-columns: 1fr;
    }
    .b-case__text .ul-style li {
        padding-left: 20px;
    }
}