* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg-primary: #0b0b0b;
    --bg-secondary: #111;
    --bg-card: #161616;
    --bg-card-hover: #1e1e1e;
    --accent: #d32f2f;
    --accent-hover: #b71c1c;
    --text-primary: #f0f0f0;
    --text-secondary: #aaa;
    --text-muted: #666;
    --border: #252525;
    --border-light: #2a2a2a;
    --radius: 16px;
    --transition: 0.3s ease;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.82);
    z-index: -1;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--accent);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}
.nav-link {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
}
.nav-link:hover {
    color: #fff;
    background: var(--bg-card-hover);
}
.nav-link.active {
    color: #fff;
    background: var(--accent);
}

.page {
    display: block;
    padding: 40px 0 60px;
}
.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
}
.section-title span {
    color: var(--accent);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 38px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
    text-decoration: none;
}
.btn:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
}

.info-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    margin: 24px 0;
}

.contacts-box {
    background: var(--bg-card);
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}
.contacts-box p {
    margin: 8px 0;
    color: #ccc;
}
.contacts-box strong {
    color: #fff;
}
.contacts-box a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}
.contacts-box a:hover {
    color: #fff;
}

.address-text {
    text-align: left;
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 6px;
}
.address-text strong {
    color: #fff;
}
.address-text .label {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.map-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-width: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin: 16px auto 8px;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}
.map-container:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}
.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer {
    background: var(--bg-secondary);
    padding: 28px 0;
    margin-top: 30px;
    border-top: 1px solid #1e1e1e;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}
.footer a {
    color: #888;
    transition: var(--transition);
}
.footer a:hover {
    color: #fff;
}

/* ГЛАВНАЯ */
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}
.hero-text {
    flex: 1 1 380px;
}
.hero-logo {
    max-width: 456px;
    margin-bottom: 16px;
}
.hero-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}
.hero-text h1 span {
    color: var(--accent);
}
.hero-text .subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 18px 0 28px;
}
.hero-text .phone-large {
    font-size: 28px;
    font-weight: 900;
    margin-top: 0;
}
.hero-text .phone-large a {
    color: #fff;
    transition: var(--transition);
}
.hero-text .phone-large a:hover {
    color: var(--accent);
}
.hero-text .btn-group {
    margin-top: 20px;
}
.hero-text .btn-group .btn {
    margin-right: 12px;
}

.hero-map {
    flex: 1 1 300px;
    max-width: 420px;
    padding: 0;
    margin: 0;
}
.map-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-card);
    display: block;
}
.map-image:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}
.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.address-block {
    margin-top: 16px;
    padding: 16px 18px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}
.address-block p {
    color: var(--text-secondary);
    font-size: 14px;
}
.address-block strong {
    color: #fff;
}
.address-block .label {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

/* НАПРАВЛЕНИЯ */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.direction-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.direction-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.direction-card .card-image {
    height: 150px;
    overflow: hidden;
    background: #1e1e1e;
}
.direction-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.direction-card:hover .card-image img {
    transform: scale(1.05);
}
.direction-card .card-content {
    padding: 14px 16px 18px;
    text-align: center;
}
.direction-card .card-content .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 10px;
}
.direction-card .card-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.direction-card .card-content p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* ТРЕНЕР */
.trainer-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 36px 28px;
    text-align: center;
    max-width: 900px;
    margin: 30px auto 0;
    transition: var(--transition);
}
.trainer-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.trainer-card .trainer-photo-square {
    width: 280px;
    height: 210px;
    margin: 0 auto 16px;
    overflow: hidden;
    border-radius: 8px;
}
.trainer-card .trainer-photo-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.trainer-card h3 {
    font-size: 28px;
    margin-bottom: 4px;
}
.trainer-card .title {
    color: var(--accent);
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 14px;
}
.trainer-card .desc {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}
.trainer-card .desc strong {
    color: #fff;
}

