:root {
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-900: #111827;
    --stone-400: #9ca3af;
    --stone-500: #6b7280;
    --accent: #31b8c6;           /* ← НОВЫЙ БИРЮЗОВЫЙ */
    --accent-light: #4dd0e1;     /* ← СВЕТЛЫЙ БИРЮЗОВЫЙ */
    --accent-dark: #0e9aaf;      /* ← ТЕМНЫЙ БИРЮЗОВЫЙ */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--gray-50);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--stone-500);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* КНОПКИ */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 184, 198, 0.4);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-tel {
    position: relative;
    padding-left: 2.8rem !important;
}

/* HERO С КАРТИНКОЙ */
.hero {
    min-height: 100vh;
    max-height: 110vh;
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    color: #4dd0e1;
}

.hero-text h1 {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 8px 30px rgba(0,0,0,0.8);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--accent-light);
    display: block;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

/* СЕКЦИИ */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray-900);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* SERVICES */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.8rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 85px;
    height: 85px;
    background: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 30px rgba(49, 184, 198, 0.4);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--stone-500);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* FOOTER */
/* ФУТЕР — ПОЛНЫЙ КОД С ПОДСВЕТКОЙ */
.footer {
    background: var(--gray-900) !important;
    color: rgba(255,255,255,0.9);
    padding: 4rem 0 2.5rem;
}

.footer-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.12);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.3);
    overflow: hidden;
}

.social-link img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: var(--accent) !important;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 25px 55px rgba(49,184,198,0.5);
}

.social-link:hover img {
    transform: scale(1.15);
}




/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 1024px) {
    .nav {
        gap: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.2rem;
        padding: 0.8rem 0;
    }
    
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-text h1 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
        letter-spacing: -0.02em;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        padding: 0 0.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .service-card {
        padding: 2.2rem 2rem;
    }
    
    .floating-tel {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text {
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Scrollbar для Webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* SERVICES - НОВЫЙ ДИЗАЙН слева картинка, справа текст */
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-content p {
    font-size: 1.15rem;
    color: var(--stone-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Мобильная версия */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        margin-bottom: 4rem;
    }
    
    .service-image {
        height: 300px;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .service-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .service-image {
        height: 250px;
    }
    
    .service-content h3 {
        font-size: 1.8rem;
    }
    
    .service-content p {
        font-size: 1rem;
    }
}

/* VIDEO СТРАНИЦА */
.youtube-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #f1f5f9 100%);
}

.youtube-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.youtube-banner:hover {
    transform: scale(1.02);
}

.youtube-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.85) 50%);
    color: white;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
}

.banner-overlay h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.banner-overlay p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.video-section {
    padding: 100px 0;
    background: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;           /* ← ДОБАВЬ */
    flex-direction: column;  /* ← ДОБАВЬ */
}

.video-card h3,
.video-card p {
    text-align: center !important;  /* ← ЭТО РАБОТАЕТ */
    margin: 0 auto !important;     /* ← ЭТО РАБОТАЕТ */
    padding: 0 1rem;               /* ← ОТСТУПЫ */
}

.video-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    padding-top: 1rem;
}

.video-card p {
    color: var(--stone-500);
    font-size: 1.05rem;
    line-height: 1.6;
    padding-bottom: 1.5rem;
    max-width: 90%;
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-color: rgba(49,184,198,0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: none;
}

.video-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;  /* ← ГОРИЗОНТАЛЬНЫЙ ЦЕНТР */
    text-align: center;   /* ← ТЕКСТ внутри тоже по центру */
    width: 100%;
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.video-info p {
    color: var(--stone-500);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%; /* ← ОГРАНИЧИВАЕТ ширину текста */
}

.video-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* CTA блок - УЛУЧШЕННАЯ ВЕРСИЯ */
.video-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white); /* Чистый белый фон */
}

.video-cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.video-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(49, 184, 198, 0.1);
    border: 2px solid rgba(49, 184, 198, 0.2);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.youtube-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent
    );
    transition: left 0.5s;
}

.youtube-link:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(49, 184, 198, 0.4);
}

.youtube-link:hover::before {
    left: 100%;
}

.youtube-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-cta {
        padding: 3rem 1.5rem;
    }
    
    .youtube-link {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
    }
}



