:root {
    --primary-color: #b5a8b0;
    --primary-light: #d4c9d0;
    --primary-dark: #9e8f99;
    --secondary-color: #d4c9d0;
    --accent-color: #f4b942;
    --bg-color: #685c64;
    --bg-light: #7a6e76;
    --bg-dark: #4a4146;
    --text-color: #ffffff;
    --text-light: #f0f0f0;
    --text-muted: #cccccc;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
    --accent-font: 'Dancing Script', cursive;
    --modern-font: 'Inter', sans-serif;
    --white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #b5a8b0 0%, #d4c9d0 100%);
    --gradient-secondary: linear-gradient(135deg, #d4c9d0 0%, #f4b942 100%);
    --gradient-bg: linear-gradient(135deg, #685c64 0%, #4a4146 100%);
}

/* Basic Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Utility Classes */
.section {
    position: relative;
    overflow: hidden;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header {
    background: var(--white);
    backdrop-filter: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header--scrolled {
    background: var(--white);
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--accent-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    position: relative;
    background: none;
}

.logo__img {
    height: 35px;
    width: auto;
}

.logo::after {
    content: '';
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

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

.nav__link {
    font-family: var(--modern-font);
    font-size: 15px;
    font-weight: 500;
    color: #685c64;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav__link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav__link:hover::before {
    opacity: 1;
    background: #685c64;
}


.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--modern-font);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn::before {
    content: '';
    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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--outline {
    border-color: #685c64;
    color: #685c64;
    background: transparent;
    backdrop-filter: none;
}

.btn--outline:hover {
    background: #685c64;
    color: var(--white);
    border-color: #685c64;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(104, 92, 100, 0.3);
}

.btn--quick {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn--quick::before {
    content: "";
    margin-right: 0;
}

.btn--quick:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.btn--secondary:hover {
    box-shadow: 0 8px 25px rgba(224, 122, 95, 0.4);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(circle at 20% 50%, rgba(181, 168, 176, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 185, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 201, 208, 0.1) 0%, transparent 50%),
        var(--gradient-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(181, 168, 176, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(244, 185, 66, 0.1) 0%, transparent 50%);
    opacity: 0.8;
    z-index: -1;
}

.hero__content {
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-family: var(--heading-font);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
    background: linear-gradient(90deg, var(--primary-light), #ffffff, var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}

.hero__subtitle {
    font-family: var(--accent-font);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
    font-style: italic;
    letter-spacing: 0.5px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero__hint {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.8;
    font-style: italic;
    margin: 0;
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section--gray {
    background: var(--bg-light);
    position: relative;
}

.section--gray::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section__title {
    text-align: center;
    font-family: var(--heading-font);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
    color: var(--text-color);
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section__title::before {
    content: '✦';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.6;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* About Section */
#about {
    background: var(--white);
    color: #685c64;
}

#about .section__title,
#about .about__text p {
    color: #685c64;
}

#about .section__title::before {
    color: #685c64;
}

#about .section__title::after {
    background: #685c64;
}

#about .about__text p::before {
    background: #685c64;
}

/* Benefits Section */
#benefits {
    background: var(--white);
}

#benefits .section__title,
#benefits .section__title::before {
    color: #685c64;
}

#benefits .section__title::after {
    background: #685c64;
}

.about__content {
    display: flex;
    align-items: center;
    gap: 100px;
    position: relative;
}

.about__text {
    flex: 1;
    position: relative;
}

.about__text p {
    font-family: var(--body-font);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about__text.visible p::before {
    opacity: 1;
}

.about__image {
    flex: 0 0 45%;
    position: relative;
    perspective: 1000px;
}

.about__blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: -1;
    opacity: 0.1;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: blobRotate 20s linear infinite;
}

@keyframes blobRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(108, 154, 139, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.about__image:hover img {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(108, 154, 139, 0.2);
}

/* Benefits Section */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.benefit-card {
    background: #685c64;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.benefit-card:hover .benefit-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(108, 154, 139, 0.3);
}

.benefit-card__title {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: var(--white);
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Trainers Section */
.trainers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.trainer-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.trainer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 154, 139, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.trainer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.trainer-card:hover::before {
    opacity: 1;
}

.trainer-card__image-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    height: 280px;
}

.trainer-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.trainer-card:hover .trainer-card__img {
    transform: scale(1.1);
}

.trainer-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.trainer-card:hover .trainer-card__overlay {
    opacity: 1;
}

.trainer-card__btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--modern-font);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.trainer-card:hover .trainer-card__btn {
    transform: translateY(0);
}

.trainer-card__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.trainer-card__content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.trainer-card__name {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4a4146;
    position: relative;
    z-index: 2;
}

.trainer-card__specialty {
    font-family: var(--body-font);
    font-size: 16px;
    color: #685c64;
    position: relative;
    z-index: 2;
    font-weight: 400;
    margin: 0;
}

.trainer-card__specialty::before {
    content: '✦';
    margin-right: 8px;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Trainer Modal Styles */
.trainer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.trainer-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.trainer-modal__content {
    background: var(--white);
    border-radius: 24px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.trainer-modal.is-open .trainer-modal__content {
    transform: scale(1) translateY(0);
}

.trainer-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #685c64;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.trainer-modal__close:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.trainer-modal__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.trainer-modal__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.trainer-modal__info {
    flex: 1;
}

.trainer-modal__name {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #4a4146;
}

.trainer-modal__specialty {
    font-family: var(--body-font);
    font-size: 16px;
    color: #685c64;
    margin: 0;
    font-weight: 400;
}

.trainer-modal__specialty::before {
    content: '✦';
    margin-right: 8px;
    color: var(--primary-color);
    opacity: 0.7;
}

.trainer-modal__body {
    padding: 30px;
}

.trainer-modal__body h4 {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #4a4146;
    text-align: center;
}

.trainer-modal__body p {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    color: #685c64;
    margin-bottom: 16px;
    text-align: left;
}

.trainer-modal__body p:last-child {
    margin-bottom: 0;
}

/* Pricing Section */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.price-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(181, 168, 176, 0.1);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer-border 3s ease-in-out infinite;
}

@keyframes shimmer-border {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.price-card--featured {
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(181, 168, 176, 0.15),
        0 12px 24px rgba(181, 168, 176, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.price-card--featured::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color), var(--primary-light));
}

.price-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.price-card--featured:hover {
    transform: translateY(-15px) scale(1.07);
    box-shadow: 
        0 35px 70px rgba(181, 168, 176, 0.2),
        0 18px 36px rgba(181, 168, 176, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


.price-card__title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2d3748;
    position: relative;
    z-index: 2;
}

.price-card__price {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    font-family: var(--heading-font);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-card__price span {
    font-size: 18px;
    font-weight: 600;
    color: #718096;
    font-family: var(--body-font);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.price-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    flex-grow: 1;
}

.price-card__features li {
    margin-bottom: 12px;
    padding: 8px 0;
    position: relative;
    color: #4a5568;
    font-weight: 500;
}

.price-card__features li::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    vertical-align: middle;
}

/* Стили для кнопок в карточках абонементов */
.price-card .btn {
    margin-top: auto;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.price-card .btn::before {
    content: '';
    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;
}

.price-card .btn:hover::before {
    left: 100%;
}

.price-card .btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 20px rgba(181, 168, 176, 0.3);
}

.price-card .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(181, 168, 176, 0.4);
}

.price-card--featured .btn--primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 20px rgba(181, 168, 176, 0.3);
}

.price-card--featured .btn--primary:hover {
    box-shadow: 0 12px 28px rgba(181, 168, 176, 0.4);
}

/* Contact Section */
#contact {
    background: var(--white);
}

#contact .section__title,
#contact .contact__text {
    color: #685c64;
}

#contact .section__title::before {
    color: #685c64;
}

#contact .section__title::after {
    background: #685c64;
}

