
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trainer-card {
     background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );

    border: 1px solid rgba(255, 255, 255, 0.12); /* светлее = видно */

    border-radius: 20px;
    padding: 35px;

    backdrop-filter: blur(12px);

    /* ВОТ ЭТО КЛЮЧ */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05), /* внутренняя граница */
        0 10px 30px rgba(0, 0, 0, 0.4); /* отрыв от фона */

    transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}


.trainer-card:hover {
    border-color: #D83F87;
    transform: translateY(-5px);
}

.trainer-card h3 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.specialty {
    color: #D83F87;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.trainer-info {
    color: #ccc;
    font-size: 14px;
   
}

.directions-list span {
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid #333;
    color: #aaa;
    margin: 3px;
    display: inline-block;
}
/* === FIX TRAINERS === */

/* === FIX TRAINERS === */
.trainers-section .trainer-card {
    /* Возвращаем видимый фон, который вы случайно затерли прозрачностью */
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 40px;
    position: relative;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Гарантируем, что при наведении ничего не исчезает */
.trainers-section .trainer-card:hover * {
    opacity: 1 !important;
    visibility: visible !important;
}

.trainers-section .trainer-card:hover {
    transform: translateY(-5px) !important;
}

.trainers-section .specialty {
    color: #D83F87 !important;
}

.trainers-section .directions-list span {
    border: 1px solid #333 !important;
    padding: 5px 10px !important;
}

.trainers-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    font-size: 50px !important;
    font-weight: 900 !important;
    line-height: 1;
    text-align: center;
    margin-bottom: 30px;
}


.trainers-heading span:last-child {
    background: linear-gradient(270deg, #D83F87, #44318D, #D83F87);
    background-size: 300% 300%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientMove 5s ease infinite;
}
.trainers-heading span {
    font-size: 40px !important;
    font-weight: 900 !important;
}
#trainers .section-subtitle {
    max-width: 900px !important;
    margin: 10px auto 30px !important;

    padding: 20px 30px !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #ccc !important;

    text-align: center !important;

    background: rgba(255, 255, 255, 0.03) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;

    backdrop-filter: blur(6px) !important;

    box-shadow: 0 0 20px rgba(216, 63, 135, 0.08) !important;
}

