html {
    font-family: "Gilroy";
    color: #262A30;
}

p, li {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.seo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
   background: linear-gradient(to bottom,#fff 0%,#fff 80%, rgba(255, 255, 255, 0) 100%);
}

/*связаться с нами - начало */
.contact-us__container {
    max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 116px auto;

}

.contact-us__wrapper {
    padding: 40px;
    border-radius: 20px;
    background-color: #C1252B;
    background-image: url(/local/templates/optimizeseo/images/contact_us/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.contact-us__title {
    font-weight: 600;
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.contact-us__content {
    padding: 12px 32px;
    border-radius: 12px;
    background: #fff;
    width: fit-content;
    display: flex;
    gap: 40px;
}

.contact-us__item {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: 0.2s ease;
    color: #262A30;
}

.contact-us__item svg {
    margin: 0 8px 0 0;
}

.contact-us__item:hover {
    opacity: 0.8;
    transform: translateX(5px);
}
/* Contact block: responsive layout. */
.contact-us__container {
    box-sizing: border-box;
}
.contact-us__content {
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.contact-us__item {
    min-width: 0;
}
.contact-us__item svg {
    flex: 0 0 24px;
}
@media (max-width: 900px) {
    .contact-us__container {
        margin-bottom: 80px;
    }
    .contact-us__wrapper {
        padding: 32px;
    }
    .contact-us__content {
        gap: 12px 24px;
        padding: 12px 24px;
    }
    .contact-us__item {
        min-height: 44px;
    }
}
@media (max-width: 600px) {
    .contact-us__container {
        padding: 0 20px;
        margin-bottom: 64px;
    }
    .contact-us__wrapper {
        padding: 24px;
        border-radius: 16px;
        background-image: none;
    }
    .contact-us__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }
    .contact-us__content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px 12px;
        padding: 12px 16px;
    }
    .contact-us__item[href^="tel:"] {
        grid-column: 1 / -1;
        white-space: nowrap;
    }
    .contact-us__item:hover {
        transform: none;
    }
}

@media (max-width: 360px) {
    .contact-us__content {
        grid-template-columns: 1fr;
    }
}

/*связаться с нами - конец */

/*продвижение сайтов - начало  */
.website-promotion-services {
    margin: 0 0 120px 0;
    background-color: #F5F5F5;
    background-image: url(/local/templates/optimizeseo/images/website_promotion_services/bg.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}

.website-promotion-services__container {
    max-width: 1488px;
    width: 100%;
    padding: 100px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.website-promotion-services__content {
    max-width: 700px;
    width: 100%;
    margin: 0 40px 0 0;
}

.website-promotion-services__content h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.website-promotion-services__subtitle {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
}

.website-promotion-services__subtitle span {
    color: #C1252B;
}

.text-divider {
    max-width: 48px;
    height: 4px;
    background: #C3252D;
    border-radius: 2px;
    margin: 20px 0;
}

.website-promotion-services__content p:not(.website-promotion-services__subtitle) {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.website-promotion-services__group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 0 0;
}

.website-promotion-services__item {
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px 20px 20px;
}

.website-promotion-services__item-ico {
    margin: 0 0 24px 0;
}

.website-promotion-services__item-title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.website-promotion-services__item-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.website-promotion-services__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

/* Website promotion: responsive layout. */
.website-promotion-services__container {
    box-sizing: border-box;
}
.website-promotion-services__content,
.website-promotion-services__img,
.website-promotion-services__item {
    min-width: 0;
}
.website-promotion-services__item-ico img {
    display: block;
    max-width: 100%;
    height: auto;
}
@media (max-width: 1100px) {
    .website-promotion-services {
        margin-bottom: 80px;
    }
    .website-promotion-services__container {
        flex-direction: column;
        gap: 32px;
        padding: 64px 24px;
    }
    .website-promotion-services__content {
        max-width: none;
        margin-right: 0;
    }
    .website-promotion-services__img {
        width: 100%;
        max-width: 520px;
        align-self: center;
    }
    .website-promotion-services__img img {
        display: block;
        width: 100%;
        height: auto;
    }
}
@media (max-width: 600px) {
    .website-promotion-services {
        margin-bottom: 64px;
        background-image: none;
    }
    .website-promotion-services__container {
        padding: 48px 20px;
        gap: 28px;
    }
    .website-promotion-services__content h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .website-promotion-services__subtitle {
        font-size: 24px;
        line-height: 32px;
    }
    .website-promotion-services__group {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }
    .website-promotion-services__item {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 4px;
        align-items: center;
        padding: 16px;
    }
    .website-promotion-services__item-ico {
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
    }
    .website-promotion-services__item-ico img {
        width: 56px;
        height: 56px;
        object-fit: contain;
    }
    .website-promotion-services__item-title {
        grid-column: 2;
        font-size: 18px;
        line-height: 24px;
        margin: 0;
    }
    .website-promotion-services__item-text {
        grid-column: 2;
    }
    .website-promotion-services__img {
        max-width: 360px;
    }
}

/*продвижение сайтов - конец  */

/* Тарифы на SEO-продвижение - начало */
.tariffs__container {
    max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 120px auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tariffs__item-main h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    text-transform: uppercase;
}

.tariffs__item-main p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.tariffs__item {
   padding: 20px;
   border-radius: 20px;
   border: 1px solid #C3252D; 
   display: flex;
   flex-direction: column;
}

.tariffs__item-header {
    display: flex;
    margin: 0 0 20px 0;
}

.tariffs__item-ico {
    width: 64px;
    height: 64px;
    margin: 0 12px 0 0;
}

.tariffs__item-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tariffs__text-bold {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.tariffs__item-title p:not(.tariffs__text-bold) {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.tariffs__item-price {
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.tariffs__item-price span {
    font-weight: 600;
    color: #C3252D;
}

.tariffs__item-content {
    padding: 12px 0 0 0;
    border-top: 1px solid #CCC7CC;
    margin: 0 0 36px 0;
}

.tariffs__item-content p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
}

.tariffs__item-order-btn {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    padding: 8px;
    max-width: 200px;
    width: 100%;
    color: #fff;
    background: #C3252D;
    border-radius: 40px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.2s ease;
    cursor: pointer;
}

.tariffs__item-order-btn:hover {
    transform: scale(1.04);
}

.tariffs__item-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.tariffs__item-content ul li {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin: 0 0 16px 0;
    padding: 0 0 0 32px;
    position: relative;
}

.tariffs__item-content ul li::before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 0;
    background: url(/local/templates/optimizeseo/images/tariffs/li-marker.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.tariffs__item-content ul li:last-child {
    margin: 0;
}

.tariffs__item-order-btn-holder {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

/* Home tariffs: responsive layout. */
.tariffs--home .tariffs__container {
    box-sizing: border-box;
}
.tariffs--home .tariffs__item-main,
.tariffs--home .tariffs__item,
.tariffs--home .tariffs__item-title {
    min-width: 0;
}
.tariffs--home .tariffs__item-main img {
    display: block;
    max-width: 100%;
    height: auto;
}
.tariffs--home .tariffs__item {
    box-sizing: border-box;
}
.tariffs--home .tariffs__item-ico {
    flex: 0 0 64px;
}
.tariffs--home .tariffs__text-bold {
    overflow-wrap: anywhere;
}
.tariffs--home .tariffs__item-order-btn {
    box-sizing: border-box;
}
@media (max-width: 1200px) {
    .tariffs--home .tariffs__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 80px;
    }
    .tariffs--home .tariffs__item-main img {
        max-width: 320px;
    }
}
@media (max-width: 900px) {
    .tariffs--home .tariffs__item-main h2 {
        font-size: 30px;
        line-height: 38px;
    }
    .tariffs--home .tariffs__item-order-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }
}
@media (max-width: 640px) {
    .tariffs--home .tariffs__container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-bottom: 64px;
    }
    .tariffs--home .tariffs__item-main h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .tariffs--home .tariffs__item-main img {
        max-width: 240px;
        margin: 0 auto;
    }
    .tariffs--home .tariffs__item {
        padding: 20px;
        border-radius: 16px;
    }
    .tariffs--home .tariffs__item-ico {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .tariffs--home .tariffs__text-bold {
        font-size: 22px;
        line-height: 28px;
    }
    .tariffs--home .tariffs__item-content {
        margin-bottom: 24px;
    }
    .tariffs--home .tariffs__item-content ul li {
        padding-left: 28px;
    }
    .tariffs--home .tariffs__item-order-btn {
        max-width: none;
    }
    .tariffs--home .tariffs__item-order-btn:hover {
        transform: none;
    }
}

/*Тарифы на SEO-продвижение - конец*/

/* всплывающая форма - начало */
.seo-modal-form {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.seo-modal-form__container {
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-form {
    max-width: 350px;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(to top right, #EBECF1, #D0D3DC);
    position: relative;
}

.callback-form__close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.callback-form__close::after,
.callback-form__close::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #262A30;
}

.callback-form__close::after {
    top: 9px;
    transform: rotate(45deg);
}

.callback-form__close::before {
    bottom: 9px;
    transform: rotate(135deg);
}

.callback-form__logo {
    display: flex;
    justify-content: center;
    margin: 0 0 10px 0;
}

.callback-form__title {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.callback-form__field {
    margin: 0 0 12px 0;
}


.callback-form__field input {
    outline: none;
    border: none;
    display: block;
    width: 100%;
    height: 44px;
    padding: 12px 20px;
    border-radius: 20px;
    background: #fff;
}

.callback-form__field textarea {
    outline: none;
    border: none;
    display: block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 20px;
    background: #fff;
    resize: none;
}

.callback-form__submit {
    border: none;
    outline: none;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #C3252D;
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
}

.callback-form__word-limit {
    text-align: right;
    font-size: 12px;
    margin: 0 20px 0 0;
}

.callback-form__policy {
    margin: 0 0 12px 0;
    position: relative;
}

.callback-form__policy p {
    font-size: 12px;
    line-height: 16px; 
    padding: 0 0 0 30px;    
}

.callback-form__policy-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #CCC7CC;
    cursor: pointer;
    border-radius: 4px;
}

.callback-form__policy-checkbox.is-checked {
    border: 2px solid #C3252D;
    background: #C3252D;
}

.callback-form__submit:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


.callback-form__error p,
.callback-form__success p {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin: 18px 0 0 0;
}

.callback-form__error p {
    color: #C3252D;
}

.callback-form__success p {
    color: #355E3B;
}
/* всплывающая форма - конец */

/*Что входит в услугу «Продвижение сайта» - начало*/
.service-include {
    margin: 0 0 120px 0;
    background-color: #F5F5F5;
    background-image: url(/local/templates/optimizeseo/images/service_include/bg.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.service-include__container {
    max-width: 1488px;
    width: 100%;
    padding: 100px 24px;
    margin: 0 auto;
}

.service-include__container h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-include__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 40px 0 0 0;
}

.service-include__content-item {
    padding: 20px;
    border-radius: 28px;
    border: 1px solid #fff;
    box-shadow:
        inset -30px 0 25px -25px rgba(255, 255, 255, 0.9),
        inset 0 -30px 25px -25px rgba(255, 255, 255, 0.9);
}

.service-include__content-item-inner {
    background: #fff;
    border-radius: 20px;
    padding: 48px 32px 32px 32px;
}

.service-include__content-item-top {
    display: flex;
}

.service-include__content-item-ico {
    width: 80px;
    height: 80px;
    margin: 0 20px 0 0;
}

.service-include__content-item-ico img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-include__content-item-title {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
}

.service-include__content-item-title span{
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.service-include__content-item-content {
    margin: 32px 0 0 0;
}

.service-include__content-item-content ul {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.service-include__content-item-content ul li {
    padding: 0 0 0 40px;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    position: relative;
}

.service-include__content-item-content ul li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url(/local/templates/optimizeseo/images/service_include/check-box.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top:3px;
    left: 0;
}

.service-include__content-item-content ul li:last-child {
    margin: 0;
}

.service-include__content-item-btn {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    padding: 8px;
    max-width: 200px;
    width: 100%;
    color: #fff;
    background: #C3252D;
    border-radius: 40px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.2s ease;
    cursor: pointer;
}

.service-include__content-item-btn:hover {
    transform: scale(1.04);
}

.service-include__content-item-all {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.service-include__content-item-all-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: inherit;
    height: inherit;
}

.service-include__content-item-all-box {
    max-width: 1480px;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    position: relative;
}

.service-include__content-item-all-box-close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.service-include__content-item-all-box-close::before,
.service-include__content-item-all-box-close::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #262A30;
}

.service-include__content-item-all-box-close::before {
    bottom: 9px;
    transform: rotate(135deg);
}

.service-include__content-item-all-box-close::after {
    top: 9px;
    transform: rotate(45deg);
}


.service-include__content-item-all-box p{
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
}

.service-include__content-item-all-box ul {
    margin: 20px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-include__content-item-all-box ul li {
    padding: 0 0 0 40px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    position: relative;
}

.service-include__content-item-all-box ul li:last-child {
    margin: 0;
}
/* Home service contents: responsive cards and full lists. */
.service-include--home .service-include__container,
.service-include--home .service-include__content-item,
.service-include--home .service-include__content-item-inner,
.service-include--home .service-include__content-item-btn,
.service-include--home .service-include__content-item-all-wrapper,
.service-include--home .service-include__content-item-all-box {
    box-sizing: border-box;
}
.service-include--home .service-include__content-item {
    display: flex;
    min-width: 0;
}
.service-include--home .service-include__content-item-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}
.service-include--home .service-include__content-item-title {
    min-width: 0;
}
.service-include--home .service-include__content-item-ico {
    flex: 0 0 80px;
}
.service-include--home .service-include__content-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-include--home .service-include__content-item-btn {
    margin-top: auto;
}
.service-include--home .service-include__content-item-all {
    z-index: 1001;
}
.service-include--home .service-include__content-item-all-wrapper {
    padding: 20px;
}
.service-include--home .service-include__content-item-all-box {
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
@media (max-width: 1100px) {
    .service-include--home .service-include__content-item-inner {
        padding: 32px 24px;
    }
    .service-include--home .service-include__content-item-title {
        font-size: 28px;
        line-height: 36px;
    }
}
@media (max-width: 900px) {
    .service-include--home {
        margin-bottom: 80px;
    }
    .service-include--home .service-include__container {
        padding: 64px 24px;
    }
    .service-include--home .service-include__content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-include--home .service-include__content-item-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 44px;
    }
    .service-include--home .service-include__content-item-all-box ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-include--home .service-include__content-item-all-box-close {
        position: sticky;
        top: 0;
        right: auto;
        width: 44px;
        height: 44px;
        margin-left: auto;
        background: #fff;
        border-radius: 50%;
        z-index: 1;
    }
    .service-include--home .service-include__content-item-all-box-close::before,
    .service-include--home .service-include__content-item-all-box-close::after {
        width: 20px;
        left: 12px;
        top: 21px;
        bottom: auto;
    }
}
@media (max-width: 600px) {
    .service-include--home {
        margin-bottom: 64px;
        background-image: none;
    }
    .service-include--home .service-include__container {
        padding: 48px 20px;
    }
    .service-include--home .service-include__container h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .service-include--home .service-include__content {
        margin-top: 28px;
        gap: 16px;
    }
    .service-include--home .service-include__content-item {
        padding: 8px;
        border-radius: 24px;
    }
    .service-include--home .service-include__content-item-inner {
        padding: 20px;
        border-radius: 16px;
    }
    .service-include--home .service-include__content-item-top {
        flex-direction: column;
        gap: 12px;
    }
    .service-include--home .service-include__content-item-ico {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        margin: 0;
    }
    .service-include--home .service-include__content-item-title {
        font-size: 22px;
        line-height: 28px;
    }
    .service-include--home .service-include__content-item-title span {
        margin-top: 8px;
        font-size: 14px;
        line-height: 20px;
    }
    .service-include--home .service-include__content-item-content {
        margin-top: 24px;
    }
    .service-include--home .service-include__content-item-content ul {
        margin: 0 0 24px;
    }
    .service-include--home .service-include__content-item-content ul li {
        padding-left: 28px;
        margin-bottom: 16px;
    }
    .service-include--home .service-include__content-item-btn {
        max-width: none;
    }
    .service-include--home .service-include__content-item-btn:hover {
        transform: none;
    }
    .service-include--home .service-include__content-item-all-wrapper {
        padding: 12px;
    }
    .service-include--home .service-include__content-item-all-box {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 16px;
    }
    .service-include--home .service-include__content-item-all-box p {
        font-size: 22px;
        line-height: 28px;
    }
    .service-include--home .service-include__content-item-all-box ul {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-include--home .service-include__content-item-all-box ul li {
        padding-left: 28px;
    }
}
@media (max-width: 360px) {
    .service-include--home .service-include__content-item-title {
        font-size: 20px;
        line-height: 28px;
    }
}

/*Что входит в услугу «Продвижение сайта» - конец*/ 

/*Как мы работаем - начало*/
.how-we-work__container {
    max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 120px auto;
}

.how-we-work__container h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.how-we-work__tabs-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(38, 42, 48, 0.2);
}

.how-we-work__tabs-list-item {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    padding: 0 0 10px 0;
    cursor: pointer;
}

.how-we-work__tabs-content {
    margin: 40px 0 0 0;
}

.how-we-work__tabs-list-item.active {
   color: #C3252D; 
   position: relative;
}

.how-we-work__tabs-list-item.active::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #C3252D;
    bottom: -2px;
    left: 0;
}

.how-we-work__tabs-group {
    background: #C3252D;
    border-radius: 20px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px;
    overflow: hidden;
    background-image: url(/local/templates/optimizeseo/images/how_we_work/bg.png);
    background-position: -170px -55px;
    background-repeat: no-repeat;
    background-size: 506px 506px;
}

.how-we-work__tabs-group-item{
    flex: 0 0 80%;
    display: none;
}

.how-we-work__tabs-group-item.active {
    display: block;
}

.inner-page .how-we-work__tabs-group-item {
    flex: 0 0 100%;
}

.alt-block .how-we-work__tabs-group-item {
    flex: 0 0 80%;
}

.how-we-work__tabs-group-item-title {
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px 0;
}

.how-we-work__tabs-group-item-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #fff;
}
/* Home work stages: mobile Swiper. */
.how-we-work--home .how-we-work__container,
.how-we-work--home .how-we-work__tabs-group,
.how-we-work--home .how-we-work__tabs-group-item {
    box-sizing: border-box;
    min-width: 0;
}
.how-we-work--home .how-we-work__pagination { display: none; }
@media (max-width: 1100px) {
    .how-we-work--home .how-we-work__tabs-group {
        height: auto;
        min-height: 280px;
        padding: 32px;
        background-position: -240px center;
    }
    .how-we-work--home .how-we-work__tabs-group-item { flex-basis: 100%; }
    .how-we-work--home .how-we-work__tabs-group-item-title {
        font-size: 28px;
        line-height: 36px;
    }
}
@media (max-width: 900px) {
    .how-we-work--home .how-we-work__container { margin-bottom: 80px; }
    .how-we-work--home .how-we-work__tabs-list-item {
        font-size: 20px;
        line-height: 28px;
        white-space: nowrap;
        padding: 8px 0;
    }
    .how-we-work--home .how-we-work__tabs-content { margin-top: 28px; }
    .how-we-work--home .how-we-work__tabs-group { background-image: none; }
}
@media (max-width: 575px) {
    .how-we-work--home .how-we-work__container {
        padding: 0 20px;
        margin-bottom: 64px;
    }
    .how-we-work--home .how-we-work__container h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 28px;
    }
    .how-we-work--home .how-we-work__tabs-list { display: none; }
    .how-we-work--home .how-we-work__tabs-content {
        width: 100%;
        margin-top: 0;
        overflow: hidden;
    }
    .how-we-work--home .how-we-work__tabs-group {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 0;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: none;
        overflow: visible;
    }
    .how-we-work--home .how-we-work__tabs-group-item {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        padding: 24px;
        border-radius: 16px;
        background: #c3252d;
    }
    .how-we-work--home .how-we-work__tabs-group-item::before {
        content: attr(data-stage-id) " этап";
        display: block;
        margin-bottom: 16px;
        color: #fff;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        opacity: .8;
    }
    .how-we-work--home .how-we-work__tabs-group-item-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 16px;
    }
    .how-we-work--home .how-we-work__tabs-group-item-text {
        font-size: 16px;
        line-height: 24px;
    }
    .how-we-work--home .how-we-work__pagination {
        display: block;
        position: static;
        margin-top: 20px;
        text-align: center;
    }
    .how-we-work--home .how-we-work__pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 5px;
        background: #c5c5c5;
        opacity: 1;
    }
    .how-we-work--home .how-we-work__pagination .swiper-pagination-bullet-active {
        width: 24px;
        border-radius: 10px;
        background: #c3252d;
    }
}

@media (max-width: 575px) {
    .how-we-work--home .how-we-work__tabs-navigation {
        width: 100%;
        overflow: hidden;
    }
    .how-we-work--home .how-we-work__tabs-list {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        border-bottom: 0;
    }
    .how-we-work--home .how-we-work__tabs-list-item {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: auto;
        min-height: 44px;
        padding: 8px 12px;
        font-size: 18px;
        line-height: 28px;
    }
    .how-we-work--home .how-we-work__tabs-list-item.active::before {
        bottom: 0;
    }
    .how-we-work--home .how-we-work__tabs-content {
        margin-top: 20px;
    }
    .how-we-work--home .how-we-work__tabs-group-item::before {
        display: none;
    }
}

/* All mobile stage cards stretch to the tallest slide. */
@media (max-width: 575px) {
    .how-we-work--home .how-we-work__tabs-group {
        height: auto;
        align-items: stretch;
    }
    .how-we-work--home .how-we-work__tabs-group-item {
        height: auto;
    }
}

/*Как мы работаем - конец*/

/*Наши преимущества - начало*/
.our-benefits {
    margin:0 0 120px 0 ;
    background-color: #F5F5F5;
    background-image: url(/local/templates/optimizeseo/images/our_benefits/bg.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}

.our-benefits__container {
    max-width: 1488px;
    width: 100%;
    padding: 100px 24px;
    margin: 0 auto;
}

.our-benefits__container h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    text-transform: uppercase; 
    margin: 0 0 40px 0;
}

.our-benefits__group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.our-benefits__item {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
}

.our-benefits__item-top {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 40px 0;
}

.our-benefits__item-top img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.our-benefits__item-big-text {
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.our-benefits__item-text {
    font-size: 14px;
    line-height: 20px;
}

/* Home benefits: responsive grid and equal card heights. */
.our-benefits--home .our-benefits__container,
.our-benefits--home .our-benefits__item {
    box-sizing: border-box;
}
.our-benefits--home .our-benefits__group {
    grid-auto-rows: 1fr;
}
.our-benefits--home .our-benefits__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.our-benefits--home .our-benefits__item-top {
    flex-shrink: 0;
}
.our-benefits--home .our-benefits__item-text {
    margin: 0;
}
@media (max-width: 1200px) {
    .our-benefits--home .our-benefits__group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .our-benefits--home .our-benefits__item {
        padding: 28px;
    }
}
@media (max-width: 900px) {
    .our-benefits--home {
        margin-bottom: 80px;
    }
    .our-benefits--home .our-benefits__container {
        padding: 64px 24px;
    }
    .our-benefits--home .our-benefits__item-top {
        margin-bottom: 28px;
    }
    .our-benefits--home .our-benefits__item-top img {
        width: 100px;
        height: 100px;
    }
    .our-benefits--home .our-benefits__item-big-text {
        font-size: 26px;
        line-height: 32px;
    }
}
@media (max-width: 640px) {
    .our-benefits--home {
        margin-bottom: 64px;
        background-image: none;
    }
    .our-benefits--home .our-benefits__container {
        padding: 48px 20px;
    }
    .our-benefits--home .our-benefits__container h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 28px;
    }
    .our-benefits--home .our-benefits__group {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .our-benefits--home .our-benefits__item {
        padding: 24px;
        border-radius: 16px;
    }
    .our-benefits--home .our-benefits__item-top {
        margin-bottom: 24px;
    }
    .our-benefits--home .our-benefits__item-top img {
        width: 80px;
        height: 80px;
    }
    .our-benefits--home .our-benefits__item-big-text {
        font-size: 24px;
        line-height: 30px;
    }
}

/*Наши преимущества - конец*/

svg {
    overflow: visible;
}

/* Внутренние страницы(общий шаблон) - начало */
.inner-page__container {
    max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 50px auto;
}

.inner-page__container h1 {
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

.inner-page__group-content {
    display: flex;
    flex-wrap: nowrap;
}

.inner-page__group-main {
    flex: 0 0 55%;
    padding: 0 20px 0 0;
}

.inner-page__group-side {
    flex: 0 0 45%;
}

.inner-page ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.inner-page ul li {
    padding: 0 0 0 25px;
    position: relative;
}

.inner-page ul li:not(.tariffs__item-content li)::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 14px;
    height: 14px;
    background: url(/local/templates/optimizeseo/images/li-dot.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Внутренние страницы(общий шаблон) - конец */

.inner-page--about .our-benefits__container {
    padding: 24px;
}

.inner-page--about .our-benefits {
    margin: 0;
    border-radius: 24px;
    background-image: unset;
}

.inner-page--about .our-benefits__group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inner-page h2 {
    font-size: 28px;
    line-height: 36px;
    text-transform: uppercase;
    margin: 0 0 26px 0;
} 

.inner-page--about .our-benefits__item {
    padding: 22px;
}

.inner-page--about .our-benefits__item-big-text{
    font-size: 20px;
    line-height: 26px;
}

.inner-page .how-we-work__container {
    margin: 0;
    padding: 0;
}

.inner-page .how-we-work__tabs-list-item{
    font-size: 18px;
    line-height: 24px;
    padding: 0 0 5px 0;
}

.inner-page .how-we-work__tabs-content {
    margin: 20px 0 0 0;
}

.inner-page .how-we-work__tabs-group{
    padding: 20px;
    height: 290px;
}

.inner-page .tariffs__container {
    display: block;
    padding: 0;
    margin: 0 0 40px 0;
}

.inner-page .tariffs__group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.order-from-us__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.order-from-us__item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px;
    border-radius: 12px;
    background: #f7f7f7;
}

.order-from-us__item-ico {
    flex: 0 0 100px;
}

.order-from-us__item-content {
    flex: 0 0 calc(100% - 100px);
    padding: 0 0 0 20px;
}

.order-from-us__item-name {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: #a91c24;
    margin: 0 0 10px 0;
}

.order-from-us__item-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.order-from-us__container {
    margin: 0 0 40px 0;
}

.alt-block .how-we-work__container {
    margin: 0 0 40px 0;
}

.soft-and-tech__container {
    margin: 0 0 40px 0;
}

.soft-and-tech__group {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.soft-and-tech__item {
    padding: 20px;
    border-radius: 12px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soft-and-tech__item img {
    max-height: 130px;
    width: auto;
    object-fit: contain;
}

.advantages__group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.advantages__item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.advantages__item-img {
    flex: 0 0 120px;
    height: 120px;
}

.advantages__item-text {
    padding: 0 0 0 20px;
    font-size: 18px;
    font-weight: 500;
}

.advantages__container,
.advantages-list__container {
    margin: 0 0 40px 0;
}

.advantages-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.advantages-list ul li {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 60px;
    border-radius: 12px;
    background: #f7f7f7;
    position: relative;
}

.advantages-list ul li::after{
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    left: 20px;
    background: url(/local/templates/optimizeseo/images/tariffs/li-marker.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.advantages-list ul li::before {
    display: none;
}

.advantages-list ul b {
    margin: 0 10px 0 0;
    font-size: 30px;
    color: #c3252d;
}

.advantage-include__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.advantage-include__item {
    display: flex;
    flex-wrap: nowrap;
}

.advantage-include__item-number {
    flex: 0 0 50px;
    font-size: 90px;
    line-height: 1;
    color: #c3252d;
}

.advantage-include__item-title {
    margin: 30px 0 20px 0;
}

.advantage-include__item-show-more {
    margin: 20px 0;
    width: fit-content;
    cursor: pointer;
    padding: 0 20px 0 0;
    position: relative;
    color: #c3252d;
    transition: 0.2s ease;
}

.advantage-include__item-show-more:hover {
    opacity: 0.8;
}

.advantage-include__item-show-more::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: calc(50% - 6px);
    right: 0;
    background: url(/local/templates/optimizeseo/images/svg/chevron.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-90deg);
}

.advantage-include__item-text-hidden {
    display: none;
}

.advantage-include__item-content {
    padding: 0 0 0 20px;
}

.advantage-include__item-text-visible {
    min-height: 75px;
}

.advantage-include__container {
    margin: 0 0 40px 0;
}

.inner-page:not(.inner-page--about) .our-benefits {
    margin: 0;
    background-image: unset;
    background-color: unset;
}

.inner-page:not(.inner-page--about) .our-benefits__container {
    padding: 0;
}

.inner-page:not(.inner-page--about) .our-benefits__item {
    background-color: #f7f7f7;
}


/**/
.price__container {
	max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 116px auto;
}

/**/
.razrabotka-saytov__container {
	max-width: 1488px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto 116px auto;
}

/*карта*/
.contacts-location {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.contacts-location,
.contacts-location * {
    box-sizing: border-box;
}

.contacts-location__card {
    position: absolute;
    top: 100px;
    right: 5%;
    z-index: 2;
    max-width: 90%;
    padding: 25px 50px;
    background-color: #fff;
    box-shadow: 0 0 10px #00000080;
    color: #323b44;
}

.contacts-location__address,
.contacts-location__phone,
.contacts-location__mail {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 15px;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 500;
    color: #222;
}

.contacts-location__card > :last-child {
    margin-bottom: 0;
}

.contacts-location__phone a,
.contacts-location__mail a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.contacts-location__phone a:hover,
.contacts-location__mail a:hover,
.contacts-location__phone a:focus-visible,
.contacts-location__mail a:focus-visible {
    color: #c3252d;
}

.contacts-location__address i,
.contacts-location__phone i,
.contacts-location__mail i {
    flex: 0 0 20px;
    width: 20px;
    font-size: 16px;
    text-align: center;
    color: #c3252d;
}

.contacts-location__map {
    width: 100%;
    height: 400px;
}

.contacts-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .contacts-location__card {
        position: relative;
        top: auto;
        right: auto;
        max-width: none;
        width: 100%;
        padding: 24px 20px;
        box-shadow: none;
    }

    .contacts-location__address,
    .contacts-location__phone,
    .contacts-location__mail {
        font-size: 16px;
    }

    .contacts-location__map {
        height: 320px;
    }
}

.kontekstnaya-page .ceny__container {
    margin: 0 auto 60px;
}

.kontekstnaya-page .how-we-work__container {
	padding: 0px;
}

.kontekstnaya-page .how-we-work__container h2 {

}


.img-kejsy__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.img-kejsy__container > * {
    min-width: 0;
    margin: 0;
}

.img-kejsy__container img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
}

@media (max-width: 650px) {
    .img-kejsy__container {
        grid-template-columns: 1fr;
    }
}

.site-inner-page .contact-us {	
    margin: 30px auto 0 auto;

}

.site-inner-title {
	margin-bottom: 30px;
}

  .company-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .company-contacts__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
	max-width: 500px;
  }

  .company-contacts__details {
    min-width: 0;
  }

  .company-contacts__details .site-inner-title {
    margin: 0 0 20px;
  }

  .company-contacts__table {
    width: 100%;
    border-collapse: collapse;
  }

  .company-contacts__table th,
  .company-contacts__table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  .company-contacts__table th {
    width: 40%;
    background: #f7f7f7;
    font-weight: 600;
  }

  @media (max-width: 767px) {
    .company-contacts {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
    }
  }

.inner-page__container.about-page .inner-page__group-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


.inner-page__container.service-page.about-page .our-benefits {
    flex: 0 0 auto;
    width: 100%;
}


.inner-page__container.about-page .about-page__video {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin-top: 24px;
}

.inner-page__container.about-page .about-page__video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Компактный блок преимуществ на странице «О компании» */
.inner-page__container.service-page.about-page .our-benefits {
    padding: 20px;
}

.inner-page__container.service-page.about-page .our-benefits__container {
    padding: 0;
}

.inner-page__container.service-page.about-page .our-benefits__container h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.inner-page__container.service-page.about-page .our-benefits__group {
    gap: 12px;
}

.inner-page__container.service-page.about-page .our-benefits__item {
    padding: 16px;
    border-radius: 14px;
}

.inner-page__container.service-page.about-page .our-benefits__item-top {
    margin-bottom: 12px;
}

.inner-page__container.service-page.about-page .our-benefits__item-top img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.inner-page__container.service-page.about-page .our-benefits__item-big-text {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.inner-page__container.service-page.about-page .our-benefits__item-text {
    font-size: 14px;
    line-height: 1.45;
}


.inner-page__container.about-page .inner-page__group-side {
    justify-content: flex-start;
}

.contacts__container {
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.contacts__content {
    flex: 1;
    min-width: 0;
}

.contacts__image {
    position: relative;
    flex: 0 0 380px;
    overflow: hidden;
    border-radius: 12px;
}

.contacts__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .contacts__container {
        flex-direction: column;
    }

    .contacts__image {
        flex: none;
        height: 280px;
    }
}

.ceny__cards {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.ceny__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.ceny__item-order-btn-holder {
    margin-top: auto;
}
.ceny__item-header {
    min-height: 180px;
}

.context-ads-page .ceny__cards {
    align-items: stretch;
}

.context-ads-page .ceny__item {
    display: flex;
    flex-direction: column;
}

.context-ads-page .ceny__item-price {
    margin-top: auto;
}

.context-ads-page .ceny__item-order-btn-holder {
    flex-grow: 0;
    margin-top: 0;
}