/* РАСПИСАНИЕ */
.schedule-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 20px;
    margin-bottom: 30px;
}
.schedule-header .section-title {
    margin-bottom: 0;
}
.schedule-phone {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}
.schedule-phone a {
    color: #fff;
    transition: var(--transition);
}
.schedule-phone a:hover {
    color: var(--accent);
}
.schedule-table-wrap {
    overflow-x: auto;
    padding: 8px 0;
    background: transparent;
    border: none;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    color: #ddd;
    font-size: 18px;
    min-width: 500px;
}
.schedule-table th {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 2px solid var(--border-light);
    color: #888;
    font-weight: 700;
    font-size: 18px;
}
.schedule-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #1e1e1e;
    font-size: 17px;
}
.schedule-table tr:hover td {
    background: var(--bg-card);
}
.schedule-table .group-name {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}
.schedule-table .group-sub {
    color: #888;
    font-size: 15px;
    font-weight: 400;
}
.code-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 8px 20px;
    border-radius: 30px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}
.code-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.5);
}

.price-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    border: 1px solid var(--border);
    margin-top: 24px;
}
.price-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}
.price-block .price-item {
    font-size: 16px;
    color: #ccc;
    padding: 3px 0;
}
.price-block .price-item strong {
    color: #fff;
    font-size: 17px;
}

.schedule-map-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

/* О КЛУБЕ */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
    margin: 0;
}
.about-left {
    flex: 1.8 1 340px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.about-left p {
    color: #ccc;
    font-size: 17px;
    margin-bottom: 16px;
}
.about-left .last-line {
    color: #ccc;
    font-size: 17px;
}

.about-photo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    max-width: 100%;
}
.about-photo-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.about-photo-card .card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1e1e1e;
}
.about-photo-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.about-photo-card:hover .card-image img {
    transform: scale(1.03);
}
.about-photo-card .card-content {
    padding: 14px 16px 18px;
    text-align: center;
}
.about-photo-card .card-content .photo-caption {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

.about-right {
    flex: 1 1 300px;
    max-width: 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tagline {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid #1e1e1e;
    margin-top: 30px;
}
.tagline p {
    font-size: 20px;
}
.tagline span {
    color: var(--accent);
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
    }
    .hero-text .subtitle {
        font-size: 16px;
    }
    .hero-text .phone-large {
        font-size: 22px;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-map {
        max-width: 340px;
        margin: 0 auto;
    }
    .btn-outline {
        margin-left: 0;
    }
    .schedule-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .schedule-phone {
        font-size: 26px;
        white-space: normal;
    }
    .schedule-table {
        font-size: 15px;
        min-width: 400px;
    }
    .schedule-table th {
        font-size: 15px;
        padding: 10px 6px;
    }
    .schedule-table td {
        font-size: 14px;
        padding: 10px 6px;
    }
    .schedule-table .group-name {
        font-size: 16px;
    }
    .code-btn {
        font-size: 14px;
        padding: 6px 14px;
    }
    .schedule-map-contacts {
        grid-template-columns: 1fr;
    }
    .about-grid {
        flex-direction: column;
        gap: 20px;
    }
    .about-left {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .about-right {
        max-width: 100%;
        width: 100%;
    }
    .about-photo-card .card-image {
        aspect-ratio: 4 / 3;
    }
}
@media (max-width: 480px) {
    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    .hero-text h1 {
        font-size: 26px;
    }
    .hero-text .subtitle {
        font-size: 14px;
    }
    .hero-text .phone-large {
        font-size: 18px;
    }
    .section-title {
        font-size: 24px;
    }
    .directions-grid {
        grid-template-columns: 1fr;
    }
    .direction-card .card-image {
        height: 160px;
    }
    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .btn-group .btn {
        margin-right: 0;
        flex: 1 1 100%;
    }
    .schedule-phone {
        font-size: 22px;
    }
    .schedule-table {
        font-size: 13px;
        min-width: 320px;
    }
    .schedule-table th {
        font-size: 13px;
        padding: 8px 4px;
    }
    .schedule-table td {
        font-size: 12px;
        padding: 8px 4px;
    }
    .schedule-table .group-name {
        font-size: 14px;
    }
    .code-btn {
        font-size: 12px;
        padding: 4px 10px;
    }
    .price-block .price-item {
        font-size: 14px;
    }
    .price-block .price-item strong {
        font-size: 15px;
    }
    .about-left p {
        font-size: 15px;
    }
    .about-photo-card .card-image {
        aspect-ratio: 3 / 2;
    }
}
@media (max-width: 360px) {
    .nav-link {
        font-size: 11px;
        padding: 4px 8px;
    }
    .hero-text h1 {
        font-size: 22px;
    }
}