:root {
    --blue: #263ed9;
    --blue-dark: #1729a8;
    --orange: #ff6339;
    --yellow: #e9fa67;
    --paper: #f1f0eb;
    --white: #fff;
    --black: #171918;
    --gray: #777d79;
    --line: #d9dad3;
    --font: 'Manrope', sans-serif;
    --display: 'Oswald', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--paper);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container {
    width: min(1360px, calc(100% - 70px));
    margin: auto;
}

img { display: block; max-width: 100%; }

/* HEADER */

.header {
    height: 86px;
    background: var(--blue);
    color: white;
    position: relative;
    z-index: 30;
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    width: 39px;
    height: 39px;
    background: var(--yellow);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 27px;
    font-weight: 700;
    transform: skew(-8deg);
}

.logo-name {
    font-family: var(--display);
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-name small {
    display: block;
    font-family: var(--font);
    font-size: 8px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 5px;
}

.nav {
    display: flex;
    gap: 29px;
    align-items: center;
}

.nav a {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.78);
    transition: .2s;
}

.nav a:hover { color: var(--yellow); }
.nav a.is-active { color: var(--yellow); }

.header-right {
    display: flex;
    align-items: center;
    gap: 23px;
}

.header-phone {
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.header-btn {
    background: var(--yellow);
    color: var(--black);
    padding: 14px 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    transition: .2s;
    border: 0;
}

.header-btn:hover { background: white; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
}

.menu-toggle svg { width: 27px; }

/* HERO */

.hero {
    background: var(--blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    min-height: 710px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    position: relative;
}

.hero-content {
    padding: 75px 0;
    position: relative;
    z-index: 3;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-tag:before {
    content: "";
    width: 33px;
    height: 2px;
    background: var(--yellow);
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(82px, 10vw, 145px);
    line-height: .87;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin: 34px 0 30px;
}

.hero h1 span {
    color: var(--yellow);
    display: block;
}

.hero-description {
    max-width: 410px;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,.76);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 37px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    padding: 0 26px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .25s;
    border: 0;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
}

.btn-yellow:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--blue);
}

.hero-bottom {
    display: flex;
    gap: 36px;
    margin-top: 65px;
}

.hero-stat strong {
    font-family: var(--display);
    font-size: 31px;
    display: block;
    line-height: 1;
}

.hero-stat span {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: 9px;
    margin-top: 7px;
    letter-spacing: .5px;
}

.hero-visual {
    height: 610px;
    position: relative;
    margin: 45px 0;
}

.hero-image {
    position: absolute;
    inset: 0 0 0 20px;
    overflow: hidden;
    background: #3449bd;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75);
}

.hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,24,100,.38), transparent 65%);
}

.hero-sticker {
    position: absolute;
    left: -40px;
    top: 55px;
    background: var(--orange);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--display);
    font-size: 19px;
    line-height: 1.1;
    transform: rotate(-12deg);
    z-index: 3;
}

.hero-sticker span { font-size: 26px; display: block; }

.hero-vertical {
    position: absolute;
    right: -27px;
    bottom: 35px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.65);
}

/* TICKER */

.ticker {
    background: var(--yellow);
    color: var(--black);
    padding: 17px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 26px;
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ticker-item span {
    color: var(--orange);
    margin-left: 38px;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* INTRO */

.intro {
    padding: 125px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: .55fr 1.45fr;
    gap: 80px;
}

.section-label {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--blue);
}

.section-label span {
    font-size: 11px;
    color: #9da39b;
    margin-left: 10px;
}

.intro-content h2 {
    font-family: var(--display);
    font-size: clamp(45px, 6vw, 78px);
    font-weight: 500;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.intro-content h2 em {
    color: var(--blue);
    font-style: normal;
}

.intro-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    margin-top: 35px;
}

.intro-bottom p {
    max-width: 440px;
    color: var(--gray);
    font-size: 12px;
    line-height: 2;
}

.round-link {
    width: 68px;
    height: 68px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: .25s;
}

.round-link:hover {
    transform: rotate(45deg);
    background: var(--blue);
}

/* PROGRAMS */

.programs {
    background: #e5e5df;
    padding: 110px 0 120px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 77px);
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 18px;
}

