/* ========== ПЕРЕМЕННЫЕ ========== */
:root {
    --primary-purple: #4638C7;
    --primary-burgundy: #800020;
    --accent-crimson: #DC143C;
    --light-lavender: #9370DB;
    --bg-light: #F8F4FF;
    --text-dark: #140F1A;
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-burgundy));
    --gradient-hero: radial-gradient(ellipse at 30% 40%, #1a0b2e 0%, #0d0b1a 70%, #03010a 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 5px 20px rgba(70, 56, 199, 0.08);
    --shadow-md: 0 10px 30px rgba(128, 0, 32, 0.12);
    --shadow-lg: 0 20px 40px rgba(70, 56, 199, 0.15);
    --ice-blue: #a8d8ff;
    
    --font-primary: 'Formular', sans-serif;
    --font-heading: 'Ostrovsky', sans-serif;
    
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-4xl: 42px;
    
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;

    --gradient-discount: linear-gradient(135deg, #28a745, #34ce57);
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(147, 112, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ========== ШАПКА ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 244, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(70, 56, 199, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(248, 244, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo::after {
    content: '✦';
    position: absolute;
    right: -20px;
    top: -8px;
    font-size: 16px;
    color: var(--accent-crimson);
    opacity: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.logo:hover::after {
    opacity: 1;
    transform: rotate(180deg);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--primary-purple);
}

.menu a:hover::before,
.menu a.active::before {
    width: 100%;
}

.menu a.active {
    color: var(--primary-burgundy);
}

.right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    text-decoration: none;
}

.phone {
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-base);
    white-space: nowrap;
    padding: 6px 14px;
    background: rgba(70, 56, 199, 0.05);
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}

.phone:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.lk {
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--gradient-primary);
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(70, 56, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.lk::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.lk:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.4);
}

.lk:hover::before {
    width: 200px;
    height: 200px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(248, 244, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid rgba(112, 48, 160, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: var(--text-md);
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-burgundy);
}

.mobile-phone {
    font-size: var(--text-lg) !important;
    font-weight: 700 !important;
    color: var(--primary-purple) !important;
    margin-top: 10px;
    padding: 12px 25px !important;
    background: rgba(70, 56, 199, 0.1);
    border-radius: 40px;
    width: auto;
    display: inline-block;
}

/* ========== ГЛАВНЫЙ ЭКРАН ========== */
.hero {
    margin-top: 70px;
    padding: 80px 0;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    color: white;
}

.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 15px 60px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 72px 430px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 850px 220px, #ffd9e6, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 230px 780px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 940px 540px, #b3a0ff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 120px 320px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 450px 890px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 670px 150px, #ffb3d1, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 520px 630px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 380px 420px, #b380ff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.8;
    animation: twinkle 4s ease-in-out infinite;
}

.hero-stars::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(3px 3px at 120px 340px, #fff, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 680px 780px, #c7b3ff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 920px 150px, #ffb3d9, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 450px 560px, #b366ff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 780px 340px, #ffe6f0, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.6;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 70% 30%, rgba(128, 0, 32, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(70, 56, 199, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(147, 112, 219, 0.1) 0%, transparent 40%);
    filter: blur(20px);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    color: white;
    padding-left: 40px;
}

.hero-text p {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== КНОПКИ ========== */
.btn {
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(70, 56, 199, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-burgundy);
    transform: translateY(-2px);
}

.btn-intensive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(70, 56, 199, 0.25);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 200px;
}

.btn-intensive::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.btn-intensive:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(128, 0, 32, 0.35);
}

.btn-intensive:hover::before {
    width: 250px;
    height: 250px;
}

.btn-intensive span,
.btn-intensive svg {
    position: relative;
    z-index: 2;
}

.btn-intensive svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-intensive:hover svg {
    transform: translateX(4px);
}

.btn-buy {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(70, 56, 199, 0.3);
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.4);
    background: var(--primary-burgundy);
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-purple));
}

/* ========== СЛЕДЫ НА ЛЬДУ ========== */
.ice-traces {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.2;
    pointer-events: none;
}

.trace-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ice-blue), transparent);
    filter: blur(2px);
    animation: traceGlow 4s ease-in-out infinite alternate;
}

@keyframes traceGlow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

