main {
    margin-top: 120px;
}

.modrepmsc-m-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.modrepmsc-m-banner {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modrepmsc-m-banner img {
    width: 100%;
    height: 700px;
    display: block;
    object-fit: cover;
    max-width: 1920px;
}

.modrepmsc-m-banner-text {
    position: absolute;
    bottom: 50px;
    left: 300px;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    background: #ffffff80;
    border-radius: 30px;
}

.modrepmsc-m-banner-text h1 {
    margin: 10px;
    font-weight: 400;
    color: var(--hov);
    font-size: 42px;
    line-height: 100%;
}

.modrepmsc-m-banner-text p {
    font-size: 20px;
    color: var(--text);
    font-weight: 300;
}

.modrepmsc-m-banner-text a {
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
    border-radius: 30px;
}

.modrepmsc-m-banner-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0;
}

.modrepmsc-m-block {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    padding: 0 10px;
}

.modrepmsc-m-block h2 {
    text-align: left;
    font-weight: 600;
    font-size: 24px;
    padding: 10px;
}

.modrepmsc-m-block p{
    padding: 5px 0 0;
}


.model-cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.model-photo.working {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
}

.model-photo.working img {
    width: 189px;
    height: 256px;
    object-fit: cover;
}

.model-badges {
    display: none;
}


.model-card {
    text-decoration: none;
}

.model-photo .working {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modrepmsc-advantages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.modrepmsc-advantage-item {
    padding: 10px;
    max-width: 570px;
}

.modrepmsc-reviews {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.modrepmsc-review-item {
    padding: 10px;
}

.modrepmsc-faq {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.modrepmsc-faq-item {
    padding: 10px;
    max-width: 570px;
}

.modrepmsc-contacts {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.modrepmsc-contacts a {
    padding: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
}

.modrepmsc-m-start-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px 20px;
    gap: 10px
}

.modrepmsc-m-block  .model-name-card {
    font-size: 18px;
}

.modrepmsc-review-text {
    font-style: italic;
}

.modrepmsc-review-author {
    color: var(--text);
    font-weight: 400;
}

.modrepmsc-m-picture-block img{
    width: 1160px;
    height: 500px;
    object-fit: cover;
    object-position: center;
}


.model-photo-wrapper {
    position: relative;
    overflow: hidden;
}

.model-photo-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.model-all-info-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background: #ffffff40;
    z-index: 1;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.model-photo-wrapper:hover .model-all-info-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-photo.working:hover .model-name-card {
    font-weight: 600;
}

.model-all-info-card p{
    color: white;
    text-indent: 0;
}

.modrepmsc-m-block-about {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.modrepmsc-m-block-about img {
    height: 500px;
    width: auto;
}

.modrepmsc-m-block-contacts {
    text-align: center;
    padding: 20px 10px;
    max-width: 600px;
}

.modrepmsc-m-block-contacts h2 {
    text-align: center;
}

.modrepmsc-m-models-first {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-content: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.modrepmsc-m-models-first form{
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    padding: 10px;
}

.modrepmsc-m-block-models {
    padding: 0 10px 50px;
    border-bottom: 2px solid var(--bord);
}

@media (max-width: 1400px) {
    .modrepmsc-m-picture-block img {
        width: 960px;
        height: 500px;
    }
    
    .modrepmsc-advantage-item {
        max-width: 470px;
    }
    
    .modrepmsc-faq-item {
        max-width: 470px;
    }
}

@media (max-width: 1040px) {
    .modrepmsc-m-picture-block img {
        width: 660px;
        height: 300px;
    }
    
    .modrepmsc-reviews {
        flex-direction: column;
    }
    
    .modrepmsc-m-block h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    
    main {
        margin-top: 100px;
    }
    
    .modrepmsc-m-block-models p {
        text-align: center;
    }
    
    .model-photo.working img {
        width: 150px;
        height: 200px;
        object-fit: cover;
    }
    
    .modrepmsc-m-banner img {
        display: none;
    }
    
    .modrepmsc-m-banner-text {
        position: static;
        transform: none;
    }
    
    .modrepmsc-m-block h2 {
        font-size: 24px;
    }
    
    .modrepmsc-m-block h3 {
        font-size: 20px;
        text-align: center;
    }
    
    .modrepmsc-contacts a {
        text-align: center;
    }
    
    .modrepmsc-m-block-about img {
        padding: 0 20px;
    }
    
    .modrepmsc-m-block-about {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .model-cards-container {
        gap: 10px;
    }
}