* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-subtitle {
    color: #ff3e3e;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 35px;
    background-color: #ff3e3e;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #e02626;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 33px;
    background-color: transparent;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0d0d0d;
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: #ff3e3e;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin: 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff3e3e;
}

.btn-header {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #ff3e3e;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.btn-header:hover {
    color: #ff3e3e;
}

.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(13, 13, 13, 0.6), rgba(13, 13, 13, 0.95)), url('../images/zal_4.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 650px;
    margin-top: 60px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 15px 0 25px 0;
}

.hero-descr {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.features-section {
    padding: 80px 0;
    background-color: #0d0d0d;
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #161616;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #222222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff3e3e;
}

.card-num {
    font-size: 36px;
    font-weight: 900;
    color: rgba(255, 62, 62, 0.2);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.feature-card p {
    color: #999999;
    font-size: 15px;
}

.gallery-section {
    padding: 100px 0;
    background-color: #111111;
}

.gallery-section .section-subtitle,
.gallery-section .section-title {
    text-align: center;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
    margin-top: 50px;
}

.grid-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #222222;
    transition: border-color 0.3s ease;
}

.grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.grid-card:hover {
    border-color: #ff3e3e;
}

.grid-card:hover img {
    transform: scale(1.05);
}

.grid-card.wide { grid-column: span 2; grid-row: span 2; }
.grid-card.tall { grid-column: span 2; grid-row: span 3; }
.grid-card.long { grid-column: span 2; grid-row: span 1; }

.founder-section {
    padding: 100px 0;
    background-color: #0a0a0a;
    border-top: 1px solid #151515;
}

.founder-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.founder-images {
    flex: 1.1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.main-founder-img {
    height: 520px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222222;
}

.main-founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.side-founder-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 520px;
}

.side-img-card {
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #222222;
    background-color: #000;
}

.side-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.side-img-card:hover img {
    filter: grayscale(0%);
}

.founder-info {
    flex: 0.9;
}

.founder-status {
    font-size: 16px;
    color: #ff3e3e;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-quote {
    font-size: 16px;
    color: #cccccc;
    font-style: italic;
    line-height: 1.7;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid #ff3e3e;
}

.founder-bullets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bullet-item {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* СТИЛИ ДЛЯ БЛОКА КОМАНДЫ ТРЕНЕРОВ */
.team-section {
    padding: 100px 0;
    background-color: #111111;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: #161616;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: #ff3e3e;
}

.team-img-box {
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-color: #0d0d0d;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.03);
}

.team-info-box {
    padding: 25px;
    text-align: center;
}

.team-info-box h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: #ff3e3e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-section {
    padding: 100px 0;
    background-color: #0d0d0d;
}

.community-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.community-content, .community-image-side {
    flex: 1;
}

.community-text {
    color: #aaaaaa;
    font-size: 16px;
    line-height: 1.7;
    margin: 25px 0;
}

.community-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 20px;
    line-height: 1;
}

.feature-item p {
    color: #e0e0e0;
    margin: 0;
    font-size: 15px;
}

.feature-item strong {
    color: #ffffff;
}

.community-image-side {
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid #ff3e3e;
    border-radius: 12px;
    z-index: 1;
}

.live-group-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.frame-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #ff3e3e;
    color: #ffffff;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(255,62,62,0.4);
}

.vibe-section {
    padding-top: 100px;
    background-color: #111111;
    overflow: hidden;
}

.vibe-header {
    text-align: center;
    margin-bottom: 40px;
}

.vibe-banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #000;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vibe-scroller {
    width: 100%;
    height: 100%;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.vibe-scroller img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(15%);
}

.vibe-overlay-text {
    position: absolute;
    z-index: 5;
    text-align: center;
}

.btn-instagram {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-instagram:hover {
    transform: scale(1.05);
    background-color: #ff3e3e;
    color: #ffffff;
}

.vibe-banner-container:hover .vibe-scroller {
    opacity: 0.55;
}

.contacts-section {
    padding: 100px 0;
    background-color: #0d0d0d;
}

.contacts-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contacts-info, .contacts-form-block {
    flex: 1;
}

.contacts-descr {
    color: #aaaaaa;
    margin: 20px 0 30px 0;
    font-size: 16px;
}

.info-list p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #cccccc;
}

.info-list strong {
    color: #ffffff;
}

.lead-form {
    background-color: #161616;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #222222;
}

.lead-form h3 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.lead-form input {
    width: 100%;
    padding: 15px;
    background-color: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    margin-bottom: 20px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: #ff3e3e;
}

.form-btn {
    width: 100%;
    text-align: center;
}

.main-footer {
    padding: 40px 0;
    background-color: #050505;
    border-top: 1px solid #111111;
    font-size: 13px;
    color: #555555;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.developer-tag {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .section-title { font-size: 32px; }
    .hero-title { font-size: 46px; }
    .main-nav { display: none; }
    .features-grid { grid-template-columns: 1fr; gap: 20px; }
    .studio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }
    .grid-card.wide, .grid-card.tall, .grid-card.long {
        grid-column: span 2;
        grid-row: span 2;
    }
    .founder-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .founder-images {
        width: 100%;
        max-width: 650px;
    }
    .main-founder-img, .side-founder-gallery {
        height: 420px;
    }
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        gap: 25px;
    }
    .team-img-box {
        height: 500px;
    }
    .community-wrapper, .contacts-wrapper {
        flex-direction: column-reverse;
        gap: 50px;
    }
    .photo-frame { max-width: 80%; }
    .photo-frame::before { top: 15px; left: 15px; }
}

@media (max-width: 768px) {
    .vibe-banner-container { height: 300px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 36px; }
    .studio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .grid-card.wide, .grid-card.tall, .grid-card.long {
        grid-column: span 1;
        grid-row: span 1;
    }
    .founder-images {
        grid-template-columns: 1fr;
    }
    .side-founder-gallery {
        display: none;
    }
    .main-founder-img {
        height: 380px;
    }
    .team-img-box {
        height: 420px;
    }
    .photo-frame { max-width: 100%; }
    .frame-badge { right: 10px; bottom: 10px; }
    .lead-form { padding: 25px; }
    .footer-content { flex-direction: column; gap: 10px; text-align: center; }
}