/* ========== ЭФФЕКТЫ ========== */
.aurora {
    position: absolute;
    inset: 0;
    filter: blur(50px);
    z-index: 1;
}

.aurora-1 {
    background: linear-gradient(45deg, transparent 30%, rgba(70, 56, 199, 0.15) 50%, rgba(128, 0, 32, 0.15) 70%, transparent 90%);
    animation: auroraWave 12s ease-in-out infinite alternate;
}

.aurora-2 {
    background: linear-gradient(135deg, transparent 20%, rgba(147, 112, 219, 0.15) 40%, rgba(220, 20, 60, 0.15) 60%, transparent 80%);
    animation: auroraShift 18s ease-in-out infinite alternate;
}

@keyframes auroraWave {
    0% { transform: translateX(-5%) skewX(-5deg); opacity: 0.15; }
    100% { transform: translateX(5%) skewX(5deg); opacity: 0.4; }
}

@keyframes auroraShift {
    0% { transform: translateY(-5%) scale(1); }
    100% { transform: translateY(5%) scale(1.2); }
}

.floating-star {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.star {
    position: absolute;
    color: white;
    font-size: 15px;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 0 30px var(--primary-purple), 0 0 60px var(--primary-burgundy);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.star-small { font-size: 20px; } 
.star-medium { font-size: 20px; } 

@keyframes floatSoft {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-nebula {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(147, 112, 219, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(128, 0, 32, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 80%, rgba(70, 56, 199, 0.08) 0%, transparent 25%);
    filter: blur(40px);
    z-index: 1;
    animation: nebulaPulse 10s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

/* ========== О ШКОЛЕ ========== */
.about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--light-lavender);
    opacity: 0.05;
    border-radius: 50%;
    transform: rotate(45deg);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: var(--text-sm);
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '✦';
    font-size: 12px;
    color: var(--accent-crimson);
    margin: 0 8px;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    line-height: var(--leading-tight);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.about-quote {
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: var(--leading-normal);
    color: var(--primary-purple);
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.about-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: var(--accent-crimson);
    opacity: 0.3;
    font-family: serif;
}

.about-text p {
    font-size: var(--text-base);
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: var(--leading-relaxed);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: var(--text-sm);
    width: 100%;
    min-width: 0;
}

.highlight-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.highlight-item span {
    flex: 1;
    line-height: 1.3;
    word-break: break-word;
    white-space: normal;
}

@media (max-width: 768px) {
    
    .highlight-item {
        gap: 10px;
        min-height: 60px;
    }
    
    .highlight-item span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .highlight-item {
        padding: 8px 10px;
        min-height: 55px;
    }
    
    .highlight-icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .highlight-item span {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

.about-location-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 18px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(70,56,199,0.04);
    border: 1px solid rgba(147,112,219,0.15);
    margin-top: 25px;
    align-items: center;
    transition: all 0.3s;
}

.about-location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(128,0,32,0.1);
    border-color: var(--primary-burgundy);
}

.location-icon .icon {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.location-text p {
    font-size: var(--text-base);
    color: var(--text-dark);
    margin-bottom: 3px;
}

.location-address {
    font-size: var(--text-xs);
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 30px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '✦';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 40px;
    color: var(--light-lavender);
    opacity: 0.1;
    transform: rotate(30deg);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 38px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-dark);
    opacity: 0.8;
}

/* ========== ТРЕНЕРЫ ========== */
.coaches {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
    position: relative;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.coach-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    position: relative;
}

.coach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.coach-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
}

.coach-card:hover .coach-image img {
    transform: scale(1.1);
}

.coach-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.coach-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.coach-content {
    padding: 25px;
}

.coach-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.coach-position {
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: var(--text-xs);
    letter-spacing: 1px;
}

.coach-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 40px;
}

.tab-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: var(--text-xs);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 3px 10px rgba(70, 56, 199, 0.3);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.achievements-list,
.experience-list {
    list-style: none;
}

.achievements-list li,
.experience-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: var(--text-sm);
    color: #333;
    border-bottom: 1px solid rgba(147, 112, 219, 0.08);
    line-height: var(--leading-normal);
    white-space: normal;
    word-break: break-word;
}

.achievements-list li svg,
.experience-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.achievements-list li span,
.experience-list li span {
    flex: 1;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .achievements-list li,
    .experience-list li {
        font-size: var(--text-xs);
        gap: 10px;
        padding: 8px 0;
    }
    
    .achievements-list li svg,
    .experience-list li svg {
        width: 18px;
        height: 18px;
    }
}

.experience-list li svg {
    stroke: var(--primary-purple);
}

/* ========== РАСПИСАНИЕ ========== */
.schedule {
    padding: 80px 0;
}

/* ========== CTA ========== */
.cta-section {
    padding: 60px 0;
}

.cta-dark.cta-centered {
    background: var(--gradient-hero) !important;
    color: white !important;
    padding: 60px 40px !important;
    border-radius: 40px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    text-align: center !important;
}

.cta-dark.cta-centered .cta-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    z-index: 2 !important;
    position: relative !important;
}

