/*
Theme Name: AvidisPlus
Author: MAD.by
Author URI: https://mad.by/
Description: Вёрстка и натяжка шаблона - MAD.by. Для связи: <a href="https://t.me/d9d9_Sun">d9d9_Sun</a>
Version: 0.2
*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-locale: auto;
    white-space: normal;
}

img {
    max-width: 100%;
    height: auto;
}

@font-face {
    font-family: 'Manrope';
    src: url('./fonts/Manrope-VariableFont_wght.ttf');
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('./fonts/Unbounded-VariableFont_wght.ttf');
    font-weight: 200 900;
    font-display: swap;
}

:root {
    --theme-background-homepage:#f1f1f1;
    --theme-background: #f8f8f8;
    --theme-text: #241a1a;
    --theme-text-secondary: #525252;
    --theme-links: #8f2820;
    --theme-accent: #d95533;
    --theme-white: #fff;
    --theme-main-font: 'Manrope';
    --theme-secondary-font: 'Unbounded';
}

.grecaptcha-badge { visibility: hidden; }

html {
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

.container {
    max-width: 1920px;
    padding: 0 300px;
    margin: auto;
}

p {
    margin-bottom: 18px;
}

h1 {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 88px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--theme-text);
    margin-bottom: 44px;
}

h2 {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 56px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: var(--theme-text);
    margin-bottom: 40px;
}

.block-title {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 56px;
    line-height: 113%;
    letter-spacing: -0.01em;
    color: var(--theme-text);
}

.block-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.hero-section {
    background-color: var(--theme-background-homepage);
    padding: 56px 0 80px;
}

.hero-section__preheader {
    font-family: var(--theme-main-font);
    font-weight: 600;
    font-size: 30px;
    line-height: 167%;
    text-transform: uppercase;
    color: var(--theme-text);
    margin-bottom: 32px;
}

.hero-section__preheader span {
    font-weight: 800;
    color: var(--theme-accent);
}

.hero-section__cta {
    display: flex;
}

.hero-section__cta-text {
    font-family: var(--theme-main-font);
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: var(--theme-text-secondary);
}

.hero-section__cta-button {
    min-width: 268px;
    max-width: 268px;
}

.cta-button {
    border-radius: 64px;
    padding: 8px 8px 8px 24px;
    height: 64px;
    background: var(--theme-links);
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    text-transform: uppercase;
    color: var(--theme-white);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover::after {
    background: url('./icons/icon-arrow-cta-button-hover.svg') no-repeat;
}

.cta-button::after {
    content: "";
    background: url('./icons/icon-arrow-cta-button.svg') no-repeat;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
    transition: all 0.2s ease-in-out;
}

header {
    height: 120px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    background-color: var(--theme-white);
}

.home header,
.page-template-template-uslugi header,
.page-template-template-about header,
.page-template-template-portfolio header {
    background-color: var(--theme-background-homepage);
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 120px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#menu-header-main {
    list-style: none;
    display: flex;
    gap: 32px;
    font-size: 18px;
    font-family: var(--theme-main-font);
}

#menu-header-main a {
    text-decoration: none;
    color: var(--theme-text);
    transition: all 0.2s ease-in-out;
}

#menu-header-main a:hover,
#menu-header-main .menu-item-has-children:hover > a {
    color: var(--theme-accent);
}

#menu-header-main .menu-item-has-children {
    position: relative;
}

#menu-header-main .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 48px;
    pointer-events: auto;
}

#menu-header-main .menu-item-has-children a {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

#menu-header-main > .menu-item-has-children > a::after {
    content: '';
    width: 13px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.33337 1.5L6.33337 6.5L11.3334 1.5' stroke='%23241a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E") no-repeat center;
    transition: all 0.2s ease-in-out;
}

#menu-header-main > .menu-item-has-children > a:hover::after,
#menu-header-main .menu-item-has-children:hover a::after {
    background: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.33337 1.5L6.33337 6.5L11.3334 1.5' stroke='%23d95533' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E") no-repeat center;
    transform: rotate(180deg);
}

#menu-header-main .menu-item-has-children .sub-menu {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 100%;
    margin-top: 48px;
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 24px;
    background-color: var(--theme-white);
    min-width: max-content;
    list-style: none;
}

#menu-header-main .menu-item-has-children .sub-menu::before {
    content: '';
    background-image: url('./icons/icon-before-menu.svg');
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: flex;
    position: absolute;
    top: -30px;
    left: 40px;
}

#menu-header-main .menu-item-has-children:hover .sub-menu {
    display: flex;
}

.header-phones a {
    text-decoration: none;
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    color: var(--theme-links);
    transition: all 0.2s ease-in-out;
}

.header-phones a:hover {
    color: var(--theme-accent);
}

#callback-button {
    border: 1px solid var(--theme-links);
    border-radius: 64px;
    padding: 8px 8px 8px 22px;
    width: 276px;
    height: 64px;
    font-family: var(--theme-main-font);
    font-weight: 600;
    font-style: normal;
    font-size: 1.125rem;
    line-height: 156%;
    text-transform: uppercase;
    color: var(--theme-links);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#callback-button:hover {
    background-color: var(--theme-links);
    color: var(--theme-white);
}

#callback-button::after {
    content: "";
    background: url('./icons/icon-callback.svg') no-repeat;
    width: 50px;
    height: 50px;
}

.homepage-hero-section__h1-first-span {
    display: flex;
    gap: 40px;
    align-items: center;
}

.homepage-hero-section__h1-first-span::after {
    content: "";
    background-image: url('./images/h1-first.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 96px;
    border-radius: 64px;
}

.homepage-hero-section__h1-second-span {
    display: flex;
    gap: 40px;
    align-items: center;
}

.homepage-hero-section__h1-second-span::before {
    content: "";
    background-image: url('./images/h1-second.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 96px;
    border-radius: 64px;
}

.homepage-hero-section__cta {
    gap: 108px;
    justify-content: flex-end;
}

.homepage-hero-section__cta-text {
    max-width: 384px;
}

.clients-slider {
    padding: 56px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.clients-slider__title {
    font-family: var(--theme-main-font);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: var(--theme-text);
    margin-bottom: 40px;
}

.clients-slider__slides {
    display: flex;
    align-items: center;
    will-change: transform;
}

.clients-slider__slide {
    flex-shrink: 0;
    display: inline-block;
    background: transparent;
    margin-left: 96px;
}

.homepage-numbers {
    padding: 80px 0 190px;
}

.homepage-numbers .container {
    display: flex;
}

.homepage-numbers__left,
.homepage-numbers__right {
    flex: 1;
}

.homepage-numbers__left {
    padding-top: 64px;
}

.homepage-numbers__title {
    margin-bottom: 40px;
    max-width: 453px;
}

.homepage-numbers__right {
    position: relative;
}

.numbers__projects {
    border-radius: 40px;
    padding: 56px 0;
    background: var(--theme-background);
    text-align: center;
}

.homepage-numbers__projects {
    width: 393px;
    height: 305px;
    margin: 0 auto;
}

.numbers__projects-number {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 96px;
    color: var(--theme-text-secondary);
}

.numbers__projects-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.numbers__signboards {
    border-radius: 40px;
    padding: 56px 0;
    box-shadow: 0 4px 16px 0 rgba(185, 185, 185, 0.25);
    background: #d95433;
    color: var(--theme-white);
    text-align: center;
}

.homepage-numbers__signboards {
    width: 393px;
    height: 276px;
    margin-left: auto;
    margin-top: -30px;
}

.numbers__signboards-number {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 96px;
}

.numbers__signboards-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
}

.homepage-numbers__clients-wrapper {
    display: flex;
    position: absolute;
    bottom: -130px;
    right: 340px;
}

.homepage-numbers__clients-wrapper::before {
    content: "";
    background: url('./icons/icon-chart.svg') no-repeat;
    width: 108px;
    height: 108px;
}

.numbers__clients {
    border-radius: 40px;
    padding: 56px 0;
    background: var(--theme-background);
    text-align: center;
}

.homepage-numbers__clients {
    width: 428px;
    height: 305px;
}

.numbers__clients-number {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 96px;
    color: var(--theme-text);
}

.numbers__clients-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-secondary-font);
}

.homepage-benefits {
    padding: 80px 0;
}

.homepage-benefits__title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 56px;
}

.homepage-benefits__title {
    max-width: 750px;
}

.homepage-benefits__desc {
    max-width: 385px;
    min-width: 385px;
    text-align: right;
}

.homepage-benefits__blocks {
    display: flex;
    gap: 24px;
}

.homepage-benefits__block {
    flex: 1;
    height: 329px;
    border-radius: 32px;
    background: var(--theme-background);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.homepage-benefits__blocks-half {
    flex: 1;
    display: flex;
    gap: 24px;
}

.homepage-benefits__block-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: var(--theme-text);
    margin-bottom: 16px;
}

.homepage-benefits__block-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.homepage-benefits__block-quality::before {
    content: "";
    background: url('./icons/icon-quality.svg') no-repeat;
    width: 64px;
    height: 64px;
}

.homepage-benefits__block-speed {
    background: #d95433;
}

.homepage-benefits__block-speed .homepage-benefits__block-title,
.homepage-benefits__block-speed .homepage-benefits__block-desc {
    color: var(--theme-white);
}

.homepage-benefits__block-speed::before {
    content: "";
    background: url('./icons/icon-speed.svg') no-repeat;
    width: 64px;
    height: 64px;
}

.homepage-benefits__block-empty {
    background-image: url('./images/benefit-block-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.homepage-benefits__block-design::before {
    content: "";
    background: url('./icons/icon-design.svg') no-repeat;
    width: 64px;
    height: 64px;
}

.homepage-services {
    padding: 80px 0;
}

.homepage-services__title {
    text-align: center;
    margin-bottom: 56px;
}

.homepage-services__block-title.services__block-title {
    font-size: 40px;
}

.homepage-reviews {
    background-image: url('./images/review-background.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    padding: 80px 0;
}

.homepage-reviews .container {
    display: flex;
    gap: 80px;
    justify-content: space-between;
}

.homepage-reviews__left,
.homepage-reviews__right {
    flex: 1;
}

.homepage-reviews__title {
    margin-bottom: 24px;
}

.homepage-reviews__left-bottom {
    display: flex;
    flex-direction: column;
}

.homepage-reviews__desc {
    margin-bottom: 56px;
    max-width: 490px;
}

.homepage-reviews__button {
    width: max-content;
}

.homepage-reviews__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews__item {
    border-radius: 24px;
    background-color: var(--theme-background);
    padding: 40px;
}

.reviews__item-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text);
    margin-bottom: 24px;
}

.reviews__item-text::before {
    content: "";
    background-image: url('./icons/icon-quote.svg');
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
}

.reviews__item-meta {
    display: flex;
    gap: 24px;
    align-items: center;
}

.reviews__item-img,
.reviews__item-img img {
    border-radius: 100%;
}

.reviews__item-name {
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    color: var(--theme-text);
    margin-bottom: 4px;
}

.reviews__item-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    color: var(--theme-text-secondary);
}

.portfolio-block {
    padding: 80px 0;
}

.portfolio-block__title {
    max-width: 618px;
    margin-bottom: 40px;
}

.portfolio-block__desc-wrapper {
    display: flex;
    gap: 130px;
    justify-content: flex-end;
    margin-bottom: 50px;
}

.portfolio-page .portfolio-block__desc-wrapper {
    justify-content: flex-start;
}

.portfolio-block__desc {
    max-width: 392px;
}

.portfolio-block__slider {
    display: flex;
    gap: 24px;
}

.portfolio-block__slider-item {
    flex: 1;
}

.portfolio-block__slider-item-img {
    background-color: var(--theme-background);
    padding: 16px;
    border-radius: 32px;
    margin-bottom: 16px;
}

.portfolio-block__slider-item-img img {
    border-radius: 24px;
}

.portfolio-block__slider-item-info {
    background-color: var(--theme-background);
    padding: 24px 16px;
    border-radius: 24px;
}

.portfolio-block__slider-item-header {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: #3e1403;
    padding-bottom: 12px;
    border: none;
    border-bottom: 1px solid #2C313F;
    margin-bottom: 12px;
}

.portfolio-block__slider-item-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.recommended-block {
    padding: 80px 0;
}

.recommended-block .container {
    display: flex;
    gap: 24px;
}

.recommended-block__left {
    background: #d95433;
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 424px;
    height: 480px;
}

.recommended-block__company-name {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-white);
}

.recommended-block__text {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: var(--theme-white);
}

.recommended-block__text span {
    font-weight: 400;
    font-size: 56px;
    line-height: 120%;
    letter-spacing: -0.01em;
    display: block;
}

.recommended-block__right {
    background-image: url('./images/recommended-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.homepage-questions {
    padding: 80px 0;
}

.homepage-questions__title {
    margin-bottom: 48px;
    display: flex;
    justify-content: center;
    position: relative;
}

.homepage-questions__title::after {
    content: '';
    background-image: url('./icons/icon-faq.svg');
    background-repeat: no-repeat;
    width: 86px;
    height: 67px;
    position: absolute;
    top: -30px;
}

.homepage-questions__item {
    border-bottom: 1px solid #a6a8ae;
    position: relative;
}

.homepage-questions__item-header {
    padding: 57px 0;
    cursor: pointer;
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-text);
    transition: all 0.4s ease-out;
}

.homepage-questions__item-close {
    content: '';
    background-image: url('./icons/open-button.svg');
    background-repeat: no-repeat;
    width: 96px;
    height: 96px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.homepage-questions__item-close.open {
    background-image: url('./icons/close-button.svg');
}

.homepage-questions__item-header.open {
    padding: 40px 0 16px;
}

.homepage-questions__item-text {
    overflow: hidden;
    max-height: 0;
    transition: all 0.4s ease-out;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
    width: 70%;
}

.homepage-questions__item-text.open {
    max-height: max-content;
    padding: 0 0 40px;
}

.homepage-questions__item-text p {
    margin-bottom: 14px;
}

.homepage-questions__item-text ul {
    margin-left: 40px;
}

.news-block {
    padding: 80px 0;
    background-color: var(--theme-background-homepage);
}

.news-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
    gap: 24px;
}

.news-block__header-right {
    display: flex;
    align-items: center;
    gap: 48px;
}

.news-block__desc {
    width: 380px;
}

.news-block__button {
    min-width: 246px;
    max-width: 246px;
}

.news-block__list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.news-block__list-item {
    flex: 1;
    background-color: var(--theme-white);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
}

.news-block__list-item:hover .news-block__list-item-button {
    background-image: url('./icons/icon-arrow-right.svg');
}

.news-block__list-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.news-block__list-item-color {
    border-radius: 100%;
    width: 14px;
    height: 14px;
}

.news-block__list-item:nth-child(1) .news-block__list-item-color {
    background-color: #f2bb92;
}

.news-block__list-item:nth-child(2) .news-block__list-item-color {
    background-color: #d95433;
}

.news-block__list-item:nth-child(3) .news-block__list-item-color {
    background-color: #a9a9a9;
}

.news-block__list-item-reading-time {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.news-block__list-item-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-text);
    max-width: 90%;
    margin-bottom: 56px;
}

.news-block__list-item-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.news-block__list-item-text {
    max-width: calc(100% - 80px);
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--theme-text-secondary);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: calc(1.6em * 2);
    text-overflow: ellipsis;
}

.news-block__list-item-button {
    content: '';
    background-image: url('./icons/icon-arrow-top-right.svg');
    background-repeat: no-repeat;
    width: 56px;
    height: 56px;
    background-size: 100%;
    transition: all 0.3s ease-in-out;
}

.contact-form-block {
    padding: 80px 0;
}

.contact-form-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
}

.contact-form-block__social-instagram {
    transition: all 0.2s ease-in-out;
}

.contact-form-block__social-instagram svg {
    width: 56px;
    height: 56px;
}

.contact-form-block__social-instagram:hover svg path {
    stroke: var(--theme-accent);
}

.contact-form-block__top {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-form-block__top > * {
    flex: 1;
}

.contact-form-block__top input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cacaca;
    padding: 10px 10px 16px 10px;
    outline: none;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.contact-form-block textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cacaca;
    padding: 10px 10px 16px 10px;
    outline: none;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
    height: 148px;
    margin-bottom: 48px;
}

.contact-form-block__submit-button {
    content: "";
    background-image: url('./icons/icon-arrow-cta-button.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    width: 285px;
    height: 64px;
    transition: all 0.2s ease-in-out;
    border: none;
    outline: none;
    position: relative;
    text-align: left;
}

.contact-form-block__submit-button:hover {
    background-image: url('./icons/icon-arrow-cta-button-hover.svg');
    background-repeat: no-repeat;
}

.contacts-block {
    padding: 80px 0;
    background-image: url('./images/contacts-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.contacts-block .container {
    display: flex;
    gap: 69px;
}

.contacts-block__title {
    min-width: 452px;
}

.contacts-block__inner {
    display: flex;
    gap: 102px;
}

.contacts-block__email {
    width: 246px;
}

.contacts-block__email-title,
.contacts-block__phone-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-text);
    position: relative;
    margin-bottom: 50px;
}

.contacts-block__email-title::after,
.contacts-block__phone-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -25px;
    width: 24px;
    height: 2px;
    background-color: black;
}

.contacts-block__inner a {
    text-decoration: none;
    display: block;
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    color: var(--theme-text);
    margin-bottom: 16px;
    transition: all 0.2s ease-in-out;
}

.contacts-block__inner a:hover {
    color: var(--theme-accent);
}

.contacts-block__hours {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: var(--theme-text);
}

.offer {
    padding: 80px 0;
    background: #d95433;
}

.offer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.offer__left {
    max-width: 512px;
}

.offer__title {
    color: var(--theme-white);
    margin-bottom: 16px;
}

.offer__desc {
    color: var(--theme-white);
}

.offer__right-inner {
    display: flex;
    gap: 24px;
}

.offer__right input {
    border-radius: 64px;
    padding: 27px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 167%;
    color: var(--theme-white);
    width: 612px;
}

.offer__right input::placeholder {
    color: var(--theme-white);
    opacity: 1;
}

.offer__right input::-ms-input-placeholder {
    color: var(--theme-white);
}

input.offer__submit-button {
    content: "";
    background-image: url('./icons/icon-arrow-cta-button.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 87px;
    height: 87px;
    transition: all 0.2s ease-in-out;
    border: none;
    outline: none;
    position: relative;
    cursor: pointer;
}

input.offer__submit-button:hover {
    background-image: url('./icons/icon-arrow-cta-button-hover.svg');
    background-repeat: no-repeat;
}

footer {
    padding-top: 80px;
    background-color: var(--theme-text);
    color: var(--theme-white);
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
}

footer a {
    color: var(--theme-white);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

footer a:hover {
    color: var(--theme-accent);
}

footer ul {
    list-style: none;
}

footer ul li:not(:last-child) {
    margin-bottom: 16px;
}

.footer__inner {
    display: flex;
    gap: 75px;
}

.footer__widget-title {
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    margin-bottom: 24px;
}

.footer__logo-widget {
    min-width: 230px;
}

.footer__logo {
    margin-bottom: 40px;
}

.footer__contacts {
    margin-bottom: 40px;
}

.footer__contacts > div:not(:last-child) {
    margin-bottom: 16px;
}

.footer__social-inst svg path {
    transition: all 0.2s ease-in-out;
}

.footer__social-inst:hover svg path{
    stroke: var(--theme-accent);
}

.footer__menu {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer__services-widget-inner {
    display: flex;
    gap: 40px;
}

.footer__menu-right {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer__other-widget {
    display: flex;
    flex-direction: column;
}

.copyrights {
    padding: 40px 0;
    text-align: center;
}

#overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    min-height: 100%;
    transition: visibility 0.3s, opacity 0.3s ease;
}

#overlay.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    z-index: 888;
}

#callback-modal,
#order-modal {
    display: none;
    justify-content: space-between;
    visibility: hidden;
    background: var(--theme-white);
    width: 90%;
    max-width: 1268px;
    min-height: 585px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(10, 13, 23, 0.05);
    border-radius: 20px;
    padding: 20px;
    gap: 30px;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease, transform 0.3s ease;
}

#callback-modal.active,
#order-modal.active {
    display: flex;
    visibility: visible;
    z-index: 999;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition-delay: 0s;
}

.callback-modal__left {
    padding: 40px;
}

.callback-modal__header {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 56px;
    line-height: 113%;
    letter-spacing: -0.01em;
    color: var(--theme-text);
    margin-bottom: 24px;
}

.callback-modal__desc {
    margin-bottom: 40px;
}

.callback-modal__input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.callback-modal__input-wrapper input,
.callback-modal__input-wrapper select,
.callback-modal__input-wrapper textarea {
    width: 100%;
    outline: 0;
    border: none;
    border-bottom: 1px solid #CACACA;
    padding: 10px 10px 16px 10px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.callback-modal__input-wrapper select {
    color: #757575;
}

.callback-modal__input-wrapper textarea {
    height: 120px;
}

.modal__submit {
    margin-top: 40px;
    border: 1px solid var(--theme-links);
    border-radius: 64px;
    padding: 8px 8px 8px 24px;
    width: 280px;
    height: 64px;
    background-color: var(--theme-links);
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    text-transform: uppercase;
    color: var(--theme-white);
    display: flex;
    text-align: left;
    align-items: center;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    background-position: calc(100% - 8px) center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.callback-modal__submit {
    background-image: url('./icons/icon-callback.svg');
}

.order-modal__submit {
    background-image: url('./icons/icon-arrow-cta-button.svg');
}

.modal__submit:hover {
    background-image: url('./icons/icon-arrow-cta-button-hover.svg');
}

.callback-modal__right {
    display: flex;
    justify-content: flex-end;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 40%;
    min-height: 100%;
    border-radius: 12px;
}

#callback-modal .callback-modal__right {
    background-image: url('./images/callback-background.png');
}

#order-modal .callback-modal__right {
    background-image: url('./images/order-background.png');
}

#callback-modal__close-button {
    width: 96px;
    height: 96px;
    background-image: url('./icons/icon-close-modal.svg');
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.no-scroll {
    overflow: hidden;
    padding-right: 0;
}

@media (hover: hover) and (pointer: fine) {
    .no-scroll {
        padding-right: 16px;
    }
}

@-moz-document url-prefix() {
    .no-scroll {
        padding-right: 0;
    }
}

.error404 header {
    background-color: #fcfcfc;
}

.error404 main {
    background-image: url('./images/404-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-color: #fcfcfc;
    height: calc(100vh - 120px);
}

@media (max-aspect-ratio: 16/9) {
    .error404 main {
        background-size: contain;
    }
}

.error404 main .container {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.error404 main img {
    margin: 180px auto 40px;
}

.desc404 {
    margin-bottom: 56px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 32px;
    color: var(--theme-text-secondary);
}

.error404__button {
    width: 215px;
    text-decoration: none;
    margin: 0 auto;
}

@media (hover: hover) {
    #callback-modal__close-button:hover {
        background-image: url('./icons/icon-close-modal-hover.svg');
        transform: rotate(360deg);
    }
}

@media (hover: none) {
    #callback-modal__close-button:hover {
        background-image: url('./icons/icon-close-modal-hover.svg');
    }
}

.screen-reader-response {
    display: none;
}

.wpcf7-not-valid-tip {
    margin-top: 12px;
    color: var(--theme-accent);
}

.wpcf7-response-output {
    margin-top: 20px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.services-hero-section__cta {
    justify-content: space-between;
}

.sevices-hero-section__cta-text {
    max-width: 608px;
}

.services-hero-section__img {
    height: 72px;
    width: 100%;
    border-radius: 64px;
    background-image: url('./images/services-hero-bg.png');
    background-repeat: no-repeat;
    margin-bottom: 32px;
}

.how-we-create {
    padding: 80px 0;
}

.how-we-create__top {
    display: flex;
    gap: 60px;
}

.how-we-create__left {
    max-width: 708px;
}

.how-we-create__title {
    margin-bottom: 40px;
}

.how-we-create__right {
    display: flex;
}

.how-we-create__img-f {
    background-image: url('./images/how-we-create-bg-1.png');
    background-repeat: no-repeat;
    width: 260px;
    height: 340px;
    border-radius: 24px;
    transform: rotate(-12deg);
}

.how-we-create__img-s {
    background-image: url('./images/how-we-create-bg-2.png');
    background-repeat: no-repeat;
    width: 260px;
    height: 340px;
    border-radius: 24px;
    transform: rotate(16deg);
    margin-top: 110px;
    margin-left: -50px;
}

.how-we-create__bottom-title {
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text);
    margin-bottom: 32px;
}

.how-we-create__list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.how-we-create__item {
    border-radius: 24px;
    padding: 40px;
    background-color: var(--theme-background);
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-text);
    display: flex;
    align-items: center;
    gap: 24px;
}

.how-we-create__item::before {
    content: "";
    background-image: url('./icons/icon-tick.svg');
    background-repeat: no-repeat;
    background-position: center;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
}

.how-we-create__item.item-1 {
    max-width: 497px;
    max-height: 170px;
}

.how-we-create__item.item-2 {
    max-width: 632px;
    max-height: 140px;
}

.how-we-create__item.item-3 {
    max-width: 585px;
    max-height: 140px;
}

.how-we-create__item.item-4 {
    max-width: 592px;
    max-height: 170px;
    margin-top: -30px;
}

.how-we-create__item.item-5 {
    max-width: 544px;
    max-height: 170px;
}

.how-we-create__text {
    max-width: 708px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text);
}

.services {
    padding: 80px 0;
}

.services__title {
    text-align: center;
    margin-bottom: 56px;
}

.services .services__list {
    margin-bottom: 120px;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services__block {
    border-radius: 24px;
    padding: 32px 16px 16px 16px;
    background: var(--theme-background);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.services__block:hover {
    border-radius: 24px 156px 24px 24px;
    background-color: #96352e;
}

.services__block:hover .services__block-title {
    color: var(--theme-white);
    border-bottom: 1px solid #fff;
}

.services__block:hover .services__block-desc {
    color: var(--theme-white);
}

.services__block:hover .services__block-title::after {
    content: "";
    background-image: url('./icons/icon-arrow-top-right-white-96.svg');
    background-repeat: no-repeat;
    background-position: center;
    max-width: 96px;
    min-width: 96px;
    height: 96px;
    position: absolute;
    top: 0;
    right: 0;
    transition: transform 0.4s ease-in-out;
    transform: translate(10px, -10px);
}

.services__block-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-links);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(44, 49, 63, 0.4);
    padding-bottom: 12px;
    margin: 0 16px 12px;
}

.services__block-title::after {
    content: "";
    background-image: url('./icons/icon-arrow-top-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    max-width: 50px;
    min-width: 50px;
    height: 50px;
    transition: transform 0.4s ease-in-out;
    transform: translate(0, 0);
}

.services__block-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
    max-width: 310px;
    margin: 0 16px 24px;
}

.services__block-image,
.services__block-image img {
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.services__sublist-wrapper:not(:last-child) {
    margin-bottom: 120px;
}

.services__sublist-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: var(--theme-text);
    text-transform: uppercase;
    margin-bottom: 64px;
}

.services__sublist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.services__sublist-item {
    display: flex;
    gap: 16px;
    align-items: center;
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    color: var(--theme-links);
    text-decoration: none;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--theme-links);
    transition: all 0.2s ease-in-out;
}

.services__sublist-item::before {
    content: "";
    background-image: url('./icons/icon-arrow-top-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    max-width: 50px;
    min-width: 50px;
    height: 50px;
    transition: all 0.2s ease-in-out;
}

.services__sublist-item:hover {
    color: var(--theme-accent);
}

.services__sublist-item:hover::before {
    background-image: url('./icons/icon-arrow-right-transparent.svg');
}

.about-hero-section .hero-section__preheader,
.about-hero-section h1 {
    text-align: center;
}

.portfolio-hero-section .hero-section__preheader,
.portfolio-hero-section h1 {
    text-align: center;
}

.portfolio-gallery {
    padding: 80px 0;
}

.portfolio-gallery__title {
    text-align: center;
    margin-bottom: 56px;
}

.portfolio-gallery__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-gallery__item {
    padding: 16px;
    border-radius: 24px;
    background-color: var(--theme-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-cases {
    background-color: var(--theme-background);
    padding: 80px 0;
}

.portfolio-cases__title {
    text-align: center;
    margin-bottom: 56px;
}

.portfolio-cases__item-title {
    color: var(--theme-accent);
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 40px;
    text-align: center;
    margin-bottom: 64px;
}

.portfolio-cases__item-info {
    display: flex;
    gap: 80px;
    margin-bottom: 80px;
}

.portfolio-cases__item-info > * {
    flex: 1;
}

.portfolio-cases__item-info-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: var(--theme-text);
    margin-bottom: 24px;
}

.portfolio-cases__item-info-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.portfolio-cases__item-info-desc span {
    color: var(--theme-accent);
}

.portfolio-cases__item-info-left .portfolio-cases__item-info-title:first-of-type + .portfolio-cases__item-info-desc {
    margin-bottom: 80px;
}

.portfolio-cases__item-info-desc ul {
    margin-left: 16px;
    margin-top: 24px;
    list-style-type: "- ";
}

.portfolio_cases__item-info-table-row {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    border-bottom: 1px solid #cacaca;
    padding: 12px 0;
}

.portfolio_cases__item-info-table-col-1 {
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    color: var(--theme-text);
}

.portfolio_cases__item-info-table-col-2 {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    color: var(--theme-text-secondary);
    text-align: right;
}

.portfolio-cases__item-montage {
    margin-bottom: 80px;
}

.portfolio-cases__item-montage-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-cases__item-montage-list-item {
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 24px;
    padding: 40px;
    height: 112px;
    background-color: var(--theme-white);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    color: var(--tekst);
}

.portfolio-cases__item-montage-list-item::before {
    content: "";
    background-image: url(./icons/icon-tick.svg);
    background-repeat: no-repeat;
    background-position: center;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
}

.portfolio-cases__item-result-title {
    font-family: var(--theme-secondary-font);
    font-weight: 500;
    font-size: 40px;
    color: var(--theme-text);
    margin-bottom: 40px;
}

.portfolio-cases__item-result-info {
    display: flex;
    gap: 80px;
}

.portfolio-cases__item-result-info > * {
    flex: 1;
}

.portfolio-cases__item-result-info .portfolio-cases__item-info-desc {
    margin-bottom: 40px;
}

.portfolio-cases__item-result-review {
    margin-bottom: 42px;
}

.portfolio-video {
    padding: 80px 0;
}

.portfolio-video__title {
    text-align: center;
    margin-bottom: 80px;
}

.portfolio-video__list {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.portfolio-video__item {
    padding: 16px;
    border-radius: 24px;
    background-color: var(--theme-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-hero-section {
    padding-top: 96px;
}

.faq-questions {
    padding-bottom: 80px;
}

.faq-questions__title {
    margin-top: 80px;
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 56px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: var(--theme-text);
    margin-bottom: 56px;
}

.faq-questions__tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.faq-questions__tag {
    border: 1px solid var(--theme-links);
    border-radius: 64px;
    padding: 8px 24px;
    width: max-content;
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    text-transform: uppercase;
    color: var(--theme-links);
    cursor: pointer;
}

.faq-questions__tag:hover {
    background: var(--theme-links);
    color: var(--theme-white);
}

.faq-questions__tag.active {
    background: var(--theme-links);
    color: var(--theme-white);
    pointer-events: none;
}

.faq-divider {
    background-image: url('./images/faq-background.jpg');
    background-repeat: no-repeat;
    height: 136px;
}

.how-we-work {
    padding: 120px 0;
    background-color: var(--theme-background);
}

.how-we-work__title {
    text-align: center;
    margin-bottom: 80px;
}

.how-we-work__list {
    position: relative;
    display: flex;
    gap: 24px;
}

.how-we-work__item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

.how-we-work__list::before {
    content: '';
    position: absolute;
    top: 54px;
    left: 108px;
    right: 108px;
    height: 1px;
    background-color: var(--theme-accent);
    z-index: 0;
}

.how-we-work__item::before {
    content: '';
    position: relative;
    z-index: 1;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 108px;
    min-width: 108px;
    height: 108px;
    margin-bottom: 40px;
}

.how-we-work__item.item-1::before {
    background-image: url('./icons/icon-how-we-work-step-1.svg');
}

.how-we-work__item.item-2::before {
    background-image: url('./icons/icon-how-we-work-step-2.svg');
}

.how-we-work__item.item-3::before {
    background-image: url('./icons/icon-how-we-work-step-3.svg');
}

.how-we-work__item.item-4::before {
    background-image: url('./icons/icon-how-we-work-step-4.svg');
}

.how-we-work__item-title {
    font-family: var(--theme-secondary-font);
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: var(--theme-text);
    margin-bottom: 16px;
}

.how-we-work__item.item-4 .how-we-work__item-title {
    color: var(--theme-accent);
}

.how-we-work__item-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    text-align: center;
    color: var(--theme-text);
}

.why-we-special {
    padding: 120px 0;
}

.why-we-special__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
}

.why-we-special__desc {
    max-width: 380px;
}

.why-we-special__inner {
    display: flex;
    gap: 40px;
}

.why-we-special__column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-we-special__row {
    border-radius: 32px;
    padding: 40px 24px;
    width: 440px;
    background-color: var(--theme-background);
}

.why-we-special__row.row1 {
    height: 283px;
}

.why-we-special__row.row2 {
    height: 312px;
}

.why-we-special__row-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 40px;
    color: var(--theme-text);
    margin-bottom: 16px;
}

.why-we-special__row-title.t1 {
    max-width: 210px;
}

.why-we-special__row-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.why-we-special__divider {
    background-image: url('./images/why-we-special-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100%;
    border-radius: 32px;
}

.services-reviews {
    padding: 120px 0;
}

.services-reviews__title {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto 48px;
}

.services-reviews__list {
    display: flex;
    gap: 24px;
}

.services-reviews__list > * {
    flex: 1;
}

.about-history {
    padding: 80px 0;
}

.about-history__title {
    text-align: center;
    margin-bottom: 56px;
}

.about-history__main {
    display: flex;
    gap: 80px;
}

.about-history__main > * {
    flex: 1;
}

.about-history__cta-button {
    margin-top: 56px;
    max-width: max-content;
}

.about-numbers .container {
    display: flex;
    gap: 24px;
}

.about-numbers .container > * {
    flex: 1;
}

.about-team {
    padding: 80px 0;
}

.about-team__title {
    text-align: center;
    margin-bottom: 64px;
}

.about-team__list {
    display: flex;
    gap: 24px;
}

.about-team__item {
    flex: 1;
    background-color: var(--theme-background);
    border-radius: 24px;
    padding: 16px;
}

.about-team__item-photo {
    margin-bottom: 24px;
}

.about-team__item-name {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 20px;
    color: var(--theme-links);
    margin-bottom: 12px;
}

.about-team__item-desc {
    font-family: var(--theme-main-font);
    font-weight: 500;
    font-size: 18px;
    color: var(--theme-text-secondary);
}

.about-awards {
    padding-top: 80px;
    background-color:  var(--theme-background);
}

.about-awards__title {
    text-align: center;
    margin-bottom: 56px;
}

.about-awards__item {
    max-width: 540px;
    margin: 0 auto 48px;
}

.about-awards__item-title {
    font-family: var(--theme-secondary-font);
    font-weight: 300;
    font-size: 24px;
    text-align: center;
    color: var(--theme-text);
    margin-bottom: 16px;
}

.about-awards__item-desc {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    text-align: center;
    color: var(--theme-text-secondary);
}

.about-awards__photo-list {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    overflow: hidden;
}


.single-page h1,
.blog h1 {
    margin-top: 80px;
}

.single-page h2 {
    max-width: 1000px;
}

.single-page p {
    max-width: 900px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.single-page ul {
    margin-left: 36px;
    max-width: 900px;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
}

.single-page__info {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 24px;
    line-height: 160%;
    color: var(--theme-text);
    margin-bottom: 80px;
}

.single-page__li-boxes {
    display: flex;
    gap: 24px;
}

.single-page__li-boxes > * {
    flex: 1;
    display: flex;
    gap: 24px;
    align-items: center;
    border-radius: 24px;
    padding: 40px;
    background-color: var(--theme-background);
    font-family: var(--theme-main-font);
    font-weight: 700;
    font-size: 18px;
    color: var(--theme-text);
    min-width: 424px;
    max-width: 424px;
}

.single-page__li-boxes > *::before {
    content: "";
    background-image: url(./icons/icon-tick.svg);
    background-repeat: no-repeat;
    background-position: center;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
}

.p-margin-after {
    margin-bottom: 80px;
}

.blog-news-block__title {
    margin-bottom: 56px;
}

.blog-news-block__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.blog-news-block__list-item {
    border-radius: 20px;
    padding: 32px;
    background-color: var(--theme-background);
}

.article-body {
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--theme-text-secondary);
    margin-bottom: 80px;
}

.article-body p {
    margin-bottom: 32px;
}

.article-body ul,
.article-body ol {
    margin-left: 32px;
}

.article-body li {
    margin-bottom: 16px;
}

.related-articles {
    margin-bottom: 80px;
}

.related-articles__title {
    margin-bottom: 56px;
}

@media (max-width: 1770px) {
    .container {
        padding: 0 200px;
    }
}

@media (max-width: 1600px) {
    .container {
        padding: 0 100px;
    }
    .error404 main img {
        margin: 120px auto 40px;
    }
}

@media (max-width: 1440px) {
    .container {
        padding: 0 50px;
    }
    #menu-header-main {
        gap: 20px;
    }
    .homepage-benefits__blocks {
        flex-direction: column;
    }
    .single-page__li-boxes {
        flex-wrap: wrap;
    }
}

@media (max-width: 1320px) {
    .news-block__header-right {
        gap: 24px;
    }
    .offer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 80px;
    }
    .offer__left {
        max-width: unset;
    }
    .how-we-create__item.item-4 {
        margin-top: 0;
    }
    .services__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .services__sublist {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-cases__item-montage-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-news-block__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 16px;
    }
    #menu-header-main {
        gap: 10px;
    }
    .homepage-numbers__clients-wrapper {
        bottom: -170px;
    }
    .homepage-reviews .container {
        gap: 24px;
    }
    .news-block__title {
        max-width: 450px;
    }
    .news-block__header-right {
        flex-direction: column;
        align-items: flex-start;
    }
    .contacts-block .container {
        justify-content: space-between;
    }
    .contacts-block__title {
        min-width: unset;
    }
    .contacts-block__inner {
        gap: 40px;
    }
    .footer__about-widget {
        min-width: 210px;
    }
    .how-we-create__top {
        flex-direction: column;
        align-items: center;
    }
    .how-we-create__bottom {
        margin-top: 80px;
    }
    .how-we-create__item {
        max-width: 100%;
        min-width: 100%;
    }
    .how-we-create__text {
        max-width: 100%;
        min-width: 100%;
    }
    .about-history__main {
        gap: 40px;
    }
    .about-team__list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-team__item {
        min-width: 312px;
        max-width: 312px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 72px;
    }
    .container {
        padding: 0 40px;
    }
    .hero-section__cta {
        justify-content: space-between;
        gap: 20px;
    }
    .header-logo {
        order: 1;
    }
    .header-phones {
        order: 2;
    }
    .callback {
        order: 3;
    }
    .header-menu {
        order: 4;
        display: flex;
    }
    .header-menu::after {
        content: "";
        background: url('./icons/icon-m-menu.svg') no-repeat;
        width: 40px;
        height: 40px;
    }
    #menu-header-main {
        display: none;
    }
    .homepage-hero-section__preheader {
        max-width: 400px;
    }
    .homepage-hero-section__preheader span {
        white-space: nowrap;
    }
    .homepage-numbers {
        padding: 80px 0;
    }
    .homepage-numbers .container {
        flex-direction: column;
        gap: 56px;
    }
    .homepage-numbers__left {
        padding-top: 0;
    }
    .homepage-numbers__projects {
        margin: 0;
        margin-left: auto;
    }
    .homepage-numbers__signboards {
        margin-left: 0;
        margin-top: -130px;
    }
    .homepage-numbers__clients-wrapper {
        position: unset;
        width: max-content;
        margin: -20px auto 0;
    }
    .homepage-benefits__desc {
        max-width: 310px;
        min-width: 310px;
    }
    .homepage-reviews .container {
        flex-direction: column;
    }
    .homepage-reviews__left-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .homepage-reviews__desc {
        margin-bottom: 24px;
    }
    .homepage-reviews__right {
        flex-direction: row;
    }
    .temp-hide {
        display: none;
    }
    .portfolio-block__desc-wrapper {
        justify-content: space-between;
        gap: 24px;
    }
    .homepage-questions__item-header {
        width: 80%;
    }
    .homepage-questions__item-text {
        width: 85%;
    }
    .news-block__list .post-3 {
        display: none;
    }
    .offer__right {
        width: 100%;
    }
    .offer__right-inner span.wpcf7-form-control-wrap {
        width: 100%;
    }
    .offer__right .wpcf7-email {
        width: 100%;
    }
    #callback-modal.active,
    #order-modal.active {
        overflow-y: auto;
        max-height: 80vh;
    }
    .error404 main {
        background-size: 250%;
        background-position: right -250px bottom;
    }
    .how-we-work__list {
        flex-direction: column;
        max-width: 485px;
        min-width: 485px;
        margin: 0 auto;

    }
    .how-we-work__list::before {
        top: 54px;
        bottom: 54px;
        left: 54px;
        width: 1px;
        height: unset;
    }
    .how-we-work__item {
        flex-direction: row;
        align-items: flex-start;
    }
    .how-we-work__item-title,
    .how-we-work__item-desc {
        text-align: left;
    }
    .why-we-special__header {
        flex-direction: column;
        align-items: flex-end;
        gap: 56px;
    }
    .why-we-special__desc {
        text-align: right;
    }
    .why-we-special__column {
        flex: 1;
    }
    .why-we-special__row {
        width: 100%;
    }
    .why-we-special__row-title.t1 {
        max-width: 100%;
    }
    .why-we-special__divider {
        display: none;
    }
    .about-history__main {
        gap: 24px;
    }
    .about-history__main > * {
        flex: unset;
    }
    .about-history__photo {
        max-width: 380px;
        min-width: 380px;
    }
    .about-numbers .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-numbers .container > * {
        min-width: 315px;
        max-width: 460px;
    }
    .portfolio-gallery__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .homepage-benefits__title-wrapper {
        gap: 0;
        flex-direction: column;
    }
    .homepage-benefits__title {
        max-width: 560px;
    }
    .homepage-benefits__title-inner,
    .homepage-benefits__desc-wrapper {
        width: 100%;
        display: flex;
    }
    .homepage-benefits__desc-wrapper {
        justify-content: flex-end;
    }
    .homepage-services__block-title.services__block-title {
        font-size: 32px;
    }
    .homepage-reviews__left-bottom {
        justify-content: center;
    }
    .homepage-reviews__desc {
        max-width: unset;
    }
    .news-block__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-block__title {
        max-width: unset;
    }
    .contacts-block .container {
        flex-direction: column;
        gap: 56px;
    }
    .footer__services-widget-left-list,
    .footer__services-widget-right-list {
        min-width: 256px;
    }
    .footer__inner {
        flex-direction: column;
        align-items: center;
    }
    .footer__logo-widget {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .services-hero-section h1 {
        font-size: 67px;
    }
    .services__list {
        grid-template-columns: 1fr;
    }
    .services__sublist {
        grid-template-columns: 1fr;
    }
    .services__block-title {
        font-size: 20px;
        margin: 0 0 12px;
    }
    .services__block-desc {
        margin: 0 0 24px;
    }
    .error404 main {
        background-position: right -200px bottom;
    }
    .why-we-special__inner {
        flex-direction: column;
    }
    .why-we-special__row.row1,
    .why-we-special__row.row2 {
        height: max-content;
    }
    .services-reviews__list {
        flex-direction: column;
    }
    .about-history__main {
        flex-direction: column;
    }
    .about-history__photo,
    .about-history__photo img {
        max-width: 100%;
        min-width: 100%;
    }
    .about-history__cta-button {
        margin: 56px auto 0;
    }
    .portfolio-cases__item-info,
    .portfolio-cases__item-result-info {
        flex-direction: column;
    }
    .portfolio-cases__item-montage-list {
        grid-template-columns: 1fr;
    }
    .blog-news-block__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    h1 {
        font-size: 40px;
        letter-spacing: -0.05em;
    }
    .block-title {
        font-size: 32px;
    }
    .hero-section {
        padding: 5px 0 60px;
    }
    .hero-section__cta {
        flex-direction: column;
        align-items: flex-end;
    }
    .hero-section__cta-text {
        font-size: 18px;
    }
    .hero-section__cta-button {
        width: 384px;
    }
    .homepage-hero-section__preheader {
        margin-bottom: 16px;
    }
    .homepage-hero-section__h1-first-span {
        gap: 2px;
    }
    .homepage-hero-section__h1-first-span::after {
        height: 40px;
    }
    .homepage-hero-section__h1-second-span {
        gap: 2px;
    }
    .homepage-hero-section__h1-second-span::before {
        height: 40px;
    }
    .homepage-hero-section__cta-text span.homepage-hero-section__cta-text-s1 {
        white-space: nowrap;
    }
    .clients-slider__slide {
        margin-left: 56px;
    }
    #callback-modal,
    #order-modal {
        border-radius: 0;
        padding: 0;
        border: 0;
    }
    #callback-modal.active,
    #order-modal.active {
        flex-direction: column;
        top: 5%;
        transform: translate(-50%, 0%);
    }
    .callback-modal__left {
        margin-top: 106px;
    }
    .callback-modal__right {
        height: 109px;
        width: 100%;
        border-radius: 0;
    }
    #callback-modal__close-button {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .homepage-numbers__title {
        margin-bottom: 24px;
    }
    .homepage-benefits__title {
        margin-bottom: 24px;
    }
    .homepage-services__block-title.services-block-title {
        font-size: 28px;
    }
    .homepage-reviews__right {
        flex-direction: column;
    }
    .portfolio-block__slider {
        flex-direction: column;
    }
    .portfolio-block__slider-item {
        max-width: max-content;
        margin: 0 auto;
    }
    .temp-hide {
        display: block;
    }
    .portfolio-block__desc-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    .portfolio-block__desc {
        max-width: unset;
    }
    .homepage-questions__title::after {
        top: -50px;
    }
    .recommended-block .container {
        flex-direction: column;
    }
    .recommended-block__left {
        margin: 0 auto;
    }
    .recommended-block__right {
        height: 180px;
    }
    .contact-form-block__top {
        flex-direction: column;
    }
    .services-hero-section h1 {
        font-size: 40px;
    }
    .error404 main {
        background-position: right -150px bottom;
    }
    .single-page h1 {
        margin-top: 40px;
    }
    .single-page h2 {
        font-size: 46px;
    }
}

@media (max-width: 672px) {
    .callback {
        display: none;
    }
    .homepage-numbers__right {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .homepage-numbers__projects {
        margin: 0 auto;
        width: 100%;
    }
    .homepage-numbers__signboards {
        margin: 0 auto;
        width: 100%;
    }
    .homepage-numbers__clients-wrapper {
        margin: 0 auto;
        width: 100%;
    }
    .homepage-numbers__clients-wrapper::before {
        position: absolute;
        right: 0;
        bottom: -70px;
    }
    .homepage-numbers__clients {
        width: 100%;
    }
    .homepage-benefits__blocks-half {
        flex-direction: column;
    }
    .homepage-benefits__block {
        gap: 64px;
        min-height: 270px;
    }
    .homepage-benefits__block-title {
        font-size: 28px;
    }
    .portfolio-block__slider-item-header {
        font-size: 32px;
    }
    .recommended-block__left {
        width: 392px;
        height: 372px;
    }
    .recommended-block__text {
        font-size: 32px;
    }
    .homepage-questions__item-header {
        width: 70%;
        padding: 33px 0;
    }
    .homepage-questions__item-header.open {
        padding: 24px 0 16px;
    }
    .homepage-questions__item-text {
        width: 75%;
    }
    .news-block__list .post-2 {
        display: none;
    }
    .error404 main {
        background-position: right -100px bottom;
    }
    .hide {
        display: none;
    }
    .single-page h2 {
        font-size: 32px;
    }
}

@media (max-width: 580px) {
    .contacts-block__inner {
        flex-direction: column;
    }
    footer .container {
        padding: 0 40px;
    }
    .footer__menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .footer__services-widget-inner {
        flex-direction: column;
        gap: 16px;
    }
    .footer__menu-right {
        gap: unset;
        width: 100%;
    }
    .callback-modal__header {
        font-size: 32px;
    }
    .callback-modal__left {
        padding: 40px 20px;
    }
    .how-we-create__img-f,
    .how-we-create__img-s {
        width: 200px;
        height: 280px;
    }
    .how-we-create__item[class*="item-"] {
        max-height: unset;
        font-size: 20px;
    }
    .services__sublist-title {
        font-size: 24px;
    }
    .how-we-work__list {
        max-width: 100%;
        min-width: 100%;
    }
    .portfolio-gallery__list {
        grid-template-columns: 1fr;
    }
    .single-page h1 {
        font-size: 26px;
    }
    .single-page h2 {
        font-size: 24px;
    }
    .single-page__li-boxes > * {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    .hero-section__cta {
        align-items: flex-start;
    }
    .hero-section__cta-button {
        width: 100%;
    }
    .homepage-hero-section__preheader {
        max-width: 267px;
        font-size: 20px;
    }
    .homepage-hero-section__cta-text span.homepage-hero-section__cta-text-s1 {
        white-space: normal;
    }
    .homepage-hero-section__cta-text span.homepage-hero-section__cta-text-s2 {
        white-space: nowrap;
    }
    .homepage-numbers__projects-number,
    .homepage-numbers__signboards-number,
    .homepage-numbers__clients-number {
        font-size: 72px;
    }
    .homepage-benefits__desc-wrapper {
        justify-content: flex-start;
    }
    .homepage-benefits__desc {
        text-align: left;
        max-width: unset;
        min-width: unset;
    }
    .homepage-services__title span {
        display: none;
    }
    .portfolio-block__slider-item-header {
        font-size: 24px;
    }
    .recommended-block__left {
        width: 100%;
    }
    .homepage-questions__item-header {
        font-size: 18px;
    }
    .homepage-questions__item-close {
        width: 55px;
        height: 55px;
        background-size: 100%;
    }
    .news-block__desc {
        width: 100%;
    }
    .contact-form-block__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .offer__right-inner {
        flex-direction: column;
        align-items: center;
    }
    .footer__about-widget {
        min-width: unset;
    }
    .callback-modal__submit {
        font-size: 16px;
        width: 250px;
    }
    .services-hero-section h1 {
        font-size: 28px;
    }
    .how-we-create__item {
        padding: 20px;
    }
    .how-we-create__img-s {
        margin-left: -150px;
    }
    .services__sublist-item {
        font-size: 20px;
    }
    .error404 main {
        background-size: 380%;
        background-position: right -50px bottom;
    }
    .error404 main img {
        margin: 60px auto 40px;
    }
    .how-we-work__item {
        gap: 24px;
    }
    .how-we-work__item-desc {
        font-size: 16px;
    }
    .why-we-special__row-title {
        font-size: 24px;
    }
    .portfolio-cases__item-title {
        font-size: 18px;
    }
    .portfolio-cases__item-info-title {
        font-size: 24px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 36px;
    }
    .header-logo {
        width: 60px;
    }
    .hero-section__preheader {
        font-size: 18px;
    }
    .about-hero-section h1 {
        font-size: 34px;
    }
    .homepage-services__block-title.services__block-title {
        font-size: 26px;
    }
    .recommended-block__text {
        font-size: 24px;
    }
    footer .container {
        padding: 0 20px;
    }
    .services__block-title {
        font-size: 18px;
    }
    .services__sublist-title {
        font-size: 20px;
    }
    .services__sublist-item {
        gap: 8px;
        font-size: 19px;
    }
    .about-history__cta-button {
        font-size: 16px;
    }
    .about-numbers .container > * {
        min-width: 100%;
        max-width: 100%;
    }
    .portfolio-cases__title {
        font-size: 28px;
    }
    .single-page h2 {
        font-size: 22px;
    }
    .single-article h1 {
        font-size: 30px;
    }
}

@media (max-height: 640px) {
    #callback-modal,
    #order-modal {
        border-radius: 0;
        padding: 0;
        border: 0;
    }
    #callback-modal.active,
    #order-modal.active {
        flex-direction: column;
        top: 5%;
        transform: translate(-50%, 0%);
        overflow-y: auto;
    }
    .callback-modal__left {
        margin-top: 76px;
    }
    .callback-modal__right {
        height: 109px;
        width: 100%;
        border-radius: 0;
    }
    #callback-modal__close-button {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}