*{
	box-sizing: border-box;
}
a{
    text-decoration: none;
}

.container{
	width: 100%;
	margin: 0 auto;
	padding: 0 40px;
	height: auto;
    max-width: 1440px;
}
header{
    display: flex;
    position: absolute;
    justify-content: space-between;
    padding: 15px 40px;
    align-items: center; 
    width: 100%;
}
.logo{
    width: 230px;

}
body{
    background-color: #2C2C2C;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}
h1{
    color: #ffffff;
    font-size: 90px;
    font-weight: 900;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.75));
    width: 910px;
    text-align: center;
}
h2{
    font-size: 60px;
    font-weight: 600;
    padding: 20px 0;
    width: 800px;
    color: #ffffff;
    text-wrap: balance;
}
.accent{
    background-color: #FFCF00;
    width: 160px;
    height: 4px;
    filter: drop-shadow(0 0 30px rgba(255, 207, 0, 0.75));
    margin-bottom: 50px;
}
.topmenu{
    display: flex;
    gap: 20px;
    flex-direction: row;
    
}
.topmenu a{
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    transform: scale(1);
}
.topmenu a:hover{
    color: #FFCF00;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.75));
    transform: scale(1.03);

}


.main_screen{
    height: 987px;
    background-image: url('../img/banner.png');
    display: flex;
    width: 100%;
}

.text_main_screen{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;

}
.main_screen p{
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    margin-top: 70px;
    width: 690px;
    text-align: center;
    
}
#btn-2{
    color: #12100F;
    background-color: #FFCF00;
    font-size: 25px;
    font-weight: 500;
    height: 60px;
    width: 365px;
    display: block;
    margin-top: 150px;
    border: none;
    filter: drop-shadow(0 0 25px rgba(255, 207, 0, 0.7));
    transform: scale(1);
}
#btn-2:hover{
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(255, 207, 0, 0.8));
}
#btn-1{
    color: #FFCF00;
    background-color: rgba(18, 16, 15, 0);
    font-size: 20px;
    font-weight: 500;
    height: 40px;
    width: 230px;
    display: block;
    border: 1px solid #FFCF00;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 207, 0, 0.4);
    transform: scale(1);
}
#btn-1:hover{
    color: #FFCF00;
    background-color: #12100F;
    box-shadow: 0 0 30px rgba(18, 16, 15, 0.75);
    transform: scale(1.03);
}
.modal {
display: none; /* Скрыто по умолчанию */
position: fixed; /* Остается на месте */
z-index: 1; /* Размещается сверху */
padding-top: 100px; /* Расположение поля */
left: 0;
top: 0;
width: 100%; /* Полная ширина */
height: 100%; /* Полная высота */
overflow: auto; /* Включить прокрутку при необходимости */
background-color: rgba(18, 16, 15, 0.8); /* Черный с непрозрачностью */
}

/* Модальное содержимое */
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s
}

/* Добавить анимацию */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}

@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}

/* Кнопка «Закрыть» */
.close {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}


.modal-body {padding: 2px 16px;}


.accent_block{
    background-color: #FFCF00;
    color: #12100F;
    width: 100%;
    height: 100px;
    display: flex;
    padding: 20px 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.container_accent{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.accent_card{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.accent_card h3{
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 5px;
}
.accent_card p{
    font-size: 17px;
    font-weight: 500;
}
.history_tbm{
    padding-top: 50px;
}
.block_history{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}
.block_history h2{
    width: 550px;
    padding-top: 0;
    
}
.accent_text{
    font-size: 20px;
    font-weight: 300;
    color:#FFCF00;
}
#img_history_1{
    width: 660px;
    height: 713x;
}
#img_history_2{
    width: 660px;
    height: 553px;
}
.text_history{
    width: 660px;
    background-color: #12100F;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 713px;
    padding: 60px;
    box-shadow: 0 0 30px rgba(18, 16, 15, 0.75)
}
.card_history{
    width: 540px;
    height: 120px;
    display: flex;
    gap: 20px;
}
.card_history img{
    height: 120px;
    width: auto;
}
.card_history h3{
    color: #FFCF00;
    font-size: 27px;
    font-weight: 600;
    padding-bottom: 14px;
}
.card_history p{
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 200;
    text-wrap: balance;
}
#block_color{
    background-color: #FFCF00;
    height: 553px;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.7));
    color: #12100F;
    justify-content: center;
    padding: 33px;
}
#block_color p{
    font-size: 27px;
    font-weight: 100;
    font-style: italic;
    text-wrap: balance;
    line-height: 1.2;
    letter-spacing: 3%;
}
.result_tbm{
    border: none;
    padding-top: 50px;
}

