
body{
    margin: 0;
}
body, html{
    overflow-x: hidden;
}
p{
    font-family: "Montserrat", sans-serif;
}
.container{
    display: flex;
    width: 100%;
    min-height: 100vh;
}
.headText{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 500;
    font-style: italic;
    color: white;
    text-align: center;
    line-height: 1.3;
}
.mainText{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 4vw, 40px);
    font-style: italic;
    color: black;
    text-align: center;
    line-height: 1.3;

}
.imageTextContainer{
    position: relative;
    width: 100%;

    margin: 0px auto;
    text-align: center;
}
.overlayText{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Идеальное центрирование */
    width: 65%; /* Ширина текста */
    padding: 20px;
    margin: 0;
    z-index: 2; /* Текст поверх картинки */
}
.between{
    position: relative;
    width: 100%;
    margin: 0; 
    padding: 0;
    margin-bottom: 0;
    margin-bottom: 0 !important; /* Убираем нижний отступ */
    padding-bottom: 0;

}
.betweenImg{
    width: 100%;
    height: auto;
    display: block;
}
.betweenText{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(32px, 4vw, 50px);
    color: white;
    font-weight: 400;
    font-style: italic;
    z-index: 2;
    text-align: center;
    width: 100%;
}
.doors-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.doors-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
    flex-wrap: wrap; 
}
.bottom-row {
    justify-content: center;
    position: relative;
    left: 0;
    gap: 100px;
}
.door-block {
    position: relative;
    width: 350px; 
    min-height: 250px; 
    flex: 0 0 auto; 
}
.door-border {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(0.9);
}
.door-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; /* Ширина текста внутри рамки */
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-style: italic;
    font-weight: 500;
    text-align: center;
    z-index: 2;
    padding: 20px;
    margin: 0;

}
.betweenLine{
    margin-top: -0.8%;
}
.betweenLineImg{
    width: 100%;
}
.carousel-container{
    position: relative;
}
.carousel-track{
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
    flex: 0 0 calc(25% - 18.75px); /* 4 слайда видно, минус gap */
    min-width: 0;
    border-radius: 5%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s ease;
}
.carousel-slide:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 10;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.1);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(217, 4, 41, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(217, 4, 41, 0.3);
}
.carousel-btn:hover {
    background: #d90429;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}
.interactive-images {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    justify-items: center;
    align-items: center;
}
.interactiveImg {
    width: 120%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
#headBack{
    width: 45%;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 40px);
    position: relative;
}
#headText{
    margin-top: 25%;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-style: italic;
    color: white;
    text-align: center;
}
#logoImg{
    position: absolute;
    top: clamp(10%, 5vh, 20%);
    transform: translateX(-50%);
    left: 30%;
    width: clamp(20%, 20vw, 25%); 
}
#logoImg.above-text {
    position: relative;
    top: 0;
    left: 15%;
    transform: translateX(-50%);
    width: clamp(120px, 15vw, 200px);
    margin-bottom: 40px;
}
#headBtn{
    background-color: rgba(217, 4, 41, 1);
    border: 2px solid white;
    border-radius: clamp(15px, 2vw, 20px);
    color: white;
    font-size: clamp(18px, 3vw, 40px);
    font-family: "Montserrat", sans-serif;
    font-style: italic;
    text-align: center;
    min-width: clamp(160px, 30vw, 220px);
    font-weight: 600;
    transition: all 0.5s ease;
    padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 32px);;
}

#headBtn:hover {
    background-color: white;
    color: rgba(217, 4, 41, 1);
    transform: translateY(-3px); /* Легкий подъем */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}
#headImgDiv{
     width: 55%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}
#headImgDiv::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 75px; /* Ширина градиента */
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

#headImgDiv::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 30%
    );
    z-index: 1;
    pointer-events: none;
}

#headBackImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#headBackImg:hover {
    transform: scale(1.05); /* Легкий зум при наведении */
}

