/* css variables */
:root {
    --text-red: #f93700;
    --text-dark-grey: #2c2c2c;
    --text-grey: #575757;
    --background-red: #f93700;
    --background-red-muted: #fb6339;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto Flex', Arial, sans-serif;
    background-color: #ffe2e2;
}
.centered {
    text-align: center;
}

/* Header */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.header-logo-wrapper,
.nav-wrapper,
.header-contacts {
    flex-shrink: 0;
}

.header {
    background-color: #ffd7d7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 80px;
    box-shadow: 0 3px 4px rgba(0,0,0,0.05);
}

.header-logo img {
    max-width: 180px;
    width: 180px;
    /* height: 65px; */
}

.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav{
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: bold;
    font-size: 20px;
    color: var(--text-dark-grey);
    text-decoration: none;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 1px;
    width: 0%;
    left: 0;
    background: var(--background-red);
}

  .nav-link:hover::after {
    width: 100%;
}
/* .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 1px;
    width: 100%;
    background: var(--background-red);
}

.nav-link:active::before,
.nav-link:active::after {
    content: '';
    position: absolute;
    bottom: -7px;
    height: 1px;
    width: 100%;
    background: var(--background-red);
} */

/* .nav-dropdown:hover .dropdown {
    display: block;
} */

.nav-dropdown {
  position: static;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* width: 100vw; */
    background: #ffd7d7;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* min-width: 250px; */
    z-index: 999;
    padding: 0 10px 0 10px;
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown {
  display: flex;
  justify-content: center;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark-grey);
    text-decoration: none;
}

.dropdown li a:hover {
    background-color: #ffd7d7;
}

.header-contacts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.phone {
    font-weight: 600;
    font-size: 24px;
    color: var(--text-red);
    text-decoration: none;
}

.messengers {
    display: flex;
    gap: 20px;
}

.messengers div{
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.wa-icon{
    background-image: url('../image/whatsapp.png');
}
.tg-icon{
    background-image: url('../image/telegram.png');
}

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    width: 165px;
    height: 40px;
    background-color: #fb6239;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.header-btn:hover {
    opacity: 0.95;
}

/* Флаг */
.flag {
    position: absolute;
    top: 0px;
    right: -135px;
    background-color: #fb6239;
    border: 2px solid #fff;
    border-top: none;
    border-bottom: none;
    font-weight: bold;
    font-size: 30px;

    color: #fff;
    padding: 40px 12px;
    z-index: 1;
}

.flag span{
    letter-spacing: 1.5px;
}


.flag::after {
    content: '';
    position: absolute;
    bottom: -43.5px;
    left: -2px;
    width: 124px;
    height: 43.5px;
    background: #fff;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 3%, 0 100% );
}

.flag::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 0;
    height: 0;
    border-right: 120.2px solid transparent;
    border-top: 40px solid #fb6239;
    z-index: 1;
}

/* Elements - список с галочками (ul.checks) */
ul.checks{
    list-style: none;
    padding-left: 0;
}
ul.checks li {
    position: relative;
    padding-left: 5px;
}
ul.checks li::before {
    content: '\2713';
    font-size: 1.7em;
    line-height: 1em;
    font-weight: normal;
}
ul.checks.red li::before{
    color: var(--text-red);
}
ul.checks.blue li::before{
    color: #2b5aa8;
}

/* Elements - список результатов (.result-stats) */
.result-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0 15px;
}

.result-stats .item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 20px;
}

.result-stats .percent {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: var(--text-dark-grey);
    border-left: 5px solid  var(--background-red);
}

.result-stats .description {
    margin: 0;
    font-weight: normal;
    font-size: 22px;
    font-variant: all-small-caps;
    color: var(--text-dark-grey);
    line-height: 1.3;
}

/* Elements - стили свайпера (.swiper) */
.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--background-red);
}

/*Стили секций*/
.section-block {
    position: relative;
    margin-top: 10px;
    padding: 4px;
    border-radius: 10px;
    box-shadow: 3px 5px 17px rgba(0, 0, 0, 0.3);
}
.section-block::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    background: transparent;
}




/* Body */
/* 1. Модуль вводного текста #Intro_text */