.cta-dark.cta-centered .cta-title {
    background: none !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    font-size: 42px !important;
}

.cta-dark.cta-centered p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 30px !important;
    font-size: 20px !important;
}

.cta-dark.cta-centered .btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    display: inline-block !important;
}

.cta-dark.cta-centered::before {
    content: '✦✦✦' !important;
    position: absolute !important;
    bottom: 10px !important;
    right: 20px !important;
    font-size: 60px !important;
    color: rgba(255, 255, 255, 0.1) !important;
    transform: rotate(-5deg) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.cta-dark.cta-centered::after {
    content: '✦✦✦' !important;
    position: absolute !important;
    top: 10px !important;
    left: 20px !important;
    font-size: 40px !important;
    color: rgba(255, 255, 255, 0.1) !important;
    transform: rotate(10deg) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* ========== ЦЕНЫ ========== */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
}

.price-info {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(147, 112, 219, 0.1);
}

.individual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0 15px;
}

.individual-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(70, 56, 199, 0.1);
    transition: all 0.3s ease;
}

.individual-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-burgundy);
}

/* ========== ПОДАРОЧНЫЕ СЕРТИФИКАТЫ ========== */
.certificates {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
    position: relative;
    overflow: hidden;
}

.certificates::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    opacity: 0.03;
    border-radius: 50%;
    transform: rotate(45deg);
    pointer-events: none;
}

.certificates::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--primary-burgundy);
    opacity: 0.03;
    border-radius: 50%;
    transform: rotate(15deg);
    pointer-events: none;
}

.certificates-description {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-dark);
    opacity: 0.9;
    max-width: 700px;
    margin: -20px auto 40px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.certificate-card {
    background: white;
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 112, 219, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-purple);
}

.certificate-card.popular {
    border: 2px solid var(--primary-purple);
    box-shadow: 0 10px 30px rgba(70, 56, 199, 0.15);
    transform: scale(1.02);
}

.certificate-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
}

.certificate-card.best {
    border: 2px solid var(--primary-burgundy);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.15);
}

.certificate-card.best:hover {
    border-color: var(--primary-burgundy);
}

.certificate-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(70, 56, 199, 0.3);
}

.certificate-card.popular .certificate-badge {
    background: var(--primary-purple);
}

.certificate-card.best .certificate-badge {
    background: var(--primary-burgundy);
}

.certificate-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin: 15px 0 10px;
    padding-right: 30px;
}

.certificate-desc {
    font-size: var(--text-sm);
    color: var(--text-dark);
    opacity: 0.7;
    line-height: var(--leading-normal);
    margin-bottom: 20px;
    flex-grow: 1;
}

.certificate-price {
    font-family: var(--font-heading);
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 600;
}

.certificate-features {
    list-style: none;
    margin-bottom: 15px;
}

.certificate-features li {
    font-size: var(--text-sm);
    color: var(--text-dark);
    padding: 5px 0;
    border-bottom: 1px dashed rgba(70, 56, 199, 0.1);
}

.certificate-features li:last-child {
    border-bottom: none;
}

.certificate-footer {
    margin-top: 20px;
    text-align: center;
}

.certificates-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding: 15px 25px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(147, 112, 219, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.certificates-note .icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary-purple);
    flex-shrink: 0;
}

.certificates-note p {
    font-size: var(--text-sm);
    color: var(--text-dark);
    margin: 0;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .certificates-note {
        margin: 20px 15px 0 15px;
        padding: 10px 15px;
        border-radius: 30px;
    }
    
    .certificates-note p {
        font-size: 11px;
    }
    
    .certificates-note .icon {
        width: 16px;
        height: 16px;
    }
}