.contact__text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-light);
    font-size: 16px;
    font-family: var(--body-font);
    background-color: var(--bg-light);
}

#contact .contact-form__input,
#contact .contact-form__textarea {
    background-color: var(--white);
    border: 1px solid #685c64;
    color: #685c64;
}

#contact .contact-form__input::placeholder,
#contact .contact-form__textarea::placeholder {
    color: #9e8f99;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 154, 139, 0.2);
}

#contact .contact-form__input:focus,
#contact .contact-form__textarea:focus {
    border-color: #685c64;
    box-shadow: 0 0 0 3px rgba(104, 92, 100, 0.2);
}


.contact-form__textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-color);
    padding: 40px 0;
    text-align: center;
}

/* Animations */
.section__title, .about__text p, .about__image, .trainer-card, .price-card, .contact-form, .benefit-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero__content {
     opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section__title.visible, .about__text.visible p, .about__image.visible, .trainer-card.visible, .price-card.visible, .contact-form.visible, .benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about__text.visible .p1 { transition-delay: 0.1s; }
.about__text.visible .p2 { transition-delay: 0.2s; }
.about__text.visible .p3 { transition-delay: 0.3s; }
.about__text.visible .p4 { transition-delay: 0.4s; }

/* Staggered animation for cards */
.trainer-card:nth-child(1) { transition-delay: 0.1s; }
.trainer-card:nth-child(2) { transition-delay: 0.2s; }
.trainer-card:nth-child(3) { transition-delay: 0.3s; }

.price-card:nth-child(1) { transition-delay: 0.1s; }
.price-card:nth-child(2) { transition-delay: 0.2s; }
.price-card:nth-child(3) { transition-delay: 0.3s; }
.price-card:nth-child(4) { transition-delay: 0.4s; }
.price-card:nth-child(5) { transition-delay: 0.5s; }

/* Дополнительные анимации для карточек абонементов */
.price-card {
    animation: cardFloat 6s ease-in-out infinite;
}

.price-card:nth-child(odd) {
    animation-delay: 0s;
}

.price-card:nth-child(even) {
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.price-card--featured {
    animation: featuredFloat 4s ease-in-out infinite;
}

@keyframes featuredFloat {
    0%, 100% { transform: scale(1.05) translateY(0px); }
    50% { transform: scale(1.05) translateY(-8px); }
}

.burger-menu {
    display: none;
}

.mobile-nav-wrapper {
    display: none;
}

.btn--mobile-nav {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about__content {
        flex-direction: column;
        gap: 60px;
    }

    .about__image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .header__inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 0;
    }

    .header {
        padding: 10px 0;
    }
    
    .header--scrolled {
        padding: 5px 0;
    }

    .mobile-nav-wrapper {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100%;
        background: var(--white);
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
        padding: 40px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1100;
    }

    .mobile-nav__logo {
        display: block;
        margin-bottom: 60px;
    }

    .mobile-nav__logo .logo__img {
        height: 40px;
    }

    .mobile-nav-wrapper.is-open {
        transform: translateX(0);
    }
    
    .mobile-nav-wrapper .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        flex-grow: 1;
    }

    .mobile-nav-wrapper .nav__link {
        font-size: 20px;
        padding: 14px 20px;
        color: #685c64;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease, background-color 0.3s ease;
        border-radius: 12px;
        width: 100%;
        text-transform: none;
        letter-spacing: 0;
    }
    
    .mobile-nav-wrapper .nav__link:hover {
        background: #f4f4f4;
        color: var(--primary-color);
        transform: none;
    }
    
    .mobile-nav-wrapper .nav__link::before {
        display: none;
    }

    .header__nav {
        display: none;
    }

    .header__actions {
        display: none;
    }

    .btn--mobile-nav {
        display: inline-flex;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 16px;
        border-width: 2px;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1200;
        position: relative;
    }

    .burger-menu span {
        width: 100%;
        height: 3px;
        background-color: #685c64;
        border-radius: 3px;
        transition: all 0.3s linear;
    }

    .burger-menu.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .burger-menu.is-active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .about__content {
        gap: 40px;
    }

    .about__image img {
        height: 400px;
    }

    .about__text p {
        font-size: 16px;
    }

    .benefits__grid,
    .trainers__grid,
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .trainer-card__image-container {
        height: 250px;
    }

    .trainer-card__content {
        padding: 25px 20px;
    }

    .trainer-card__name {
        font-size: 24px;
    }

    .trainer-card__specialty {
        font-size: 15px;
    }

    .trainer-modal__content {
        max-width: 90vw;
        max-height: 85vh;
    }

    .trainer-modal__header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 25px 20px;
    }

    .trainer-modal__img {
        width: 70px;
        height: 70px;
    }

    .trainer-modal__name {
        font-size: 24px;
    }

    .trainer-modal__specialty {
        font-size: 15px;
    }

    .trainer-modal__body {
        padding: 25px;
    }

    .trainer-modal__body h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .trainer-modal__body p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        gap: 8px;
    }

    .nav__link {
        font-size: 13px;
        padding: 5px 10px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .section__title::before {
        display: none;
    }

    .trainer-card__image-container {
        height: 220px;
    }

    .trainer-card__content {
        padding: 20px 15px;
    }

    .trainer-card__name {
        font-size: 22px;
    }

    .trainer-card__specialty {
        font-size: 14px;
    }

    .trainer-modal__content {
        max-width: 95vw;
        max-height: 90vh;
    }

    .trainer-modal__header {
        padding: 20px 20px 15px;
        gap: 12px;
    }

    .trainer-modal__img {
        width: 60px;
        height: 60px;
    }

    .trainer-modal__name {
        font-size: 22px;
    }

    .trainer-modal__specialty {
        font-size: 14px;
    }

    .trainer-modal__body {
        padding: 20px;
    }

    .trainer-modal__body h4 {
        font-size: 18px;
    }

    .trainer-modal__body p {
        font-size: 14px;
    }

    .trainer-modal__close {
        top: 15px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

/* Pricing Categories */
.pricing-category {
    margin-bottom: 5rem;
    position: relative;
}

.pricing-category::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.pricing-category__title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-category__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(181, 168, 176, 0.3);
}

.pricing-subcategory__title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin: 3rem 0 2rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.pricing-subcategory__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.pricing-category__note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2rem;
    font-size: 1rem;
    padding: 1rem 2rem;
    background: rgba(181, 168, 176, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Updated Price Cards */
.price-card__description {
    color: #718096;
    font-size: 0.95rem;
    margin: 0.5rem 0 1.5rem 0;
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Subscription Modal - Admin Style */
.subscription-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(74, 65, 70, 0.85);
    backdrop-filter: blur(4px);
    z-index: 1000;
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

.subscription-modal.active {
    display: block;
}

.subscription-modal__overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.subscription-modal__content {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(74, 65, 70, 0.3),
        0 8px 16px rgba(74, 65, 70, 0.2);
    border: 1px solid rgba(181, 168, 176, 0.2);
}

.subscription-modal__header {
    background: var(--gradient-primary);
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.subscription-modal__header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(244, 185, 66, 0.1) 70%);
    pointer-events: none;
}

.subscription-modal__title {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.subscription-modal__subtitle {
    color: #f0f0f0;
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.subscription-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.subscription-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.subscription-modal__body {
    padding: 32px 28px;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.subscription-modal__body::-webkit-scrollbar {
    width: 6px;
}

.subscription-modal__body::-webkit-scrollbar-track {
    background: rgba(181, 168, 176, 0.1);
    border-radius: 3px;
}

.subscription-modal__body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.subscription-modal__body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.subscription-modal__phone {
    text-align: center;
    margin-bottom: 2rem;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.phone-number svg {
    color: var(--primary-color);
}

.phone-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-dark);
}

.phone-description {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.subscription-modal__divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.subscription-modal__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(181, 168, 176, 0.2);
}

.subscription-modal__divider span {
    background: var(--bg-color);
    padding: 0 1rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.subscription-modal__actions {
    background: rgba(181, 168, 176, 0.05);
    padding: 20px 28px;
    border-top: 1px solid rgba(181, 168, 176, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    min-height: 80px;
    position: relative;
    z-index: 10;
}

.subscription-modal__actions h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0 0 1rem 0;
}

.registration-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn--full {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.25rem 1.5rem;
    min-height: 60px;
    font-weight: 600;
    font-family: var(--modern-font);
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border-radius: 12px;
}

.btn--full:hover {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn--full small {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Стили для кнопки "Полная регистрация" */
.subscription-modal .btn--outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.subscription-modal .btn--outline:hover {
    background: #ffffff;
    color: var(--bg-color);
    transform: translateY(-1px);
}

/* Mobile adjustments for new elements */
@media (max-width: 768px) {
    .pricing-category__title {
        font-size: 1.5rem;
    }
    
    .pricing-subcategory__title {
        font-size: 1.2rem;
    }
    
    .subscription-modal__overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .subscription-modal__content {
        max-height: calc(100vh - 40px);
        border-radius: 12px;
        width: 100%;
    }
    
    .subscription-modal__header {
        padding: 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .subscription-modal__header h2 {
        font-size: 20px;
        padding-right: 40px;
    }
    
    .subscription-modal__body {
        padding: 24px 20px;
        max-height: calc(100vh - 140px);
    }
    
    .subscription-modal__actions {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        min-height: 100px;
    }
    
    .subscription-modal__actions .btn--full {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }
    
    .phone-link {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .pricing-category__title {
        font-size: 1.3rem;
    }
    
    .pricing-subcategory__title {
        font-size: 1.1rem;
    }
    
    .subscription-modal__overlay {
        padding: 5px;
        padding-top: 10px;
    }
    
    .subscription-modal__content {
        max-height: calc(100vh - 20px);
        border-radius: 8px;
    }
    
    .subscription-modal__header {
        padding: 16px;
        border-radius: 8px 8px 0 0;
    }
    
    .subscription-modal__header h2 {
        font-size: 18px;
    }
    
    .subscription-modal__body {
        padding: 20px 16px;
        max-height: calc(100vh - 120px);
    }
    
    .subscription-modal__actions {
        padding: 12px 16px;
        min-height: 90px;
    }
}