/* Фон секций по модулям */
.custom-section{
    position: relative;
    background: linear-gradient(#feeee8, #ffe1e1);
    z-index: 0;
    margin-top: -30px;
}

.custom-section::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../image/background-icons.png');
  background-repeat: repeat;
  mix-blend-mode: soft-light;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.custom-section *{
    position: relative;
    z-index: 1;
}
/* ************ */

.intro-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

.intro-title {
    font-size: 52px;
    font-weight: bold;
    color: var(--text-red);
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.intro-content{
    padding: 0 10px 0 10px;
}

.intro-text {
    font-size: 24px;
    color: var(--text-dark-grey);
    margin: 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.4px;
}

.intro-columns {
    display: flex;
    flex-wrap: wrap;
    padding-left: 10px;
}

.intro-col-wrapper{
    display: flex;
    gap: 50px;
}

.intro-col {
    font-size: 24px;
    color: var(--text-dark-grey);
}

.intro-list {
    list-style: none;
    padding-left: 0;

}

.intro-list li {
    line-height: 1.6;

}

.intro-list li strong {
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
    color: var(--text-dark-grey);
    font-size: 24px;
}

.intro-award {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-award img {
    /* max-width: 196px; */
    width:230px;
    height: auto;
}


/* 2.Модуль сертификаты. #setrificate */
.certificates-section{
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.certificates-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1200px;
    padding: 2px 2px 8px 2px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
}

/* Обёртка заголовков модулей */
.title-wrapper{
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.rectangles{
    display: flex;
    flex-direction: row;
    gap: 2px;
    flex-wrap: wrap;
}

.title-rectangle{
    background-color: var(--background-red);
    display: flex;
    height: 34px;
    width: 6px;
}

.certificates-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 430px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 83% 0%, 88% 60%, 88% 100%, 0% 100%);
}

.certificates-title {
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    text-align: left;
    padding-left: 6px;
    white-space: nowrap;
}
/* ******* */

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 20px;
    justify-items: center;
    max-width: 1200px;
}

.certificate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrapper{
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-icon {
    /* max-width: 100%; */
    max-height: 100%;
    object-fit: contain;
}

.certificate-text {
    font-weight: bold;
    font-size: 24px;
    color: #575757;
    margin: 12px;
}


/* 3.	Модуль экспертиза по отраслям. #expertise_sale */
.expertise-section {
    display: flex;
    max-width: 1200px;
    margin: 35px auto 0;
}

.expertise-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    padding: 2px 2px 8px 2px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
}

.expertise-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 720px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 83% 0%, 86% 60%, 86% 100%, 0% 100%);
}

.expertise-title {
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    text-align: left;
    padding-left: 6px;
    white-space: nowrap;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 0px;
    justify-items: center;
    max-width: 1200px;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expertise-icon {
    max-height: 100%;
    object-fit: contain;
}

.expertise-text {
    font-weight: bold;
    font-size: 24px;
    color: #575757;
    margin: 12px;
}


/* 4.	Модуль лидмагнита скидка. #leadmagnet_discount */
.leadmagnet-discount{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.stripe{
    width: 100%;
    min-height: 60px;
}

.stripe-top {
    background-image: url('../image/paper-edge-leadmagnet.png');
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    margin-bottom: -15px;
    z-index: 1;
}

.stripe-bottom{
    background-image: url('../image/paper-edge-leadmagnet.png');
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
    margin-top: -15px;
    z-index: 1;
}

.leadmagnet-wrapper {
  position: relative;
  z-index: 0;
}

.leadmagnet-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--background-red);
  z-index: -1;
}

.leadmagnet-container{
    background-color: var(--background-red);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 240px;
}

.discount-content {
    display: flex;
    flex-direction: column;
    margin: 20px 0 20px 50px;
    color: white;
    flex: 2 0 auto;
}

.discount-title {
    display: flex;
    align-items: center;
}

.discount-title h1{
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin: 24px 0 24px 20px;
}


.discount-img{
    display: flex;
    align-items: center;
}

.discount-gift {
    width: 120px;
    height: auto;
}

.discount-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.discount-list li {
    margin-bottom: 5px;
}

.discount-list span {
    font-size: 30px;
}
.discount-text{
    padding-left: 45px;
}

.discount-form {
    display: flex;
    flex: 1 0 30%;
    flex-direction: column;
    justify-content: center;
}

.discount-form-title {
    font-family: "CharterC-Bold";
    letter-spacing: 0.3px;
    font-size: 21px;
    text-align: center;
    margin: 10px auto;
    color: #fff;
}

.phone-input-wrapper{
    position: relative;
    display: block;
    background-color: #fff;
    padding-left: 36px;
    width: 215px;
    margin: 0 auto;
}