/* ========== СТРАХОВАНИЕ (ПЛАШКА) ========== */
.insurance-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
}

.banner-card {
    background: white;
    border-radius: 40px;
    padding: 40px 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(147, 112, 219, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .banner-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .banner-card {
        max-width: 100%;
    }
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(70, 56, 199, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(128, 0, 32, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.banner-card::after {
    content: '✦✦✦';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 24px;
    color: var(--light-lavender);
    opacity: 0.1;
    transform: rotate(-5deg);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(70, 56, 199, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-purple);
}

.banner-text h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.banner-text p {
    font-size: var(--text-md);
    color: var(--text-dark);
    line-height: var(--leading-relaxed);
    max-width: 700px;
    opacity: 0.9;
}

.banner-btn {
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: var(--text-base);
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(70, 56, 199, 0.3);
    position: relative;
    z-index: 2;
    border: none;
    display: inline-block;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(128, 0, 32, 0.4);
}

/* ========== ГАЛЕРЕЯ-КАРУСЕЛЬ ========== */
.gallery {
    padding: 80px 0;
}

.gallery-description {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-dark);
    opacity: 0.9;
    max-width: 700px;
    margin: -20px auto 40px;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    padding: 5px;
}

.carousel-slide .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

.carousel-slide .gallery-item {
    grid-column: span 1;
    grid-row: span 1;
    height: 100%;
    margin: 0;
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-light);
}

.carousel-slide .gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.carousel-slide .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide .gallery-item:hover img {
    transform: scale(1.1);
}

.carousel-slide .gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    transition: transform 0.3s ease;
    z-index: 2;
}

.carousel-slide .gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(70, 56, 199, 0.2);
    color: var(--primary-purple);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

/* ========== ТАЙМЕР ЛЕТНЕГО ИНТЕНСИВА ========== */
.summer-intensive {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
    position: relative;
}

.intensive-card {
    background: white;
    border-radius: 40px;
    padding: 40px 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(147, 112, 219, 0.2);
    transition: all 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.intensive-card::before {
    content: '⏱️';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 80px;
    color: var(--light-lavender);
    opacity: 0.1;
    transform: rotate(-5deg);
    pointer-events: none;
    z-index: 1;
}

.intensive-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.intensive-header h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.intensive-header p {
    font-size: var(--text-lg);
    color: var(--text-dark);
    line-height: 1.5;
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
}

.intensive-timer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.intensive-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.timer-item {
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.03), rgba(128, 0, 32, 0.03));
    border-radius: 24px;
    padding: 15px 18px;
    min-width: 100px;
    text-align: center;
    border: 1px solid rgba(147, 112, 219, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timer-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}

.timer-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.timer-label {
    font-size: 11px;
    color: var(--text-dark);
    opacity: 0.6;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========== FAQ ========== */
.faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.faq-item {
    background: white;
    border-radius: 25px;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}

.faq-question {
    padding: 20px 0;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding-right: 35px;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.faq-question::before {
    content: '✦';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-crimson);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
}

.faq-item:hover .faq-question::before {
    opacity: 0.3;
    left: -20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

/* ========== КОНТАКТЫ ========== */
.contacts {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(70, 56, 199, 0.02), rgba(128, 0, 32, 0.02));
    position: relative;
    overflow: hidden;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contacts-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: white;
    border-radius: 25px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(147, 112, 219, 0.1);
    transition: all 0.3s ease;
    min-height: 120px;
    height: 100%;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-burgundy);
}

.contact-icon {
    min-width: 48px;
    width: 48px;
    height: 48px;
    background: rgba(70, 56, 199, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-purple);
    stroke-width: 1.5;
}

.contact-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h4 {
    font-size: var(--text-xs);
    color: var(--light-lavender);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
}

.contact-info p {
    font-size: var(--text-sm);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
    margin: 0;
}

.contact-phone-link {
    font-size: var(--text-sm);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone-link:hover {
    color: var(--primary-purple);
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s;
    opacity: 0.5;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    align-self: center;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
}

.copy-btn:hover {
    opacity: 1;
    background: rgba(128, 0, 32, 0.08);
    transform: scale(1.1);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.contact-action {
    background: white;
    border-radius: 25px;
    padding: 28px 25px;
    border: 1px solid rgba(147, 112, 219, 0.1);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
    min-height: 100px;
    width: 100%;
}

.contact-action:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-burgundy);
}

.contact-action p {
    font-size: var(--text-md);
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.contact-action .btn {
    min-width: 160px;
    padding: 12px 28px;
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--gradient-primary);
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(70, 56, 199, 0.2);
    border: none;
}

.contact-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.3);
}

