* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.v-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========== ШАПКА (НА ВСЮ ШИРИНУ) ========== */

.header-top-full {
    background-color: #eaeaea;
    width: 100%;
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    position: relative;
}

.logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    border: 2px solid #1a4d8c;
}

.logo-placeholder {
    display: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1a4d8c;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    border: 2px solid #fff;
    color: #fff;
}

.logo-image[style*="display: none"] + .logo-placeholder {
    display: flex !important;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #2d2d2d;
    letter-spacing: 2px;
    white-space: nowrap;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-quote p {
    color: #2d2d2d;
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-weight: 400;
}

.header-phone a {
    font-size: 18px;
    font-weight: bold;
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.header-phone a:hover {
    color: #1a4d8c;
}

.header-bottom-full {
    background-color: #cccccc;
    width: 100%;
}

.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 0;
    position: relative;
}

/* Бургер-меню */
.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 100;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #2d2d2d;
    margin: 6px 0;
    transition: 0.3s;
}

/* Навигация */
nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav a {
    display: inline-block;
    background-color: #1a4d8c;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 18px;
    border-radius: 30px;
    border: none;
    white-space: nowrap;
}

nav a:hover {
    background-color: #0e3a6b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-separator {
    height: 4px;
    background-color: #1a4d8c;
}

/* ========== HERO-БЛОК ========== */

.hero {
    position: relative;
    padding: 120px 0;
    height: 600px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: #1a4d8c;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    border-radius: 30px;
}

.btn:hover {
    background-color: #0e3a6b;
}

/* ========== СЕКЦИИ ========== */

.section {
    padding: 50px 0;
}

.section-title {
    font-size: 28px;
    color: #2d2d2d;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #1a4d8c;
    display: inline-block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header__aside a {
    color: #2d2d2d;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
}

.section-header__aside a:hover {
    color: #1a4d8c;
}

/* ========== СЛАЙДЕР ========== */
.main-slider-container {
    position: relative;
    margin: 20px 0;
}

.main-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.main-slider__slide {
    display: none;
    width: 100%;
}

.main-slider__slide.active {
    display: block;
}

.main-slider__img-wrapper {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d2d2d;
}

.main-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-slider__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px;
    color: #fff;
}

.main-slider__date {
    display: inline-block;
    background: #1a4d8c;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 12px;
}

.main-slider__title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.main-slider__text {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-slider__link {
    color: #6ba5d9;
    text-decoration: none;
    font-weight: bold;
}

.main-slider__link:hover {
    text-decoration: underline;
}

.main-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-slider__btn:hover {
    background: #1a4d8c;
}

.main-slider__btn--prev {
    left: 20px;
}

.main-slider__btn--next {
    right: 20px;
}

.main-slider__dots {
    text-align: center;
    margin-top: 15px;
}

.main-slider__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s;
}

.main-slider__dot.active {
    background: #1a4d8c;
    transform: scale(1.2);
}

/* ========== НОВОСТИ ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.news-card__img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.news-card__body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #2d2d2d;
    font-weight: 700;
    line-height: 1.4;
}

.news-card__excerpt {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
    flex: 1;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.news-card__date {
    font-size: 13px;
    color: #999;
}

.news-card__link {
    font-size: 14px;
    color: #1a4d8c;
    font-weight: bold;
    text-decoration: none;
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #2d2d2d;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== КАРТОЧКИ НОВОСТЕЙ/МЕРОПРИЯТИЙ ========== */
.events-grid-cards,
.news-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card-vertical,
.news-card-vertical {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card__img,
.news-card__img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #1a4d8c;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.event-card__img img,
.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.img-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.event-card__img:hover .img-zoom-icon,
.news-card__img:hover .img-zoom-icon {
    opacity: 1;
}

.event-card__content,
.news-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card__title,
.news-card__title {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #2d2d2d;
    font-weight: 700;
    line-height: 1.4;
}

.event-card__date,
.news-card__date {
    font-size: 13px;
    color: #1a4d8c;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ========== ТРЕНЕР ========== */
.trainer-card-horizontal {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
}

.trainer-card-horizontal .trainer-photo {
    flex: 0 0 380px !important;
    width: 380px;
    max-width: 380px;
    background: linear-gradient(135deg, #1a4d8c 0%, #0e3a6b 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: 15px;
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trainer-card-horizontal .trainer-info {
    flex: 1 !important;
    padding: 35px 40px;
    text-align: left;
}

.trainer-card-horizontal .trainer-name {
    font-size: 28px;
    color: #2d2d2d;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.trainer-card-horizontal .trainer-title {
    color: #1a4d8c;
    font-weight: 600;
    margin: 0 0 25px 0;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4d8c;
    display: inline-block;
}

.trainer-detail-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    text-align: left;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 16px;
    min-width: 140px;
}

.detail-value {
    color: #2d2d2d;
    font-size: 16px;
    flex: 1;
}

.age-groups-list {
    margin: 0;
    padding-left: 20px;
}

.age-groups-list li {
    margin-bottom: 6px;
}

/* ========== РАСПИСАНИЕ ========== */
.schedule-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
}

.schedule-table thead tr {
    background: #1a4d8c;
    color: #fff;
}

.schedule-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
}

.schedule-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eaeaea;
}

.schedule-table .day-name {
    font-weight: 600;
    color: #2d2d2d;
}

.schedule-table .weekend td {
    background-color: #e8f0fe;
}

.schedule-note {
    background: #e8f0fe;
    border-left: 4px solid #1a4d8c;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 14px;
}

/* ========== ЦЕНЫ ========== */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.price-card {
    background: #fff;
    border: 1px solid #e0d9c8;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.price-card .price {
    font-size: 32px;
    color: #1a4d8c;
    font-weight: bold;
    margin: 15px 0;
}

