﻿/* corp.css — корпоративная страница Игрищ Енотского */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0c12;
    color: #edf2ff;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Секции с фоновыми изображениями */
.section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,1.00);
}

    .section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 12, 18, 0.82);
        z-index: 1;
    }

    .section > .container {
        position: relative;
        z-index: 2;
    }

/* Фоны для разных секций */
.section-hero {
    background-image: url('/landing/corp/assets/hero-bg.jpg');
}

.section-adaptive {
    background-image: url('/landing/corp/assets/adaptive-bg.jpg');
}

.section-features {
    background-image: url('/landing/corp/assets/features-bg.jpg');
}

.section-format {
    background-image: url('/landing/corp/assets/format-bg.jpg');
}

.section-reviews {
    background-image: url('/landing/corp/assets/reviews-bg.jpg');
}

.section-gallery {
    background-image: url('/landing/corp/assets/gallery-bg.jpg');
}

.section-roles {
    background-image: url('/landing/corp/assets/roles-bg.jpg');
}

.section-contact {
    background-image: url('/landing/corp/assets/contact-bg.jpg');
}

/* Типографика */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF, #E6A57E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

    h2:after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 0;
        width: 70px;
        height: 4px;
        background: #E66C3E;
        border-radius: 4px;
    }

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center {
    text-align: center;
}
.text-start {
    text-align: left;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E66C3E;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 60px;
    text-decoration: none;
    transition: 0.25s ease;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(230,108,62,0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(230,108,62,0.7);
    box-shadow: none;
}

    .btn-outline:hover {
        background: rgba(230,108,62,0.12);
        border-color: #E66C3E;
        transform: translateY(-2px);
    }

.btn:hover {
    background: #c95a30;
    transform: translateY(-3px);
}

/* Сетки */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Карточки */
.card {
    background: rgba(20, 22, 36, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s;
}

    .card:hover {
        border-color: rgba(230,108,62,0.5);
        background: rgba(28, 30, 48, 0.85);
    }

.badge {
    background: #E66C3E20;
    color: #FFB085;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

/* Вертикальные мини-фото */
.vertical-photo {
    width: 100%;
    max-width: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}

    .vertical-photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        object-fit: cover;
        display: block;
    }

.photo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

/* Видео-блок в стиле enotsky.ru */
.video-section {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #0f1119;

    /*padding: 80px 0;*/
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
}

    .video-wrapper video {
        width: 100%;
        display: block;
    }

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1c2e, #0a0c18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .video-poster.hidden {
        opacity: 0;
        pointer-events: none;
    }

.play-button {
    /* width: 70px;
    height: 70px;
    background: #E66C3E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: transform 0.2s;*/

    background: rgba(245, 158, 11, 0.9);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

    .play-button:hover {
        transform: scale(1.1);
        background: rgba(245, 158, 11, 1);
    }

/*.video-poster-text {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
}*/
.video-poster-text {
    font-size: 1.3rem;
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
}

/* Галерея */
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        margin-top: 32px;
    }

    .gallery-item {
        border-radius: 20px;
        overflow: hidden;
        aspect-ratio: 4/3;
        background: #1a1c2a;
        box-shadow: 0 12px 24px -12px black;
        cursor: pointer;
        transition: transform 0.2s;
    }

        .gallery-item:hover {
            transform: scale(1.02);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    /* Модальное окно */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.95);
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

        .modal img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 16px;
        }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
    }
    /* Отзывы */
    .review-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .review-header {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .review-photo {
        width: 60px;
        height: 60px;
        border-radius: 60px;
        object-fit: cover;
        background: #2a2e44;
    }

    .review-name {
        font-size: 2rem;
        font-weight: bold;
        color: #E66C3E;
    }
    .review-occupation{
        font-size: 1rem;
        font-weight: normal;
        color: #ffffff;
    }

.review-quotes {
    display: block;
    width: 100%;
    z-index: 10;
    font-size: 3rem;
    color: #336699;
    line-height: 3rem;
}

.review-quotes-opening {
    text-align: left;
}

.review-quotes-closing {
    text-align: right;
}

    /* Форма */
    .form-group {
        margin-bottom: 18px;
        text-align: left;
    }

        .form-group input {
            width: 100%;
            padding: 14px 18px;
            border-radius: 60px;
            border: 1px solid #3a3e5a;
            background: rgba(10,12,24,0.8);
            color: white;
            font-size: 1rem;
            font-family: inherit;
        }

            .form-group input:focus {
                outline: none;
                border-color: #E66C3E;
                background: rgba(20,22,40,0.95);
            }

            .form-group input::placeholder {
                color: #8a8faa;
            }

    .check-list {
        list-style: none;
        margin-top: 16px;
    }

        .check-list li {
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

    .check-icon {
        color: #E66C3E;
        font-weight: bold;
        font-size: 20px;
    }
    /* Адаптивность */
    @media (max-width: 880px) {
        .grid-2, .grid-3 {
            grid-template-columns: 1fr;
            gap: 28px;
        }

        h1 {
            font-size: 2.2rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        .section {
            padding: 50px 0;
            background-attachment: scroll;
        }

        .vertical-photo {
            max-width: 150px;
        }
    }

    .stat-number {
        font-size: 2.3rem;
        font-weight: 800;
        color: #E66C3E;
        line-height: 1.2;
    }

    hr {
        border-color: #2f3348;
        margin: 20px 0;
    }

    footer {
        text-align: center;
        padding: 40px 0;
        font-size: 0.8rem;
        background: #05070c;
        color: #8a8faa;
    }
    /* --- Видео-секция ------------------------------------------------------------------------- */
    .video-wrapper {
        position: relative;
        /*padding-bottom: 56.25%;*/ /* 16:9 соотношение */
        padding-bottom: 177.78%;
        height: 0;
        background-color: #1e293b;
    }

    @media (max-width: 768px) {
        .video-container {
            max-width: 350px; /* Еще уже на мобильных */
        }

        .play-button {
            width: 70px;
            height: 70px;
            font-size: 2rem;
        }

        .video-poster-text {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 576px) {
        .video-container {
            max-width: 300px;
        }
    }

    .checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #c0c5e0;
    gap: 12px;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(10,12,24,0.8);
    border: 1.5px solid #3a3e5a;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: 0.2s;
    flex-shrink: 0;
}

.checkbox-label input:checked ~ .checkmark {
    background: #E66C3E;
    border-color: #E66C3E;
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label:hover .checkmark {
    border-color: #E66C3E;
}

.checkbox-text {
    line-height: 1.4;
}

/* Стиль для disabled кнопки */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}