.phone-input-wrapper::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 32px;
    background-image: url('../image/phone.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.phone-container{
    display: flex;
    border-left: 1px solid #8f8d8d;
    /* margin-left: auto;
    width: auto; */
    margin: 0 auto;
}

.lead-magnet-phone{
    padding: 10px 15px;
    box-sizing: border-box;
    border: none;
    /* width: 100%; */
    width: auto;
    min-width: 180px;
    max-width: 240px;
    font-size: 16px;
    box-sizing: border-box;
    /* border-left: 1px solid #8f8d8d; */
}

.discount-form input {
  font-size: 18px;
  outline: none;
}

.discount-form button {
    background: linear-gradient(to right, #796d6d, rgb(144 122 122 / 70%));
    color: #fff;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 18px;
    font-family: "CharterC-Bold";
    letter-spacing: 0.7px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 254px;
    margin: 15px auto;
}

.discount-form button:hover {
  background-color: #3f3a39;
}


/* 5.	Модуль «контекстная реклама. #product_result */

.product-result-section {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.product-result-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    /* margin-top: 10px; */
    padding: 10px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
    /* border: 3px ridge rgba(251, 244, 244, 0.3);
    box-shadow: 3px 5px 17px rgba(0, 0, 0, 0.4); */
}

.product-result-content{
    display: flex;
    flex: 62;
    flex-direction: column;
    margin: 35px 0 0 30px;
}
.product-result-container .result-stats{
    flex: 38;
}

.product-result-title {
    font-weight: bold;
    font-size: 48px;
    color: var(--text-red);
    margin-top: 0;
    margin-bottom: 20px;
}

.product-result-text {
    font-weight: normal;
    font-size: 20px;
    text-align: justify;
    line-height: 28px;
    color: var(--text-dark-grey);
    max-width: 100%;
    margin-right: 15px;
}

/* 6.	Модуль «возможности рекламы». #pruduct_advanched */

.advanched-section {
    display: flex;
    max-width: 1200px;
    margin: 35px auto 0;
}

.advanched-container {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 1200px;
    padding: 2px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
}

.advanched-title {
    font-weight: bold;
    font-size: 30px;
    color: var(--text-dark-grey);
    margin: 10px 0 15px 40px;
}

.advanched-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.advanched-item {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--background-red);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap;
    padding: 4px 6px;
    border-radius: 4px;
    width: fit-content;
    max-width: 100%;
}

.advanched-image {
    height: 100%;
}

.advanched-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* 7.	Модуль «гарантия результата» . #pruduct_ guarantee  */

.guarantee-section {
    display: flex;
    max-width: 1200px;
    margin:35px auto 0;
}

.guarantee-container {
    max-width: 1200px;
    padding: 2px 2px 0px 2px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
}

.guarantee-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 430px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 72% 0%, 77% 60%, 77% 100%, 0% 100%);
}

.guarantee-title {
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    text-align: left;
    padding-left: 6px;
    white-space: nowrap;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px 22px;
    margin: 15px 10px 0px 40px;
}

.guarantee-item {
    min-height: 70px;
    text-align: start;
    padding-right: 34px;
    color: var(--text-dark-grey);
}

.clipart-list, .guarantee-list{
    list-style: none;
    padding-left: 0;
}

.clipart-list li{
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 25px;
    padding-bottom: 8px;
}

.clipart-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 44%;
    transform: translateY(-50%);
    width: 45px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-1::before {
    background-image: url('../image/g-icon-1.png');
}

.icon-2::before {
    background-image: url('../image/g-icon-2.png');
}

.icon-3::before {
    background-image: url('../image/g-icon-3.png');
}

.icon-4::before {
    background-image: url('../image/g-icon-4.png');
}


.guarantee-list li {
    position: relative;
    padding: 0 0 15px 25px;
    line-height: 1.5;
}

.guarantee-list li::before {
    content: '';
    position: absolute;
    left: 0;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    top: 0.4em;
    transform: none;
    width: 10px;
    height: 10px;
    background-color: var(--background-red);
    border-radius: 50%;
}


/* 8.	Модуль лидмагнита скидка. #leadmagnet_discount */

.discount-content {
    display: flex;
    flex-direction: column;
    margin: 20px 0 20px 50px;
    color: white;
    flex: 2 0 auto;
}

.audit-title {
    display: flex;
    align-items: center;
}

