/* ========================================
   CHINEASY.KZ - Modern Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-red: #E31E24;
    --primary-red-dark: #C41A1F;
    --primary-red-light: #FF3B41;
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --gradient-red: linear-gradient(135deg, #E31E24 0%, #FF3B41 50%, #E31E24 100%);
    --gradient-hero: linear-gradient(135deg, #FAFAFA 0%, #FFF5F5 50%, #FAFAFA 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1a1a1a 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-red: 0 10px 40px -10px rgba(227, 30, 36, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
      font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container - широкий */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0;
}

.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 ease;
}

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

.btn--primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px -10px rgba(227, 30, 36, 0.5);
}

.btn--secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn--secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn--large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn--full {
    width: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header__logo-img {
    height: 55px;
    width: auto;
    transition: transform var(--transition-base);
}

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

.header__logo-text {
    font-size: 13px;
    color: #393738;
    font-weight: 500;
    line-height: 24px;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__menu-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-base);
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--transition-base);
}

.header__menu-link:hover {
    color: var(--primary-red);
}

.header__menu-link:hover::after,
.header__menu-link.active::after {
    width: 100%;
}

.header__menu-link.active {
    color: var(--primary-red);
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header__city {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

.header__phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header__phone {
    font-size: 17px;
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--transition-base);
}

.header__phone:hover {
    color: var(--primary-red);
}

/* Mobile Menu Button */
.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.header__menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition-base);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    padding: 130px 0 0px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 24px;
}

.hero__badge-icon {
    font-size: 16px;
}

.hero__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--black);
}

.hero__title span {
    color: var(--primary-red);
    position: relative;
}

.hero__title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(227, 30, 36, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero__text {
    font-size: 18px;
    line-height: 26px;
    color: var(--gray-600);
    margin-bottom: 16px;
    max-width: 540px;
}

.hero__text:last-of-type {
    margin-bottom: 32px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    opacity: 0;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.hero__stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Image */
.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.hero__img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

.hero__image-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: linear-gradient(180deg, rgba(227, 30, 36, 0.1) 0%, rgba(227, 30, 36, 0.05) 100%);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

/* Decorative Elements */
.hero__decor {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.hero__decor--star1 {
    top: 20%;
    right: 15%;
    font-size: 40px;
    color: var(--primary-red);
    animation: float 4s ease-in-out infinite;
}

.hero__decor--star2 {
    top: 40%;
    right: 8%;
    font-size: 28px;
    color: var(--gray-400);
    animation: float 4s ease-in-out infinite 0.5s;
}

.hero__decor--circle1 {
    bottom: 25%;
    right: 20%;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite 1s;
}

.hero__decor--star3 {
    bottom: 15%;
    left: 45%;
    font-size: 32px;
    color: var(--gray-300);
    animation: float 4s ease-in-out infinite 1.5s;
}

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

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section__label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section__title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.6;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
    background: var(--primary-red);
    transform: scale(1.1);
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   About Section (Home)
   ======================================== */
.about-home {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-red);
}

.about-home__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-home__content {
    position: relative;
}

.about-home__title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-home__text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.about-home__list {
    list-style: none;
    margin-bottom: 32px;
}

.about-home__list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--gray-700);
}

.about-home__list-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-home__image {
    position: relative;
}

.about-home__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-home__image-decor {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--gradient-red);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.2;
}

/* Steps */
.about-home__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.step-card__number {
    width: 48px;
    height: 48px;
    background: var(--gradient-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.step-card__content {
    flex: 1;
}

.step-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-card__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 20px;
}

/* ========================================
   Programs Section
   ======================================== */
.programs {
    padding: 100px 0;
    background: var(--white);
}

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

.program-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.program-card--featured {
    border-color: var(--primary-red);
    background: linear-gradient(180deg, rgba(227, 30, 36, 0.03) 0%, var(--white) 100%);
}

.program-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient-red);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.program-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.program-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-card__text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 24px;
}

.program-card__features {
    list-style: none;
    margin-bottom: 32px;
}

.program-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.program-card__feature::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #22C55E;
    flex-shrink: 0;
}

.program-card__price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.program-card__price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-400);
}

/* ========================================
   After Courses Section
   ======================================== */