#aboutHeadText{
    color: black;
    font-weight: 500;

}
#mainContent {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: white; /* Белый фон для контента */
    z-index: 1; /* Ниже фиксированных блоков */
    padding: 0;
    margin: 0;
}

#aboutBorder{
    width: 70%;
    display: block;
    margin: 15% auto;

}

#doorsSection{
    background-color: rgba(39, 37, 37, 1);
    width: 100%;
    padding-top: 0;
    margin-top: -8%;
    margin-bottom: -8%;
    padding-bottom: 10%;
}

#doorsHeadText{
    color: white;
    padding-top: 8%;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
#aboutSection {
    padding-top: 0;
    margin-top: 0;
}
#doorsSection .between {
    margin-top: -100px; /* Поднимаем картинку над секцией */
    margin-bottom: 50px; /* Отступ до заголовка */
}
#whatHeadText{
    color: black;
}
#whatContainer{
    position: relative;
    width: 100%;
}
#crossImg{
    display: block;
    width: 55%;
    margin-left: 22.5%;
    max-width: 800px;
    position: relative;
    z-index: 1;
    padding-bottom: 5%;
}
#whatContainer {
    position: relative;
    width: 100%;
    display: flex;
}
#whatLeftTopContainer,
#whatRightTopContainer,
#whatLeftBotContainer,
#whatRightBotContainer {
    position: absolute;
    z-index: 2;
    width: 25%;
}
#whatLeftTopContainerImg,
#whatRightTopContainerImg,
#whatLeftBotContainerImg,
#whatRightBotContainerImg {
    width: 60%;
    display: block;
    position: relative;
    left:20%
}
#whatRightTopContainerImg{
    width: 70%;
    left: 15%;
}
#whatLeftBotContainerImg{
    width: 80%;
    left: 10%;
}
#whatRightBotContainerImg {
    width: 70%;
    left: 15%;
}
#whatLeftTopContainerText,
#whatRightTopContainerText,
#whatLeftBotContainerText,
#whatRightBotContainerText {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    color: black;
    text-align: center;
}
#whatLeftTopContainer {
    top: 5%;
    left: 20%;
}

#whatRightTopContainer {
    top: 5%;
    right: 20%;
}

#whatLeftBotContainer {
    bottom: 10%;
    left: 20%;
}

#whatRightBotContainer {
    bottom: 10%;
    right: 20%;
}
#whySection{
    background-color: rgba(39, 37, 37, 1);
    margin-top: -7%;
}
.rightAlign{
    text-align: right;
    font-weight: 600;
}
#whyHeadText{
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-style: italic;
    padding-top: 5%;
    text-align: center;
}
#whyTable{
    position: relative;
    color: white;
    width: 60%;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(15px, 4vw, 25px);
    font-style: italic;
    margin-left:20%;
    border-collapse: separate; /* Важно! separate вместо collapse */
    border-spacing: 20px 30px;
}
#whyTableDiv{
    padding-bottom: 5%;
}
#leftLine{
    position: absolute;
    z-index: 5;
    width: 1.25%;
    left: 5%;
}
#trainerHeadDiv {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}
#trainerHead {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    color: #000;
    margin: 0;
    font-style: italic;
}
#trainerContainer {
    display: flex;
    width: 100%;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}