.audit-title h1{
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin: 24px 0 10px 0;
}

.audit-title h2{
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-top: 0;
}

.audit-text{
    text-align: center;
}

.audit-wrapper{
    margin-left: 50px;
}



/* 9.	Модуль цен. #price */
.price-section {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.price-container {
    max-width: 1200px;
    /* padding: 2px 2px 8px 2px; */
    width: 100%;
}

.price-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 650px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 73% 0%, 77% 60%, 77% 100%, 0% 100%);
}

/* Обёртка для карточек */
.tariff-wrapper {
    display: grid;
    /* align-items: stretch; */
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}

/* Каждая карточка */
.tariff-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f9f9f9;
    background-image: url('../image/price-card-bg.png');
    border-radius: 16px;
    height: auto;
    max-height: 600px;
    width: auto;
    max-width: 320px;
    padding: 5px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Название тарифа */
.tariff-name {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: bold;
    font-size: 20px;
    padding: 4px 12px;
    border-radius: 30px;
    color: #fff;
    margin-top: 6px;
}

.tariff-name.blue, .tariff-condition.blue {
    background-color:#2a5aa7;
}

.tariff-name.red, .tariff-condition.red{
    background-color: #a62d2d;
}

/* Подзаголовок */
.tariff-condition {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 5px;
    color: #fff;
    padding: 7px 18px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* Цены */
.tariff-price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    flex-wrap: wrap;
}
.tariff-price.start, .tariff-price.pro{
    margin-bottom: 16px;
}

.tariff-price.expert{
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 0;
}

.discount-wrapper{
    display: flex;
    align-items: start;
    flex-direction: column;
}
.discount-wrapper.expert{
    display: flex;
    align-items: start;
    flex-direction: row;
    gap: 5px;
}

.tariff-price .current{
    font-family: 'Roboto Flex', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark-grey);
    padding-left: 15px;
}

.tariff-price .current.blue{
    color: #2a5aa7;

}
.tariff-price .current.start , .current.pro{
    padding-top: 20px;
}

.tariff-price .current.red{
    color: #a62d2d;
    padding-top: 20px;
}

.tariff-price .discount {
  font-weight: 600;
  font-size: 16px;
  color: #a62d2d;
}

.tariff-price .old {
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
  color: var(--text-dark-grey);
}

.tariff-price.expert .old {
    padding-left: 15px;
}

.sub {
  font-size: 14px;
  color: #2a5aa7;
  padding-left: 15px;
  font-weight: 400;
}

/* Список фич */
.tariff-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.tariff-features li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #2c2c2c;
}

.tariff-features li::before {
    content: '\2713';
    font-size: 20px;
    line-height: 1em;
    font-weight: normal;
    padding-right: 5px;
}

.tariff-features.blue li::before{
    color: #2a5aa7;
}

.tariff-features.red li::before{
    color: #a62d2d;
}

/* Кнопка "Заказать" */
.tariff-btn.wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px auto 46px;
    text-align: center;
    width: 100%;
}

.order-btn {
    display: inline-block;
    margin-top: auto;
    padding: 12px 36px;
    font-size: 27px;
    font-weight: 600;
    background-color: var(--background-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 80%;
    letter-spacing: 1.2px;
}

.order-btn:hover {
  background-color: #c83000;
}

/* Оверлей */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px 24px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
}

/* Кнопка закрытия */
.close-popup {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #999;
}

.popup h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #2c2c2c;
}

/* Инпуты формы */
#popup-form input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Кнопка формы */
#popup-form button {
  width: 100%;
  background-color: #f93700;
  color: #fff;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#popup-form button:hover {
  background-color: #c83000;
}

/* Сообщение об успехе */
.popup-success {
  color: green;
  font-size: 16px;
  margin-top: 12px;
}

/* Скрытие по умолчанию */
.hidden {
  display: none !important;
}



/* 10. Модуль скидки акции. #discount_sale */
.discount-section {
    display: flex;
    max-width: 1200px;
    margin: 35px auto 0;
}

.discount-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 350px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 67% 0%, 73% 60%, 73% 100%, 0% 100%);
}

.discount-container {
    max-width: 1200px;
    margin: 15px 15px 0 20px;
    padding: 10px 10px 0 10px;
}

.discount-sale-list {
    list-style: none;
    padding-left: 0;
}

.discount-sale-list li {
    position: relative;
    padding: 0 0 16px 25px;
    margin: 0;
    line-height: 1.5;
}