.contacts-map {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
    display: block;
    flex: 1;
}

.contacts-map iframe:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 15px 30px rgba(70, 56, 199, 0.15);
}

.map-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--light-lavender);
    margin-top: 12px;
    opacity: 0.8;
}

/* ========== ПОДВАЛ ========== */
footer {
    padding: 60px 0 25px;
    background: var(--text-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    max-height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
    object-fit: contain;
    display: block;
}

.footer-logo p {
    opacity: 0.7;
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
    margin-bottom: 15px;
    max-width: 300px;
}

.footer-requisites {
    margin-top: 5px;
}

.footer-requisites p {
    opacity: 0.7;
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
    margin-bottom: 5px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    margin-bottom: 20px;
    color: var(--light-lavender);
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.7;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: var(--text-sm);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(8px);
    color: var(--light-lavender);
}

.footer-subscribe h4 {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    margin-bottom: 20px;
    color: var(--light-lavender);
}

.footer-subscribe input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 12px;
    font-size: var(--text-sm);
}

.footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--text-sm);
    -webkit-tap-highlight-color: transparent;
}

.footer-subscribe button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: var(--text-xs);
}

/* ========== АНИМАЦИИ ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke-width: 1.2;
    transition: all 0.2s ease;
    vertical-align: middle;
    opacity: 0.9;
}

/* ========== ЛАЙТБОКС ========== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(147, 112, 219, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2001;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: rgba(128, 0, 32, 0.5);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gradient-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: var(--text-sm);
    backdrop-filter: blur(5px);
}

/* ========== АДАПТАЦИЯ ========== */
@media (max-width: 1366px) {
    
    .hero-buttons .btn {
        font-size: var(--text-sm);
        padding: 12px 28px;
    }
}

@media (max-width: 1200px) {
    .container { padding: 0 25px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        font-size: var(--text-sm);
        padding: 12px 24px;
        white-space: normal;
        text-align: center;
        flex: 1 1 auto;
    }
    
    .hero-buttons .btn-primary {
        min-width: 300px;
        max-width: 100%;
    }
    
    .hero-buttons .btn-outline {
        min-width: 140px;
    }
}

@media (max-width: 992px) {
    .menu { display: none; }
    .burger { display: flex; }
    .right .phone-link { display: none; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-text { text-align: center; padding-left: 0; }
    .hero-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    
    .hero-buttons .btn-primary {
        min-width: 280px;
    }
    
    .about-grid { grid-template-columns: 1fr; }
    .coaches-grid { grid-template-columns: repeat(2, 1fr); }
    .individual-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 36px; }
    .contacts-wrapper { grid-template-columns: 1fr; }
    .contacts-map iframe { height: 400px; }
    .carousel-slide { grid-auto-rows: 150px; gap: 12px; }
}