#trainerLeftTableContainer {
    flex: 1;
    position: relative;
    padding-left: 80px; /* Место для линии */
    min-width: 0; /* Для правильной работы flex */
}
#trainerLine {
    position: absolute;
    left: 7%;
    top: 0;
    height: 100%;
    width: 60px; /* Ширина линии */
    object-fit: contain;
    object-position: left center;
}
#trainerLeftTable {
    width: 100%;
    border-collapse: collapse;
    border: none;
}
#trainerLeftTable td {
    border: none;
    padding: 3% 7%;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
}
#trainerRightTableContainer {
    flex: 1;
    min-width: 0; /* Для правильной работы flex */
    max-width: 50%; /* Примерно половина */
}
#trainerRightTable {
    width: 100%;
    border-collapse: collapse;
    border: none;
}
#trainerImg {
    width: 65%;
    padding-left: 15%;
    height: auto;
    display: block;
}
#trainerRightTable td {
    border: none;
    padding-top: 10%;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    text-align: center;
    font-style: italic;
}
#trainerLeftTable td strong
#trainerRightTable td strong {
    font-weight: 500;
}
#trainerSection{
    padding-bottom: 5%;
}
#calendar{
    margin-top: -1.2%;
    z-index: -1;
    margin-bottom: -1.2%;
}
#calendarImg{
    width: 100%;
}
#clubsHeadDiv{
    position: relative; 
    min-height: 100px;
} 
#clubsHead {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    text-align: center;
    font-style: italic;
}
#firstLeftDiv {
    margin-left: 5%;
    align-items: center;
    top: 250%; /* Разный уровень */
    display: flex;
    gap: 30px;
}
#firstClubsLineImg {
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    width: 1%;
}
#firstClubTextDiv {
    padding: 25px 30px;
    flex: 1; 
}
#firstClubText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: black;
}
#firstRightDiv {
    margin-right: 5%;
    align-items: center;
    top: 450%; /* Разный уровень */
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}
#clubsHeadDiv::after {
    content: "";
    display: table;
    clear: both;
}
#secondClubsLineImg {
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    width: 1%;
}
#secondClubText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: black;
    text-align: right;
}
#secondLeftDiv {

    margin-left: 5%;
    align-items: center;
    top: 650%; /* Разный уровень */
    display: flex;
    gap: 30px;
}
#thirdClubsLineImg {
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    width: 1%;
}
#thirdClubTextDiv {
    padding: 25px 30px;
    flex: 1; 
}
#thirdClubText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: black;
}
#secondRightDiv {
    margin-right: 5%;
    align-items: center;
    top: 850%; /* Разный уровень */
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}
#forthClubsLineImg {
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    width: 1%;
}
#forthClubText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: black;
    text-align: right;
}
#fifthClubsLineImg {
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    width: 1%;
}
#fifthClubTextDiv {
    padding: 25px 30px;
    flex: 1; 
}
#fifthLeftDiv {

    margin-left: 5%;
    align-items: center;
    top: 650%; /* Разный уровень */
    display: flex;
    gap: 30px;
}
#fifthClubText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    color: black;
}
#mapHead{
    color: black;
}
#mapHeadDiv{
    width: 100%;


}
/* Блок вместо формы */
.ctaWriteBlock {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border: 3px solid #d90429;
    border-radius: 20px;
    padding: 40px 30px;
    margin-right: 10%; /* ВОТ ОТСТУП СЛЕВА */
    background: rgba(217, 4, 41, 0.03);
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.1);
    transition: all 0.4s ease;

}
    
.ctaWriteBlock:hover {
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.2);
    border-color: #a0001e;
    background: rgba(217, 4, 41, 0.06);
}

.ctaWriteText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    font-style: italic;
    color: black;
    text-align: center;
    line-height: 1.4;
}

