h1, h2, h3, .h1, .h2, .h3 {
    padding: 0;
}

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;
    }
}

.h4 {
    margin-top: 50px;
    font-size: 24px;
    color: #000;
}

/* Section */

.section-speed-cost {
    padding-bottom: 110px;
}

.section-steps {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (width <= 767.98px) {
    .section-speed-cost {
        padding-bottom: 60px;
    }
}

/* Block */

.b-hero {
    position: relative;
    z-index: 1;
    height: 445px;
    border-radius: 10px;
    overflow: hidden;
    padding: 45px;
    background-color: #bdcedf;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.b-hero__content {
    max-width: 700px;
}
.b-hero__title {
    margin-bottom: 30px;
    font-size: 42px;
    font-size: clamp(18px, 4vw, 50px);
    font-weight: 600;
    line-height: 1;
}
.b-hero__text {
    margin-bottom: 45px;
    max-width: 550px;
    font-size: 16px;
    line-height: 1.2;
}
.b-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.b-hero__bg img {
    width: 100%;
    height: 100% !important;
    object-fit: none;
    object-position: left;
}
.b-hero__figure {
    position: absolute;
    right: 42px;
    bottom: 0;
    z-index: -1;
    /* margin-left: 50%; */
    max-width: 600px;
}
.b-hero__figure img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}
.b-hero__btn-label {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.b-hero__btn-label-text {
    max-width: 410px;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
}
.b-hero__btn-wrap .btn-extra-primary {
    max-width: 370px;
    width: 100%;
    margin-bottom: 24px;
    padding: 18px;
    font-size: 20px;
}
@media (width <= 767.98px) {
    .b-hero {
        height: auto;
        padding: 40px 20px 80px;
    }
    .b-hero__btn-wrap .btn-extra-primary {
        padding: 12px;
    }
}


.b-hero-grid {
    margin-bottom: 100px;
    display: grid;
    grid-template-areas: "a c" "b c";
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.b-hero-grid__item:nth-child(1) {
    grid-area: a;
}
.b-hero-grid__item:nth-child(2) {
    grid-area: b;
}
.b-hero-grid__item:nth-child(3) {
    grid-area: c;
}
.b-hero-grid__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    padding: 34px 30px 40px 30px;
    border-radius: 8px;
    background-color: #f3f4fd;
}
.b-hero-grid__item-right {
    text-align: center;
    font-size: 65px;
    font-size: clamp(45px, 5vw, 65px);
    font-weight: 800;
    color: #a8528b;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #c11b7a, #fd242e);
}
.b-hero-grid__item-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--main-color);
}
.b-hero-grid__item-img {
    max-width: 50%;
}
.b-hero-grid__item-left {
    flex: 1;
}
@media (width >= 768px) {
    .b-hero-grid__item:nth-child(1),
    .b-hero-grid__item:nth-child(2) {
        gap: 60px;
    }
    .b-hero-grid__item-right {
        width: 170px;
    }
}
@media (width <= 1200px) {
    .b-hero-grid {
        grid-template-areas: 'a' 'b' 'c';
        grid-template-columns: 1fr;
    }
}
@media (width <= 767.98px) {
    .b-hero-grid__item {
        flex-direction: column;
    }
}


.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 60px;
}
.benefits .card {
    display: flex;
    gap: 10px;
}
.benefits .card__content {
    flex: 1;
}
.benefits .card .title {
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    color: #000;
}
.benefits .card {
    color: #585858;
}
@media (width <= 767.98px) {
    .benefits {
        grid-template-columns: 1fr;
    }
}


.b-audit {
    padding: 50px 50px;
    border-radius: 15px;
    background: #dfe9f3 no-repeat url(/images/speed/shlem.webp);
}
.b-audit__container {
    max-width: 600px;
}
.b-audit__title {
    margin-top: 0;
    font-size: 36px;
    font-weight: 800;
}
@media (width <= 767.98px) {
    .b-audit {
        padding: 20px;
    }
}


