.wrapper:not(.header__wrapper){
    max-width: 1200px;
}

h2{font-size: 30px; line-height: 120%; margin-bottom: 20px;}
.button{
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #121c2a;
        margin: 26px 0 0;
    width: 260px;
    height: 64px;
    border: 3px solid #243855;
    transition: all 0.3s ease;
}

.button:hover{
    background-color: #243855;
    color: white;
}
.first-screen{
    padding-top: 150px;
}

.first-screen .wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #243855;
}

.first-screen img{ width: 500px; border-radius: 6px;}
.first-screen__content{width: 500px;}
.first-screen h1{font-size: 36px; line-height: 120%; margin-top: 0;}
.first-screen p {margin-bottom: 15px;}

.first-screen p a{text-decoration: underline; font-weight: bold; color: #243855;}
.counters{
    background: #243855;
    padding: 30px 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.counters ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.counters li{
    text-align: center;
    max-width: 320px;
}

.counters li p{
    font-size: 26px;
}

.counters li p:nth-child(1){
    font-size: 36px;
    margin-bottom: 10px;
}

.creator .wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #243855;
}
.creator img{ width: 500px; border-radius: 6px;}
.creator__content{width: 500px;}

.about_franchise{
    background: #243855;
    padding: 30px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.way {
    padding: 30px 0 30px;
    color: #243855;

}
.way h2{text-align: center;}
.way__container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.way__item{
   width: 350px;
    box-shadow: 0px 0px 6px 0px #24385547;
    padding: 5px;
    border-radius: 6px;
}

.way__item h3{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 120%;
    min-height: 60px;

}
.way__item h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 120%;
    margin-bottom: 15px;
}
.way__item ul{
    padding-left: 20px;
}
.way__item li{
    list-style: disc;
}
.way__item p, .way__item li{
    font-size: 18px;
    line-height: 150%;
    margin-bottom: 15px;
}
.way__item img{
    width: 90%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 10px auto;
}

.way .button{margin: 40px auto 20px;}


.new{
 padding: 30px 0 30px;
    color: #243855;
}

.new ul{
    padding-left: 20px;
}
.new li{
    list-style: disc;
}
.new p, .new li{
    font-size: 18px;
    line-height: 150%;
    margin-bottom: 15px;
}

.new .button{margin: 40px auto 20px;}


.work-and-travel{
    background: #243855;
    padding: 30px 0;
    margin-bottom: 20px;
    text-align: center;
    border-top: 1px solid white;
}

.work-and-travel p {margin-bottom: 30px;}
.send-deal{
    text-align: center;
    color: #243855;
}

.send-deal h2{font-size: 30px;}
.send-deal h3{font-size: 24px;}
.send-deal .button{margin: 20px auto 30px;}

.gallery__images{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;

}

.gallery__images img{
    width: 350px;
    max-width: 100%;
    height: 350px;
    object-fit: cover;
}

.modal-popup.show{
    display: block;
}
.modal-popup{
   position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #24385570;
    display: none;
    z-index: 101;
}
.modal-popup .close{
    font-size: 24px;
    top: 10px;
    right: 10px;
    position: absolute;
    cursor: pointer;
}
 .modal-popup__wrapper{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 320px;
	background-color: #243855;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
	 padding: 20px;
}

.modal-popup__wrapper .contact-form{
    width: 100%;
    padding: 0;
}
.contact-form__fieldset {
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}
.contact-form__field {
    width: 100%;
    height: 64px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 31px 30px 11px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #666666;
    caret-color: #FF7523;
}

.contact-form__field::placeholder {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.contact-form__label {
    position: absolute;
    top: 22px;
    left: 30px;
    transition: 0.4s;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #B6AFAC;
    pointer-events: none;
}

.contact-form__field:not(select):not(:placeholder-shown),
.contact-form__field:focus:not(select):not(:placeholder-shown) {
    border-bottom: 1px solid #FF7523;
}

.contact-form__field:not(select):not(:placeholder-shown) + .contact-form__label,
.contact-form__field:focus:not(select):not(:placeholder-shown) + .contact-form__label {
    top: 6px;
    left: 22px;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.02em;
 }

.contact-form__label-star {
    color: #FF7523;
}

.contact-form__button {
    width: 280px;
    height: 64px;
    background: linear-gradient(135deg, #FF7523 0%, #FF7523 53.12%, #FFAB23 100%);
}

.contact-info {
    width: 48.8%;
}

.contact-info__title {
    margin: 7px 0 40px;
}

.contact-info__text {
    opacity: 0.8;
}

span.contact-form__error {
    color: red;
    font-size: 12px;
}

.studing{
    background: #243855;
    padding: 30px 0;
    margin-top: 20px;
}

.studing h2{ font-size: 36px; line-height: 120%; text-align: center; border: 1px solid white; border-radius: 10px; padding: 10px;}
.studing h3{font-size: 24px; line-height: 120%; margin-bottom: 20px; text-align: center;}
.studing h2 + p, .studing h2 + p + p{text-align: center;}
.studing p{margin-bottom: 15px;}
.studing ul{padding-left: 20px;}
.studing li{margin-bottom: 15px; list-style: disc;}
.studing iframe{
    margin: 20px auto;
    display: block;

}
@media (max-width: 1200px) {
    .first-screen__content{width: 400px;}
    .creator__content{width: 400px;}
    .way__container{flex-wrap: wrap; justify-content: center; gap: 40px;}
    .way__item{width: 550px; max-width: 100%; padding: 20px;}
}

@media (max-width: 800px){
    .first-screen .wrapper{flex-direction: column;}
    .first-screen__content{ width: 100%; margin-bottom: 40px;}
    .creator .wrapper{flex-direction: column;}
    .creator__content{ width: 100%; margin-bottom: 40px;}
    .creator img{ width: 300px;}
    iframe{ max-width: 100%;
    max-height: 200px;}
    .counters ul{flex-wrap: wrap; gap: 40px;}
}