.discount-sale-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--background-red);
    border-radius: 50%;
}


/* 11. Модуль скидки акции. #cases */
.cases-section {
    display: flex;
    max-width: 1200px;
    margin: 35px auto 0;
}
.cases-section .title-wrapper{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}
.cases-title-wrapper {
    background-color: var(--background-red);
    display: flex;
    width: 230px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 58% 0%, 69% 60%, 69% 100%, 0% 100%);
}
.cases-container {
    max-width: 1200px;
    width: 100%;
}
.cases-container .swiper {
    width: 100%;
    user-select: none;
    border-radius: 10px;
}
.cases-container .swiper-slide {
    height: auto;
}
.cases-container .swiper-button-prev::after,
.cases-container .swiper-button-next::after {
    content: '';
}
.cases-container .swiper-button-prev,
.cases-container .swiper-button-next {
    width: 68px;
    height: 68px;
    opacity: 0.8;
}
.cases-container .swiper-button-prev:hover,
.cases-container .swiper-button-next:hover {
    opacity: 1;
}
.cases-container .swiper-button-prev {
    margin-left: -15px;
    background-image: url("../image/arrow-left.png");
}
.cases-container .swiper-button-next {
    margin-right: -15px;
    background-image: url("../image/arrow-right.png");
}
.case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 55px 70px 15px;
    color: var(--text-grey);
}
.case-item.o21v{
    background: url('../image/cases-bg-o21v.jpg') no-repeat center center;
    background-size: cover;
}
.case-item .title {
    margin: 10px 0 10px 45px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}
.case-item .title::before,
.case-item .title::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -45px;
    display: block;
    width: 22px;
    height: 22px;
    padding: 8px;
    background-color: var(--background-red-muted);
    border-radius: 50%;
}
.case-item .client p{
    margin-left: 20px;
    font-weight: 500;
    font-size: 18px;
}
.case-item .client .title::after {
    background: url('../image/icon-user.svg') no-repeat center center;
}
.case-item .objective .title::after {
    background: url('../image/icon-work.svg') no-repeat center center;
}
.case-item .solution .title::after {
    background: url('../image/icon-solution.svg') no-repeat center center;
}
.case-item .result .title::after {
    background: url('../image/icon-result.svg') no-repeat center center;
}
.case-item .feedback .title::after {
    background: url('../image/icon-feedback.svg') no-repeat center center;
}
.case-item .logo {
    text-align: center;
}
.case-item .case-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 290px;
    height: 100px; /* TODO: ломает фон слайда */
}

.case-item .objective ul li span{
    font-variant: small-caps;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1em;
}
.case-item .solution ul li span{
    font-size: 1.1em;
}
.case-item .result-stats .item {
    gap: 0;
}
.case-item .result-stats .percent,
.case-item .result-stats .description {
    color: var(--text-grey);
}
.case-item .result-stats .percent {
    width: 162px;
    padding-left: 10px;
    padding-right: 10px;
}
.case-item .result-stats .description {
    font-weight: 600;
}
.case-item .feedback-block {
    max-width: 350px;
    margin: 0 auto;
    padding: 15px 25px;
    background-color: var(--background-red-muted);
    border-radius: 25px;
    color: white;
}
.case-item .feedback-block .title {
    display: inline-block;
}
.case-item .feedback-block .title::before {
    background-color: white;
}
.case-item .feedback-block .content {
    margin: 15px 0 0;
    font-size: 18px;
    line-height: 1.4em;
}
.case-item .feedback-block .author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 5px 0;
}
.case-item .feedback-block .photo {
    border-radius: 50%;
    overflow: hidden;
}
.case-item .feedback-block .photo img {
    display: block;
}
.case-item .feedback-block .name {
    text-align: right;
}

/* 12.	Модуль УТП цифры. #utp_block */
.utp-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 0px;
    justify-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 15px;
}

.utp-item {
    display: flex;
    flex-direction: column;
}

.utp-icon {
    max-height: 100%;
    object-fit: contain;
    margin-right: 14px;
}

.utp-icon-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.utp-text {
    font-weight: normal;
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-top: 0;
}

.utp-text-strong{
    /* text-align: center; */
    color: #fff;
    font-size: 34px;
}


/* 13.	Модуль об агентстве. #about  */
.about-section {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    max-width: 1200px;
    margin-top: 10px;
    width: 100%;
}