.form-speed__row {
    display: flex;
    gap: 10px;
}
.form-speed__block-input {
    position: relative;
}
.form-speed__block-input span {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 15px;
    color: #91a9d9;
}
.form-speed__block-input input {
    width: 100%;
    padding: 36px 10px 19px;
    border-radius: 5px;
    border: solid 1px #91a9d9;
    background-color: #e0e9f2;

    font-size: 25px;
    line-height: 1;
    color: #52677b;
}
.form-speed__block-agree {
    display: flex;
    gap: 12px;
    font-size: 14px;
}
.form-speed__block-agree input {
    flex-shrink: 0;
}
.form-speed__row {
    margin-top: 20px;
    margin-bottom: 14px;
}
.form-speed__block-captcha {
    margin-block: 10px;
}
.form-speed__block-submit .btn {
    width: 100%;
}


.b-speed-cost {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.b-speed-cost__item {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 14px 30px 0 #f4f7fc;
    border: solid 1px #e3edfc;
    background-color: #fff;
}
.b-speed-cost__item-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    background-color: #f6edf3;
}
.b-speed-cost__item-title {
    font-size: 19px;
    font-weight: 800;
    color: #000;
}
.b-speed-cost__item-title a {
    color: inherit;
}
.b-speed-cost__item-descr {
    font-size: 15px;
    color: #585858;
}
@media (width <= 991.98px) {
    .b-speed-cost {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (width <= 575.98px) {
    .b-speed-cost {
        grid-template-columns: 1fr;
    }
}


.b-speed-analiz {
    padding: 40px 25px;
    border-radius: 15px;
    background-color: #e3edfc;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 90px;
}
.b-speed-analiz__title {
    margin-top: 10px;
    margin-bottom: 10px;
}
.b-speed-analiz__img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.b-speed-analiz__img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
    height: 105px;
}
.b-speed-analiz__img-caption {
    margin-top: 6px;
    text-align: center;
    font-size: 16px;
    color: #5d5abb;
}
.b-speed-analiz__right img {
    border-radius: 5px;
    overflow: hidden;
}
.b-speed-analiz .splide__pagination {
	bottom: -30px;
}
.b-speed-analiz .splide__pagination__page {
	width: 15px;
	height: 15px;
	margin: 4px;
}
.b-speed-analiz .splide__pagination__page.is-active {
	background: var(--main-color);
	transform: none;
	opacity: 1;
}
@media (width <= 991.98px) {
    .b-speed-analiz {
        grid-template-columns: 1fr;
    }
}
@media (width <= 767.98px) {
    .b-speed-analiz__img-caption {
        font-size: 12px;
    }
}


.b-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.b-steps__item {
    padding: 20px 20px 25px;
    border-radius: 10px;
    background-color: #f4f7fc;
}
.b-steps__item-sub {
    font-size: 14px;
    color: #848fa8;
}
.b-steps__item-num {
    background-image: linear-gradient(to top, transparent, var(--main-color) 60%);
    color: #a8528b;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    font-weight: 800;
}
.b-steps__item-title {
    font-size: 17px;
    color: #1a1a1a;
    font-weight: bold;
}
@media (width <= 991.98px) {
    .b-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (width <= 575.98px) {
    .b-steps {
        grid-template-columns: 1fr;
    }
}


/* Результат нашей работы */
.section-speed-results {
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #f1f4fa;
}

.speed-results__title {
	margin-top: 0;
	margin-bottom: 25px;
	padding-top: 0;
	padding-bottom: 0;
}
.speed-results-carousel__slide {
	margin-top: 24px;
	margin-bottom: 24px;
	border-radius: 30px;
	padding: 34px 32px;
	background-color: #fff;
	box-shadow: 0px 15px 25px 0 rgba(71, 108, 184, 0.05);
}
.speed-results-carousel__slide-head {
	display: flex;
	gap: 32px;
	margin-bottom: 30px;
}
.speed-results-carousel__slide-image {
	position: relative;
	flex: 1;
}
.speed-results-carousel__slide-image-main {
	border-radius: 25px 25px 25px 0;
	height: 100% !important;
    width: 100%;
    object-fit: cover;
}
.speed-results-carousel__slide-fav {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 75px;
	height: 75px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0 25px 0 0;
	background-color: #fff;
}
.speed-results-carousel__slide-fav::before,
.speed-results-carousel__slide-fav::after  {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	bottom: 100%;
	left: 0;
	background: 0 0 url(/images/speed/corner.png);
}
.speed-results-carousel__slide-fav::after {
	left: 100%;
	bottom: 0;
}
.speed-results-carousel__slide-side {
	display: flex;
	flex-direction: column;
	width: 165px;
}
.speed-results-carousel__slide-title {
	margin-bottom: 20px;
	text-transform: uppercase;
	font-size: 23px;
	font-weight: 600;
	color: #3a3a3a;
}
.speed-results-carousel__slide-text {
	margin-bottom: 26px;
}
.speed-results-carousel__slide-text-pr {
	margin-bottom: 15px;
	font-size: 17px;
	color: #505b75;
}
.speed-results-carousel__slide-text-pr .speed-results-carousel__slide-text-mark {
	font-weight: bold;
}
.speed-results-carousel__slide-text-so {
	margin-bottom: 0;
	font-size: 17px;
	color: #585858;
}
.speed-results-carousel__slide-text-so .speed-results-carousel__slide-text-mark {
	font-weight: bold;
	color: #cf398f;
}
.speed-results-carousel__slide-descr {
	font-size: 15px;
	color: #505b75;
}
.speed-results-carousel__slide-link-wrap {
	margin-bottom: 20px;
}
.speed-results-carousel__slide-link-wrap a {
	text-decoration: none;
	font-size: 20px;
	color: #505b75;
}
.speed-results-carousel__slide-wtime {
	position: relative;
	margin-top: auto;
	padding-left: 38px;
	font-size: 15px;
	font-weight: 600;
	color: #3a3a3a;
}
.speed-results-carousel__slide-wtime::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	display: block;
	width: 28px;
	height: 27px;
	background: no-repeat url(/images/speed/calend.png);
}
.speed-results-carousel__slide-wtime-mark {
	color: #a8528b;
}
.speed-results-carousel__slide-btn-wrap {
	text-align: right;
}


.speed-results-carousel__body {
    display: grid;
    grid-template-columns: 1fr 105px;
    gap: 25px;
}
.speed-results-carousel__slide-body-row {
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
    padding-bottom: 40px;
}

.speed-results-carousel__ba-title {
    margin-bottom: 7px;
    text-align: center;
    font-size: 17px;
    color: #505b75;
}

.speed-results-carousel__ba .chart {
    margin-bottom: 30px;
    width: 105px;
    height: 105px;
}
.speed-results-carousel__ba .chart .percentage {
    width: 105px;
    height: 105px;
}

@media (max-width: 767.98px) {
	.speed-results-carousel__slide {
		width: 100% !important;
	}
	.speed-results-carousel__slide {
		padding: 24px;
	}
}
@media (max-width: 575.98px) {
	.speed-results-carousel__slide-head {
		gap: 0;
	}
	.speed-results-carousel__slide-side {
		width: auto;
	}
	.speed-results-carousel__slide-image {
		flex: 0 50px;
	}
	.speed-results-carousel__slide-image-main {
		display: none;
	}
	.speed-results-carousel__slide-fav {
		justify-content: flex-start;
		width: 100%;
		height: 100%;
	}
	.speed-results-carousel__slide-link-wrap {
		margin-bottom: 6px;
	}
	.speed-results-carousel__slide-link-wrap a {
		font-size: 18px;
	}
	.speed-results-carousel__slide-descr {
		font-size: 13px;
	}
	.speed-results-carousel__slide-wtime {
		font-size: 13px;
	}
}