:root {
    --darkYellow: #FFCC00;
    --dark: #1A1A1A;
    --gray: #9E9E9E;
    --lite_yellow: #FFE600;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Главное мею */
body {
    font-family: Oswald, sans-serif;
    background-image: url('images/3-background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.main {
    background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.5) 50%,   
    rgba(0, 0, 0, 0) 100%     
);
    padding-block: 30px;
}

.main_container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.main_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

/* label {
    display: none;
} */

.main_list {
    display: flex;
    gap: 49px;
}

ul {
        list-style: none;
    }

.main_list-link {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.47px;
    color: var(--darkYellow);

}

.phone_wrapper {
            margin-left: auto;
            font-weight: 700;
            font-size: 17px;
            letter-spacing: -0.53px;
            padding: 19px 59px;
            background: var(--darkYellow);
            border-radius: 10px;
            opacity: 50%;

        }
.phone_link {
            font-weight: 700;
            font-size: 15px;
            letter-spacing: -0.47px;
            color: var(--dark);
}
a {
        text-decoration: none;
    }

#burger-toggle {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.burger {
    display: none;
}

.mid_container    {
font-family: Oswald;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 20vh;
  height: auto;
  text-align: center;
  color:  var(--lite_yellow);
  -webkit-text-stroke: 0.5px var(--dark);
  margin: 200px auto 0;
  max-width: 1200px;
  width: 100%;
}

.under{
  margin-top: -10vh;
}

.midle {
    font-family: Oswald;
    font-size: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 25vh auto 0 auto;
    height: auto;
    text-align: center;
    background-color: var(--dark);
    border: 2px solid var(--darkYellow);
    border-radius: 8px;
    padding: 120px 15px;
    position: relative;
    z-index: 10;
    max-width: 95%;
    color: var(--lite_yellow);
    -webkit-text-stroke: 0.5px var(--dark);
}

.veryUnder_container {
    font-family: Oswald, sans-serif;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    text-align: center;
    color: var(--lite_yellow);
    -webkit-text-stroke: 0.5px var(--dark);
    padding: 0 15px 10px;
    box-sizing: border-box;
    margin-top: -8%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}
.veryUnder_container p,
.veryUnder_container span,
.veryUnder_container div {
    max-width: 100%;
    line-height: 1.4;
}
.veryUnder_container iframe,
.veryUnder_container .map-wrapper {
    width: 95%;
    max-width: 900px;
    height: 350px;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

/* QR-код */
.veryUnder_container .vk-qr-container {
    margin: 15px auto;
    padding: 15px;
}

.veryUnder_container .vk-qr-image {
    max-width: 120px;
    height: 120px;
}

.vk-qr-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
  color: #0077FF;
  font-family: Oswald;
  font-weight: bold;
  font-size: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
}