:root {
    --main-pink: #ff00ff;
    --main-purple: #7b2cff;
}
/* Главный заголовок */
.banner-content h1 {
    font-size: 60px;
    font-weight: 900; /* было меньше — делаем жирнее */
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Подзаголовок (две строки уже есть) */
.banner-subtitle {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
  opacity: 0.95;
}

/* КНОПКА — опускаем ниже */
.cta-button {
    margin-top: 80px;
    padding: 16px 40px;
    border-radius: 40px;

    background: linear-gradient(135deg, #6a1b9a, #c2185b);
    color: #fff;

    font-weight: 700;

    transition: all 0.3s ease;
        display: inline-block;
    margin-top: 40px !important;

}
.hero-subtitle {
    margin-bottom: 60px;
}


/* телефон */
.top-phone {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
    transition: 0.3s;
}

.top-phone:hover {
    color: #D83F87;
}

/* адрес */
.top-address {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.top-address span {
    font-size: 12px;
    opacity: 0.6;
}
@media (min-width: 1200px) {
    .top-contacts {
        display: block;
        position: absolute;
        top: 100px;
        right: 40px;
        padding: 14px 18px;
        color: #fff;
        z-index: 10;
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .top-contacts::before,
    .top-contacts::after {
        display: none;
    }
}


/* Ховер */
.cta-button:hover {
    
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(194, 24, 91, 0.5);
}

.logo-gradient {
    background: linear-gradient(270deg,
        #ff008c,
        #a200ff,
        #4f46e5,
        #ff008c
    );

    background-size: 400% 400%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientFlow 6s ease infinite;


    font-weight: 900;
}

/* анимация */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ===== NAV PREMIUM HOVER ===== */
.nav-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

/* hover — чистый и дорогой */
.nav-menu a:hover {
    color: #ffffff;
}

/* линия — аккуратная, не кислотная */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #c084fc; /* мягкий премиум-фиолет */
    transition: width 0.25s ease;
}

/* появление линии */
.nav-menu a:hover::after {
    width: 100%;
}
.trainers-heading {
    margin-top: 0;
    padding-top: 20px;
}
/* ===== HERO FINAL FIX ===== */

.hero-title {
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.1;
  font-weight: 800;
}

.hero-gradient {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 900;
  background: linear-gradient(135deg, #D83F87 0%, #8b5cf6 50%, #44318D 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* мобилка */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(36px, 9vw, 52px);
    }

    .hero-gradient {
        font-size: clamp(38px, 10vw, 56px);
        background: linear-gradient(135deg, #D83F87 0%, #8b5cf6 50%, #44318D 100%);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}
@media (max-width: 768px) {

.trainers-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка */
    gap: 20px;
}

.trainer-card {
    width: 100%;
    padding: 20px;
}

.trainer-card h3 {
    font-size: 20px;
}

.trainer-card .specialty {
    font-size: 14px;
}

}
@media (max-width: 768px) {

.trainers-heading {
    display: flex;
    flex-direction: column; /* ВАЖНО: вертикально */
    align-items: center;    /* по центру */
    text-align: center;
    gap: 5px;
}

/* обе строки */
.trainers-heading span {
    display: block;
    width: 100%;
}

/* НАША КОМАНДА */
.trainers-heading span:first-child {
    font-size: 28px !important;
}

/* DMFITNESS */
.trainers-heading span:last-child {
    font-size: 28px !important;
}

}
@media (max-width: 768px) {

.features-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* центрируем */
}

.feature-card {
    width: 100% !important;
    max-width: 340px;

    padding: 22px !important;
    border-radius: 18px;

    margin: 0 auto 16px auto;
    text-align: center;

    min-height: 120px; /* 🔥 фикс высоты */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
}
@media (max-width: 768px) {

    /* === ОБЩИЙ БЛОК === */
    .about-section {
        padding: 40px 15px 60px;
    }

   /* ПРИМЕНЯЕМ СТИЛЬ ТРЕНЕРОВ ДЛЯ ВСЕХ УСТРОЙСТВ */
/* ПРИМЕНЯЕМ СТИЛЬ ТРЕНЕРОВ ДЛЯ ВСЕХ УСТРОЙСТВ */
.about-box {
    /* Градиент как у trainer-card */
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    ) !important;

    /* Граница как у тренеров */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    /* Эффект размытия */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px);

    /* Тень и внутренняя граница для объема */
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.05), 
        0 10px 30px rgba(0, 0, 0, 0.4) !important;

    /* Закругление и отступы */
    border-radius: 20px;
    padding: 40px !important;
    margin: 0 auto;
    max-width: 1200px;
    
    /* Убедимся, что внутри нет лишних сетчатых настроек */
    display: block; 
}

/* ФИКС ДЛЯ МОБИЛОК (переопределяем только отступы) */
@media (max-width: 768px) {
    .about-box {
        padding: 20px 18px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
    /* === УБИРАЕМ ШАР === */
    .schedule-circle {
           display: none !important;

    }

    .circle-title {
        display: none;
    }

    /* === ЗАГОЛОВОК === */
    .about-heading {
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 5px;
    }

    /* === ПОДЗАГОЛОВОК === */
    .about-main {
        font-size: 14px;
        opacity: 0.8;
        margin-bottom: 10px;
    }

    /* === ТЕГИ === */
.about-tags {
    display: grid;
    grid-template-columns: repeat(2, auto); /* 🔥 по 2 в ряд */
    justify-content: flex-start;
    margin-left: -5px;              /* центр всей группы */
    gap: 10px;
}
.about-tags span {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 6px 14px;
    font-size: 11px;
    border-radius: 20px;

    background: rgba(255, 0, 150, 0.12);
    color: #ff2ea6;

    white-space: nowrap;
}

    /* === ОПИСАНИЕ === */
    .about-desc {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.85;
        margin-bottom: 10px;
    }

    /* === АКЦЕНТ === */
    .about-highlight {
        font-size: 13px;
        font-weight: 600;
        color: #ff2ea6;
    }

    /* === ГДЕ МЫ === */
    .about-title {
        font-size: 28px;
        margin-top: 40px;
        text-align: center;
    }

    .about-address {
        font-size: 14px;
        padding: 10px 16px;
        border-radius: 20px;
    }

    /* === КАРТА === */
    .map-container {
        margin-top: 20px;
        border-radius: 16px;
        overflow: hidden;
    }

    .map-container iframe {
        height: 250px;
    }
}
@media (max-width: 768px) {
    .about-tags {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
    }
}
/* Убираем дырку между тренерами и направлениями */
.trainers-section {
    margin-bottom: 0;
    padding-bottom: 40px;
}

#about.about-section {
    padding-top: 40px;
}
.about-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}
/* ===== LOCATION BLOCK: DESKTOP CENTER FIX ===== */
@media (min-width: 1024px) {

    /* Блок карты — полная ширина, центр */
    .location-info {
        width: 100%;
        max-width: 100%;
        margin: 48px auto 0;
        text-align: center;
        padding: 0 24px;

        /* Сбрасываем любые grid-смещения */
        grid-column: 1 / -1;
        align-self: center;
    }

    .about-title {
        text-align: center;
        margin: 0 auto 20px;
    }

    .address-box {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 32px;
    }

    .map-container {
        max-width: 960px;
        margin: 0 auto;
    }
}
/* карта — всегда на всю ширину контейнера, по центру */
.location-info {
    width: 100%;
    text-align: center;
     margin-top: 0 !important;
    padding-top: 0 !important;
}

.map-container {
    max-width: 960px;
    margin: 0 auto;
}
.about-flex-container {
    margin-bottom: 0 !important;
}

.about-box {
    margin-bottom: 0 !important;
}
.location-info {
    margin-top: 60px !important;
}
@media (max-width: 1199px) {
    .hero-content {
        padding-bottom: 20px;
        margin-top: -140px;
    }
}