@media (max-width: 768px) {
    .about-quote {
        padding-left: 15px;
    }
    .about-quote::before {
        left: -5px;
        font-size: 35px;
    }
    
    .about-highlights {
        gap: 10px;
    }
    .highlight-item {
        padding: 10px 12px;
        font-size: var(--text-xs);
    }
    .highlight-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .cta-dark.cta-centered {
        padding: 40px 20px !important;
    }
    .cta-dark.cta-centered .cta-title {
        font-size: 32px !important;
    }
    
    .container { padding: 0 20px; }
    .hero { padding: 60px 0; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 350px;
        padding: 14px 20px;
        white-space: normal;
    }
    
    .hero-buttons .btn-primary {
        min-width: auto;
    }
    
    .section-title { font-size: 32px; }
    .coaches-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .individual-grid { grid-template-columns: 1fr; }
    .price-info { padding: 25px; }
    .certificates-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-carousel { gap: 10px; }
    .carousel-prev, .carousel-next { width: 40px; height: 40px; font-size: 20px; }
    .contacts-map iframe { height: 350px; }
    .banner-card { flex-direction: column; text-align: center; padding: 35px 30px; }
    .banner-content { flex-direction: column; text-align: center; }
    .banner-text h3 { font-size: 24px; }
    .banner-btn { width: 100%; text-align: center; }
    .contact-action { flex-direction: column; text-align: center; padding: 25px 20px; }
    .contact-action p { text-align: center; margin-bottom: 5px; }
    .contact-action .btn { width: 100%; max-width: 280px; }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .footer-subscribe {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        display: flex;
        flex-direction: column;
        gap: 10px;
        grid-template-columns: none;
    }
    .carousel-slide .gallery-item {
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }
    .carousel-slide .gallery-item:not(:first-child) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-buttons .btn { 
        max-width: 100%; 
        font-size: var(--text-xs);
        padding: 12px 16px;
    }
    
    .btn { width: 100%; text-align: center; padding: 12px 20px; }
    .section-title { font-size: 28px; }
    .stat-number { font-size: 32px; }
    .certificates-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 18px 15px; gap: 12px; }
    .contact-info { width: calc(100% - 80px); }
    .contacts-map iframe { height: 280px; }
    .banner-card { padding: 30px 20px; }
    .banner-text h3 { font-size: 22px; }
    
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo img {
        height: 40px;
        max-width: 150px;
        max-height: 40px;
    }

}

/* ========== ПЛАТЕЖНЫЕ СИСТЕМЫ В ПОДВАЛЕ ========== */
.footer-payment h4 {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    margin-bottom: 16px;
    color: var(--light-lavender);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.payment-icon {
    height: 22px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.payment-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.payment-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .footer-payment {
        align-items: center;
        text-align: center;
    }
    
    .payment-icons {
        justify-content: center;
    }
}

/* ========== ПРИМЕЧАНИЕ В CTA ========== */
.cta-dark.cta-centered .cta-note {
    font-size: 13px !important;
    opacity: 0.7;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cta-dark.cta-centered .cta-note {
        font-size: 11px !important;
        margin-top: 16px;
    }
}


/* Анимированный логотип в hero-секции */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-logo-wrapper maria-logo-animation {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .hero-logo-wrapper maria-logo-animation {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-logo-wrapper maria-logo-animation {
        max-width: 280px;
    }
}

/* ========== СВЕТЛАЯ ТЕМА ДЛЯ GOOGLE КАЛЕНДАРЯ (ОРИГИНАЛЬНЫЕ ЦВЕТА) ========== */
.google-calendar-embed {
    background: transparent;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.google-calendar-embed iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: none;
    background: white;
    /* Без filter — цвета как в оригинале */
}

/* Адаптация для телефонов */
@media (max-width: 768px) {
    .google-calendar-embed iframe {
        height: 450px;
    }
}

/* ========== COOKIES УВЕДОМЛЕНИЕ (КОМПАКТНЫЙ БЛОК) ========== */
.cookies-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    width: calc(100% - 40px);
    background: rgba(248, 244, 255, 0.98);
    backdrop-filter: blur(8px);
    color: var(--text-dark);
    padding: 18px 20px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease-out;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(70, 56, 199, 0.15);
}

.cookies-notice.show {
    transform: translateX(0);
}

.cookies-content p {
    margin: 0 0 15px 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-dark);
}

.cookies-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookies-btn {
    padding: 7px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-primary);
    display: inline-block;
}

.cookies-accept {
    background: var(--gradient-primary);
    color: white;
}

.cookies-accept:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .cookies-notice {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
        padding: 14px 16px;
        border-radius: 16px;
    }
    
    .cookies-content p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .cookies-buttons {
        justify-content: center;
    }
    
    .cookies-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* ========== ВЫРАВНИВАНИЕ ЦЕН (МОБИЛЬНЫЕ ТОЖЕ) ========== */

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Временно скрыть блок страховки */
.insurance-banner {
    display: none !important;
}

/* ===== НОВЫЙ БЛОК ЦЕН ===== */