.vk-qr-image {
  max-width: 150px;
  width: 100%;
  height: 150px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.under_2{
  margin-top: 15vh;
} 

/* Тарифы */
.tariffs-module .module-title {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--darkYellow);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.tariffs-module .module-title::after {
    content: '';
    display: block;
    max-width: 70px;
    width: 100%;
    height: 4px;
    background: var(--gray);
    margin: 15px auto 0;
    border-radius: 4px;
}

.tariffs-module .pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tariffs-module .pricing-card {
    background: var(--dark);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.tariffs-module .card-content {
    padding: 20px 15px 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tariffs-module .plan-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--darkYellow);
    margin-bottom: 25px;
}
.plan-name {
    border-bottom: 0.6px dashed var(--gray);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.tariffs-module .price {
    font-size: 25px;
    font-weight: 600;
    color: var(--darkYellow);
    margin: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: none;
}
.tariffs-module .price-currency {
    font-size: 15px;
    font-weight: 500;
    color: var(--darkYellow);
}

/* Акции */
.sell-module .sell-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sell-module .module-title {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--darkYellow);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.sell-module .module-title::after {
    content: '';
    display: block;
    max-width: 70px;
    width: 100%;
    height: 4px;
    background: var(--gray);
    margin: 15px auto 0;
    border-radius: 4px;
}

.sell-module .sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.sell-module .sell-card {
    background: var(--dark);
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sell-module .sell_card-content {
    padding: 20px 15px 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sell-module .plan-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--darkYellow);
    margin-bottom: 25px;
    min-height: 50px;
}
.plan-name {
    border-bottom: 0.6px dashed var(--gray);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.sell-module .price {
    font-size: 25px;
    font-weight: 600;
    color: var(--darkYellow);
    margin-top: auto;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: none;
}
.sell-module .price-currency {
    font-size: 15px;
    font-weight: 500;
    color: var(--darkYellow);
}

/* Тренера */
.coach-module .coach-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.coach-module .module-title {
    font-size: 45px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--darkYellow);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.coach-module .module-title::after {
    content: '';
    display: block;
    max-width: 70px;
    width: 100%;
    height: 4px;
    background: var(--gray);
    margin: 15px auto 0;
    border-radius: 4px;
}

.coach-module .coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.coach-module .coach-card {
    background: var(--dark);
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.coach-module .coach_card-content {
    padding: 20px 15px 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.coach-module .coach-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
    margin-bottom: 15px;
}

.coach-module .plan-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--darkYellow);
    margin-bottom: 25px;
    min-height: 50px;
}
.plan-name {
    border-bottom: 0.6px dashed var(--gray);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.coach-module .price {
    font-size: 25px;
    font-weight: 600;
    color: var(--darkYellow);
    margin-top: auto;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: none;
}
.coach-module .price-currency {
    font-size: 15px;
    font-weight: 500;
    color: var(--darkYellow);
}

/* Странички трениров */
.coach-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;  
    gap: 10px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
}

.coach_name {
    text-align: left;
    padding-top: 20px;
    margin-left: 5%;
}

.coach_name h2 {
    font-size: 50px;
    font-weight: 700;
    color: var(--darkYellow);
    -webkit-text-stroke: 0.5px var(--dark);
}

.coach-info {
    font-size: 35px;
    font-weight: 400;
    color: var(--darkYellow);
    -webkit-text-stroke: 0.5px var(--dark);
    text-align: left;
    padding-top: 20px;
    margin-left: 5%;
}

.coach-vk {
    font-size: 35px;
    font-weight: 400;
    color: var(--darkYellow);
    -webkit-text-stroke: 0.5px var(--dark);
    text-decoration: none;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: 5%;
    padding-top: 20px;
    text-align: right;
    background-color: var(--dark);
    border: 2px solid var(--darkYellow);
    border-radius: 8px;
    padding: 5px 15px;
    position: relative;
    z-index: 10;
}

.coach-vk:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.coach_img {
    text-align: center;
    position: relative;
    margin-top: -22%;           
    margin-bottom: -4.2%; 
}

.coach_img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 700px;
    width: 100%;

}

.coach-cards-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    margin-top: 4.2%;
    flex-wrap: wrap;
}

.coach-card-item {
    background: var(--dark);
    border-radius: 15px;
    padding: 20px 20px;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    width: 100%;
}

.card-title {
    font-size: 25px;
    font-weight: bold;
    color: var(--darkYellow);
    margin-bottom: 15px;
}

.card-divider {
    border-top: 2px dashed var(--gray);
    margin-bottom: 20px;
}

.card-content {
    font-size: 19px;
    line-height: 1.5;
    color:var(--darkYellow);
}
.card-content p {
    margin: 0;
}