.about-title{
    color: var(--text-red);
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.about-text{
    font-weight:normal;
    font-size: 20px;
    color: var(--text-dark-grey);
    line-height: 1.3;
    padding: 0 45px 0 45px;
    text-align: justify;
}

.about-text span{
    color: var(--text-red);
    font-weight: 600;
    font-size: 20px;
}


/* 14.	Модуль отзывы. #testimonials */
.testimonials-section {
    display: flex;
    max-width: 1200px;
    margin:35px auto 0;
}

.testimonials-container {
    max-width: 1200px;
    width: 100%;
}

.testimonials-title-wrapper{
    background-color: var(--background-red);
    display: flex;
    width: 400px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 52% 0%, 58% 60%, 58% 100%, 0% 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 20px;
    margin-top: 12px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 300px;
    background-color:  #fff1f1;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 5px 17px rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.testimonial-card::after{
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    /* top: 0;
    left: 0;
    width: 100%;
    height: 100%; */
    border-radius: inherit;
    z-index: -1;
    /* background: transparent; */
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-logo {
    max-width: 180px;
    height: 50px;
    margin: 5px 0 10px 3px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark-grey);
    margin: 10px auto;
    padding: 3px;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-name {
    font-size: 16px;
    color: var(--text-dark-grey);
    padding: 3px;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px #fff solid;
    object-fit: cover;
}


/* 15. Модуль наши клиенты. #clients */
.clients-section {
    display: flex;
    max-width: 1200px;
    margin:35px auto auto;
}

.clients-container{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    padding: 2px 2px 8px 2px;
    width: 100%;
    background-color:  #fff2f2;
    border-radius: 10px;
}

.clients-title-wrapper{
    background-color: #f93700;
    display: flex;
    width: 300px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 75% 0%, 82% 60%, 82% 100%, 0% 100%);
}

.logo-grid {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    row-gap: 28px;
    margin: 5px 10px;
    max-width: 1200px;
}

.logo-wrapper{
    /* width: 220px;
    height: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* 16. Модуль наша команда. #our_team */
.team-section {
    display: flex;
    max-width: 1200px;
    margin: 35px auto 0;
}

.team-title-wrapper{
    background-color: #f93700;
    display: flex;
    width: 420px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 52% 0%, 58% 60%, 58% 100%, 0% 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 20px 0;
    /* row-gap: 20px;
    column-gap: 20px;
    margin-top: 5px; */
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 270px;
    /* max-height: 300px; */
    /* aspect-ratio: 1 / 1.1; */
    /* height: 300px; */
    overflow: hidden;
    background-color: #ffeee7;
    border-radius: 3px;
    box-shadow: 3px 5px 17px rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.team-card::after{
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    z-index: -1;
    background: rgba(255, 255, 255, 0.2);
}

.team-card-body{
    /* aspect-ratio: 1 / 1.1; */
    width: 100%;
    overflow: hidden;
}


.team-photo {
    flex: 1 1 auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-top: 5px;
}

.team-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c2c;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    color: #fff;
    text-align: center;
    padding: 3px;
    height: 37px;
    font-size: clamp(12px, 2vw, 16px);
    font-weight:  bold;
}

.team-caption:hover {
    background-color: #f93700;
    cursor: default;
}


/* 17. Модуль наши инструменты. #our_tools */
.tools-section {
    max-width: 1200px;
    margin: 35px auto 0;
}

.certificates-container.tools-blocks{
    padding: 0;
}

.tools-title-wrapper{
    background-color: #f93700;
    display: flex;
    width: 560px;
    height: 34px;
    align-items: center;
    clip-path: polygon(0% 0%, 52% 0%, 56% 60%, 56% 100%, 0% 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 0;
    justify-items: center;
    max-width: 1200px;
    margin: 16px 0;
}

.tools-block{
    margin-top: 25px;
}

.tools-titles-wrapper{
    display: flex;
    justify-content: space-between;
    /* margin: 0; */
}

.title-right{
    background-color: #2a5aa7;
    border-radius: 20px;
    margin: 5px 15px;
}

.title-right h2{
    margin: 0;
    color: #fff;
    padding: 0px 9px 2px;
    text-align: center;
    font-weight: 600;
    font-size: 24px;

}

.tools-right-title{
    display: flex;
    justify-content: flex-end;
}

.tools-text {
    font-size: 22px;
    color: #575757;
    margin: 12px;
}


/* 18. Модуль контакты #contacts */
.contacts-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 12px;
}

.stripe{
    width: 100%;
    min-height: 60px;
}

.contacts-top {
    background-image: url('../image/contacts-stripe.png');
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
    margin-bottom: -28px;
    z-index: 1;
}

.contacts-block-stripe {
    position: relative;
    z-index: 0;
}

.contacts-block-stripe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color:#fff2f2;
    z-index: -1;
}

.contacts-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-container .titles{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contacts-container h1{
    color:  #414653;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 15px 0;
}

.contacts-container p{
    color: #2c2c2c;
    font-size: 16px;
    font-weight: normal;
}

.phones-blocks{
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: 1fr 2fr;
    column-gap: 100px;
    margin: 30px 60px 70px;
}

.contacts-left {
    min-width: 280px;
    max-width: 360px;
}


.contacts-form label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark-grey);
    /* margin-top: 15px; */
    margin-bottom: 5px;
}