.container_card{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.card_black{
    border-radius: 30px;
    height: 200px;
    width: 660px;
    background-color: #12100F;
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 15px;
    filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
}
.card_white{
    border-radius: 30px;
    height: 200px;
    width: 660px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 15px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}
.card_black h3{
    color: #FFCF00;
    font-size: 80px;
    font-weight: 900;

}
.card_black p{
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    width: 400px;
}
.card_white h3{
    color: #12100F;
    font-size: 70px;
    font-weight: 900;
}
.card_white p{
    color: #12100F;
    font-size: 30px;
    font-weight: 300;
    width: 400px;
}
.block_advantages{
    background-color: #12100F;
    padding: 50px 0;
    margin-top: 50px;
}
table {
  font-size: 25px;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-weight: 200;
  color: #fff;
  border-bottom: 2px solid rgba(255, 207, 0, 0.5);
  padding: 10px 8px;
  vertical-align: bottom;

}
td {
  border-bottom: 1px solid rgba(255, 207, 0, 0.5);
  font-weight: 200;
  font-size: 25px;
  color: #fff;
  padding: 25px 0;
  transition: .3s linear;
  text-align: center;
}
.text_td{
    text-align: left;
    vertical-align: bottom;
}
tr:hover td {
  color: #FFCF00;
  -webkit-text-stroke: 0;
}
#yellow_block{
    width: 300px;
    height: 140px;
    background-color: #FFCF00;
    color: #12100F;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.6));
}
#gray_block{
    width: 300px;
    height: 140px;
    background-color: #48434E;
    color: #8A878F;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: balance;
}
#accent_no_margin{
    margin-bottom: 0;
}
.block_advantages h3{
    font-size: 40px;
    color: #FFCF00;
    text-align: center;
    padding-top: 40px;
    filter: drop-shadow(0 0 30px rgba(255, 207, 0, 0.75));
}
.values_tbm{
    padding-top: 50px;
}
.values_td{
    font-size: 80px;
    font-weight: 900;
    -webkit-text-stroke: 2px #8A878F;
    color:#2C2C2C;
    border-bottom: 1px solid rgba(138, 135, 143, 0.5);
    transition: .1s linear;
    text-align: left;
    vertical-align: bottom;
}
.values_td:hover{
    -webkit-text-stroke: 0;
    color: #FFCF00;
    filter: drop-shadow(0 0 30px rgba(255, 207, 0, 0.75));
}
.values_text{
    border-bottom: 1px solid rgba(138, 135, 143, 0.5);
    text-align: left;
    vertical-align:  bottom;
}
.values_text h3{
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 10px;
}
.values_text p{
    color: #D9D9D9;
    font-size: 20px;
    font-weight: 200;
    padding-bottom: 10px;
}
.values_text:hover{
    color: #fff;
}
.auditorium_tbm{
    padding-top: 50px;
}
.auditorium_container{
    display: flex;
    justify-content: space-between;
}
.auditorium_card{
    width: 420px;
    height: 450px;
    background-color: #12100F;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 60px 33px;
    filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
}
.auditorium_card img{
    height: 100px;
    width: 100px;
    margin-bottom: 40px;
}
.auditorium_card h3{
    font-size: 30px;
    color: #FFF;
    font-weight: 700;
    padding-bottom: 5px;
}
.auditorium_card h4{
    font-size: 17px;
    color: #8A878F;
    font-weight: 300;
    padding-bottom: 33px;
}
.auditorium_card p{
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    font-family: "Inter", sans-serif;
    text-wrap: balance;
    line-height: 1.1;
}
#auditorium_accent{
    filter: drop-shadow(0 0 30px rgba(255, 207, 0, 0.75));
    border: 3px solid #FFCF00;
}
.container_franchise{
    display: flex;
    justify-content: space-between;
}
.franchise_tbm{
    padding-top: 50px;
}
.franchise_text{
    width: 650px;
}
.franchise_text p{
    color:#FFF;
    font-size: 30px;
    font-weight: 300;
    border-bottom: 1px solid #FFCF00;
    line-height: 1.1;
    text-wrap: balance;
    padding-bottom: 10px;
    margin-top: 45px;
}
.franchise_text img{
    position: absolute;
    left: -130px;
    margin-top: 90px;
}
.franchise_card{
    width: 660px;
    height: 235px;
    background-color: #FFCF00;
    color: #12100F;
    border-radius: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.franchise_card h3{
    font-size: 30px;
    font-weight: 600;
}
.franchise_card p{
    font-size: 20px;
    font-weight: 200;
    font-family: "Inter", sans-serif;
    text-wrap: balance;
    color:#2C2C2C;
    width: 440px;
    padding-top: 20px;
    line-height: 1.2;
}
.franchise_card img{
    margin: 0 25px;
}
.income_sources_tbm{
    padding-top: 50px;
}
.card_black_income{
    border-radius: 30px;
    height: 200px;
    width: 660px;
    background-color: #12100F;
    padding: 45px 60px;
    filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
}
.card_white_income{
    border-radius: 30px;
    height: 200px;
    width: 660px;
    background-color: #fff;
    padding: 45px 60px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}
.card_black_income h3{
    color:#FFCF00;
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 10px;
}
.card_black_income p{
    color:#fff;
    font-size: 25px;
    font-weight: 300;
     text-wrap: balance;
}
.card_white_income h3{
    color:#12100F;
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 10px;
}
.card_white_income p{
    color:#12100F;
    font-size: 25px;
    font-weight: 300;
     text-wrap: balance;
}
.block_uniqueness{
    padding-top: 50px;
}
.uniq_cards {
    display: flex;
    flex-direction: row;    
    gap: 16px;
    max-width: 1360px;
    width: 100%;
}
.uniq_card {
    flex: 1;  
    min-width: 0;
    display: flex;
    align-items: center;
    border-radius: 30px;
    background-color: #12100F;
    padding: 50px 24px;
    justify-content: center;
}
.card-number {
    font-family: "Montserrat", sans-serif;
    font-size: 100px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    cursor: default;
    user-select: none;
    flex-shrink: 0;
}
.uniq_card.active {
    flex: 3.5;
    background-color: #FFCF00;
    gap: 20px;
    padding: 50px 10px;
}
.uniq_card.active .card-number {
    color: #12100F;
}
.card-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
}
.uniq_card.active .card-text {
    max-width: 420px;
    opacity: 1;
    white-space: normal;
}
.card-text p {
    font-size: 20px;
    color: #2C2C2C;
    line-height: 1.2;
    font-weight: 200;
}
.card-text h3 {
    font-size: 20px;
    color: #12100F;
    font-weight: 700;
    padding-bottom: 10px;
}
.format_tbm{
    padding-top: 50px;
}
.format_card{
    background-color: #12100F;
    width: 660px;
    height: 760px;
    color: #fff;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
}
.format_card h3{
    font-size: 40px;
    font-weight: 700;
    text-wrap: balance;
    padding-bottom: 15px;
}
.format_card p{
    color: #8A878F;
    font-size: 20px;
    font-weight: 300;
}
.format_card h4{
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 64px;
}
.list_card{
    padding-bottom: 70px;
}
.list_card p{
    color:#FFF;
    font-size: 25px;
    font-weight: 100;
    padding-bottom: 10px;
}
.list_card p::first-letter{
    color:#FFCF00;
    font-size: 40px;
}
.format_button{
    width: 365px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #FFCF00;
    color:#FFCF00;
    background-color: #12100F;
    font-size: 25px;
    font-weight: 500;
    margin: 0 auto;
    transform: scale(1);
}
.format_button:hover{
    transform: scale(1.03);
}
.indent{
    padding: 67px 0 15px 0;
}
sup {
  font-size: smaller; 
  vertical-align: super; 
}
strong{
    font-size: 50px;
}
#active_format{
    border: 4px solid #FFCF00;
    filter: drop-shadow(0 0 30px rgba(255, 207, 0, 0.3));
}
#active_format h4{
    color:#FFCF00;
}
#active_format h3{
    color:#FFCF00;
}
#active_format .format_button{
    background-color: #FFCF00;
    color: #12100F;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.5));
}
.recomend_format{
    position: absolute;
    height: 30px;
    width: 180px;
    background-color:#FFCF00 ;
    color:#12100F;
    border-radius: 20px;
    right: 80px;
    margin-top: -77px;
    z-index: 2;
    padding: 6px 35px;
    font-size: 17px;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.3));
}
.training_tbm{
    padding-top: 50px;
}
.training_tbm h3{
    color:#8A878F;
    font-size: 25px;
    font-weight: 300;
    width: 760px;
    padding-bottom: 35px;
}
.training_tbm .accent{
    margin-bottom: 22px;
}
.training_tbm .container_card{
    gap: 25px;
}
.training_card{
    width: 320px;
    height: 200px;
    background-color: #12100F;
    border-radius: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0px 45px;
    filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
}
.training_card h4{
    color:#fff;
    font-size: 80px;
    font-weight: 900;
    padding-bottom: 10px;
}
.training_card p{
    color:#fff;
    font-size: 23px;
    font-weight: 300;
    text-wrap: balance;
}
#first_active{
    color: #FFCF00;
}
#finish_active{
    border: 2px solid #FFCF00;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.4));
}
#finish_active h4{
    color: #FFCF00;
}
.finish{
    position: absolute;
    height: 30px;
    width: 100px;
    background-color:#FFCF00 ;
    color:#12100F;
    border-radius: 20px;
    right: 30px;
    margin-top: -196px;
    z-index: 2;
    padding: 7px 24px;
    font-size: 17px;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.3));
}
.reviews-section{
    padding-top: 50px;
}

