/* 
 * Кастомные фронтовые стили темы Rush.
 * Используйте этот файл для новых правок, не затрагивая SCSS/webpack.
 */

.site-footer__rating {
    flex-direction: column;
    gap: 15px;
}

.page-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.page-rating__inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-rating__stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.page-rating__star {
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #d0d0d0;
    transition: color 0.15s ease-in-out;
}

.page-rating__star--active,
.page-rating__star:hover {
    color: #ffc107;
}

.page-rating__count {
    white-space: nowrap;
    color: #777777;
}

.reviews__item {
	padding: 32px 0 0;
}

.reviews__header {
	display: flex;
    justify-content: space-between;
    padding: 0 32px;
    margin-bottom: 12px !important;
}

.reviews__text {
	margin-bottom: 24px;
}

.reviews__top {
	border: none;
}

.reviews__pos a, .reviews__text a {
	color: #fb8227;
}

.df {
    display: flex;
}

.jcsb {
    justify-content: space-between;
}

.aic {
    align-items: center;
}

.reviews__date {
    margin-top: 14px;
    color: #aaa;
    font-weight: 200;
}

.sec-review-date {
    padding: 0 32px;
    display: flex;
    justify-content: end;
}

.gr-polyline {
    border-top: 1px solid rgba(29, 29, 29, .1);
    margin-top: 32px;
    padding-top: 24px!important;
}

.traffic__number {
    max-width: max-content!important;
}

.cases__date_start {
    font-size: .95rem;
    font-weight: 500;
}

.cases__link {
    margin-right: 85px;
}

.case_number {
    color: #fb8227;
    font-size: 1.4rem;
    font-weight: 700;
}

.case-adv-wide__result {
	margin-top: 5px;
}

.case_result_ctr {
    margin-left: 35px;
}
.cases--services.cases--slider .case-fw--left .cases__item-about ul li {
	overflow: inherit;
}
.main .hero-serm, .main .hero-shrink {
	padding-bottom: 0;
	padding-top: 0;
}