/*АДАПТИВНОСТЬ*/
/* Главное меню */
@media (max-width: 1375px) {
    [class*="_container"] {
        max-width: 1000px;
    }
    .main_list {
        gap: 30px;
    }
}
@media (max-width: 1150px) {
    [class*="_container"] {
        max-width: 850px;
    }
    .main_list {
        gap: 20px;
    }
    .phone_wrapper {
        padding: 15px 40px;
    }
}
@media (max-width: 965px) {
    [class*="_container"] {
        max-width: 700px;
    }
    .main_list {
        gap: 15px;
    }
    .main_list-link {
        font-size: 13px;
    }
    .phone_wrapper {
        padding: 12px 30px;
        font-size: 14px;
    }
    .phone_link {
        font-size: 13px;
    }
}
@media (max-width: 700px) {
    .main {
        padding-block: 30px;
        width: 100%;
    }
    .mid_container img,
    .midle img {
        max-width: 80%;
        height: auto;
    }
     body {
        background-attachment: scroll;
    }
    .main_container {
        max-width: 100%;
        padding: 0 20px;
    }
    .main_nav {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        justify-content: space-between;
        position: relative;
        z-index: 100;
    }
    #burger-toggle {
        display: none;
    }
    .burger {
        display: none;
    }
    .burger {
        display: block;
        position: relative;
        width: 32px;
        height: 25px;
        cursor: pointer;
        z-index: 10;
        order: 1;
    }
    .burger span,
    .burger::before,
    .burger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--darkYellow);
        border-radius: 2px;
        transition: transform 0.3s ease, top 0.3s ease;
    }
    .burger::before { top: 0; }
    .burger span    { top: 11px; }
    .burger::after  { top: 22px; }
    #burger-toggle:checked ~ .burger::before {
        top: 11px;
        transform: rotate(45deg);
    }
    #burger-toggle:checked ~ .burger span {
        opacity: 0;
    }
    #burger-toggle:checked ~ .burger::after {
        top: 11px;
        transform: rotate(-45deg);
    }
    .main_list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 0;
        margin: 0;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 5;
        display: flex;
    }
    .main_list-link {
        font-family: 'Oswald', sans-serif;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--darkYellow);
    }
    #burger-toggle:checked ~ .main_list {
        transform: translateY(0);
    }
    .phone_wrapper {
        padding: 10px 20px;
        font-size: 14px;
        order: 2;
    }
    .phone_link {
        font-size: 13px;
    }
}
@media (max-width: 965px) {
    .veryUnder_container {
        margin-top: -5%;
        font-size: 11px;
        padding: 0 10px 10px;
    }
    .veryUnder_container iframe,
    .veryUnder_container .map-wrapper {
        height: 300px;
    }
}
@media (max-width: 800px) {
    .veryUnder_container {
        margin-top: 0;
        font-size: 10px;
        padding: 0 8px 8px;
        gap: 8px;
    }
    .veryUnder_container iframe,
    .veryUnder_container .map-wrapper {
        height: 250px;
        width: 100%;
    }
    .veryUnder_container .vk-qr-container {
        padding: 10px;
        font-size: 16px;
    }
    .veryUnder_container .vk-qr-image {
        max-width: 100px;
        height: 100px;
    }
    .under_2 {
        margin-top: 20vh;
    }
}
@media (max-width: 480px) {
    .veryUnder_container {
        font-size: 9px;
        padding: 0 5px 5px;
        gap: 6px;
    }
    .veryUnder_container iframe,
    .veryUnder_container .map-wrapper {
        height: 200px;
    }
    .veryUnder_container .vk-qr-container {
        padding: 8px;
        font-size: 14px;
    }
    .veryUnder_container .vk-qr-image {
        max-width: 80px;
        height: 80px;
    }
    .under_2 {
        margin-top: 10vh;
    }
}
@media (max-width: 360px) {
    .veryUnder_container {
        font-size: 8px;
    }
    .veryUnder_container iframe,
    .veryUnder_container .map-wrapper {
        height: 180px;
    }
}

/* Акции */
@media (max-width: 1110px) {
    .sell-module .sell-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
        max-width: 600px;
    }
    .sell-module .sell-card {
        min-width: unset;
        max-width: 280px;
        margin: 0 auto;
    }
    .sell-module .sell_card-content {
        padding: 15px 12px;
    }
    .sell-module .plan-name {
        font-size: 16px;
        min-height: 40px;
        margin-bottom: 15px;
    }
    .sell-module .price {
        font-size: 20px;
    }
}
@media (max-width: 700px) {
    .sell-module .sell-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
        max-width: 500px;
    }
    .sell-module .sell-card {
        max-width: 230px;
    }
    .sell-module .sell_card-content {
        padding: 12px 10px;
    }
    .sell-module .plan-name {
        font-size: 14px;
        margin-bottom: 12px;
        min-height: 35px;
    }
    .sell-module .price {
        font-size: 17px;
    }
    .sell-module .price-currency {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .sell-module .sell-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        max-width: 400px;
    }
    .sell-module .sell-card {
        max-width: 180px;
    }
    .sell-module .sell_card-content {
        padding: 10px 8px;
    }
    .sell-module .plan-name {
        font-size: 12px;
        margin-bottom: 10px;
        min-height: 30px;
    }
    .sell-module .price {
        font-size: 15px;
    }
    .sell-module .price-currency {
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    .sell-module .sell-grid {
        gap: 8px;
        padding: 0 5px;
        max-width: 320px;
    }
    .sell-module .sell-card {
        max-width: 150px;
    }
    .sell-module .sell_card-content {
        padding: 8px 6px;
    }
    .sell-module .plan-name {
        font-size: 11px;
        min-height: 28px;
    }
    .sell-module .price {
        font-size: 13px;
    }
}