.rating-mini {
	display: inline-block;
	font-size: 0;
}
.rating-mini span {
	padding: 3px;
	font-size: 25px;
	line-height: 1;
	color: lightgrey;
}
.rating-mini > span:before {
	content: '★';
}
.rating-mini > span.active {
	color: #FFCF00;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.75));
}
.reviews-grid {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
}

/* ===== Карточка: фиксированная высота ===== */
.review-card {
background: #12100F;
border-radius: 30px;
padding: 30px;
box-shadow: 0 4px 14px rgba(0,0,0,.06);
cursor: pointer;
display: flex;
flex-direction: column;
height: 300px; 
width: 430px;      
overflow: hidden;
transition: box-shadow .25s ease;
position: relative;
}
.review-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); }

/* Текст обрезается через 6 строк */
.review-text {
font-size: 20px;
font-weight: 100;
padding-top: 7px;
font-style: italic;
overflow: hidden;
display: -webkit-box;
line-clamp: 6;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
line-height: 1.55;
color: #fff;
flex: 1;
}

/* Многоточие-подсказка внизу карточки */
.review-more {
margin-top: 10px;
color: #FFCF00;
font-weight: 600;
user-select: none;
display: none;                 /* показывается только у длинных отзывов */
}
.review-card.long .review-more { display: block; }

.review-card.expanded {
height: auto;                  /* раскрытая карточка занимает нужную высоту */
}
.review-card.expanded .review-text {
line-clamp: unset;
-webkit-line-clamp: unset;     /* снимаем ограничение строк */
overflow: visible;
display: block;
}
.review-card.expanded .review-more { display: none; }

.review-author {
color:#FFF;
margin-top: 14px;
padding-top: 15px;
border-top: 1px solid #8A878F;
font-weight: 600;
font-size: 25px;
display: flex;
align-items: center;
}
.review-author span { color: #888; font-weight: 400; font-size: 17px;}
.author-icon{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    background-color: #8A878F;
    color:#FFCF00;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}
.button_reviews {
    color: #12100F;
    background-color: #FFCF00;
    font-size: 25px;
    font-weight: lighter;
    height: 60px;
    width: 365px;
    display: block;
    padding: 18px 76px;
    font-weight: 600;
    margin: 45px auto;
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.5));
}
.button_reviews:hover{
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.7));
}
.block_gallery{
    padding-top: 50px;
}
.gallery {
   display: flex;
   gap: 30px;
}
.gallery img{
    border-radius: 30px;
    object-fit: cover;
}
.ten_reasons_tbm{
    padding-top: 50px;
}
.container_form{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.container_form label input{
    height: 20px;
    width: 20px;
}
.container_form label{
    font-size: 17px;
    color: #8A878F;
    font-family: "Montserrat", sans-serif;
    width: 660px;
}
.container_form label a{
    text-decoration: underline;
    color: #8A878F;
}
.form-group { margin-bottom: 15px; }
.form-group input, select{
    box-sizing: border-box;
    font-weight: 100;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    background-color: #2C2C2C;
    color: #8A878F;
    border: 1px solid #FFCF00;
    width: 660px;
    height: 60px;
    padding: 14px 25px;
}
.form-group input, select:active{
    color:#FFF;
}
.form-group select{
    color:#FFF;
}

.form-group input[type="checkbox"] {
  accent-color: #FFCF00;
  width: 20px;
  height: 20px;
}
.form-group select::picker-icon {
  color: #FFCF00;

}
.btn {
    padding: 12px 24px;
    cursor: pointer;
    color: #12100F;
    background-color: #FFCF00;
    font-size: 25px;
    font-weight: lighter;
    height: 60px;
    width: 365px;
    display: block;
    border: none;
    font-weight: 600;
    margin: 45px auto;
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.5));
}
.btn:hover{
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.7));
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(18, 16, 15, 0.5);
}
.modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal__content {
    background: #12100F;
    border: 1px solid #FFCF00;
    padding: 30px;
    width: 90%;
    max-width: 750px;
    position: relative;
    color:#8A878F;
    font-size: 20px;
}
.modal__content a {
    text-decoration: underline;
    color: #8A878F;
}
.modal__content h2{
    font-size: 45px;
    text-align: left;
}
.modal__content .accent{
    margin-bottom: 20px;
}
.modal__content p{
    text-align: left;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color:#fff;
}
.modal__close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 50px;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    color:#FFCF00;
}

.errorlist {
    color: #d32f2f;
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 13px;
}

.success-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}
.success-title {
    text-align: center;
    color: #fff;
    font-size: 40px;
    margin: 0 0 8px;
    font-weight: 500;
}
.success-text {
    text-align: center;
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 200;
}
.block_form{
    padding-top: 50px;
}
.block_form .accent{
    margin-bottom: 20px;
}
.block_form p{
    font-size: 30px;
    font-weight: 300;
    width: 500px;
    color: #fff;
    padding-bottom: 20px;
}
.form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
}
footer{
    height: 200px;
    background-color: #12100F;
}
footer .logo{
    padding-left: 0;
}
.logo:hover{
    transform: scale(1.02);
}
.blok1{
   display: flex;
   padding: 10px 0;
   justify-content: space-between;
   align-items: center;
}
.menu_footer{
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: auto;
   gap:15px;
}
.menu_footer li{
   list-style: none;
}
.menu_footer li a{
    font-weight: 100;
    font-size: 20px;
    color:#fff;
    transform: scale(1);

}
.menu_footer li a:hover{
    color: #FFCF00;
    filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.75));
    transform: scale(1.03);

}
.line{
   background-color: #FFCF00;
   height: 1px;
   width: 100%;
   margin: auto;
}
.blok2{
   display: flex;
   padding: 20px 0 40px 0;
   justify-content: space-between;
   align-items: flex-end;
   
}
.blok2 p{
    font-weight: 100;
    font-size: 20px;
   font-size: 20px;
   color: #fff;
}
.blok2 a{
    font-weight: 100;
    font-size: 20px;
   font-size: 20px;
   color: #FFCF00;
   transform: scale(1);
}
.blok2 a:hover{
  filter: drop-shadow(0 0 20px rgba(255, 207, 0, 0.75));
  transform: scale(1.03);
}
#str{
   text-align: center;
}
.messenger_footer{
    display: flex;
    align-items: center;
    width: 170px;
    gap: 15px;
    justify-content: flex-end;
}
.messenger_footer img:hover{
    transform: scale(1.2);

}
#gallery_two{
        gap: 30px;
    }