/* Быстрые цены */
.big-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.big-numbers .item {
    background: linear-gradient(135deg, rgba(248, 244, 255, 0.8), white);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(70, 56, 199, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.big-numbers .item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}
.big-numbers .item .label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.big-numbers .item .value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}
.big-numbers .item .subinfo {
    font-size: 14px;
    color: #9ca3af;
}

/* Групповые абонементы */
.discount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.discount-grid .card {
    background: linear-gradient(135deg, rgba(248, 244, 255, 0.5), white);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(70, 56, 199, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.discount-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}
.discount-grid .card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(70, 56, 199, 0.08);
    color: var(--text-dark);
}
.discount-grid .card .item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid rgba(70, 56, 199, 0.06);
}
.discount-grid .card .item:last-child {
    border-bottom: none;
}
.discount-grid .card .item .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.discount-grid .card .item .name {
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
}
.discount-grid .card .item .right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.discount-grid .card .item .price {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}
.discount-grid .card .item .discount {
    background: var(--gradient-discount);
    padding: 1px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}
.discount-grid .card .item .detail {
    font-size: 11px;
    color: #6b7280;
    padding-left: 4px;
    margin-top: 2px;
}

/* Акции */
.offer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.offer-row .item {
    background: linear-gradient(135deg, rgba(248, 244, 255, 0.5), white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(70, 56, 199, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.offer-row .item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-purple);
}
.offer-row .item .badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-purple);
    background: rgba(70, 56, 199, 0.08);
    padding: 2px 16px;
    border-radius: 40px;
    display: inline-block;
}
.offer-row .item .price-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px 0;
}
.offer-row .item .price {
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
}
.offer-row .item .discount-badge {
    background: var(--gradient-discount);
    padding: 1px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}
.offer-row .item .note {
    font-size: 13px;
    color: #6b7280;
}
.offer-row .item.green {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.03), rgba(52, 206, 87, 0.03));
    border-color: rgba(128, 0, 32, 0.2);
    border-width: 1px;
}
.offer-row .item.green .badge {
    background: rgba(128, 0, 32, 0.06);
    color: var(--primary-burgundy);
}
.offer-row .item.green .sub-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-burgundy);
}

/* Индивидуальные тренировки в новом блоке */
.pricing .individual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.pricing .individual-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(70, 56, 199, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.pricing .individual-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-burgundy);
}
.pricing .individual-card h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary-burgundy);
    margin-bottom: 2px;
}
.pricing .individual-card .pos {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 12px;
}
.pricing .individual-card .price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed rgba(70, 56, 199, 0.1);
}
.pricing .individual-card .price-row:last-child {
    border-bottom: none;
}
.pricing .individual-card .price-row .label {
    color: #4b5563;
}
.pricing .individual-card .price-row .value {
    font-weight: 700;
    font-size: 14px;
}
.pricing .individual-card .price-row .value.burgundy {
    color: var(--primary-burgundy);
}
.pricing .individual-card .price-row .value.purple {
    color: var(--primary-purple);
}

