html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

body {
    font-family: "SF-Pro";
    text-underline-offset: 4px;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
}

.section-content {
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.close {
    position: absolute;
    top: 70px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close:hover {
    color: #ccc;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.review-full {
    max-width: 700px;
    width: 90%;
    color: #fff;
    text-align: left;
    padding: 40px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-full-name {
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
}

.review-full-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    max-height: 60vh;
    overflow-y: auto;
    white-space: pre-wrap;
}

.review-full-vk {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
}

.review-full-vk img {
    width: 36px;
    height: 36px;
}

.review-full-vk:hover {
    color: #fff;
}

.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.sign-window {
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    width: 90%;
    height: 270px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 12px;
    padding: 70px 70px;
    color: #fff;
    text-align: center;
}

.sign-window .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;    
}

.sign-window .top-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sign-window .top-info img {
    width: 50px;             
    height: auto;
}

.sign-window .top-info p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    text-align: left; 
    color: #AAAAAA;
}

.sign-window hr {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #ffffff;
}

.sign-window .bottom-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sign-window .bottom-info img {
    width: 36px;
    height: 36px;
}

.sign-window .bottom-info .phone {
    margin: 0;
    font-size: 20px;
    letter-spacing: 1px;
}

.mobile-message {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px;
    padding: 30px 20px;
    color: #fff;
    text-align: center;
}

.mobile-message-content p {
    font-size: 18px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 25px;
}

.mobile-message-close {
    background: #eb6363;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-message-close:hover {
    background: #c94a4a;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(5%);
    }
    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media (max-width: 600px) {
    section.about h2,
    section.directions .directions__title,
    section.philosophy h2,
    section.gallery h2,
    section.reviews h2 {
        font-size: 36px;
        line-height: 1.2;
    }
    .section {
        padding-left: 15px;
        padding-right: 15px;
    }
}