@media(min-width: 768px) and (max-width: 991px){
    .container{
        width: 100%;
        padding: 0 10px;
    }
    .menu{
        background: rgb(0, 0, 0, 0.0);
        padding: 20px;
    }
    .topmenu  a {
        text-decoration: none;
        display: block;
        transition: .4s ease-in-out;
    }
    .topmenu>li>a {
        color: #fff;
        font-size: 25px;
        font-weight: 100;
        width: 190px;
        height: 30px;
        text-align: center;
        padding: 5px 0;

    }
    .topmenu>li>a:hover{
        font-weight: 300;

    }

    .burger-checkbox {
        position: absolute;
        visibility: hidden;
    }
    .burger {
        z-index: 2;
        cursor: pointer;
        display: block;
        position: relative;
        border: none;
        background: transparent;
        width: 40px;
        height: 26px;
    }
    .burger::before,
    .burger::after {
        content: '';
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 10px;
        background: #FFCF00;
    }
    .burger::before {
        top: 0;
        box-shadow: 0 11px 0 #FFCF00;
        transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }
    .burger::after {
        bottom: 0;
        transition: bottom .3s .15s, transform .3s;
    }
    .burger-checkbox:checked + .burger::before {
        top: 11px;
        transform: rotate(45deg);
        box-shadow: 0 6px 0 rgba(0,0,0,0);
        transition: box-shadow .15s, top .3s, transform .3s .15s;
    }
    .burger-checkbox:checked + .burger::after {
        bottom: 11px;
        transform: rotate(-45deg);
        transition: bottom .3s, transform .3s .15s;
    }
    .topmenu {
        background-color: #12100F;
        z-index: 1;
        position: absolute;
        display: grid;
        justify-items: center;
        list-style-type: none;
        transform: translateX(200%);
        transition: .2s;
        top: 0px;
        padding: 120px 50px;
    }
    li {
        display: block;
        padding: 15px;
        text-align: center;
        text-decoration: none;
    }

    .burger-checkbox:checked ~ .topmenu {
            transform: translateX(-5%);
    }
    .block_menu{
        display: grid;
        justify-content: space-around;
        align-items: center;
        background: #F0E8E0;
        width: 500px;
        height: auto;
        align-items: center;
        border-radius: 20px;
        font-family: 'Open Sans', sans-serif;
    }
    .block_menu li a:hover{
        background-color: rgba(0,0,0,0);
        font-weight: bold;
    } 
    header {
        justify-content: flex-end;
    }
    .logo {
        width: 370px;
    }
    h2{
        font-size: 50px;
    }
    h1{
        font-size: 70px;
    }
    .topmenu a {
        font-size: 17px;
    }
    #btn-1{
        width: 210px;
    }
    .accent_card h3 {
        font-size: 30px;
    }
    .accent_card p {
        font-size: 15px;
    }
    .block_history {
        flex-direction: column;
        gap: 20px
    }
    .text_history{
        width: 930px;
    }
    .card_history {
        width: auto;
    }
    #img_history_1{
        width: 0;
        height: 0;
    }
    #img_history_2{
        width: 930px;
        height: 796px;
    }
    #block_color {
        width: 930px;
        height: 350px;
    }
    .card_black{
        width: 930px;
    }
    .card_white{
        width: 930px;
    }
    #yellow_block{
        background-color: rgba(0,0,0,0);
        height: auto;
        width: 220px;;
        color: #FFCF00;
        font-size: 25px;
    }
    #gray_block {
        background-color: rgba(0,0,0,0);
        height: auto;
        width: 220px;;
        font-size: 25px;
    }
    td{
        font-size: 20px;
    }
    .block_advantages h3{
        font-size: 30px;
    }
    .auditorium_container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .auditorium_card {
        width: 100%;
        align-items: center;
        text-align: center;
        height: 400px;
    }
    .franchise_text img{
        height: 0;
        width: 0;
    }
    .container_franchise {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .franchise_text p {
        text-align: center;
    }
    .franchise_card {
        width: 930px;
        justify-content: center;
    }

    .uniq_card.active .card-number{
        font-size: 0;
        display: none;
    }
    .format_card{
        width: 930px;
        align-items: center;
        text-align: center;
    }
    .list_card{
        text-align: left;
    }
    .training_card {
        width: 450px;
    }
    .review-card{
        width: 450px;
    }
    .gallery {
        flex-direction: column;
    }
    #img_first{
        width: 930px;
        height: 930px;
    }
    .img_two{
        width: 450px;
        height: 450px;
    }
    .img_form{
        width: 0;
        height: 0;
    }
    #block_center{
        justify-content: center;
    }
    .blok2 p {
        font-size: 17px;
    }
    .blok2 a{
        font-size: 17px;
    }
    .menu_footer li a{
        font-size: 17px;
    }
    .messenger_footer img{
        width: 35px;
        height: 35px;
    }
    footer {
        height: 180px;
    }
    footer .logo{
        width: 100px;
    }
    .messenger_footer{
        width: 100px;
    }
    .img_form{
        width: 0;
        height: 0;
    }
    .card_black_income h3{
        font-size: 20px;
    }
    .card_black_income p{
        font-size: 17px;
    }
    .card_white_income h3{
        font-size: 20px;
    }
    .card_white_income p{
        font-size: 17px;
    }
    .card_black_income{
        padding: 45px 35px;
    }
    .card_white_income{
        padding: 45px 35px;
    }
    .values_text p{
        font-size: 17px;
    }
    .values_text h3{
        font-size: 25px;
    }
    .values_td {
        font-size: 70px;
    }
    .card-number {
        font-size: 70px;
    }
    .card-text h3{
        font-size: 17px;
    }
    .card-text p{
        font-size: 17px;
    }
    .format_button {
        width: 100%;
        font-size: 20px;
        height: 50px;
    }
    .format_card h3 {
        font-size: 30px;
    }
    .format_card p{
        font-size: 17px;
    }
    .format_card h4{
        font-size: 30px;
    }
    strong{
        font-size: 40px;
    }
    .list_card p{
        font-size: 20px;
    }
    .list_card p::first-letter{
        font-size: 35px;
    }
    footer li{
        padding: 0;
    }
    .review-author{
        font-size: 20px;
    }
    .author-icon {
        width: 50px;
        height: 50px;
    }
    .review-text {
        font-size: 17px;
    }
}
  @media (max-width: 768px) {
    .cards { flex-direction: column; }
    .card.active { flex: 1; }

    .card.active .card-text {
      max-height: 200px;
      max-width: none;
    }
}
@media(min-width: 992px) and (max-width: 1023px){
    .container{
        max-width: 950px;
        padding: 0 10px;
    }
    .menu{
        background: rgb(0, 0, 0, 0.0);
        padding: 20px;
    }
    .topmenu  a {
        text-decoration: none;
        display: block;
        transition: .4s ease-in-out;
    }
    .topmenu>li>a {
        color: #fff;
        font-size: 25px;
        font-weight: 100;
        width: 190px;
        height: 30px;
        text-align: center;
        padding: 5px 0;

    }
    .topmenu>li>a:hover{
        font-weight: 300;

    }

    .burger-checkbox {
        position: absolute;
        visibility: hidden;
    }
    .burger {
        z-index: 2;
        cursor: pointer;
        display: block;
        position: relative;
        border: none;
        background: transparent;
        width: 40px;
        height: 26px;
    }
    .burger::before,
    .burger::after {
        content: '';
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 10px;
        background: #FFCF00;
    }
    .burger::before {
        top: 0;
        box-shadow: 0 11px 0 #FFCF00;
        transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }
    .burger::after {
        bottom: 0;
        transition: bottom .3s .15s, transform .3s;
    }
    .burger-checkbox:checked + .burger::before {
        top: 11px;
        transform: rotate(45deg);
        box-shadow: 0 6px 0 rgba(0,0,0,0);
        transition: box-shadow .15s, top .3s, transform .3s .15s;
    }
    .burger-checkbox:checked + .burger::after {
        bottom: 11px;
        transform: rotate(-45deg);
        transition: bottom .3s, transform .3s .15s;
    }
    .topmenu {
        background-color: #12100F;
        z-index: 1;
        position: absolute;
        display: grid;
        justify-items: center;
        list-style-type: none;
        transform: translateX(200%);
        transition: .2s;
        top: 0px;
        padding: 120px 50px;
    }
    li {
        display: block;
        padding: 15px;
        text-align: center;
        text-decoration: none;
    }

    .burger-checkbox:checked ~ .topmenu {
            transform: translateX(-5%);
    }
    .block_menu{
        display: grid;
        justify-content: space-around;
        align-items: center;
        background: #F0E8E0;
        width: 500px;
        height: auto;
        align-items: center;
        border-radius: 20px;
        font-family: 'Open Sans', sans-serif;
    }
    .block_menu li a:hover{
        background-color: rgba(0,0,0,0);
        font-weight: bold;
    } 
    header {
        justify-content: flex-end;
    }
    .logo {
        width: 730px;
    }
    h2{
        font-size: 50px;
    }
    .topmenu a {
        font-size: 17px;
    }
    #btn-1{
        width: 210px;
    }
    .accent_card h3 {
        font-size: 30px;
    }
    .accent_card p {
        font-size: 15px;
    }
    .block_history {
        flex-direction: column;
        gap: 20px
    }
    .text_history{
        width: 930px;
    }
    .card_history {
        width: auto;
    }
    #img_history_1{
        width: 0;
        height: 0;
    }
    #img_history_2{
        width: 930px;
        height: 796px;
    }
    #block_color {
        width: 930px;
        height: 350px;
    }
    .card_black{
        width: 930px;
    }
    .card_white{
        width: 930px;
    }
    #yellow_block{
        background-color: rgba(0,0,0,0);
        height: auto;
        width: 220px;;
        color: #FFCF00;
        font-size: 25px;
    }
    #gray_block {
        background-color: rgba(0,0,0,0);
        height: auto;
        width: 220px;;
        font-size: 25px;
    }
    td{
        font-size: 20px;
    }
    .block_advantages h3{
        font-size: 30px;
    }
    .auditorium_container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .auditorium_card {
        width: 930px;
        align-items: center;
        text-align: center;
        height: 400px;
    }
    .franchise_text img{
        height: 0;
        width: 0;
    }
    .container_franchise {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .franchise_text p {
        text-align: center;
    }
    .franchise_card {
        width: 930px;
        justify-content: center;
    }
    .card_black_income {
        width: 930px;

    }
    .card_white_income {
        width: 930px;

    }
    .uniq_card.active .card-number{
        font-size: 0;
    }
    .format_card{
        width: 930px;
        align-items: center;
        text-align: center;
    }
    .list_card{
        text-align: left;
    }
    .training_card {
        width: 450px;
    }
    .review-card{
        width: 450px;
    }
    .gallery {
        flex-direction: column;
    }
    #img_first{
        width: 930px;
        height: 930px;
    }
    .img_two{
        width: 450px;
        height: 450px;
    }
    .img_form{
        width: 0;
        height: 0;
    }
    #block_center{
        justify-content: center;
    }
    .blok2 p {
        font-size: 17px;
    }
    .blok2 a{
        font-size: 17px;
    }
    .menu_footer li a{
        font-size: 17px;
    }
    .messenger_footer img{
        width: 35px;
        height: 35px;
    }
    footer {
        height: 180px;
    }
    footer .logo{
        width: 100px;
    }
    .messenger_footer{
        width: 100px;
    }
}