.ctaWritePhone {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    font-style: italic;
    color: #d90429;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.ctaWritePhone:hover {
    transform: scale(1.15);
    color: #a0001e;
}
#mapDiv{
       margin-left: 10%;
        width: 80%;
        height: 500px;
        margin-bottom: 10%;
        border-radius: 50%;
        box-shadow: 0 10% 30% rgba(0, 0, 0, 0.2)
}
#galerySection{
    background-color: rgba(39, 37, 37, 1);
    margin-top: -1.2%;
    padding-bottom: 5%;
}
#galeryHead{
    width: 100%;
    padding-top:3%;
}
#writeUsHeadDiv{
    width: 80%;
    padding-top: 5%;
    margin-left: 10%;

}
#writeUsHead{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    font-style: italic;
    color: black;
    text-align: center;
    line-height: 1.3;
}
#writeUsHead strong {
    font-weight: 500;
}
#writeUs {
    position: relative;
    overflow: hidden;
}
#writeUsContainer {
    display: flex;
    gap: 60px;
    align-items: center;
}
#writeUsLeft {
    width: 20%;
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 10%;
}
#verticalTextItem{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    color: black;
    font-style: italic;
    width: 55%;
    text-align: center;
}
#writeUsMiddle {
    flex: 0 0 auto;
}
#verticalLine{
    width: 100%;
}
#writeUsRight{
    flex: 1;
}
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.inputGroup {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: border-color 0.3s ease;
}
.inputGroup:focus-within {
    border-color: #d90429; /* Красная линия при фокусе */
}
.inputLabel {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300; 
    color: black;
    text-align: right; 
    white-space: nowrap; 
    font-style: italic;
}
#nameInput,
#phoneInput {
    width: 100%;
    background: transparent;
    border: none;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: black;
    font-style: italic;
    outline: none;
}
#nameInput::placeholder,
#phoneInput::placeholder {
    font-style: italic;
}
#nameInput:focus,
#phoneInput:focus {
    border-bottom-color: #d90429;
}
.inputLine {
    position: absolute;
    top: 100%;
    left: 20%;
    width: 60%;
}
#phoneLine{
    left:25%
}
#nameLine{
    left: 15%
}
#submitBtn {
    position: relative;
    background: linear-gradient(135deg, #d90429 0%, #a0001e 100%);
    color: white;
    border: none;
    padding: 25px 40px;
    margin-top: 15%;
    margin-left: 10%;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    width: 70%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.3);
}
#submitBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.5);
}

#submitBtn:active {
    transform: translateY(-2px);
}
.btn-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}
#submitBtn:hover .btn-effect {
    left: 100%;
}
/* Секция отзывов */
#reviewsSection {
    background-color: rgba(39, 37, 37, 1);
    padding: 60px 0;
    margin-top: -1.2%;
    padding-bottom: 5%;
}

#reviewsHead {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 3%;
}

#reviewsHead .headText {
    color: white;
}

.reviews-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 70px;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: flex-start;
}

.review-slide {
    flex: 0 0 calc(40% - 20px);
    min-width: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.review-slide:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.review-slide img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.review-slide:hover img {
    transform: scale(1.05);
}

.reviews-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(217, 4, 41, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(217, 4, 41, 0.3);
}

.reviews-btn:hover {
    background: #d90429;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.5);
}

.reviews-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.reviews-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.reviews-btn:disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 5px 20px rgba(217, 4, 41, 0.3);
}

.prev-review-btn {
    left: 5px;
}

.next-review-btn {
    right: 5px;
}

#writeUsRight {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Сетка цен */
.priceGrid {
    margin-right: 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.priceCard {
    background: white;
    border: 2px solid #d90429;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(217, 4, 41, 0.1);
}

.priceCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(217, 4, 41, 0.2);
    border-color: #a0001e;
}

.priceCardTop {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.priceCardTitle {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    color: #555;
    margin: 0;
    font-style: italic;
}
.priceCardWide {
    grid-column: 1 / -1; /* на всю ширину */
    max-width: 100%;
}
.priceCardPrice {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: #d90429;
    margin: 0;
    font-style: italic;
}

.priceCardDesc {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(11px, 1.2vw, 13px);
    color: #888;
    margin: 0;
    font-style: italic;
}

/* Блок с телефоном */
.ctaWriteBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 3px solid #d90429;
    border-radius: 20px;
    padding: 35px 30px;
    background: rgba(217, 4, 41, 0.03);
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.1);
    transition: all 0.4s ease;
}

.ctaWriteBlock:hover {
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.2);
    border-color: #a0001e;
    background: rgba(217, 4, 41, 0.06);
}

