@charset "UTF-8";

/*
Theme Name: Main
Description: Make by developers
Requires at least: 5.3
Tested up to: 6.0
Requires PHP: 7.4
Version: 1.0
*/

* {
    font-family: 'Loos Wide';
}

html, body {
    padding: 0;
    margin: 0;
    background-color: #F5F5F7;
}

a {
    text-decoration: unset;
    color: #000;
}

h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
}

ul, li {
    list-style-type: none;
}

h1 {
    font-weight: 500;
    font-size: 60px;
    line-height: 100%;
}

h2 {
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
}

h2 span {
    color: #BB2649;
}

.button {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    padding: 25px 54px;
    background-color: #fff;
    color: #000;
    border-radius: 100px;
    width: fit-content;
    cursor: pointer;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
}

main {
    display: flex;
    flex-direction: column;
    gap: 140px;
}

/* header */

header {
    position: absolute;
    width: 100vw;
	max-width: -webkit-fill-available;
    z-index: 100;
    color: #fff;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 67px;
}

header nav {
    display: flex;
    gap: 32px;
}

header nav a {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

header .show_modal {
    text-decoration: underline;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

/* top_banner */

.top_banner {
    padding-block: 312px 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(3, 3, 5, 0.4) 0%, #BB2649 100%), url(/wp-content/themes/main/img/figure.webp);
    background-color: #030305;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right -100% top;
    z-index: 1;
    color: #fff;
}

.top_banner_tags{
  display:flex;
  gap:16px;
  margin-bottom: 24px;
}

.top_banner_tags > div{
  position: relative;
  display:inline-flex;
  align-items:center;

  padding: 6px 28px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;

  color:#fff;

  background: transparent !important;   /* важно */
  background-color: transparent !important;
  border-radius: 29px;
}

.top_banner_tags > div::before{
  content:"";
  position:absolute;
  inset:0;
  padding:1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #858585, #434343);
  pointer-events:none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.top_banner h1,
.top_banner p {
    max-width: 888px;
}

.top_banner h1 {
    font-weight: 500;
    font-size: 60px;
    line-height: 100%;
    margin-bottom: 28px;
}

.top_banner p{
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 60px;
}

/* problems */

.problems h2 {
    max-width: 811px;
    margin-bottom: 24px;
}

.problems > .container p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    max-width: 766px;
    margin-bottom: 62px;
}

.problem_card:not(:last-child) {
    height: 190px;
}

.problem_card .container {
    max-width: unset;
    padding-inline: calc((100vw - 1800px) / 2);
    height: 274px;
    padding-top: 42px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.problem_card:last-child .container {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.problem_card:nth-child(1) .container { background-color: #fff; }
.problem_card:nth-child(2) .container { background-color: #F4F4F4; }
.problem_card:nth-child(3) .container { background-color: #E7E7E7; }
.problem_card:nth-child(4) .container { background-color: #DCDCDC; }
.problem_card:nth-child(5) .container { background-color: #C8C8C8; }
.problem_card:nth-child(6) .container { background-color: #404040; }

.problem_card:nth-child(1) .numeric { color: #ddd; }
.problem_card:nth-child(2) .numeric { color: #ddd; }
.problem_card:nth-child(3) .numeric { color: #CBCBCB; }
.problem_card:nth-child(4) .numeric { color: #B8B8B8; }
.problem_card:nth-child(5) .numeric { color: #999999; }
.problem_card:nth-child(6) .numeric { color: #5C5C5C; }

.card_header {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.card_header .numeric {
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
}

.card_name {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    color: #212121;
}

.problem_card:nth-child(6) .card_name {
    color: #FFFFFF;
}

.card_description {
    display: flex;
    gap: 24px;
    align-items: center;
    height: fit-content;
}

.card_description > div {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #404040;
    max-width: 684px;
}

.problem_card:nth-child(6) .card_description > div {
    color: #E5E5E5;
}

/* plan */

.plan {
    background: linear-gradient(89.83deg, #8D1C37 -14.75%, #212121 130.83%);
    padding-block: 140px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.plan .container {
    position: relative;
    z-index: 1;
}

.plan .bg_image {
    position: absolute;
    z-index: 0;
    bottom: 0;
}

.plan h2 {
    max-width: 924px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 24px;
}

.plan .container > p {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 62px;
}

.plan_cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 22px;
}

.plan_cards .card:not(:last-child) {
    border: 1px solid #FFFFFF99;
    background-color: #FFFFFF4D;
    backdrop-filter: blur(30.600000381469727px);
    border-radius: 16px;
    padding: 42px 40px;
    height: 436px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan_cards .card:last-child {
    background-color: #BB2649;
    border-radius: 16px;
    padding: 42px 40px;
    height: 436px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan_cards .card img {
    width: 44px;
}

.plan_cards .card h3 {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 16px;
}

.plan_cards .card p {
    color: #FFFFFF99;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.plan_cards .card .button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* personal */

.personal h2 {
    max-width: 879px;
    margin-bottom: 62px;
}

.personal-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.personal-list img {
    width: 100%;
    margin-bottom: 42px;
}

.personal-list h3 {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    color: #212121;
    margin-bottom: 16px;
}

.personal-list p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #404040;
    max-width: 466px;
}

.personal .bg_text {
    position: absolute;
    transform: translateY(-100px);
}

.personal_cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    margin-top: 98px;
    height: 846px;
}

.personal_cards .card {
    width: 680px;
    height: 466px;
    padding: 50px;
    border-radius: 14px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

.personal_cards .card h3 {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 24px;
    max-width: 350px;
}

.personal_cards .card p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    max-width: 480px;
}

.personal_cards .gray_card {
    background-color: #404040;
    transform: rotateZ(-12deg) translate(-63px, 106px);
}

.personal_cards .red_card {
    background: linear-gradient(89.83deg, #8D1C37 -14.75%, #212121 130.83%);
    transform: rotateZ(16deg) translate(-40px, -95px);
}

.personal-rounds img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.personal-rounds img:nth-child(2) {transform: translateX(-20px);}
.personal-rounds img:nth-child(3) {transform: translateX(-40px);}

/* cases */

.cases > .container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 62px;
}

.cases h2 {
    max-width: 718px;
}

.case_swiper_navigation {
    width: fit-content !important;
}

.swiper-pagination-bullet {
    width: 55px !important;
    height: 32px !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    opacity: 1 !important;
}

.cases_swiper {
    padding-left: calc((100vw - 1800px) / 2) !important;
    padding-right: calc((100vw - 1800px) / 2) !important;
}

.case.swiper-slide {
    width: 1648px;
    aspect-ratio: 1648 / 850;
    background-color: #fff;
    border-radius: 14px;
    padding: 48px;
    box-sizing: border-box;
    display: flex;
    gap: 42px;
}

.case_info {
    flex: 4;
}

.case-img {
    flex: 2;
}

.case_info h3 {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 36px;
}

.case_info span {
    color: #737373;
}

.case_info_request {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 28px;
}

.case_info_list {
    margin-bottom: 36px;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.case_info_list ul {
    padding-left: 35px;
}

.case_info_list ul li {
    list-style-type: disc;
}

.case_blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.case_block:nth-child(3):last-child {
    grid-column: 1 / 3;
}

.case_block {
    background-color: #F5F5F7;
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 8px;
}

.case_block_field {
    color: #BDBDBD;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 28px;
}

.case_block_value {
    background-image: linear-gradient(90deg, #D7003A, #19087E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
    font-size: 28px;
    line-height: 36px;
}

/* ads */

.ads .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ads_left h2 {
    max-width: 688px;
    margin-bottom: 24px;
}

.ads_left p {
    max-width: 650px;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #404040;
}

.ads_card {
    margin-bottom: 24px;
    border-radius: 24px;
    background-color: #fff;
    padding: 24px;
    box-sizing: border-box;
}

.ads_card_title {
    display: flex;
    justify-content: space-between;
}

.ads_card_plus {
    background-color: #BB2649;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.ads_card_plus::before,
.ads_card_plus::after {
    content: "";
    width: 25px;
    height: 3px;
    border-radius: 3px;
    position: absolute;
    background-color: #fff;
}

.ads_card_plus::before {
    transform: rotate(90deg);
}

.ads_card .numeric {
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #DDDDDD;
}

.ads_card .card_name {
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    color: #212121;
}

.ads_card_content {
    margin-top: 0;
    height: 0;
    overflow: hidden;
    transition: height .3s ease, margin-top .3s ease;
    max-width: 609px;
}

.ads_card_content p,
.ads_card_content ul {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 14px;
}

.ads_card_content ul {
    padding-left: 35px;
    position: relative;
}

.ads_card_content ul li::before {
    content: "—";
    position: absolute;
    left: 1px;
}

/* reasons */

.reasons {
    padding-bottom: 140px;
    position: relative;
    overflow: hidden;
}

.reasons::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 54%;
    display: block;
    background: linear-gradient(89.83deg, #8D1C37 -14.75%, #212121 130.83%);
}

.reasons .container {
    position: relative;
    z-index: 1;
}

.reasons h2 {
    max-width: 1022px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 62px;
}

.reasons_cards {
    display: flex;
    gap: 24px;
}

.reasons_card {
    padding: 27px;
    box-sizing: border-box;
    flex: 1;
    background-color: #fff;
    border-radius: 16px;
    margin-bottom: 96px;
    height: 369px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reasons_card img {
    width: 28px;
    height: 28px;
}

.reasons_card h3 {
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 16px;
    color: #212121;
}

.reasons_card p {
    color: #404040;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.reasons .button {
    width: 504px;
    text-align: center;
    margin: 0 auto;
}

/* more */

.more {
    position: relative;
    overflow: visible;
}

.more .container {
    overflow: visible;
}

.team_picture {
    width: 100%;
    border-radius: 20px;
    height: 770px;
    object-position: center;
    object-fit: cover;
}

.more .container > h2,
.more .container > p {
    max-width: 827px;
}

.more .container > h2 {
    margin-bottom: 24px;
}

.more .container > p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 62px;
}

.more_item {
    min-width: 970px;
    max-width: 970px;
    border-radius: 16px;
    background-color: #fff;
    padding: 32px;
    box-sizing: border-box;
}

.more_item h3 {
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 26px;
    color: #212121;
}

.more_item p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 62px;
    color: #404040;
}

.more_item_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.more_item_card {
    background-color: #F5F5F7;
    padding: 7px 18px;
    border-radius: 100px;
}

.more_item_card > div {
    background-image: linear-gradient(90deg, #D7003A, #19087E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* держим секцию, пока листаем горизонталь */
.more_pin{
  position: -webkit-sticky;
  position: sticky;
  top: 24px; /* чтобы не прилипало к краю */
  z-index: 1;
}

/* окно */
.more_items{
  display: block;       /* важно: НЕ flex */
  overflow: hidden;
  margin-bottom: 62px;
  padding-inline: max(24px, calc((100vw - 1800px) / 2 - 6px));
  box-sizing: border-box;
  position: relative;
}

.more_items_track{
  display: flex;
  gap: 28px;
  will-change: transform;
  transform: translate3d(0,0,0);
  position: relative;
}
.more_spacer{
  width:100%;
  height:0;
}

/* form */

.form .container {
    box-sizing: border-box;
    padding: 88px 84px 140px 76px;
    background: linear-gradient(89.83deg, rgba(141, 28, 55, 0.78) -14.75%, rgba(0, 0, 0, 0.78) 130.83%);
    background-color: #BB2649;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 140px;
    color: #fff;
}

.form form {
    position: relative;
    z-index: 1;
}

.form .bg_image {
    position: absolute;
    z-index: 0;
    right: -200px;
    bottom: 0;
    transform: rotateX(180deg);
    filter: brightness(0.6);
    opacity: .5;
}

.form h2 {
    margin-bottom: 24px;
}

.form-left p {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.form label {
    display: block;
}

.form label:not(:last-child) {
    margin-bottom: 24px;
}

.form label input {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 11px;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    background: transparent;
    padding: 24px 28px;
    box-sizing: border-box;
    width: 100%;
}

.form label input::placeholder {
    color: #C0C0C0;
}

.form-checkbox {
    margin-top: 16px;
    display: flex !important;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox a {
    color: #BB2649;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #fff;
    padding: 3px;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    margin-top: 7px;
}

.input_checkbox {
    display: none;
}

.checkbox:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 2px;
    opacity: 0;
    transition: .4s;
}

.input_checkbox:checked + .checkbox:after {
    opacity: 1;
}

.form-submit {
    width: 100%;
    border: 0;
    margin-top: 36px;
}

/* Footer */

footer{
    background: #404040;
    padding-block: 67px 45px;
    color: #fff;
    position: relative;
}

footer a{
    color: #fff;
}

.footer_top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 155px;
}

.footer-logo {
    margin-bottom: 48px;
    width: 414px;
}

.footer_inn {
    color: #C8C8C8;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 48px;
}

.footer_top_right {
    display: flex;
    gap: 96px;
}

.footer_menu_title,
.footer_info_title {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: #C8C8C8;
    margin-bottom: 20px;
}

.footer_info_phone {
    margin-bottom: 36px;
}

.footer_info_email {
    margin-bottom: 56px;
}

.footer_info_value {
    font-weight: 400;
    font-size: 32px;
    line-height: 36px;
}

.footer_social {
    display: flex;
    gap: 16px;
}

.footer_social a {
    display: block;
    width: fit-content;
}

.footer_menu a {
    display: block;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 16px;
}

.footer_contacts {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

.footer_bottom_info {
    display: flex;
    gap: 87px;
}

.footer_bottom_info > * {
    color: #C8C8C8;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
}

.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer .bg_text {
    position: absolute;
    max-width: 1800px;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
}

/* request_modal */

.request_modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, .0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease, background-color .25s ease;
}

.request_modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background-color: rgba(10, 10, 10, .63); /* #0A0A0AA1 примерно */
}

.request_modal .modal_window {
  transform: translateY(14px) scale(.98);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
}

.request_modal.open .modal_window {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal_window {
    width: 980px;
    background-color: #fff;
    border-radius: 20px;
    padding: 50px;
    box-sizing: border-box;
}

.modal_header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.modal_title {
    font-weight: 400;
    font-size: 42px;
    line-height: 50px;
}

.close_modal {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close_modal::after,
.close_modal::before {
    content: "";
    width: 51.6px;
    height: 4.3px;
    display: block;
    position: absolute;
    background-color: #BB2649;
}

.close_modal::after {transform: rotate(45deg);}
.close_modal::before {transform: rotate(135deg);}

.modal_window label {
    display: block;
}

.modal_window label:not(:last-child) {
    margin-bottom: 24px;
}

.modal_window label input {
    color: #212121;
    background-color: #F4F4F4;
    border-radius: 11px;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    padding: 24px 28px;
    box-sizing: border-box;
    border: 0;
    width: 100%;
}

.modal_window label input::placeholder {
    color: #797979;
}

.modal_window .form-checkbox {
    margin-top: 16px;
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.modal_window .form-checkbox .checkbox {
    border: 1px solid #000000;
    margin: 0;
}

.modal_window .form-checkbox .checkbox:after {
    background-color: #000;
}

.modal_window .form-checkbox a {
    color: #BB2649;
}

.hidden-fields-container {
	display: none;
}

.button-red {
    border: 0;
    background-color: #BB2649;
    color: #fff;
    width: 100%;
    margin-top: 30px;
}

/* ads accordion overrides */
.ads_card_content {
    margin-top: 0;
    height: 0;
    overflow: hidden;
    transition: height .3s ease, margin-top .3s ease;
}

.ads_card_content p,
.ads_card_content ul {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 14px;
}

.ads_card_content ul {
    padding-left: 35px;
    position: relative;
}

.ads_card_content ul li::before {
    content: "•";
    position: absolute;
    left: 1px;
}

.ads_card--open .ads_card_content {
    margin-top: 32px;
}

.ads_card--open .ads_card_plus::before {
    opacity: 0;
}