/* Подвал блока цен */
.pricing .footer-info {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.pricing .footer-info .item {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.pricing .footer-info .item strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Разделитель */
.pricing .divider-text {
    text-align: center;
    padding: 30px 0 20px;
    font-size: 13px;
    color: #9ca3af;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    font-weight: 500;
}
.pricing .divider-text::before,
.pricing .divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d1d5db);
}
.pricing .divider-text::before {
    left: 0;
}
.pricing .divider-text::after {
    right: 0;
}
.pricing .divider-text .icon {
    margin: 0 10px;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ДЛЯ БЛОКА ЦЕН ===== */

@media (max-width: 992px) {
    .big-numbers {
        grid-template-columns: 1fr;
    }
    .discount-grid {
        grid-template-columns: 1fr;
    }
    .offer-row {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing .individual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing .footer-info {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .pricing .footer-info .item {
        font-size: 12px;
    }
    .big-numbers .item .value {
        font-size: 32px;
    }
    .offer-row .item .price {
        font-size: 22px;
    }
    .discount-grid .card .item .discount {
        font-size: 9px;
        padding: 1px 8px;
    }
    .offer-row .item .discount-badge {
        font-size: 9px;
        padding: 1px 8px;
    }
    /* Центрируем карточки индивидуальных тренировок */
    .pricing .individual-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .pricing .individual-grid {
        grid-template-columns: 1fr;
    }
    .pricing .footer-info {
        gap: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pricing .footer-info .item {
        font-size: 11px;
    }
    .big-numbers .item .value {
        font-size: 28px;
    }
    .big-numbers .item {
        padding: 18px 16px;
    }
    .big-numbers .item .label {
        font-size: 11px;
    }
    .big-numbers .item .subinfo {
        font-size: 12px;
    }
    .offer-row .item {
        padding: 16px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .offer-row .item .price {
        font-size: 20px;
    }
    .offer-row .item .badge {
        font-size: 11px;
        padding: 2px 12px;
    }
    .offer-row .item .note {
        font-size: 11px;
    }
    .offer-row .item.green .sub-title {
        font-size: 12px;
    }
    .discount-grid .card {
        padding: 16px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .discount-grid .card h4 {
        font-size: 16px;
    }
    .discount-grid .card .item .name {
        font-size: 13px;
    }
    .discount-grid .card .item .price {
        font-size: 13px;
    }
    .discount-grid .card .item .detail {
        font-size: 10px;
    }
    .discount-grid .card .item .discount {
        font-size: 8px;
        padding: 1px 6px;
    }
    .pricing .divider-text {
        font-size: 11px;
        padding: 20px 0 14px;
    }
    .pricing .divider-text::before,
    .pricing .divider-text::after {
        width: 20%;
    }
    /* Карточки тренеров на мобильных */
    .pricing .individual-card {
        padding: 16px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .pricing .individual-card h5 {
        font-size: 15px;
    }
    .pricing .individual-card .price-row {
        font-size: 12px;
        padding: 5px 0;
    }
    .pricing .individual-card .price-row .value {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .price-info {
        padding: 16px !important;
    }
    .big-numbers .item .value {
        font-size: 24px;
    }
    .offer-row .item .price {
        font-size: 18px;
    }
    .discount-grid .card {
        padding: 14px;
    }
    .discount-grid .card .item .top {
        flex-wrap: wrap;
        gap: 4px;
    }
    .discount-grid .card .item .right {
        flex-wrap: wrap;
    }
    .big-numbers .item {
        padding: 14px 12px;
    }
    .offer-row .item {
        padding: 14px;
    }
}

/* ===== СПЕЦПРЕДЛОЖЕНИЕ внутри .big-numbers ===== */
.big-numbers .morning-offer {
    position: relative;
    overflow: hidden;
    padding-top: 30px;
}

/* Ленточка — диагональная полоса через угол */
.big-numbers .morning-offer .ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    width: 120px;
    padding: 5px 0;
    background: var(--gradient-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(70, 56, 199, 0.35);
    z-index: 3;
    pointer-events: none;
    line-height: 1;
}

/* Хвостики ленты (снизу слева и сверху справа от основной полосы) */
.big-numbers .morning-offer .ribbon::before,
.big-numbers .morning-offer .ribbon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Левый хвостик */
.big-numbers .morning-offer .ribbon::before {
    bottom: -6px;
    left: 0;
    border-width: 3px 0 3px 6px;
    border-color: transparent transparent transparent rgba(70, 56, 199, 0.6);
}

/* Правый хвостик */
.big-numbers .morning-offer .ribbon::after {
    top: -6px;
    right: 0;
    border-width: 3px 6px 3px 0;
    border-color: transparent rgba(128, 0, 32, 0.6) transparent transparent;
}

.big-numbers .morning-offer .badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-purple);
    background: rgba(70, 56, 199, 0.08);
    padding: 2px 16px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 4px;
}

.big-numbers .morning-offer .price-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px 0;
}

.big-numbers .morning-offer .price {
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
}

.big-numbers .morning-offer .discount-badge {
    background: var(--gradient-discount);
    padding: 1px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.big-numbers .morning-offer .note {
    font-size: 13px;
    color: #6b7280;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .big-numbers .morning-offer {
        padding-top: 26px;
    }
    .big-numbers .morning-offer .ribbon {
        top: 14px;
        right: -30px;
        width: 120px;
        font-size: 9px;
        padding: 4px 0;
    }
    .big-numbers .morning-offer .price { font-size: 20px; }
    .big-numbers .morning-offer .badge { font-size: 11px; padding: 2px 12px; }
    .big-numbers .morning-offer .note { font-size: 11px; }
}