.main .cta {
	padding-bottom: 32px;
    padding-top: 32px;
}
.landing--offer__card--title.black-text {
	-webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #fb8227, #f7b432);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
	font-size: 32px;
    font-weight: 600;
    line-height: 112%;
}
.hero-serm__container {
	padding: 32px 0 64px;
}
.hero-front__container {
	padding: 32px 0 0;
}
.cards-section__form .cta-tel--new__contacts--container>a {
	max-width: 285px;
}
.offer--type2--new .title .title__inner h2 {
    font-size: 64px;
    line-height: 112%;
    margin-bottom: 64px;
    max-width: 100%;
}
.offer--type2--new .offer--type2-grid-outer {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.41fr 1fr;
}
.offer--type2--new .offer--type2-grid-bp {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}
.offer--type2--new .offer--type2-grid-bp-item {
    background-color: #fff;
    border-radius: 32px;
}
.offer--type2--new .offer__item-text {
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
}
.offer--type2--new .cta.cta--type2 {
    background: linear-gradient(90deg, #fb8227, #f7b432);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
}
.offer--type2--new .cta.cta--type2 .cta__title {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    line-height: 112%;
}
.offer--type2--new .cta.cta--type2 .cta__button {
    text-wrap: nowrap;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    font-size: 18px;
    font-weight: 600;
    gap: 16px;
}
.offer--type2--new .cta.cta--type2 .cta__button a:first-child {
    background-color: #fff;
    color: #000;
}
.offer--type2--new .cta.cta--type2 .cta__button a {
    margin: 0 !important;
}
.offer--type2--new .cta.cta--type2 .cta__button a:nth-child(2) {
    border-color: #fff;
    color: #fff;
}
.offer--type2--new .cta.cta--type2 .cta__button a {
    margin: 0 !important;
}
.hero__image-main svg {
    height: auto;
    width: auto;
}
.hero.hero--front {
    position: relative;
}
.hero.hero--front>.container {
    position: relative;
}
.hero__burger-wrap {
    position: relative;
    z-index: 30;
}
.hero.hero--front .breadcrumbs {
    left: 14px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 20;
}
.hero.hero--front .breadcrumbs nav {
    margin: 0;
}
.hero--front .title__inner {
    padding-top: 95px!important;
}
.hero--front .title h1 {
    max-width: 890px;
	font-size: 64px;
    font-weight: 600;
    line-height: 112%;
    margin-bottom: 32px;
}
.title__inner .hero-title__accent {
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(94.81deg, #fa8026 -1.43%, #f7b432 126.29%);
    background-repeat: repeat;
    background-size: 100%;
    color: #fb8227;
}
.hero--front .hero__image {
    height: 100%;
    left: auto;
    max-width: none;
    position: relative;
    right: 85px;
    width: 525px;
    z-index: 1;
}
.hero--front .hero__image .hero__image-main {
    bottom: 0;
    height: auto;
    left: 0;
    position: relative;
    width: 100%;
}
/* Только hero--front (услуги/новые экраны). Не трогать hero--default/job/cases/service. */
.hero--front .hero__image-main img {
    object-fit: fill;
    object-position: top;
    position: relative;
    right: 190px;
    top: 0;
    width: auto;
}
.old_image img {
	right: 0;
}
.hero--front .hero__advantages-item:first-child {
    border-left: 0;
    padding-left: 0;
}
.hero--front .hero__advantages-item:first-child {
    border-left: 0;
    padding-left: 0;
}
.hero--front .hero__advantages-item:nth-child(3) {
    border-right: 0;
}
.hero__advantages-text {
    max-width: 100%;
	width: 100%;
}
.hero__advantages-text span:first-child {
    font-size: 16px;
}
.services__item-icon .svg, .services__item-icon svg {
	height: 96px;
	width: 96px;
}
.services__item--white:hover, .services__item--white > .services__item-middle > .services__item-desc:hover {
	color: #333;
}
.services.new-service .title__inner h2 {
    font-size: 64px;
    line-height: 1.2;
    max-width: none;
}
.services--dark .title__inner {
    max-width: 1100px;
}
.services.services--dark .title__inner h2 {
    font-size: 64px;
    line-height: 1.2;
    max-width: none;
}
.block--grey {
    background: #f5f6f8!important;
}
/* Мобильные стили */
@media (max-width: 767px) {
    .page-rating {
        width: 100%;
        justify-content: flex-start;
    }
	.ga__cta {
        flex-direction: column-reverse;
    }
    .case-adv-wide__result {
        margin-bottom: 20px;
        margin-left: -35px;
    }
	.case-adv-wide__result > .aic {
		justify-content: center;
	}
	.offer .title {
        max-width: 100%;
        width: 100%;
    }
	.services.new-service .title__inner h2 {
        font-size: 28px;
        line-height: 1.12;
    }
}
@media (max-width: 600px) {
	.hero--front .title h1 {
		max-width: 100%;
		font-size: 32px;
	}
    .offer--type2--new .offer--type2-grid-outer {
        gap: 4px;
    }
	.offer--type2--new .offer--type2-grid-bp {
        gap: 4px;
        grid-template-columns: 100%;
    }
	.offer--type2--new .cta.cta--type2 .cta__button {
        flex-direction: column !important;
    }
	.offer--type2--new .cta.cta--type2 .cta__button a.btn {
        width: 100% !important;
    }
	.offer--type2--new .cta.cta--type2 .cta__button a.btn {
        width: 100% !important;
    }
	.offer--type2--new .title .title__inner h2 {
        font-size: 28px;
    }
	.title__text, .title__text p {
        font-size: 16px;
        line-height: 20px;
    }
	.btn {
        font-size: 16px!important;
    }
	.main-image-hero {
		width: 100%;
		height: 250px;
	}
	.hero--front .hero__image-main img {
		position: inherit;
	}
	.hero:not(.hero--cases) .hero__image-main {
        margin-bottom: 0;
    }
	.hero--front .hero__advantages-item {
		padding: 15px 0;
	}
	.services.services--dark .title__inner h2 {
		font-size: 28px;
	}
}
@media (max-width: 980px) {
    .offer--type2--new .offer--type2-grid-outer {
        gap: 12px;
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
    }
	.offer--type2--new .title .title__inner h2 {
        font-size: 40px;
        margin-bottom: 32px;
    }
}
@media (max-width: 999px) and (min-width: 768px) {
    .hero .hero__advantages-inner {
        gap: 16px;
        padding: 18px 0;
    }
	.hero .hero__advantages-item:first-child .hero__advantages-item-inner, .hero .hero__advantages-item:nth-child(2) .hero__advantages-item-inner {
        border-bottom: 1px solid rgba(29, 29, 29, .102);
        padding-bottom: 16px;
    }
	.hero .hero__advantages-item-inner {
        min-width: 100%;
    }
	.hero--front>.container>.row>div[class*=col] {
        width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		flex: 0 0 100%;
    }
	.services.services--dark .title__inner h2 {
		font-size: 40px;
	}
}
@media (max-width: 1023px) {
    .cta--type2 .cta__text {
        font-size: 16px;
        line-height: 21px;
    }
	.hero {
        margin-bottom: 0px;
    }
	.hero--front .hero__image {
        width: 100%;
        right: 0;
    }
	.hero__left {
        margin-bottom: 0px;
    }

	.hero-serm__container {
		padding: 32px 20px 64px;
	}
	.hero-front__container {
		padding: 32px 20px 0;
	}
	.hero__advantages .container {
        padding-left: 15px;
        padding-right: 15px;
    }
	.hero__advantages-item {
        justify-content: start;
    }
	.hero__advantages-item {
		border-right: 0;
        border-left: 0;
        padding: 0;
        width: 100%;
    }
	.hero--front .hero__image-main img {
		top: 4px;
	}
	.services.new-service .row > div:nth-child(-n+4) {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.services.new-service .row > div:nth-child(5) {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero .hero__advantages-inner {
        gap: 16px;
        padding: 18px 0;
    }
	.hero .hero__advantages-item:first-child .hero__advantages-item-inner, .hero .hero__advantages-item:nth-child(2) .hero__advantages-item-inner {
        border-right: 1px solid rgba(29, 29, 29, .102);
        padding-bottom: 0;
        padding-right: 15px;
		border-bottom: 0;
    }
	.hero--front .hero__left {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
    }
	.hero .hero__advantages-item-inner {
        min-width: 100%;
    }
	.hero--front .title h1 {
        font-size: 48px;
        line-height: 48px;
    }
	.services.new-service .title__inner h2 {
		font-size: 48px;
		line-height: 1.2;
		max-width: none;
	}
}
@media (min-width: 1024px) {
	.services.new-service .row > div[class*="col"] {
            margin-bottom: 24px;
	}
	.services.new-service .row > div:nth-child(-n+4) {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.services.new-service .row > div:nth-child(5) {
		flex: 0 0 100%;
		max-width: 100%;
	}
    .hero.hero--front>.container>.row {
        align-items: stretch;
    }
	.hero--front .hero__image {
        flex: 1 1 auto;
        height: 100%;
        left: 0 !important;
        max-width: none;
        position: relative;
        right: 0 !important;
        width: 100% !important;
        z-index: 1;
    }
	.hero--front .hero__image-main {
        bottom: auto !important;
        height: 100% !important;
        left: auto !important;
        margin: 0 !important;
        max-height: none !important;
        max-width: none !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: max-content !important;
    }
	.hero--front .main-image-hero {
        height: 100% !important;
    }
	.hero--front .main-image-hero img {
        display: block;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover;
        object-position: center;
        width: auto !important;
    }
	.services.services--dark .title__inner h2 {
		font-size: 48px;
	}
}
@media (max-width: 1100px) {
	.hero-serm__container {
		padding: 32px 32px 64px;
	}
	.hero-front__container {
		padding: 32px 32px 0;
	}
    .offer--type2--new .offer--type2-grid-bp {
        gap: 8px;
    }
	.offer--type2--new .offer__item-text {
        font-size: 16px;
    }
	.offer--type2--new .cta.cta--type2 {
        padding: 24px;
    }
	.offer--type2--new .cta.cta--type2 .cta__title {
        font-size: 26px;
    }
	.offer--type2--new .cta.cta--type2 .cta__button {
        font-size: 14px;
        gap: 8px;
    }
	.offer--type2--new .title .title__inner h2 {
        font-size: 48px;
        margin-bottom: 48px;
    }
}
@media (max-width: 1400px) {
    .offer .title {
        max-width: 530px;
    }
	.services__item-icon .svg, .services__item-icon svg {
        height: 64px;
        width: 64px;
    }
}
@media (min-width: 1000px) and (max-width: 1439px) {
    .hero .hero__left {
        padding-top: 60px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero--front .hero__btns {
        max-width: 400px;
    }
}

/* Большие карточки кейса (case-big / case-big-card): клик по всей области.
   Ссылка в конце DOM, чтобы .cases--new .big-case > *:first-child снова задавал отступы блоку .big-case-info.
   Сброс margin/padding — иначе правило для прямых потомков .big-case даёт ссылке боковые поля и ломает оверлей. */
.big-case--clickable {
    position: relative;
}

.big-case--clickable > .big-case__full-link {
    position: absolute;
    inset: 0;
    z-index: 30;
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.big-case--clickable > .big-case__full-link:focus-visible {
    outline: 2px solid #fb8227;
    outline-offset: 3px;
}

/* Ховер кнопки при наведении на карточку: поверх лежит ссылка, сам .btn не получает :hover */
.big-case--clickable:hover .big-case-info__action .btn,
.big-case--clickable:focus-within .big-case-info__action .btn {
    background-color: #fb8227;
    color: #ffffff;
    border-color: #fb8227;
}

.big-case--clickable:hover .big-case-info__action .btn > svg,
.big-case--clickable:hover .big-case-info__action .btn > .svg,
.big-case--clickable:focus-within .big-case-info__action .btn > svg,
.big-case--clickable:focus-within .big-case-info__action .btn > .svg {
    fill: #ffffff;
}

.big-case--clickable:hover .big-case-info__action .btn svg path,
.big-case--clickable:focus-within .big-case-info__action .btn svg path {
    fill: #ffffff;
}

/* Блок «Комментарий SEO-специалиста» на странице кейса (single-case) */
.specialist__comment-inner {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

/* /contacts/ — контакты сразу под hero, карта с отступами вместо cols */
.main--contacts .cols {
    padding-top: 0;
}

.page-id-173 .landing-section .landing-content {
    overflow: hidden;
    padding: 0 0 0 2px;
}

.main--contacts .ymap {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 767px) {
    .main--contacts .ymap {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