/* Тренера */
@media (max-width: 1110px) {
    .coach-module .coach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    .coach-module .coach-card {
        min-width: unset;
        max-width: 280px;
        margin: 0 auto;
    }
    .coach-module .coach_card-content {
        padding: 15px 12px;
    }
    .coach-module .plan-name {
        font-size: 16px;
        min-height: 40px;
        margin-bottom: 15px;
    }
    .coach-module .price {
        font-size: 20px;
    }
}
@media (max-width: 700px) {
    .coach-module .coach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
        max-width: 500px;
    }
    .coach-module .coach-card {
        max-width: 230px;
    }
    .coach-module .coach_card-content {
        padding: 12px 10px;
    }
    .coach-module .plan-name {
        font-size: 14px;
        margin-bottom: 12px;
        min-height: 35px;
    }
    .coach-module .price {
        font-size: 17px;
    }
    .coach-module .price-currency {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .coach-module .coach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        max-width: 400px;
    }
    .coach-module .coach-card {
        max-width: 180px;
    }
    .coach-module .coach_card-content {
        padding: 10px 8px;
    }
    .coach-module .plan-name {
        font-size: 12px;
        margin-bottom: 10px;
        min-height: 30px;
    }
    .coach-module .price {
        font-size: 15px;
    }
    .coach-module .price-currency {
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    .coach-module .coach-grid {
        gap: 8px;
        padding: 0 5px;
        max-width: 320px;
    }
    .coach-module .coach-card {
        max-width: 150px;
    }
    .coach-module .coach_card-content {
        padding: 8px 6px;
    }
    .coach-module .plan-name {
        font-size: 11px;
        min-height: 28px;
    }
    .coach-module .price {
        font-size: 13px;
    }
}

/* Карточки тренеров */
@media (max-width: 1145px) {
    .coach-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    .coach_name {
        text-align: center;
        margin-left: 0;
        padding-top: 0;
    }
    .coach_name h2 {
        font-size: 40px;
    }
    .coach-info {
        font-size: 28px;
        text-align: center;
        margin-left: 0;
        padding-top: 10px;
    }
    .coach-vk {
        margin: 10px auto;
        font-size: 28px;
        text-align: center;
    }
    .coach_img {
        margin-top: 0;
        margin-bottom: 0;
        order: -1;
        transform: translateY(20px);
    }
    .coach_img img {
        max-width: 500px;
    }
    .coach-cards-row {
        margin-top: 20px;
    }
    .coach-card-item {
        min-width: 250px;
    }
}
@media (max-width: 700px) {
    .coach-container {
        padding: 20px 15px;
        gap: 15px;
    }
    .coach_name h2 {
        font-size: 32px;
    }
    .coach-info {
        font-size: 22px;
    }
    .coach-vk {
        font-size: 22px;
        padding: 5px 12px;
    }
    .coach_img img {
        max-width: 100%;
    }
    .coach-cards-row {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }
    .coach-card-item {
        min-width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    .card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .card-content {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .coach-container {
        padding: 15px 10px;
    }
    .coach_name h2 {
        font-size: 26px;
    }
    .coach-info {
        font-size: 18px;
    }
    .coach-vk {
        font-size: 18px;
        padding: 4px 10px;
    }
    .card-title {
        font-size: 18px;
    }
    .card-content {
        font-size: 14px;
    }
}