@media(min-width: 1024px) and (max-width: 1279px){
    .container{
        max-width: 1000px;
        padding: 0 10px;
    }
    h1{
        width: auto;
    }
    h2{
        font-size: 50px;
    }
    .topmenu a {
        font-size: 17px;
    }
    #btn-1{
        width: 210px;
    }
    .logo {
        width: 210px;
    }
    .accent_card h3 {
        font-size: 30px;
    }
    .accent_card p {
        font-size: 15px;
    }
    #img_history_1{
        width: 480px;
        height: 519px;
    }
    #img_history_2{
        width: 480px;
        height: 402px;
    }
    .text_history{
        width: 480px;
        height: 519px;
        padding: 40px;
    }
    .card_history {
        width: 440px;
    }
    #block_color {
        width: 480px;
        height: 402px;
    }
    .card_history p{
        font-size: 17px;
    }
    .card_history h3{
        font-size: 25px;
    }
    #block_color p{
        font-size: 25px;
    }
    .card_black{
        width: 480px;
    }
    .card_white{
        width: 480px;
    }
    .container_card{
        gap: 20px;
    }
    #yellow_block {
        font-size: 25px;
        width: 240px;
        height: 120px;
        filter: none;
    }
    #gray_block{
        font-size: 25px;
        width: 240px;
        height: 120px;
    }
    .auditorium_card {
        width: 310px;
        padding: 60px 25px;
    }
    .auditorium_card h3{
        font-size: 25px;
    }
    .auditorium_card p{
        font-size: 17px;
    }
    .franchise_card {
        width: 480px;
        height: 200px;
    }
    .franchise_text p {
        font-size: 20px;
    }
    .franchise_text{
        width: 480px;
    }
    .franchise_text img {
        left: -200px;
        width: 725px;
    }
    .franchise_card img {
        width: 60px;
    }
    .franchise_card h3{
        font-size: 25px;
    }
    .franchise_card p{
        font-size: 17px;
        width: auto;
    }
    .block_advantages h3{
        font-size: 35px;
    }
    .card_black_income {
        width: 480px;
        padding: 55px 55px;
        height: 185px;
    }
    .card_white_income {
        width: 480px;
        padding: 55px 55px;
        height: 185px;
    }
    .card_white_income p{
        font-size: 20px;
    }
    .card_white_income h3{
        font-size: 25px;
    }
    .card_black_income p{
        font-size: 20px;
    }
    .card_black_income h3{
        font-size: 25px;
    }
    .card-number{
        font-size: 60px;
    }
    .uniq_card.active .card-number{
        font-size: 0;
    }
    .card-text p{
        font-size: 17px;
    }
    .format_card {
        width: 480px;
        padding: 40px;
        height: 720px;
    }
    .format_card p{
        font-size: 17px;
    }
    .list_card p {
        font-size: 20px;
    }
    .list_card p::first-letter{
        font-size: 35px;
    }
    strong {
        font-size: 40px;
    }
    .format_card h3{
        font-size: 35px;
    }
    .format_card h4{
        font-size: 35px;
    }
    .recomend_format {
        right: 45px;
        margin-top: -58px;
    }
    .training_card {
        width: 230px;
    }
    .training_card p{
        font-size: 20px;
    }
    .training_card h4{
        font-size: 70px;
    }
    .training_tbm .container_card {
        gap: 15px;
    }
    .review-card {
        width: 480px;
    }
    .reviews-grid{
        gap: 20px;
    }
    #img_first{
        width: 480px;
        height: 480px;
    }
    .img_two{
        width: 230px;
        height: 230px;
    }
    .gallery{
        gap: 20px;
    }
    #gallery_two{
        gap: 20px;
    }
    .gallery img{
        border-radius: 20px;
    }
    .card_black p{
        font-size: 25px;
    }
    .block_form p {
        font-size: 25px;
    }
    .img_form{
        width: 650px;
        height: 569px;
    }
    .container_form label{
        width: 500px;
    }
    .form-group input, select{
        width: 500px;
    }
    .modal__content{
        width: 600px;
    }
    .main_screen p{
        width: 500px;
    }
    .blok2 p {
        font-size: 17px;
    }
    .blok2 a{
        font-size: 17px;
    }
    .menu_footer li a{
        font-size: 17px;
    }
    .messenger_footer img{
        width: 35px;
        height: 35px;
    }
    footer {
        height: 180px;
    }


}
@media(min-width: 1280px) and (max-width: 1399px){
    .container{
        max-width: 1240px;
    }
    h1{
        width: auto;
    }
    .accent_card h3 {
        font-size: 35px;
    }
    #img_history_1{
        width: 560px;
        height: 605px;
    }
    #img_history_2{
        width: 560px;
        height: 469px;
    }
    .text_history{
        width: 560px;
        height: 605px;
        padding: 40px;
    }
    .card_history img {
        height: 100px;
        width: auto;
    }
    #block_color {
        width: 560px;
        height: 469px;
    }
    .card_history p{
        font-size: 17px;
    }
    .card_history h3{
        font-size: 25px;
    }
    #block_color p{
        font-size: 25px;
    }
    .card_black{
        width: 560px;
    }
    .card_white{
        width: 560px;
    }
    .auditorium_card {
        width: 370px;
    }
    .franchise_card {
        width: 560px;
    }
    .franchise_text p {
        font-size: 25px;
    }
    .franchise_text{
        width: 560px;
    }
    .franchise_text img {
        left: -200px;
    }
    .franchise_card img {
        width: 80px;
    }
    .franchise_card h3{
        font-size: 27px;
    }
    .card_black_income {
        width: 560px;
        padding: 55px 55px;
    }
    .card_white_income {
        width: 560px;
        padding: 55px 55px;
    }
    .card_white_income p{
        font-size: 22px;
    }
    .card_white_income h3{
        font-size: 30px;
    }
    .card_black_income p{
        font-size: 22px;
    }
    .card_black_income h3{
        font-size: 30px;
    }
    .format_card {
        width: 560px;
        padding: 50px
    }
    .recomend_format {
        right: 60px;
        margin-top: -65px;
    }
    .training_card {
        width: 270px;
    }
    .training_card p{
        font-size: 20px;
    }
    .training_card h4{
        font-size: 70px;
    }
    .review-card {
        width: 370px;
    }
    .reviews-grid{
        gap: 20px;
    }
    .review-text {
        font-size: 17px;
    }
    .review-author{
        font-size: 20px;
    }
    .author-icon {
        font-size: 35px;
    }
    #img_first{
        width: 560px;
        height: 560px;
    }
    .img_two{
        width: 270px;
        height: 270px;
    }
    .gallery{
        gap: 20px;
    }
    #gallery_two{
        gap: 20px;
    }
    .img_form{
        width: 650px;
        height: 556px;
    }
    .container_form label{
        width: 600px;
    }
    .form-group input, select{
        width: 600px;
    }
    .modal__content{
        width: 700px;
    }
    .main_screen p{
        width: 600px;
    }
}
@media (min-width: 1400px) and (max-width: 1440px){
    .container{
    max-width: 1360px;
    #img_history_1{
        width: 620px;
        height: 670px;
    }
    #img_history_2{
        width: 620px;
        height: 519px;
    }
    .text_history{
        width: 620px;
        height: 670px;
        padding: 50px;
    }
    .card_history img {
        height: 120px;
        width: auto;
    }
    #block_color {
        width: 620px;
        height: 519px;
    }
    .card_black{
        width: 620px;
    }
    .card_white{
        width: 620px;
    }
    .auditorium_card {
        width: 410px;
    }
    .franchise_card {
        width: 620px;
    }
    .franchise_text p {
        font-size: 27px;
    }
    .franchise_text{
        width: 620px;
    }
    .franchise_text img {
        left: -145px;
    }
    .card_black_income {
        width: 620px;
        padding: 45px 54px;
    }
    .card_white_income {
        width: 620px;
        padding: 45px 54px
    }
    .format_card {
        width: 620px;
        padding: 50px
    }
    .recomend_format {
        right: 50px;
        margin-top: -67px;
    }
    .training_card {
        width: 300px;
    }
    .review-card {
        width: 400px;
    }
    #img_first{
        width: 620px;
        height: 620px;
    }
    .img_two{
        width: 300px;
        height: 300px;
    }
    .img_form{
        width: 700px;
        height: 613px;
    }

}
}