.section-heading p {
    max-width: 320px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.9;
}

.program-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    grid-template-rows: 250px 250px;
    gap: 16px;
}

.program-card {
    position: relative;
    overflow: hidden;
    color: white;
    background: var(--black);
}

.program-card:first-child {
    grid-row: 1 / 3;
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.7);
    transition: .6s;
}

.program-card:hover img { transform: scale(1.06); }

.program-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 70%);
}

.program-overlay {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    z-index: 2;
}

.program-number {
    font-family: var(--display);
    font-size: 11px;
    color: var(--yellow);
    margin-bottom: 8px;
}

.program-overlay h3 {
    font-family: var(--display);
    font-size: 31px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
}

.program-overlay p {
    font-size: 10px;
    color: rgba(255,255,255,.72);
    margin-top: 9px;
}

.program-card:first-child .program-overlay h3 {
    font-size: 47px;
}

/* SPACE */

.space {
    background: var(--black);
    color: white;
    padding: 120px 0;
}

.space-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
}

.space-content h2 {
    font-family: var(--display);
    font-size: clamp(52px, 6vw, 78px);
    font-weight: 500;
    text-transform: uppercase;
    line-height: .99;
    margin: 25px 0;
}

.space-content h2 span { color: var(--yellow); }

.space-content > p {
    color: #9da29e;
    font-size: 12px;
    line-height: 2;
    max-width: 410px;
}

.space-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.space-item {
    padding: 19px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.space-item strong {
    font-size: 13px;
    font-weight: 700;
}

.space-item span {
    color: var(--yellow);
    font-size: 19px;
}

.space-photo {
    height: 550px;
    position: relative;
}

.space-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-photo-label {
    position: absolute;
    right: -20px;
    bottom: 35px;
    background: var(--orange);
    color: white;
    padding: 22px 25px;
    font-family: var(--display);
    font-size: 23px;
    text-transform: uppercase;
    line-height: 1.1;
}

/* TRAINERS */

.trainers {
    padding: 115px 0;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.trainer-card { min-width: 0; }

.trainer-image {
    height: 390px;
    overflow: hidden;
    background: #d8d8d1;
    position: relative;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: .5s;
}

.trainer-card:hover img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.trainer-index {
    position: absolute;
    top: 17px;
    left: 17px;
    background: var(--yellow);
    color: var(--black);
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 800;
}

.trainer-info {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.trainer-info h3 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
}

.trainer-info span {
    font-size: 10px;
    color: var(--gray);
    text-align: right;
    max-width: 110px;
    line-height: 1.5;
}

/* SCHEDULE */

.schedule {
    background: var(--blue);
    color: white;
    padding: 110px 0;
}

.schedule-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
}

.schedule-heading h2 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 75px);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 20px;
}

.schedule-heading p {
    max-width: 290px;
    font-size: 11px;
    color: rgba(255,255,255,.7);
    line-height: 1.9;
}

.schedule-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.schedule-tab {
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: white;
    padding: 12px 19px;
    font-size: 10px;
    font-weight: 800;
    transition: .2s;
}

.schedule-tab.active,
.schedule-tab:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.schedule-table {
    border-top: 1px solid rgba(255,255,255,.3);
}

.schedule-row {
    display: grid;
    grid-template-columns: 100px 1fr 180px 150px;
    gap: 20px;
    align-items: center;
    padding: 21px 15px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    transition: .2s;
}

.schedule-row:hover {
    background: rgba(255,255,255,.08);
}

.schedule-time {
    font-family: var(--display);
    font-size: 20px;
    color: var(--yellow);
}

.schedule-class {
    font-size: 14px;
    font-weight: 800;
}

.schedule-trainer,
.schedule-level {
    font-size: 10px;
    color: rgba(255,255,255,.7);
}

.schedule-level {
    text-align: right;
}

/* MEMBERSHIP */