/* ========== КОНТАКТЫ ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 25px;
}

.form-wrapper {
    background: #fff;
    border: 2px solid #1a4d8c;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2d2d2d;
}

.feedback-form .form-group input,
.feedback-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2d2d2d;
    font-size: 16px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #1a4d8c;
}

.social-link img {
    width: 28px;
    height: 28px;
}

/* Карта */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ========== ПАРТНЁРЫ ========== */
.partner-card {
    border: 1px solid #e0d9c8;
    padding: 30px;
    margin-bottom: 25px;
    background: #fdfaf5;
}

.partner-card h2 {
    color: #1a4d8c;
    margin-top: 0;
}

/* ========== ПОДВАЛ ========== */
.site-footer {
    background-color: #eaeaea;
    color: #2d2d2d;
    padding: 70px 0 40px;
    margin-top: 60px;
    font-size: 16px;
    border-top: 4px solid #1a4d8c;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    color: #2d2d2d;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 22px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1a4d8c;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: #2d2d2d;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #1a4d8c;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #1a4d8c;
}

.modal-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.modal-nav__btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.page-content {
    background: #ffffff;
    padding: 40px;
    margin: 40px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.page-content h1 {
    color: #2d2d2d;
    border-bottom: 3px solid #1a4d8c;
    padding-bottom: 15px;
    display: inline-block;
    font-size: 30px;
}

/* ========== АДАПТИВ (МОБИЛЬНЫЕ УСТРОЙСТВА) ========== */

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav a {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .main-slider__img-wrapper {
        height: 450px;
    }
    
    .main-slider__title {
        font-size: 26px;
    }
    
    .events-grid-cards,
    .news-grid-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .trainer-card-horizontal .trainer-photo {
        flex: 0 0 300px !important;
        width: 300px;
    }
    
    .trainer-card-horizontal .trainer-info {
        padding: 25px;
    }
}

/* Мобильные (до 768px) */
@media (max-width: 768px) {
    /* Шапка */
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 20px;
        white-space: normal;
    }
    
    .header-right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Бургер-меню */
    .burger {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-bottom {
        justify-content: flex-end;
        padding-right: 15px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 0;
        background-color: #cccccc;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav a {
        white-space: normal;
        font-size: 14px;
        padding: 8px 16px;
        display: block;
        margin: 0 10px;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
        height: auto;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero .subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* Слайдер */
    .main-slider__img-wrapper {
        height: 350px;
    }
    
    .main-slider__info {
        padding: 15px;
    }
    
    .main-slider__title {
        font-size: 16px;
    }
    
    .main-slider__text {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .main-slider__date {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .main-slider__link {
        font-size: 12px;
    }
    
    .main-slider__btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* Секции */
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Новости */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card__img {
        height: 200px;
    }
    
    .news-card__title {
        font-size: 18px;
    }
    
    .news-card__excerpt {
        font-size: 14px;
    }
    
    /* Галерея */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .gallery-zoom {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    /* Карточки новостей/мероприятий */
    .events-grid-cards,
    .news-grid-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-card__img,
    .news-card__img {
        height: 200px;
    }
    
    /* Контакты */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .social-link {
        font-size: 14px;
    }
    
    .social-link img {
        width: 24px;
        height: 24px;
    }
    
    /* Тренер */
    .trainer-card-horizontal {
        flex-direction: column !important;
        margin: 20px 0;
    }
    
    .trainer-card-horizontal .trainer-photo {
        flex: 0 0 auto !important;
        width: calc(100% - 20px);
        max-width: 100%;
        margin: 10px;
        height: 280px;
        border-radius: 16px;
    }
    
    .trainer-card-horizontal .trainer-info {
        padding: 20px;
    }
    
    .trainer-card-horizontal .trainer-name {
        font-size: 22px;
        text-align: center;
    }
    
    .trainer-card-horizontal .trainer-title {
        font-size: 16px;
        text-align: center;
        display: block;
    }
    
    .trainer-detail-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    /* Цены */
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-card {
        padding: 20px;
    }
    
    .price-card .price {
        font-size: 28px;
    }
    
    /* Расписание */
    .schedule-table th,
    .schedule-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .schedule-note {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    /* Страница контента */
    .page-content {
        padding: 20px;
        margin: 20px auto;
    }
    
    .page-content h1 {
        font-size: 24px;
    }
    
    .page-content h2 {
        font-size: 20px;
    }
    
    /* Подвал */
    .site-footer {
        padding: 40px 0 25px;
        margin-top: 40px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .footer-nav a {
        white-space: normal;
    }
    
    /* Модальное окно */
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-nav__btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .modal-nav {
        bottom: 15px;
        gap: 15px;
    }
}

/* ========== БУРГЕР-МЕНЮ ТОЛЬКО ДЛЯ ТЕЛЕФОНОВ ========== */

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 100;
}

.burger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #ffffff;
    margin: 6px 0;
    transition: 0.3s;
}

/* Адаптив для мобильных (до 768px) */
@media (max-width: 768px) {
    .burger {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .burger span {
        background: #ffffff;
    }
    
    .header-bottom {
        position: relative;
        justify-content: flex-end;
        padding-right: 15px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 15px;
        background-color: #1a4d8c;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        margin: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav a {
        white-space: normal;
        font-size: 14px;
        padding: 10px 16px;
        display: block;
        background-color: transparent;
        color: white;
    }
    
    nav a:hover {
        background-color: #0e3a6b;
    }
}

/* Планшеты (769px - 992px) — показываем обычное меню */
@media (min-width: 769px) {
    .burger {
        display: none;
    }
    
    nav ul {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    nav a {
        background-color: #1a4d8c;
        color: white;
        white-space: nowrap;
    }
}