/* Responsive layout overrides */
@media (max-width: 1279px) {
    .container {
        width: 100%;
        max-width: 1000px;
        padding-right: 24px;
        padding-left: 24px;
    }


    h1 {
        width: auto;
        max-width: 100%;
        font-size: clamp(48px, 7vw, 76px);
    }

    h2,
    .block_history h2 {
        width: auto;
        max-width: 100%;
        font-size: clamp(36px, 5vw, 52px);
    }

    .main_screen {
        height: auto;
        min-height: min(900px, 100vh);
        background-position: center;
        background-size: cover;
    }

    .text_main_screen {
        width: 100%;
        padding: 150px 24px 80px;
    }

    .main_screen p {
        width: min(100%, 690px);
        font-size: clamp(20px, 3vw, 28px);
    }

    .accent_block {
        height: auto;
        min-height: 100px;
        padding: 20px 24px;
    }

    .container_accent {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .accent_card h3 {
        font-size: clamp(24px, 3vw, 34px);
    }

    .block_history {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }
    .block_history{
        padding-bottom: 0;
    }

    #img_history_1{
        width: 0;
        height: 0;
    }
    #img_history_2 {
        width: 100%;
        height: auto;
        max-height: 560px;
        object-fit: cover;
        border-radius: 30px;
    }

    .text_history,
    #block_color {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: clamp(24px, 4vw, 48px);
    }

    .card_history {
        width: 100%;
        height: auto;
        min-height: 120px;
    }

    .card_black,
    .card_white {
        width: calc((100% - 30px) / 2);
        height: auto;
        min-height: 160px;
        padding: clamp(24px, 3vw, 40px);
    }

    .card_black h3,
    .card_white h3 {
        flex-shrink: 0;
        font-size: clamp(42px, 6vw, 64px);
    }

    .card_black p,
    .card_white p {
        width: auto;
        font-size: clamp(19px, 2.4vw, 25px);
    }

    .block_advantages {
        overflow: hidden;
    }

    .block_advantages table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        table-layout: fixed;
    }

    .block_advantages th,
    .block_advantages td {
        min-width: 110px;
        padding: 12px 8px;
        font-size: 18px;
    }

    .block_advantages th:first-child,
    .block_advantages td:first-child {
        min-width: 220px;
    }

    .container_franchise {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .franchise_text,
    .franchise_card {
        width: 100%;
        max-width: 760px;
    }

    .franchise_text img {
        display: none;
    }

    .franchise_card {
        min-height: 190px;
        padding: 24px;
    }

    .card_black_income,
    .card_white_income,
    .format_card {
        width: calc((100% - 30px) / 2);
        min-height: 180px;
    }

    .format_card {
        min-height: 700px;
        padding: clamp(24px, 3vw, 48px);
    }

    .training_card {
        width: calc((100% - 48px) / 3);
        max-width: 320px;
    }

    .training_tbm h3 {
        width: auto;
        max-width: 760px;
    }

    .review-card {
        width: calc((100% - 30px) / 2);
        max-width: 480px;
    }

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

    #img_first {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    #gallery_two {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        min-width: 0;
    }

    .img_two {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    #block_center {
        align-items: center;
        gap: 24px;
    }

    .container_form {
        flex: 1 1 440px;
        min-width: 0;
    }

    .container_form form {
        width: 100%;
    }

    .container_form label,
    .block_form p {
        width: 100%;
    }

    .form-group input:not([type="checkbox"]),
    .form-group select {
        width: 100%;
        max-width: 100%;
    }

    .modal__content {
        width: min(70%, 700px);
    }

    footer {
        height: auto;
    }
}
@media (max-width: 1023px) {
    header .menu {
        position: relative;
    }

    .topmenu {
        top: 0;
        right: 0;
        left: auto;
        width: max-content;
        max-width: calc(100vw - 32px);
        box-sizing: border-box;
        transform: none;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s, visibility .2s;
    }

    .burger-checkbox:checked ~ .topmenu {
        transform: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}
@media (max-width: 767px) {
    .container {
        max-width: 600px;
        padding-right: 20px;
        padding-left: 20px;
    }

    header {
        position: absolute;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
    }

    header .logo {
        flex: 0 1 auto;
        width: auto;
    }

    header .logo img {
        width: 76px;
        height: auto;
    }

    header .menu {
        position: relative;
        margin-left: auto;
    }

    #btn-1 {
        width: auto;
        height: auto;
        padding: 10px 12px;
        font-size: 14px;
    }

    .burger-checkbox {
        position: absolute;
        visibility: hidden;
    }

    .burger {
        position: relative;
        z-index: 2;
        display: block;
        width: 36px;
        height: 26px;
        cursor: pointer;
    }

    .burger::before,
    .burger::after {
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 10px;
        background: #FFCF00;
        content: "";
    }

    .burger::before {
        top: 0;
        box-shadow: 0 11px 0 #FFCF00;
    }

    .burger::after {
        bottom: 0;
    }

    .burger-checkbox:checked + .burger::before {
        top: 11px;
        transform: rotate(45deg);
        box-shadow: 0 6px 0 transparent;
    }

    .burger-checkbox:checked + .burger::after {
        bottom: 11px;
        transform: rotate(-45deg);
    }

    .topmenu {
        position: absolute;
        top: -15px;
        right: -5px;
        z-index: 1;
        display: grid;
        justify-items: stretch;
        width: max-content;
        max-width: calc(100vw - 32px);
        padding: 25px 40px;
        background-color: #12100F;
    }

    .topmenu > li {
        padding: 10px 20px;
        text-align: center;
    }

    .topmenu > li > a {
        width: auto;
        height: auto;
        font-size: 16px;
    }

    .burger-checkbox:checked ~ .topmenu {
        transform: translateX(0);
    }

    .main_screen {
        min-height: 700px;
    }

    .text_main_screen {
        padding: 150px 20px 60px;
    }

    h1 {
        font-size: clamp(40px, 10vw, 64px);
    }

    h2,
    .block_history h2 {
        font-size: 40px;
    }
    .card_black_income h3{
        font-size: 25px;
    }
    .card_black_income p{
        font-size: 20px;
    }
    .card_white_income h3{
        font-size: 25px;
    }
    .card_white_income p{
        font-size: 20px;
    }
    .card_white_income{
        height: 150px;
    }
    .card_black_income{
        height: 150px;
    }
    .main_screen p {
        margin-top: 36px;
        font-size: 19px;
    }

    #btn-2,
    .btn,
    .format_button,
    .button_reviews {
        width: min(100%, 365px);
        height: auto;
        min-height: 56px;
        padding: 14px 20px;
        margin-top: 36px;
        font-size: 19px;
        text-align: center;
    }
    .button_reviews{
        padding: 18px 20px;
    }
    .messenger_footer{
        width: auto;
    }
    footer .logo{
        width: auto;
    }
    .blok1{
        flex-direction: column;
    }
    .container_accent {
        gap: 18px 12px;
        flex-direction: column;
    }
    .accent_card h3 {
        font-size: 40px;
    }

    .phone_black{
        background-color: #12100f;
        filter: drop-shadow(0 0 20px rgba(18, 16, 15, 0.7));
    }
    .phone_black p{
        color: #fff;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
    }
    .phone_black h3{
        color:#FFCF00;
    }
    .phone_white{
        background-color: #fff;
    }
    .phone_white p{
        color: #12100f;
    }
    .phone_white h3{
        color:#12100f;
    }
    .accent_card {
        flex-basis: calc(50% - 12px);
    }
    .accent_card p {
        font-size: 17px;
    }
    .block_history {
        gap: 16px;
    }

    .text_history,
    #block_color {
        padding: 24px;
        border-radius: 20px;
    }

    .card_history {
        gap: 14px;
    }

    .card_history img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .card_history h3 {
        font-size: 19px;
    }

    .card_history p,
    #block_color p {
        font-size: 16px;
        letter-spacing: normal;
    }

    .container_card {
        gap: 16px;
    }

    .card_black,
    .card_white,
    .card_black_income,
    .card_white_income,
    .format_card {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 30px;
        border-radius: 20px;
    }

    .card_black,
    .card_white {
        gap: 12px;
    }

    .card_black h3,
    .card_white h3 {
        font-size: clamp(38px, 10vw, 56px);
    }

    .card_black p,
    .card_white p {
        font-size: 20px;
    }

    #yellow_block,
    #gray_block {
        width: auto;
        height: auto;
        padding: 10px;
        font-size: 20px;
        background-color: rgba(0, 0, 0, 0);
        filter: none;
    }
    #yellow_block{
        color: #FFCF00;
    }
    td img{
        width: 20px;
        height: 20px;
    }
    .block_advantages th,
    .block_advantages td {
        min-width: 90px;
        font-size: 14px;
        padding: auto;
    }

    .auditorium_container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .auditorium_card {
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 40px 24px;
    }

    .franchise_text p {
        font-size: 20px;
    }

    .franchise_card {
        padding: 20px;
    }

    .franchise_card p {
        width: auto;
        font-size: 16px;
    }

    .uniq_cards {
        flex-wrap: wrap;
        gap: 12px;
    }

    .uniq_card,
    .uniq_card.active {
        flex: 1 1 100%;
        gap: 16px;
        padding: 20px;
        height: 150px;
    }
    .format_card{
        height: 620px;
    }
    .card-number {
        font-size: 48px;
    }
    .format_card p {
        font-size: 17px;
    }
    .list_card p::first-letter{
        font-size: 35px;
    }

    .uniq_card.active .card-number {
        font-size: 48px;
    }

    .uniq_card.active .card-text {
        max-width: 100%;
        white-space: normal;
    }

    .format_card {
        min-height: 650px;
    }

    .format_card h3,
    .format_card h4 {
        font-size: 28px;
    }

    .format_card h4 {
        padding-bottom: 32px;
    }

    .list_card {
        padding-bottom: 28px;
    }
    strong{
        font-size: 35px;
    }
    .list_card p{
        font-size: 20px;
    }
    .format_button {
        margin-top: auto;
    }

    .training_card {
        width: 100%;
        max-width: none;
        padding: 16px;
    }

    .training_tbm h3 {
        font-size: 20px;
    }

    .training_card h4 {
        font-size: 56px;
    }

    .training_card p {
        font-size: 20px;
    }

    .review-card {
        width: 100%;
        max-width: 480px;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    #gallery_two {
        gap: 10px;
    }

    #block_center {
        flex-direction: column;
        align-items: stretch;
    }

    .container_form {
        width: 100%;
        padding-top: 0;
    }

    .img_form {
        display: none;
    }

    .block_form p {
        font-size: 20px;
    }

    .form-group input:not([type="checkbox"]),
    .form-group select {
        height: 54px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .modal__content {
        width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        padding: 24px;
    }

    .modal__content h2 {
        width: auto;
        padding-right: 28px;
        font-size: clamp(28px, 7vw, 40px);
    }

    .modal__content p {
        font-size: 16px;
    }

    .blok1,
    .blok2 {
        flex-wrap: wrap;
        gap: 16px;
    }

    .menu_footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .menu_footer li {
        padding: 6px;
    }

    .blok2 {
        padding-bottom: 24px;
    }

    .blok2 p,
    .blok2 a,
    .menu_footer li a {
        font-size: 14px;
    }
    .block_advantages h3{
        font-size: 30px;
    }
    .values_text {
        padding-left: 10px;
    }
    .values_text h3 {
        font-size: 25px;
    }
    .values_text p {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }
    h2{
        font-size: 30px;
    }
    header {
        padding-right: 12px;
        padding-left: 12px;
    }

    header .logo img {
        width: 60px;
    }
    .uniq_card, .uniq_card.active{
        height: 190px;
    }
    #btn-1 {
        padding: 9px;
        font-size: 12px;
    }
    .block_advantages th:first-child, .block_advantages td:first-child {
        min-width: 160px;
    }
    #yellow_block, #gray_block{
        font-size: 17px;
    }
    .block_advantages h3 {
        font-size: 25px;
    }
    .values_td{
        font-size: 65px;
    }
    .values_text h3 {
        font-size: 20px;
    }
    .values_text p {
        font-size: 17px;
    }
    .franchise_card img {
        width: 80px;
        margin: 0 15px;
    }
    .franchise_card h3 {
        font-size: 22px;
        font-weight: 600;
    }
    .franchise_card p {
        font-size: 15px;
        padding-top: 10px;
    }
    .franchise_text p {
        margin-top: 0;
        text-align: center;
    }
    .text_main_screen {
        padding-right: 16px;
        padding-left: 16px;
    }

    .card_black,
    .card_white {
        font-size: 25px;
        padding: 18px;
    }
    .card_black img{
        width: 100px;
    }
    .card_black h3,
    .card_white h3 {
        font-size: 36px;
    }
    .menu_footer {
        flex-direction: column;
    }
    .card_black p,
    .card_white p {
        font-size: 15px;
    }

    .training_card {
        width: 100%;
    }

    .review-card {
        padding: 22px;
    }

    .review-author {
        font-size: 18px;
    }
    .review-text {
        font-size: 17px;
    }

    .modal__content {
        padding: 20px;
    }
    .card_black_income h3{
        font-size: 25px;
    }
    .card_history img {
        width: 0;
        height: 0;
        object-fit: contain;
    }
}
@media(max-width: 480px){
    .uniq_card, .uniq_card.active {
        height: 250px;
    }
    .card-text p {
        font-size: 17px;
    }
    .card-text h3{
        font-size: 17x;
    }
    .main_screen p{
        font-size: 17px;
    }
    .block_advantages h3 {
        font-size: 20px;
    }
    .card_black_income p {
        font-size: 17px;
    }
    .card_white_income p {
        font-size: 17px;
    }
    .card_black_income h3 {
        font-size: 20px;
    }
    .card_white_income h3 {
        font-size: 20px;
    }
    .list_card p::first-letter{
        font-size: 30px;
    }
}
@media(max-width: 480px){
        #btn-2, .btn, .format_button, .button_reviews {
        font-size: 17px;
    }
    .format_card h3, .format_card h4 {
        font-size: 25px;
    }
    strong {
        font-size: 30px;
    }
    .format_card p {
        font-size: 15px;
    }

}
@media(min-width: 480px) and (max-width: 575px){
    .container{
    max-width: 460px;
}
}
@media(min-width: 576px) and (max-width: 767px){
    .container{
    max-width: 550px;
}
}