/* Мобильный */
@media (max-width: 768px) {
    .youtube-banner {
        height: 300px;
    }
    
    .banner-overlay h1 {
        font-size: 2.2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Портфолио стили */
.portfolio-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.portfolio-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 20px auto 0;
    font-weight: 400;
}

.portfolio-carousel-section {
    padding: 60px 0;
    background: #fff;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
}

.portfolio-slide {
    position: relative;
    height: 500px;
    background: #000;
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* НОВЫЙ overlay - универсальный для любых фото */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    /* ЧИСТЫЙ черный градиент - без синего! */
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.3) 0%,      /* Легкий черный сверху */
        rgba(0,0,0,0.7) 100%     /* Темный снизу */
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;  /* Уменьшили отступы */
}

.portfolio-info {
    background: rgba(0,0,0,0.85);     /* Черный полупрозрачный */
    backdrop-filter: blur(8px);
    padding: 18px 22px;               /* КОМПАКТНАЯ рамка */
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    max-width: 80%;                   /* Еще уже */
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.portfolio-info h3 {
    font-size: 1.5rem;                /* МЕНЬШЕ текст */
    font-weight: 700;
    margin: 0 0 6px;                  /* Меньше отступ */
    color: white;                     /* ЧИСТЫЙ белый */
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    line-height: 1.3;
}

.portfolio-info p {
    font-size: 0.95rem;               /* МЕНЬШЕ текст */
    margin: 0 0 4px;
    color: #f8f9fa;                   /* Почти белый */
    line-height: 1.4;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
}

.project-area {
    font-size: 0.85rem;               /* МЕНЬШЕ акцент */
    color: #e9ecef;                   /* Светло-серый белый */
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
}


/* Кнопки карусели */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #007bff;
    transform: scale(1.3);
}

/* Grid проектов */
.portfolio-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-info span {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .portfolio-overlay { padding: 20px; }
    .portfolio-info { 
        padding: 15px 18px; 
        max-width: 90%;
        margin: 0 8px;
    }
    .portfolio-info h3 { font-size: 1.3rem; }
}


/* Мастер-классы */
.masterclass-hero {
    text-align: center;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.masterclass-hero .section-title {
    color: white;
    margin-bottom: 20px;
}

.masterclass-content {
    padding: 80px 0;
    background: #fff;
}

.masterclass-image {
    text-align: center;
    margin-bottom: 60px;
}

.masterclass-image img {
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.masterclass-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
}

.feature-item p {
    color: #6c757d;
    line-height: 1.6;
}

.masterclass-program {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.masterclass-program h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.program-list {
    max-width: 800px;
    margin: 0 auto;
}

.program-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.program-step h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.program-step p {
    margin: 0;
    color: #6c757d;
}

.masterclass-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.masterclass-cta ul {
    max-width: 500px;
    margin: 0 auto 40px;
    padding-left: 20px;
}

.masterclass-cta li {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
}

/* Мобильная */
@media (max-width: 768px) {
    .masterclass-image img { height: 350px; }
    .masterclass-text h2 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; gap: 30px; }
    .program-step { flex-direction: column; text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* Контакты */
.contacts-hero {
    text-align: center;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contacts-hero .section-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contacts-hero .hero-subtitle {
    color: #f8f9fa !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


.contacts-main {
    padding: 80px 0;
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts-info h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    font-size: 1.1rem;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contacts-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.contacts-form h2 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input {
    flex: 1;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 25px;
    transition: border-color 0.3s ease;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.contacts-map {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-placeholder {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
}

/* Мобильная */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-form {
        padding: 30px 20px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
}

/* Телефон вместо кнопки на десктопе */
@media (min-width: 769px) {
    .btn.btn-primary[href^="tel:"] {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        color: #0e9aaf !important;           /* Как ссылки */
        text-decoration: none !important;
        box-shadow: none !important;
        outline: none !important;
        transition: color 0.3s ease !important;  /* Плавный переход */
    }
    
    .btn.btn-primary[href^="tel:"]:hover,
    .btn.btn-primary[href^="tel:"]:focus {
        color: #31b8c6 !important;           /* Как hover ссылок */
        text-decoration: underline !important;  /* Подчеркивание */
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;          /* УБРАЛИ эффект поднятия */
    }
}

/* Кнопка в мобильной версии (остается) */
@media (max-width: 768px) {
    .btn.btn-primary[href^="tel:"] {
        background: linear-gradient(135deg, #007bff, #0056b3) !important;
        border: none !important;
        padding: 12px 24px !important;
        color: white !important;
        border-radius: 25px !important;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    }
    
    .btn.btn-primary[href^="tel:"]:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }
}