.contacts-form input {
  width: auto;
  padding: 12px 60px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  text-align: center;
}

.contacts-form input:focus {
  outline: none;
  border-color: #f93700;
}

.contacts-form span {
  color: red;
}


.contacts-right {
  /* flex: 2; */
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  /* flex-direction: column; */
  /* gap: 20px; */
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: start;
    color: var(--text-dark-grey);
}

.contact-item .messanger{
    width: 65px;
    height: 65px;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-item .icon {
  width: 55px;
  height: 55px;
  border-radius: 9px;
  background-repeat: no-repeat;
  background-position: center;
}


.contacts-form-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    grid-column: 1 / -1;
    justify-self: center;
}

.contacts-form-btn button {
    background-color: var(--background-red);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    max-width: 310px;
}

/* Иконки*/
.phone-icon {
  background-image: url("../image/logo_telefon.png");
}
.whatsapp-icon {
  background-image: url("../image/whatsapp_2.png");
}
.telegram-icon {
  background-image: url("../image/telegram_2.png");
}
.viber-icon {
  background-image: url("../image/viber.png");
}
.email-icon {
  background-image: url("../image/logo_pochta.png");
}
.clock-icon {
  background-image: url("../image/logo_rezhim.png");
}

.contact-item a {
    font-weight: bold;
    color: var(--text-dark-grey);
    text-decoration: none;
    text-wrap: nowrap;
}

.contact-item a:hover {
  text-decoration: underline;
}

.phone-number{
    letter-spacing: 0.7px;
    font-size: 20px;
}
.phone-number span{
    color: var(--text-red);
}

.email{
    font-size: 18px;
}

.clock{
    font-weight: 600;
}


/* Footer */
.site-footer {
  background-color: #fddede;
  padding: 20px;
  font-size: 14px;
  color: var(--text-dark-grey);
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-top{
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
}

.footer-top img {
  max-width: 150px;
}

.award-icon{
    display: flex;
    justify-content: space-between;
}

.award-img {
  max-width: 100px;
  margin-bottom: 10px;
}

.award-icon p{
    margin-left: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark-grey);
}

.award-icon span{
    font-weight: bold;
    font-size: 20px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #fff2f2;
    margin: 4px 0 20px;
}

.footer-menu {
  margin: 15px 10px;
}

.footer-columns {
    display: grid;
    flex-direction: column;
    grid-template-columns:repeat(4, 1fr);
    column-gap: 60px;
}

.footer-columns div {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.footer-columns strong {
    font-size: 18px;
    font-weight: bold;
}

.col-2 div{
    height: 21px;
}

.footer-columns a {
  text-decoration: none;
  color: var(--text-dark-grey);
  font-size: 16px;
}

.col-3 a{
    margin-bottom: 8px;
}

.col-4 p{
    margin: 0;
    line-height: 18px;
}

.footer-columns .col-4 {
  font-size: 15px;
}

.footer-columns .col-4 a {
    text-decoration: underline;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-dark-grey);
}

.footer-bottom a {
    color: var(--text-dark-grey);
    text-decoration: underline;
    font-weight: 600;
}

/* Fixed icons */
.footer-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.scroll-top {
    background-color: var(--background-red-muted);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 24px;
    cursor: pointer;
    padding-bottom: 6px;
    font-weight: bold;
}

.footer-fixed-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.messenger {
  width: 44px;
  height: 44px;
  background-size: cover;
  border-radius: 50%;
}

.callback-button {
  background-color: #f93700;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}