.ctaWriteText {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: black;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}
.footerText{
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    font-style: bold;
    color: #d90429;
    text-align: center;
    line-height: 1.4;
    margin: 10%;
}
.ctaWritePhone {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    font-style: italic;
    color: #d90429;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.ctaWritePhone:hover {
    transform: scale(1.1);
    color: #a0001e;
}


@media (max-width: 768px) {
    /* 1. ПЕРВЫЙ БЛОК (HEADER) */
    .container {
        flex-direction: column;
        min-height: auto;
    }
    
    #headBack {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 30px 20px;
        order: 2; /* Текст после картинки */
    }
    
    #headText {
        margin-top: 100px; /* Отступ для логотипа */
        font-size: clamp(24px, 6vw, 32px);
        margin-left: -7%;
        width: 80%;
    }
    
    #logoImg {
        width: 120px;
        top: 30px;
        left: 200px;
        transform: translateX(-50%);
    }
    
    #headBtn {
        font-size: 20px;
        min-width: 180px;
        padding: 12px 25px;
        margin-top: 20px;
        margin-left: -7%;
    }
    #logoImg.above-text {
        width: 120px;
        top: 30px;
        left: 10%;
        transform: translateX(-50%);
    }
    #headImgDiv {
        width: 100%;
        height: 300px;
        order: 1; /* Картинка первой */
    }
    
    #headImgDiv::before,
    #headImgDiv::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            transparent 50%
        );
        width: 100%;
        height: 100px;
    }

     #aboutBorder {
        width: 95%;
        margin: 10% auto;
    }

    .overlayText {
        width: 85%;
        font-size: clamp(10px, 4vw, 24px);
        padding: 20%;
    }
    .betweenText {
        font-size: clamp(20px, 5vw, 32px);
        top: 25%;
    }
    .betweenLine{
       margin-top: -3%;
    }
    #trainerHead{
        padding-top: 10%;
    }
    #doorsSection {
        margin-top: -11%;
        margin-bottom: -9%;
        padding-bottom: 40px;
    }
    
    #doorsHeadText {
        padding-top: 40px;
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 30px;
    }
    
    .door-block {
        width: 200px;
        min-height: 200px;
    }
    
    .doors-row {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .bottom-row {
        gap: 30px;
    }
    
    .door-text {
        font-size: clamp(16px, 3vw, 20px);
        padding: 15px;
    }
    
    #whatHeadText {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    #crossImg {
        width: 90%;
        margin-left: 5%;
        padding-bottom: 30px;
    }
    
    #whatContainer {
        flex-direction: column;
    }
    
    #whatLeftTopContainer,
    #whatRightTopContainer,
    #whatLeftBotContainer,
    #whatRightBotContainer {
        position: static;
        width: 90%;
        margin: 20px auto;
        text-align: center;
    }
    
    #whatLeftTopContainerImg,
    #whatRightTopContainerImg,
    #whatLeftBotContainerImg,
    #whatRightBotContainerImg {
        width: 80%;
        margin: 0 auto 15px;
        left: 0;
    }
    
    #whatLeftTopContainerText,
    #whatRightTopContainerText,
    #whatLeftBotContainerText,
    #whatRightBotContainerText {
        font-size: 20px;
        width: 80%;
        margin-left:10%
    }
    #crossImg {
        display: none !important;
    }
     #whySection {
        margin-top: -12%;
        margin-bottom: -1.5%;
    }
    
    #whyHeadText {
        padding-top: 40px;
        font-size: clamp(24px, 5vw, 32px);
    }
    
    #whyTable {
        width: 90%;
        margin-left: 5%;
        font-size: clamp(14px, 3vw, 18px);
        border-spacing: 10px 15px;
    }
    
    #whyTable td {
        display: block;
        text-align: center !important;
        padding: 15px;
    }
    
    .rightAlign {
        font-weight: 700;
        color: #ffffff;
        border-bottom: 2px solid rgba(217, 4, 41, 0.3);
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    #leftLine {
        display: none; /* Скрываем линию на мобильных */
    }
    
    #whyTableDiv {
        padding-bottom: 40px;
    }
    #trainerHead {
        font-size: clamp(28px, 6vw, 40px);
    }
    
    #trainerContainer {
        flex-direction: column;
        gap: 40px;
    }
    
    #trainerLeftTableContainer {
        padding-left: 0;
        width: 100%;
    }
    
    #trainerLine {
        display: none; /* Скрываем линию */
    }
    
    #trainerLeftTable td {
        padding: 15px 10px;
        font-size: clamp(15px, 3vw, 18px);

    }
    
    #trainerRightTableContainer {
        max-width: 100%;
        width: 100%;
    }
    
    #trainerImg {
        width: 80%;
        margin: 0 auto;
        padding-left: 0;
    }
   #reviewsSection {
        padding: 40px 0;
        margin-top: -2%;
        margin-bottom: -1.7%;
    }

    #reviewsHead {
        margin-bottom: 30px;
        padding-top: 20px;
    }

    .reviews-container {
        padding: 0 50px;
    }

    .review-slide {
        flex: 0 0 calc(100% - 0px);
        border-radius: 15px;
    }

    .reviews-track {
        gap: 20px;
    }

    .reviews-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    #trainerRightTable td {
        padding-top: 20px;
        font-size: clamp(18px, 4vw, 24px);
    }
    
    #trainerSection {
        padding-bottom: 40px;
    }
    #calendar {
        margin-top: -2%;
        margin-bottom: -4%;
    }

    
   
    #mapHead{
    color: black;
    margin-top: 130%;
    }
    #forthClubTextDiv{
        margin-top: 10%;
    }
    #mapHeadDiv{
        width: 100%;

        margin-top: -120%;
    }
    #mapDiv{
        margin-left: 13%;
        width: 80%;
        height: 300px;
        margin-bottom: 10%;
        border-radius: 50%;
        box-shadow: 0 10% 30% rgba(0, 0, 0, 0.2)
    }
    #galeryHead {
        padding-top: 40px;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 12.5px); /* 2 слайда на мобильных */
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    #galerySection{
        margin-top: -2%;
        margin-bottom: -1.7%;
    }
    #writeUsHead {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    #writeUsContainer {
        flex-direction: column;
        gap: 40px;
    }

    .ctaWriteBlock {
        gap: 25px;
        padding: 30px 20px;
        margin: 0 5% 20px 5%; 
        border-radius: 15px;

    }
    .ctaWriteText {
        font-size: clamp(18px, 4vw, 24px);
    }

    .ctaWritePhone {
        font-size: clamp(28px, 6vw, 42px);
        margin-bottom: 10%;
    }
    #writeUsLeft {
        width: 100%;
        flex: 0 0 auto;
        padding-bottom: 0;
        gap: 30px;
    }
    
    #verticalTextItem {
        width: 100%;
        font-size: clamp(24px, 5vw, 32px);
    }
    
   .interactive-images {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 25px;
        justify-items: center;
        align-items: center;
        width: 100%;
        padding-bottom: 10%;
    }

    .interactiveImg {
        width: 80px;
        height: 80px;
    }
    
    #writeUsMiddle {
        display: none; /* Скрываем линию на мобильных */
    }
    #submitBtn {
        margin-left: 15%;
        margin-bottom: 20%;
    }
    .inputLabel{
        margin-left:5% ;
        margin-right: 5%;
    }
    #phoneLine{
        left:45%
    }
    #nameLine{
        left: 25%
    }
   
    .priceGrid {
        margin-right: 0%;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 5%;
    }

    .priceCard {
        padding: 20px 15px;
        border-radius: 12px;
        gap: 8px;
    }

    .priceCardTitle {
        font-size: 10px;
    }

    .priceCardPrice {
        font-size: 14px;
    }

    .priceCardDesc {
        font-size: 11px;
    }
}
