/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.t-body {
    font-family: 'TildaSans', Arial, sans-serif;
    color: #333;
}

/* Контейнеры */
.t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.t-col_12 {
    width: 100%;
}

/* Обложка */
.t-cover {
    height: 100vh;
    min-height: 685px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-cover__filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));
}

.t-cover__wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Типография */
.t001__uptitle {
    text-transform: uppercase;
    font-size: 18px;
    color: #000;
    margin-bottom: 60px;
    font-weight: 300;
}

.t001__title {
    font-size: 72px;
    color: #333;
    margin-bottom: 38px;
    font-weight: 400;
}

.light {
    font-weight: 300;
}

.t001__descr {
    font-size: 24px;
    color: #000;
    line-height: 1.4;
}

.t-section {
    padding: 30px 0;
}

.t-section__title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 90px;
    font-weight: 300;
}

/* Галерея */
.gallery {
    padding: 30px 0;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 360px;
    height: 384px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Контакты */
.contacts {
    padding: 150px 0;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    line-height: 22px;
}

.phone {
    font-size: 30px;
    margin: 20px 0;
}

.social-links {
    margin-top: 75px;
    display: flex;
    justify-content: center;
}

.social-link {
    display: inline-block;
    width: 30px;
    height: 30px;
}

/* Стрелка */
.t-cover__arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.t-cover__arrow-svg {
    fill: #000;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Popup */
.t-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.t-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.t-popup__close-wrapper {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.t-popup__close-icon {
    fill: #fff;
}

.t-popup__container {
    position: relative;
    max-width: 960px;
    width: 90%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.t-cover__arrow {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Адаптивность */
@media (max-width: 960px) {
    .t-section__title {
        margin-bottom: 45px;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 360px;
        height: 300px;
    }
    
    .contacts {
        padding: 75px 0;
    }
    
    .t001__title {
        font-size: 36px;
    }
    
    .phone {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .t-cover {
        min-height: 500px;
        height: 100vh;
    }
    
    .gallery-row {
        gap: 10px;
    }
    
    .contact-info {
        font-size: 16px;
    }
}