.after-courses {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.after-courses__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.after-courses__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.after-courses__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.after-courses__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.after-courses__image-bg {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    border-radius: var(--radius-xl);
    opacity: 0.15;
    z-index: 1;
}

.after-courses__content {
    position: relative;
}

.after-courses__label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.after-courses__title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.after-courses__title span {
    color: var(--primary-red);
}

.after-courses__text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.after-courses__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.after-courses__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.after-courses__feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.after-courses__feature-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.after-courses__decor {
    position: absolute;
    pointer-events: none;
}

.after-courses__decor--star1 {
    top: 15%;
    left: 45%;
    font-size: 32px;
    color: var(--primary-red);
    animation: float 4s ease-in-out infinite;
}

.after-courses__decor--star2 {
    top: 25%;
    left: 50%;
    font-size: 20px;
    color: var(--gray-400);
    animation: float 4s ease-in-out infinite 0.5s;
}

.after-courses__decor--circle {
    bottom: 20%;
    right: 10%;
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite 1s;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--gray-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonials .section__title,
.testimonials .section__subtitle {
    color: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.testimonial-card__quote {
    font-size: 48px;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.testimonial-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.testimonial-card__role {
    font-size: 14px;
    color: var(--gray-400);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 100px 0;
    background: var(--gradient-red);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta__text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-800);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__logo-img {
    height: 50px;
    width: auto;
}

.footer__logo-text {
    font-size: 14px;
    color: var(--gray-400);
}

.footer__text {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social {
    width: 44px;
    height: 44px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.footer__social:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__menu {
    list-style: none;
}

.footer__menu-item {
    margin-bottom: 12px;
}

.footer__menu-link {
    font-size: 15px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__menu-link:hover {
    color: var(--primary-red);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 17px;
    color: #fff;
}

.footer__contact-icon {
    font-size: 20px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.footer__contact-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: 19px;
    color: #fff;
    font-weight: 700;
}

.footer__contact-link:hover {
    color: var(--primary-red);
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray-500);
    color: #fff;
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    z-index: 2001;
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.modal__close:hover {
    background: var(--primary-red);
    color: var(--white);
}

.modal__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--black);
}

.modal__subtitle {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal__field {
    position: relative;
}

.modal__input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all var(--transition-base);
    background: var(--gray-50);
}

.modal__input:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.modal__input::placeholder {
    color: var(--gray-400);
}

.modal__success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal__success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal__success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin: 0 auto 24px;
    box-shadow: var(--shadow-red);
}

.modal__success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.modal__success-text {
    font-size: 16px;
    color: var(--gray-500);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header__title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-header__subtitle {
    font-size: 20px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   About Page
   ======================================== */
.about-page {
    padding: 100px 0;
}

.about-page__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-page__image {
    position: relative;
}

.about-page__img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-page__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.stat-card__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 15px;
    color: var(--gray-500);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--gray-50);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.team-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.team-card__image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.team-card__content {
    padding: 24px;
}

.team-card__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 14px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-page {
    padding: 100px 0 0;
}

.contact-page__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-info__item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.contact-info__icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info__text {
    font-size: 15px;
    color: var(--gray-500);
}

.contact-info__link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

.contact-info__link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.contact-form__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form__subtitle {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__field {
    margin-bottom: 20px;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-base);
    background: var(--gray-50);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

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

/* Map */
.contact-map {
    height: 400px;
    background: var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 60px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero__title {
        font-size: 44px;
    }
    
    .features__grid,
    .programs__grid,
    .testimonials__grid,
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header__nav {
        display: none;
    }
    
    .header__menu-btn {
        display: flex;
    }
    
    .hero__inner,
    .about-home__inner,
    .after-courses__inner,
    .about-page__intro,
    .contact-page__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero__image,
    .about-home__image,
    .after-courses__image {
        order: -1;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .section__title,
    .about-home__title,
    .after-courses__title,
    .cta__title,
    .page-header__title {
        font-size: 32px;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .after-courses__features {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__brand {
        max-width: 100%;
    }
    
    .form__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .header__inner {
        height: 70px;
    }
    
    .header__logo-img {
        height: 40px;
    }
    
    .header__contacts {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .hero__text {
        font-size: 16px;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .btn--large {
        padding: 16px 28px;
        font-size: 16px;
    }
    
    .section__title,
    .about-home__title,
    .after-courses__title,
    .cta__title,
    .page-header__title {
        font-size: 26px;
    }
    
    .programs__grid,
    .testimonials__grid,
    .team__grid,
    .about-page__stats {
        grid-template-columns: 1fr;
    }
    
    .modal__content {
        padding: 32px 24px;
    }
    
    .modal__title {
        font-size: 22px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1500;
    padding: 100px 40px 40px;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu__link {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    font-size: 28px;
    cursor: pointer;
}