.membership {
    padding: 115px 0;
    background: var(--paper);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.price-card {
    background: #e6e6df;
    padding: 35px;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    position: relative;
}

.price-card.featured {
    background: var(--black);
    color: white;
    transform: translateY(-12px);
    position: relative;
}

.price-badge {
    background: var(--orange);
    color: white;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.price-type {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--display);
    font-size: 58px;
    font-weight: 600;
    line-height: 1;
    margin: 30px 0 10px;
}

.price-amount small {
    font-size: 17px;
    font-weight: 400;
}

.price-period {
    font-size: 10px;
    color: #858b83;
}

.price-card.featured .price-period { color: #969e97; }

.price-description {
    color: #777e76;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 22px;
    min-height: 55px;
}

.price-card.featured .price-description { color: #9ca39d; }

.price-features {
    display: grid;
    gap: 13px;
    margin: 28px 0;
}

.price-features li {
    list-style: none;
    font-size: 11px;
    display: flex;
    gap: 10px;
}

.price-features li:before {
    content: "↗";
    color: var(--blue);
    font-weight: 800;
}

.price-card.featured .price-features li:before { color: var(--yellow); }

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

.price-card:not(.featured) .btn {
    background: var(--black);
    color: white;
}

.price-card:not(.featured) .btn:hover {
    background: var(--blue);
}

.price-card.featured .btn {
    background: var(--yellow);
    color: var(--black);
}

/* PROMO */

.promo {
    background: var(--blue);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo:after {
    content: "GO!";
    position: absolute;
    font-family: var(--display);
    font-size: 280px;
    font-weight: 700;
    color: rgba(255,255,255,.09);
    right: 3%;
    top: -65px;
    transform: rotate(-8deg);
}

.promo-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    position: relative;
    z-index: 2;
}

.promo h2 {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 64px);
    text-transform: uppercase;
    line-height: 1;
    font-weight: 600;
}

.promo p {
    font-size: 12px;
    margin-top: 15px;
    color: rgba(255,255,255,.8);
}

.promo .btn {
    background: var(--yellow);
    color: var(--black);
    flex-shrink: 0;
}

.promo .btn:hover { background: white; }

/* REVIEWS */

.reviews {
    padding: 115px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.review-card {
    background: white;
    padding: 30px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:first-child {
    background: var(--yellow);
}

.review-stars {
    color: var(--orange);
    font-size: 13px;
    letter-spacing: 3px;
}

.review-card blockquote {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    margin: 25px 0;
}

.review-author {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    font-weight: 800;
}

.review-author span {
    color: #8b928a;
    font-weight: 400;
}

/* CONTACTS */

.contacts {
    background: var(--black);
    color: white;
    padding: 110px 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
}

.contacts-info h2 {
    font-family: var(--display);
    font-size: clamp(50px, 6vw, 76px);
    text-transform: uppercase;
    font-weight: 500;
    line-height: .99;
    margin: 25px 0;
}

.contacts-info h2 span { color: var(--yellow); }

.contacts-info > p {
    color: #969e97;
    font-size: 12px;
    line-height: 1.9;
    max-width: 350px;
}

.contact-items {
    margin-top: 42px;
    display: grid;
    gap: 24px;
}

.contact-item small {
    display: block;
    font-size: 9px;
    color: #87918a;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.contact-item strong { font-size: 14px; }

.contact-form {
    background: #242927;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.08);
}

.contact-form h3 {
    font-family: var(--display);
    font-size: 27px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}

.form-group { min-width: 0; }
.form-group.full { grid-column: 1/-1; }

.form-group label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: #a1aaa2;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    background: #1b201e;
    border: 1px solid #414944;
    color: white;
    padding: 14px;
    outline: none;
    border-radius: 0;
    font-size: 11px;
    font-family: var(--font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #747e76; }

.form-group textarea {
    min-height: 85px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 22px;
}

.form-note {
    color: #79847b;
    font-size: 9px;
    line-height: 1.7;
    margin-top: 13px;
}

/* SUBPAGE */

.subpage {
    padding: 110px 0 120px;
}

.subpage-hero h1 {
    font-family: var(--display);
    font-size: clamp(52px, 6vw, 90px);
    line-height: .95;
    text-transform: uppercase;
    font-weight: 600;
    margin: 25px 0 20px;
}

.subpage-hero p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.9;
    max-width: 480px;
}

.subpage-divider {
    height: 2px;
    background: var(--blue);
    margin: 45px 0;
    width: 80px;
}

.subpage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.schedule-subpage .schedule { padding: 0; background: transparent; color: var(--black); }
.schedule-subpage .schedule-table { border-top-color: var(--line); }
.schedule-subpage .schedule-row { border-bottom-color: var(--line); }
.schedule-subpage .schedule-row:hover { background: #e5e5df; }
.schedule-subpage .schedule-time { color: var(--blue); }
.schedule-subpage .schedule-tab { border-color: var(--line); color: var(--gray); }
.schedule-subpage .schedule-tab.active, .schedule-subpage .schedule-tab:hover { border-color: var(--blue); background: var(--blue); color: white; }

/* FOOTER */

.footer {
    background: #111513;
    color: white;
    padding: 55px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-about p {
    font-size: 10px;
    color: #828c84;
    line-height: 1.9;
    max-width: 260px;
    margin-top: 18px;
}

.footer h4 {
    font-family: var(--display);
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: #89938b;
    font-size: 10px;
    transition: .2s;
}

.footer-links a:hover { color: var(--yellow); }
.footer-links span { color: #89938b; font-size: 10px; }

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #737e76;
    font-size: 9px;
}

/* RESPONSIVE */

@media(max-width: 1050px) {
    .nav { gap: 15px; }
    .header-phone { display: none; }
    .hero h1 { font-size: 100px; }
    .space-grid { gap: 45px; }
    .contacts-grid { gap: 45px; }
    .footer-grid { gap: 25px; }
}

@media(max-width: 800px) {
    .container { width: calc(100% - 40px); }
    .header { height: 73px; }
    .menu-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--blue-dark);
        padding: 24px 25px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .nav.open { display: flex; }
    .header-btn { padding: 12px 14px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-content { padding: 75px 0 25px; }
    .hero-visual { height: 450px; margin: 10px 0 60px; }
    .hero-image { inset: 0 20px 0 35px; }
    .hero-sticker { left: -10px; }
    .intro-grid { grid-template-columns: 1fr; gap: 30px; }
    .intro { padding: 90px 0; }
    .section-heading { flex-direction: column; align-items: flex-start; }
    .program-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px 230px;
    }
    .program-card:first-child { grid-row: auto; grid-column: 1/-1; }
    .space-grid { grid-template-columns: 1fr; }
    .space-photo { height: 430px; }
    .trainers-grid { grid-template-columns: 1fr 1fr; }
    .subpage-grid { grid-template-columns: 1fr 1fr; }
    .schedule-heading { flex-direction: column; align-items: flex-start; }
    .schedule-row { grid-template-columns: 75px 1fr 130px; }
    .schedule-level { display: none; }
    .membership-grid { grid-template-columns: 1fr 1fr; }
    .price-card.featured { transform: none; }
    .price-card:last-child { grid-column: 1/-1; }
    .promo-inner { align-items: flex-start; flex-direction: column; }
    .review-grid { grid-template-columns: 1fr 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 520px) {
    .container { width: calc(100% - 32px); }
    .logo-name { font-size: 25px; }
    .header-btn { display: none; }
    .hero h1 { font-size: 76px; }
    .hero-content { padding-top: 60px; }
    .hero-visual { height: 340px; }
    .hero-bottom { gap: 20px; margin-top: 42px; }
    .hero-stat strong { font-size: 25px; }
    .intro-content h2 { font-size: 44px; }
    .intro-bottom { align-items: flex-start; }
    .program-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 270px); }
    .program-card:first-child { grid-column: auto; }
    .program-card:first-child .program-overlay h3 { font-size: 37px; }
    .space-content h2 { font-size: 57px; }
    .space-photo { height: 330px; }
    .space-photo-label { right: 0; bottom: 15px; font-size: 18px; }
    .trainers-grid { grid-template-columns: 1fr; }
    .trainer-image { height: 390px; }
    .subpage-grid { grid-template-columns: 1fr; }
    .schedule-row {
        grid-template-columns: 65px 1fr;
        gap: 10px;
    }
    .schedule-trainer { grid-column: 2; }
    .schedule-class { font-size: 12px; }
    .membership-grid { grid-template-columns: 1fr; }
    .price-card:last-child { grid-column: auto; }
    .price-card { min-height: 400px; }
    .review-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 25px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .subpage { padding: 70px 0 80px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
    .footer-bottom { flex-direction: column; }
}