/* ============================================ */
/* === ПЕРЕМЕННЫЕ === */
/* ============================================ */
:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --secondary: #06B6D4;
    --dark: #1E293B;
    --light: #64748B;
    --bg: #F8FAFC;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ============================================ */
/* === БАЗА === */
/* ============================================ */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul { 
    list-style: none; 
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { 
    padding: 80px 0; 
}

.section-title { 
    font-size: 2.2rem; 
    font-weight: 800; 
    text-align: center; 
    margin-bottom: 12px; 
}

.section-subtitle { 
    font-size: 1.1rem; 
    color: var(--light); 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto 48px; 
}

/* ============================================ */
/* === КНОПКИ === */
/* ============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.btn-primary { 
    background-color: var(--primary); 
    color: var(--white); 
    border-color: var(--primary); 
}

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

.btn-outline { 
    background-color: transparent; 
    color: var(--primary); 
    border-color: var(--primary); 
}

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

.btn-white { 
    background-color: var(--white); 
    color: var(--primary); 
    border-color: var(--white); 
}

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

.btn-full { 
    width: 100%; 
    margin-bottom: 10px; 
}

.btn-full:last-child { 
    margin-bottom: 0; 
}

.btn-large { 
    padding: 16px 36px; 
    font-size: 1.1rem; 
}

/* ============================================ */
/* === HEADER === */
/* ============================================ */
.site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 100;
}

.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px;
}

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

.logo-img { 
    height: 70px;
    width: auto; 
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    white-space: normal;
    line-height: 1.2;
    flex-shrink: 0;
}

.nav-list { 
    display: flex; 
    gap: 32px; 
}

.nav-link { 
    font-weight: 500; 
    color: var(--dark); 
}

.nav-link:hover, 
.nav-link.active { 
    color: var(--primary); 
}

.burger-btn { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    background: none; 
    border: none; 
    cursor: pointer; 
}

.burger-btn span { 
    width: 25px; 
    height: 3px; 
    background: var(--dark); 
    border-radius: 2px; 
    transition: 0.3s; 
}

/* ============================================ */
/* === ВЫПАДАЮЩЕЕ МЕНЮ === */
/* ============================================ */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    list-style: none;
    border: 1px solid #E2E8F0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: var(--bg);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 24px;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

/* ============================================ */
/* === МОБИЛЬНОЕ МЕНЮ === */
/* ============================================ */
.mobile-nav {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(0,0,0,0.5); 
    z-index: 999999;
    opacity: 0; 
    visibility: hidden; 
    transition: 0.3s;
}

.mobile-nav.active { 
    opacity: 1; 
    visibility: visible; 
}

.mobile-nav-panel {
    position: absolute; 
    top: 0; 
    right: 0; 
    width: 300px; 
    height: 100%;
    background: var(--white); 
    padding: 20px; 
    transform: translateX(100%); 
    transition: 0.3s;
}

.mobile-nav.active .mobile-nav-panel { 
    transform: translateX(0); 
}

.mobile-nav-close { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.mobile-nav-list { 
    margin-top: 60px; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.mobile-link { 
    font-size: 1.1rem; 
    font-weight: 500; 
    text-align: center; 
    display: block; 
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    list-style: none;
    padding-left: 20px;
}

.mobile-dropdown-menu.active {
    max-height: 300px;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 10px 0;
}

/* ============================================ */
/* === HERO (главная) === */
/* ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 231, 255, 0.95) 100%), url('../images/heroes/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons { 
    display: flex; 
    gap: 16px; 
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 60%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

/* ============================================ */
/* === HOW TO LEARN === */
/* ============================================ */
.how-to-learn { 
    background: var(--white); 
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    text-align: center;
}

.step-number {
    width: 50px; 
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.25rem; 
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 { 
    font-size: 1.25rem; 
    margin-bottom: 12px; 
}

.step p { 
    color: var(--light); 
}

/* ============================================ */
/* === GOALS === */
/* ============================================ */
.goals { 
    background: var(--bg); 
}

.goals-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 24px; 
}

.goal-card { 
    background: var(--white); 
    padding: 37.5px;
    border-radius: var(--radius); 
    box-shadow: var(--shadow); 
    text-align: center; 
    transition: 0.3s; 
    border: 1px solid transparent; 
    min-height: 380px;
}

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

.goal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.goal-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 12px; 
}

.goal-card p { 
    color: var(--light); 
}

/* ============================================ */
/* === SCHOOLS (карточки на главной) === */
/* ============================================ */
.schools-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
}

.school-card { 
    background: var(--white); 
    border: 1px solid #E2E8F0; 
    border-radius: var(--radius); 
    padding: 24px;
    position: relative; 
    transition: 0.3s; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.school-card:hover { 
    box-shadow: var(--shadow-hover); 
    border-color: var(--primary); 
}

.school-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 8px 8px 0 0;
    margin: -24px -24px 0 -24px;
}

.school-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: var(--secondary); 
    color: var(--white); 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    z-index: 2; 
}

.school-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 8px; 
    margin-top: 16px;
}

.school-rating { 
    color: #F59E0B; 
    font-weight: 600; 
    margin-bottom: 16px; 
}

.school-desc { 
    color: var(--light); 
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 32px;
    line-height: 1.6;
}

.school-audience {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--light);
}

.school-audience span {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.school-card .btn { 
    margin-bottom: 12px;
    flex-shrink: 0;
}

/* ============================================ */
/* === PRICING (Цены на главной) === */
/* ============================================ */
.pricing { 
    background: var(--bg); 
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

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

.pricing-popular {
    border-color: var(--primary);
    border-width: 3px;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.pricing-price {
    margin-bottom: 24px;
}

.price-from {
    font-size: 1rem;
    color: var(--light);
    display: block;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--light);
    display: block;
    margin-top: 4px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--dark);
}

.pricing-schools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.school-tag {
    background: var(--bg);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing-note {
    text-align: center;
    color: var(--light);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.pricing-cta {
    text-align: center;
}

/* ============================================ */
/* === CTA (общий) === */
/* ============================================ */
.cta-box { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: var(--white); 
    padding: 60px 40px; 
    border-radius: var(--radius); 
    text-align: center; 
}

.cta-box h2 { 
    font-size: 2rem; 
    margin-bottom: 16px; 
}

.cta-box p { 
    font-size: 1.1rem; 
    margin-bottom: 32px; 
    opacity: 0.9; 
    max-width: 600px; 
    margin: 0 auto; 
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

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

/* ============================================ */
/* === FOOTER === */
/* ============================================ */
.site-footer { 
    background: #0F172A; 
    color: #CBD5E1; 
    padding: 60px 0 0; 
}

.footer-inner { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px; 
    padding-bottom: 40px;
    border-bottom: 1px solid #1E293B;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94A3B8;
    max-width: 300px;
}

.footer-col h4 { 
    color: var(--white); 
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px; 
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col ul li { 
    margin-bottom: 12px; 
}

.footer-col a:hover { 
    color: var(--white); 
}

.footer-bottom { 
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid #1E293B; 
    text-align: center; 
    font-size: 0.85rem; 
}

.disclaimer { 
    margin-top: 8px; 
    font-size: 0.8rem; 
    color: #64748B;
    max-width: 600px;
    text-align: right;
    line-height: 1.4;
}

/* ============================================ */
/* === SCROLL TO TOP === */
/* ============================================ */
.scroll-to-top {
    position: fixed; 
    bottom: 30px; 
    right: 30px;
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    background: var(--primary); 
    color: var(--white);
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer;
    z-index: 998; 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.3s;
}

.scroll-to-top.visible { 
    opacity: 1; 
    visibility: visible; 
}

/* ============================================ */
/* === РАЗДЕЛИТЕЛИ === */
/* ============================================ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E2E8F0 50%, transparent 100%);
    margin: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================ */
/* === ХЛЕБНЫЕ КРОШКИ === */
/* ============================================ */
.breadcrumbs {
    padding: 20px 0;
    background: var(--bg);
    font-size: 0.9rem;
}

.breadcrumbs ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: HERO === */
/* ============================================ */
.school-hero {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 231, 255, 0.95) 100%);
    padding: 80px 0;
}

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

.school-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.school-hero-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.school-hero-buttons {
    display: flex;
    gap: 16px;
}

.school-hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    margin: 0 auto;
    padding: 0;
    display: block;
}

/* Рейтинг в Hero */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    border-left: 4px solid #F59E0B;
    backdrop-filter: blur(10px);
}

.hero-rating-stars {
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.hero-rating-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-rating-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.hero-rating-source {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.hero-rating-count {
    font-size: 0.9rem;
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ОПИСАНИЕ === */
/* ============================================ */
.school-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--light);
}

.school-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.school-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-about-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.school-about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.school-about-text p {
    margin-bottom: 20px;
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: CTA НАБОР === */
/* ============================================ */
.school-cta-enroll {
    padding: 40px 0;
    background: var(--white);
}

.enroll-cta-box {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid #F59E0B;
    text-align: left;
}

.enroll-cta-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #92400E;
    margin-bottom: 16px;
    line-height: 1.3;
}

.enroll-cta-text {
    font-size: 1.1rem;
    color: #78350F;
    margin-bottom: 24px;
    line-height: 1.5;
}

.enroll-cta-box .btn-primary {
    background-color: #F59E0B;
    border-color: #F59E0B;
    font-size: 1.05rem;
    padding: 14px 28px;
    display: inline-block;
}

.enroll-cta-box .btn-primary:hover {
    background-color: #D97706;
    border-color: #D97706;
}

/* ============================================ */
/* === БАЗОВЫЙ .method-grid (3 колонки) === */
/* ============================================ */
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: МЕТОДИКИ (4 колонки) === */
/* ============================================ */
.school-method .method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.method-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.method-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.method-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.method-card p {
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ТАБЛИЦА ЦЕН === */
/* ============================================ */
.pricing-table {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-row {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 32px;
    align-items: center;
}

.pricing-name h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-name p {
    color: var(--light);
}

.pricing-cost {
    text-align: center;
}

.cost-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.cost-period {
    font-size: 0.9rem;
    color: var(--light);
}

.pricing-desc ul {
    list-style: none;
}

.pricing-desc li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.pricing-desc li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* CTA после таблицы цен */
.pricing-cta-block {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid #3B82F6;
    margin-top: 32px;
}

.pricing-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1E40AF;
    margin-bottom: 16px;
    line-height: 1.3;
}

.pricing-cta-text {
    font-size: 1.15rem;
    color: #1E3A8A;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta-block .btn-primary {
    background-color: #3B82F6;
    border-color: #3B82F6;
    font-size: 1.1rem;
    padding: 16px 36px;
}

.pricing-cta-block .btn-primary:hover {
    background-color: #2563EB;
    border-color: #2563EB;
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ДЛЯ КОГО (3 колонки) === */
/* ============================================ */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.audience-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.audience-card p {
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ГАРАНТИИ === */
/* ============================================ */
.school-guarantees {
    background: var(--bg);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.guarantee-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: 0.3s;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.guarantee-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.guarantee-card p {
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ОТЗЫВЫ === */
/* ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.review-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: ПЛЮСЫ И МИНУСЫ === */
/* ============================================ */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pros-card, .cons-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pros-card h3, .cons-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pros-card ul, .cons-card ul {
    list-style: none;
}

.pros-card li, .cons-card li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.pros-card li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.cons-card li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.pros-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
}

.pros-card h3 {
    color: #166534;
}

.pros-card li {
    color: #14532D;
}

.cons-card {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.cons-card h3 {
    color: #991B1B;
}

.cons-card li {
    color: #7F1D1D;
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: БЕСПЛАТНОЕ ЗАНЯТИЕ === */
/* ============================================ */
.school-free-lesson {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.free-lesson-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.free-lesson-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.free-lesson-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 36px;
    opacity: 0.95;
}

.free-lesson-box .btn-white {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    padding: 18px 40px;
    font-size: 1.1rem;
}

.free-lesson-box .btn-white:hover {
    background-color: var(--bg);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: FAQ === */
/* ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg);
    margin: 0;
}

.faq-answer {
    padding: 20px 24px;
    border-top: 1px solid #E2E8F0;
}

.faq-answer p {
    margin: 0;
    color: var(--light);
}

/* ============================================ */
/* === СТРАНИЦА ШКОЛЫ: CTA === */
/* ============================================ */
.school-cta .cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.95rem;
}

.cta-note a {
    color: var(--white);
    text-decoration: underline;
}

.cta-note a:hover {
    text-decoration: none;
}

/* ============================================ */
/* === КАТАЛОГ ШКОЛ (ГОРИЗОНТАЛЬНЫЕ КАРТОЧКИ) === */
/* ============================================ */
.catalog-grid {
    display: grid;
    gap: 80px;
}

.catalog-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 32px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
    height: 500px;
}

.catalog-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.catalog-image {
    position: relative;
    overflow: hidden;
}

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

.catalog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.catalog-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.catalog-header {
    margin-bottom: 16px;
}

.catalog-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.catalog-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    font-size: 1.2rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.rating-count {
    font-size: 0.9rem;
    color: var(--light);
}

.catalog-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 20px;
}

.catalog-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--dark);
}

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

.catalog-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 8px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--light);
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--light);
}

.catalog-buttons {
    display: flex;
    gap: 16px;
}

/* ============================================ */
/* === ТАБЛИЦА СРАВНЕНИЯ === */
/* ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 32px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--bg);
}

.comparison-table tr:hover td {
    background: #F8FAFC;
}

/* ============================================ */
/* === НОВЫЕ БЛОКИ ГЛАВНОЙ === */
/* ============================================ */

/* Блок рейтинга */
.rating-preview {
    background: var(--bg);
}

.rating-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.rating-top-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.rating-top-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rating-medal {
    font-size: 3rem;
    flex-shrink: 0;
}

.rating-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.rating-score {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F59E0B;
    margin-bottom: 8px;
}

.rating-info p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.5;
}

.rating-cta {
    text-align: center;
}

.rating-note {
    margin-top: 16px;
    color: var(--light);
    font-size: 0.95rem;
}

/* Блок теста */
.test-preview {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(224, 231, 255, 0.3) 100%);
}

.test-preview-box {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
}

.test-preview-content {
    padding: 20px 0;
}

.test-preview-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.test-preview-text {
    font-size: 1.1rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.test-preview-features {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.test-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 500;
}

.test-feature-icon {
    font-size: 1.8rem;
}

.test-preview-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

/* Блок "Почему EngPick" */
.why-us {
    background: var(--bg);
}

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

.why-us-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: 0.3s;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-us-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-us-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.why-us-card p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.5;
}

/* ============================================ */
/* === ТЕСТ: ВЫБОР АУДИТОРИИ === */
/* ============================================ */
.audience-selector {
    max-width: 600px;
    margin: 0 auto 32px auto;
    text-align: center;
}

.audience-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.audience-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.audience-btn {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.audience-btn:hover {
    border-color: var(--primary);
    background: #F8FAFC;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.audience-icon {
    font-size: 3rem;
}

.audience-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* ============================================ */
/* === КНОПКА "НА ГЛАВНУЮ" В ТЕСТЕ === */
/* ============================================ */
.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 20px;
    background: var(--bg);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    border: 1px solid #E2E8F0;
}

.back-to-home:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-3px);
}

.back-to-home span {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ============================================ */
/* === УВЕЛИЧЕННЫЙ CTA БЛОК === */
/* ============================================ */
.cta-box-large {
    padding: 80px 40px !important;
}

.cta-box-large h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-box-large p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
}

/* ============================================ */
/* === БАННЕР COOKIES === */
/* ============================================ */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.4s ease;
    border-top: 3px solid var(--primary);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
}

.cookie-text {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0;
    flex-grow: 1;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-text a:hover {
    text-decoration: none;
}

.cookie-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ============================================ */
/* === АДАПТИВНОСТЬ === */
/* ============================================ */

@media (max-width: 1200px) {
    .school-method .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .rating-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .test-preview-box {
        grid-template-columns: 1fr;
    }
    
    .test-preview-image {
        order: -1;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1250px) {
    /* Header */
    .main-nav { 
        display: none; 
    }
    
    .burger-btn { 
        display: flex; 
    }
    
    .logo-img {
        height: 50px !important;
        width: auto;
    }
    
    .logo-text {
        font-size: 0.85rem !important;
        line-height: 1.1;
        max-width: 120px;
    }
    
    .header-inner {
        height: 70px;
    }
    
    .dropdown-menu {
        display: none;
    }
    
    /* Общие секции */
    .section { 
        padding: 60px 0; 
    }
    
    .section-title { 
        font-size: 1.75rem; 
    }
    
    /* Главная */
    .hero-inner { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .hero-title { 
        font-size: 2rem; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
    }
    
    .pricing-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Страница школы - Hero */
    .school-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .school-hero-title {
        font-size: 2rem;
    }
    
    .school-hero-buttons {
        flex-direction: column;
    }
    
    .hero-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 16px;
    }
    
    .hero-rating-text {
        flex-direction: column;
        gap: 4px;
    }
    
    /* Страница школы - Описание */
    .school-about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Страница школы - Цены */
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-cost {
        text-align: left;
    }
    
    .pricing-cta-block {
        padding: 32px 24px;
    }
    
    .pricing-cta-title {
        font-size: 1.5rem;
    }
    
    .pricing-cta-text {
        font-size: 1rem;
    }
    
    /* Страница школы - Аудитория */
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    /* Страница школы - Плюсы/минусы */
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    /* Страница школы - Бесплатное занятие */
    .free-lesson-title {
        font-size: 1.75rem;
    }
    
    .free-lesson-text {
        font-size: 1.05rem;
    }
    
    /* Страница школы - CTA набор */
    .enroll-cta-box {
        padding: 28px 24px;
    }
    
    .enroll-cta-title {
        font-size: 1.3rem;
    }
    
    .enroll-cta-text {
        font-size: 1rem;
    }
    
    /* Картинки в карточках */
    .method-img,
    .audience-img {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 8px;
        margin: 0 auto 16px auto;
        display: block;
    }
    
    /* Гарантии */
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    /* Каталог */
    .catalog-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .catalog-image {
        height: 300px;
    }
    
    .catalog-features {
        grid-template-columns: 1fr;
    }
    
    .catalog-buttons {
        flex-direction: column;
    }
    
    /* Таблица сравнения */
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    /* Тест */
    .test-preview-title {
        font-size: 1.75rem;
    }
    
    .test-preview-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .audience-options {
        grid-template-columns: 1fr;
    }
    
    .school-method .method-grid {
        grid-template-columns: 1fr;
    }
    
    /* Методики */
    .method-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .method-card {
        padding: 24px 20px !important;
    }
    
    .method-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .method-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .method-icon {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    /* CTA large */
    .cta-box-large {
        padding: 60px 24px !important;
    }
    
    .cta-box-large h2 {
        font-size: 1.75rem;
    }
    
    .cta-box-large p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-desc {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer {
        text-align: center;
    }
    
    /* Cookies */
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    /* Кнопка на главную */
    .back-to-home {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .schools-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 45px !important;
    }
    
    .logo-text {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    .method-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .school-method .method-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* ============================================ */
/* === ИСПРАВЛЕНИЕ CLS ДЛЯ COOKIE BANNER === */
/* ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-top: 3px solid var(--primary);
    /* Скрыт по умолчанию через transform (не влияет на layout) */
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Когда banner скрыт полностью - убираем из потока */
.cookie-banner[style*="display: none"] {
    transform: none;
}

/* НОВЫЙ БЛОК: Следующие шаги */
.result-next-steps {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(224, 231, 255, 0.2) 100%);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 32px;
}

.result-next-steps h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.result-next-steps p {
    font-size: 1.05rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* УДАЛИ старый блок .result-recommendations и .schools-list из CSS, если они есть */

/* НОВЫЙ БЛОК: Следующие шаги */
.result-next-steps-calc {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 32px;
}

.result-next-steps-calc h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.result-next-steps-calc p {
    font-size: 1.05rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.calc-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* УДАЛИ старый блок .partner-recommendations-calc из CSS */

/* НОВЫЙ БЛОК: Следующие шаги */
.game-next-steps {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(224, 231, 255, 0.3) 100%);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 32px;
}

.game-next-steps h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.game-next-steps p {
    font-size: 1.05rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.game-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================== */
/* === КУРСЫ ANECOLE (БЛОК ИЗ ФИДА) === */
/* ========================================== */
.an-section {
    padding: 60px 0;
}

.an-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.an-subtitle {
    text-align: center;
    color: var(--light);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.an-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.an-card:hover {
    transform: translateY(-4px);
}

.an-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.an-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
    flex-wrap: wrap;
}

.an-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.an-base   { background: rgba(124, 58, 237, 0.12); color: #6D28D9; }
.an-work   { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.an-travel { background: rgba(14, 165, 233, 0.12); color: #0369A1; }
.an-exam   { background: rgba(245, 158, 11, 0.15); color: #B45309; }
.an-move   { background: rgba(16, 185, 129, 0.12); color: #059669; }
.an-kids   { background: rgba(236, 72, 153, 0.12); color: #BE185D; }

.an-duration {
    font-size: 0.82rem;
    color: var(--light);
    font-weight: 600;
}

.an-name {
    padding: 10px 20px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.an-desc {
    padding: 8px 20px 0;
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    flex-grow: 1;
}

.an-prices {
    padding: 14px 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 14px;
}

.an-price-main {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.an-price-main small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

.an-price-note {
    font-size: 0.82rem;
    color: var(--light);
    margin-top: 4px;
}

.an-btn {
    display: block;
    margin: 14px 20px 0;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.an-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
}

.an-erid {
    padding: 8px 20px 14px;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* Блок других языков */
.an-languages {
    margin-top: 40px;
    padding: 24px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius);
    text-align: center;
}

.an-languages-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.an-languages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.an-lang-tag {
    display: inline-block;
    background: var(--white);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
    .an-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .an-grid { grid-template-columns: 1fr; }
    .an-section { padding: 40px 0; }
}

/* Плавный скролл по якорям */
html {
    scroll-behavior: smooth;
}

/* Отступ сверху, чтобы липкая шапка не перекрывала заголовок секции */
#programs {
    scroll-margin-top: 150px;
}

/* ========================================== */
/* === КУРСЫ ENGLEX (БЛОК ИЗ ФИДА) === */
/* ========================================== */
.en-section {
    padding: 60px 0;
}

.en-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.en-subtitle {
    text-align: center;
    color: var(--light);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ========================================== */
/* === БЛОК "БЕСПЛАТНЫЙ УРОК" === */
/* ========================================== */
.en-free-card {
    display: flex;
    gap: 28px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 40px;
    align-items: center;
    border: 2px solid rgba(99, 102, 241, 0.15);
}

.en-free-img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.en-free-content {
    flex: 1;
}

.en-free-badge {
    display: inline-block;
    background: #10B981;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.en-free-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.en-free-desc {
    color: var(--light);
    line-height: 1.6;
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.en-free-btn {
    display: inline-block;
    background: #10B981;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.en-free-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ========================================== */
/* === СЕТКА КАРТОЧЕК КУРСОВ === */
/* ========================================== */
.en-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.en-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.en-card:hover {
    transform: translateY(-4px);
}

.en-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.en-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
    flex-wrap: wrap;
}

.en-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Цвета бейджей */
.en-base    { background: rgba(124, 58, 237, 0.12); color: #6D28D9; }
.en-hot     { background: rgba(239, 68, 68, 0.12); color: #B91C1C; }
.en-budget  { background: rgba(34, 197, 94, 0.12); color: #15803D; }
.en-speak   { background: rgba(14, 165, 233, 0.12); color: #0369A1; }
.en-travel  { background: rgba(6, 182, 212, 0.12); color: #0E7490; }
.en-work    { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.en-exp     { background: rgba(245, 158, 11, 0.15); color: #B45309; }
.en-kids    { background: rgba(236, 72, 153, 0.12); color: #BE185D; }
.en-exam    { background: rgba(168, 85, 247, 0.12); color: #7E22CE; }
.en-spec    { background: rgba(20, 184, 166, 0.12); color: #0F766E; }

.en-name {
    padding: 10px 20px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.en-desc {
    padding: 8px 20px 0;
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    flex-grow: 1;
}

/* ========================================== */
/* === БЛОК ЦЕН (СТАРЫЕ/НОВЫЕ) === */
/* ========================================== */
.en-prices {
    padding: 14px 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 14px;
}

.en-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.en-price-old {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.en-price-new {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.en-price-new small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

/* ========================================== */
/* === КНОПКА И ERID === */
/* ========================================== */
.en-btn {
    display: block;
    margin: 14px 20px 0;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.en-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
}

.en-erid {
    padding: 8px 20px 14px;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* ========================================== */
/* === АДАПТИВНОСТЬ === */
/* ========================================== */
@media (max-width: 992px) {
    .en-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .en-free-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .en-free-img {
        width: 100%;
        height: 180px;
    }
    .en-free-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .en-grid { grid-template-columns: 1fr; }
    .en-section { padding: 40px 0; }
    .en-title { font-size: 1.5rem; }
}

/* Отступ сверху для якоря */
#programs-englex {
    scroll-margin-top: 150px;
}

/* ========================================== */
/* === КУРСЫ SKYENG (БЛОК ИЗ ФИДА) === */
/* ========================================== */
.sk-section {
    padding: 60px 0;
}

.sk-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.sk-subtitle {
    text-align: center;
    color: var(--light);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Промокод в подзаголовке */
.sk-promo {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ========================================== */
/* === СЕТКА КАРТОЧЕК === */
/* ========================================== */
.sk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sk-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    position: relative;
}

.sk-card:hover {
    transform: translateY(-4px);
}

.sk-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.sk-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
    flex-wrap: wrap;
}

.sk-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Цвета бейджей Skyeng */
.sk-begin  { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.sk-travel { background: rgba(6, 182, 212, 0.12); color: #0E7490; }
.sk-work   { background: rgba(124, 58, 237, 0.12); color: #6D28D9; }
.sk-exp    { background: rgba(239, 68, 68, 0.12); color: #B91C1C; }
.sk-biz    { background: rgba(16, 185, 129, 0.12); color: #059669; }
.sk-any    { background: rgba(245, 158, 11, 0.15); color: #B45309; }

.sk-duration {
    font-size: 0.82rem;
    color: var(--light);
    font-weight: 600;
}

.sk-name {
    padding: 10px 20px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.sk-desc {
    padding: 8px 20px 0;
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    flex-grow: 1;
}

/* ========================================== */
/* === БЛОК ЦЕН === */
/* ========================================== */
.sk-prices {
    padding: 14px 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 14px;
}

.sk-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.sk-price-old {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.sk-price-new {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.sk-price-new small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

/* Промо-нота под ценой */
.sk-promo-note {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--dark);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 3px solid #F59E0B;
}

.sk-promo-note strong {
    color: #B45309;
    font-weight: 800;
}

/* ========================================== */
/* === КНОПКА И ERID === */
/* ========================================== */
.sk-btn {
    display: block;
    margin: 14px 20px 0;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sk-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
}

.sk-erid {
    padding: 8px 20px 14px;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* ========================================== */
/* === АДАПТИВНОСТЬ === */
/* ========================================== */
@media (max-width: 992px) {
    .sk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .sk-grid { grid-template-columns: 1fr; }
    .sk-section { padding: 40px 0; }
    .sk-title { font-size: 1.5rem; }
    .sk-promo { display: inline-block; margin-top: 8px; }
}

/* Отступ сверху для якоря */
#programs-skyeng {
    scroll-margin-top: 150px;
}

/* ========================================== */
/* === КУРСЫ NINNEL (БЛОК ИЗ ФИДА) === */
/* ========================================== */
.nn-section {
    padding: 60px 0;
}

.nn-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.nn-subtitle {
    text-align: center;
    color: var(--light);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ========================================== */
/* === СЕТКА КАРТОЧЕК === */
/* ========================================== */
.nn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nn-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.nn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.nn-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.nn-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
}

/* Цвета бейджей Ninnel */
.nn-easy { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.nn-exp  { background: rgba(124, 58, 237, 0.12); color: #6D28D9; }
.nn-any  { background: rgba(16, 185, 129, 0.12); color: #059669; }

.nn-duration {
    font-size: 0.82rem;
    color: var(--light);
    font-weight: 600;
}

.nn-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.nn-desc {
    font-size: 0.9rem;
    color: var(--light);
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

/* ========================================== */
/* === БЛОК ЦЕН === */
/* ========================================== */
.nn-prices {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.nn-price-main {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

.nn-price-main span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
}

.nn-price-note {
    font-size: 0.82rem;
    color: var(--light);
    margin-top: 4px;
}

/* ========================================== */
/* === КНОПКА === */
/* ========================================== */
.nn-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nn-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
}

/* ========================================== */
/* === АДАПТИВНОСТЬ === */
/* ========================================== */
@media (max-width: 992px) {
    .nn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .nn-grid { grid-template-columns: 1fr; }
    .nn-section { padding: 40px 0; }
    .nn-title { font-size: 1.5rem; }
    .nn-card { padding: 20px; }
}

/* Отступ сверху для якоря */
#programs-ninnel {
    scroll-margin-top: 150px;
}

/* ========================================== */
/* === КУРСЫ SKILLBOX (БЛОК ИЗ ФИДА) === */
/* ========================================== */
.sb-section {
    padding: 60px 0;
}

.sb-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.sb-subtitle {
    text-align: center;
    color: var(--light);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.sb-subtitle strong {
    color: var(--dark);
}

/* ========================================== */
/* === БЛОК "БЕСПЛАТНЫЙ ДОСТУП 14 ДНЕЙ" === */
/* ========================================== */
.sb-free-card {
    display: flex;
    gap: 28px;
    background: linear-gradient(135deg, #DBEAFE 0%, #E0E7FF 100%);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 40px;
    align-items: center;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.sb-free-img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

.sb-free-content {
    flex: 1;
}

.sb-free-badge {
    display: inline-block;
    background: #3B82F6;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.sb-free-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.sb-free-desc {
    color: var(--light);
    line-height: 1.6;
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.sb-free-btn {
    display: inline-block;
    background: #3B82F6;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.sb-free-btn:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
}

/* ========================================== */
/* === СЕТКА КАРТОЧЕК === */
/* ========================================== */
.sb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sb-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.sb-card:hover {
    transform: translateY(-4px);
}

.sb-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.sb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 0;
    flex-wrap: wrap;
}

.sb-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Цвета бейджей Skillbox */
.sb-hot    { background: rgba(239, 68, 68, 0.12); color: #B91C1C; }
.sb-talk   { background: rgba(14, 165, 233, 0.12); color: #0369A1; }
.sb-work   { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.sb-it     { background: rgba(124, 58, 237, 0.12); color: #6D28D9; }
.sb-club   { background: rgba(16, 185, 129, 0.12); color: #059669; }
.sb-mix    { background: rgba(245, 158, 11, 0.15); color: #B45309; }
.sb-kids   { background: rgba(236, 72, 153, 0.12); color: #BE185D; }
.sb-base   { background: rgba(107, 114, 128, 0.12); color: #374151; }

.sb-name {
    padding: 10px 20px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

.sb-desc {
    padding: 8px 20px 0;
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    flex-grow: 1;
}

/* ========================================== */
/* === БЛОК ЦЕН (СТАРЫЕ/НОВЫЕ) === */
/* ========================================== */
.sb-prices {
    padding: 14px 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 14px;
}

.sb-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.sb-price-old {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.sb-price-new {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.sb-price-new small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

/* ========================================== */
/* === КНОПКА И ERID === */
/* ========================================== */
.sb-btn {
    display: block;
    margin: 14px 20px 0;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sb-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
}

.sb-erid {
    padding: 8px 20px 14px;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
}

/* ========================================== */
/* === АДАПТИВНОСТЬ === */
/* ========================================== */
@media (max-width: 992px) {
    .sb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sb-free-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .sb-free-img {
        width: 100%;
        height: 180px;
    }
    .sb-free-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .sb-grid { grid-template-columns: 1fr; }
    .sb-section { padding: 40px 0; }
    .sb-title { font-size: 1.5rem; }
}

/* Отступ сверху для якоря */
#programs-skillbox {
    scroll-margin-top: 150px;
}

/* ========================================== */
/* === ФИКС ИЗОБРАЖЕНИЙ В КАРТОЧКАХ ФИДОВ === */
/* ========================================== */
.an-img,
.en-img,
.sk-img,
.sb-img {
    height: 300px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 10px;
}

/* ============================================ */
/* === КНОПКА «ОБУЧЕНИЕ» + МЕГА-МЕНЮ === */
/* ============================================ */

.learning-btn-wrap {
    position: relative;
    flex-shrink: 0;
}

.learning-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    white-space: nowrap;
}

.learning-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.learning-btn-icon { font-size: 1.2rem; line-height: 1; }
.learning-btn-text { line-height: 1; }

.learning-btn-arrow {
    display: inline-block;
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.learning-btn-wrap.open .learning-btn-arrow {
    transform: rotate(180deg);
}

.learning-btn-wrap.open .learning-btn {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

/* ============================================ */
/* === МЕГА-МЕНЮ === */
/* ============================================ */
.learning-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 101;
    border: 1px solid #E2E8F0;
    width: 640px;
    max-width: calc(100vw - 40px);
}

.learning-btn-wrap.open .learning-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.learning-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.learning-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.learning-item:hover {
    background: var(--bg);
}

.learning-item:hover .learning-item-title {
    color: var(--primary);
}

.learning-item-icon {
    font-size: 1.9rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.25s ease;
}

.learning-item:hover .learning-item-icon {
    transform: scale(1.1);
}

.learning-item-content { flex-grow: 1; min-width: 0; }

.learning-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.learning-item-desc {
    font-size: 0.8rem;
    color: var(--light);
    line-height: 1.4;
    margin-bottom: 6px;
}

.learning-item-count {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.learning-item-all {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-top: 1px solid #E2E8F0;
    margin-top: 6px;
    padding-top: 16px;
    border-radius: 0 0 10px 10px;
}

.learning-item-all:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
}

@media (max-width: 1400px) {
    .learning-menu { width: 560px; }
}

/* Планшеты и мобильные: показываем кнопку, но компактнее */
@media (max-width: 1250px) {
    .learning-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 6px;
    }
    .learning-btn-icon { font-size: 1rem; }
    .learning-btn-text { font-size: 0.85rem; }
    .learning-btn-arrow { font-size: 0.75rem; }

    /* Мега-меню на мобильных — на всю ширину экрана */
    .learning-menu {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .learning-menu-inner {
        grid-template-columns: 1fr;
    }

    .learning-item-all {
        grid-column: auto;
    }
}

/* Очень маленькие экраны: только иконка */
@media (max-width: 500px) {
    .learning-btn {
        padding: 10px 14px;
    }
    .learning-btn-text {
        display: none;
    }
    .learning-btn-icon { font-size: 1.2rem; }
}

/* ============================================ */
/* === БЛОК ТРЕНАЖЁРОВ (общий для 3 страниц) === */
/* ============================================ */

.treners-section {
    padding: 70px 0;
    background: var(--bg);
}

/* Сетка категорий на главной — 5 карточек */
.treners-grid-cats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Сетка сервисов (для детей/взрослых) — 3 карточки */
.treners-grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* Универсальная карточка */
.trener-card {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trener-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.trener-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

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

.trener-card-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.trener-card:hover .trener-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.trener-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.trener-card-desc {
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.trener-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: auto;
}

/* CTA под сеткой */
.treners-cta {
    text-align: center;
    margin-top: 12px;
}

.treners-cta .btn {
    min-width: 260px;
}

.treners-cta-note {
    font-size: 0.9rem;
    color: var(--light);
    margin-top: 14px;
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 1200px) {
    .treners-grid-cats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .treners-grid-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .treners-grid-cats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .treners-grid-services {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trener-card {
        padding: 22px 18px;
    }

    .trener-card-icon {
        font-size: 2.4rem;
    }

    .trener-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .treners-grid-cats {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* === БЛОК: ПОШАГОВЫЙ ПЛАН (roadmap) === */
/* ============================================ */
.roadmap-section {
    padding: 60px 0;
    background: var(--bg);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.roadmap-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.roadmap-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.roadmap-step-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin: 10px 0 14px;
}

.roadmap-step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.roadmap-step-desc {
    font-size: 0.85rem;
    color: var(--light);
    line-height: 1.5;
}

/* ============================================ */
/* === БЛОК: СОВЕТЫ (tips) === */
/* ============================================ */
.tips-section {
    padding: 60px 0;
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%);
    border-radius: var(--radius);
    padding: 24px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.tip-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-content {
    flex-grow: 1;
}

.tip-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.tip-text {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.6;
}

/* ============================================ */
/* === БЛОК: КАК ВЫБРАТЬ ЗА 3 ШАГА (для рейтинга) === */
/* ============================================ */
.start-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.start-step {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.start-step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.start-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.3);
}

.start-step-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 12px;
}

.start-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.start-step-desc {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.5;
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 1024px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 900px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    .start-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .roadmap-section,
    .tips-section {
        padding: 40px 0;
    }
    .tip-card {
        padding: 20px;
    }
}

/* ============================================ */
/* === АКТИВНАЯ КНОПКА «ТРЕНАЖЁРЫ» === */
/* ============================================ */
.learning-btn.btn-active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2), 0 8px 20px rgba(124, 58, 237, 0.35);
}

/* ============================================ */
/* === АКТИВНАЯ ССЫЛКА В МОБИЛЬНОМ МЕНЮ === */
/* ============================================ */
.mobile-link.active {
    color: var(--primary);
    font-weight: 700;
}

/* Кнопка «Правила» — акцентный цвет (розовый/оранжевый) */
.rules-btn {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%) !important;
}
.rules-btn:hover {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%) !important;
}

/* Мега-меню «Правила» — сдвиг вправо, чтобы не уезжало за экран */
.rules-menu {
    right: auto;
    left: 0;
}

/* Мобильные вложенные подменю */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    list-style: none;
    padding-left: 0;
}
.mobile-dropdown.open .mobile-dropdown-menu {
    max-height: 500px;
}
.mobile-dropdown-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .learning-btn-wrap {
        display: none;
    }
}

/* ============================================ */
/* === БЛОК «ПРАВИЛА» НА ГЛАВНОЙ === */
/* ============================================ */
.rules-section {
    padding: 70px 0;
    background: var(--white);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.rule-home-card {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.rule-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EC4899, #DB2777);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.rule-home-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #EC4899;
}

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

.rule-home-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.rule-home-card:hover .rule-home-icon {
    transform: scale(1.1) rotate(-5deg);
}

.rule-home-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.rule-home-desc {
    font-size: 0.92rem;
    color: var(--light);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.rule-home-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(236, 72, 153, 0.1);
    color: #BE185D;
    align-self: flex-start;
    margin-bottom: 16px;
}

/* ✅ Кнопка внутри карточки */
.rule-home-btn {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.rule-home-card:hover .rule-home-btn {
    background: linear-gradient(135deg, #DB2777 0%, #BE185D 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

.rules-cta {
    text-align: center;
    margin-top: 12px;
}

.rules-cta .btn {
    min-width: 260px;
}

.rules-cta-note {
    font-size: 0.9rem;
    color: var(--light);
    margin-top: 14px;
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 900px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .rules-section {
        padding: 50px 0;
    }
    .rule-home-card {
        padding: 24px 20px;
    }
    .rule-home-icon {
        font-size: 2.4rem;
    }
    /* На мобильных кнопка — на всю ширину карточки */
    .rule-home-btn {
        align-self: stretch;
        width: 100%;
    }
}

/* ============================================ */
/* === БЛОК «РАЗБЕРИСЬ В ПРАВИЛАХ» (в сервисах) === */
/* ============================================ */
.rl-suggest-block {
    background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 32px;
    margin-bottom: 32px;
    border-left: 4px solid #EC4899;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.08);
    text-align: left;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.rl-suggest-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.rl-suggest-subtitle {
    font-size: 0.92rem;
    color: var(--light);
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}

.rl-suggest-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rl-suggest-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: left;
}

.rl-suggest-link:hover {
    border-color: #EC4899;
    color: #BE185D;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.rl-suggest-link-arrow {
    margin-left: auto;
    font-weight: 800;
    color: #EC4899;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.rl-suggest-link:hover .rl-suggest-link-arrow {
    transform: translateX(4px);
}

/* ============================================ */
/* === ВАРИАНТ: СЛАБЫЙ РЕЗУЛЬТАТ (< 50%) === */
/* ============================================ */
.rl-suggest-block--struggling {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-left-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}
.rl-suggest-block--struggling .rl-suggest-link-arrow {
    color: #D97706;
}
.rl-suggest-block--struggling .rl-suggest-link:hover {
    border-color: #F59E0B;
    color: #B45309;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.rl-suggest-block--struggling .rl-suggest-link:hover .rl-suggest-link-arrow {
    color: #B45309;
}

/* ============================================ */
/* === ВАРИАНТ: ОТЛИЧНЫЙ РЕЗУЛЬТАТ (≥ 80%) === */
/* ============================================ */
.rl-suggest-block--good {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border-left-color: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.rl-suggest-block--good .rl-suggest-link-arrow {
    color: #10B981;
}
.rl-suggest-block--good .rl-suggest-link:hover {
    border-color: #10B981;
    color: #047857;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.rl-suggest-block--good .rl-suggest-link:hover .rl-suggest-link-arrow {
    color: #047857;
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 600px) {
    .rl-suggest-block {
        padding: 20px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .rl-suggest-title {
        font-size: 1rem;
    }
    .rl-suggest-subtitle {
        font-size: 0.88rem;
    }
    .rl-suggest-link {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
}

/* ============================================ */
/* === CTA-БЛОКИ ДЛЯ СТРАНИЦ ПРАВИЛ И ТРЕНАЖЁРОВ === */
/* ============================================ */

.cta-inline {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border-radius: var(--radius);
    margin: 40px 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-left: 4px solid var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-inline:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

.cta-inline-icon {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.cta-inline-content {
    flex-grow: 1;
    min-width: 0;
}

.cta-inline-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.35;
}

.cta-inline-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.cta-inline-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 14px 26px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cta-inline:hover .cta-inline-btn {
    background: var(--primary-dark);
    transform: translateX(4px);
}

/* ============================================ */
/* === ТИП 1: АВТОРИТЕТ + ЦИФРЫ (синий) === */
/* ============================================ */
.cta-inline--authority {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-left-color: #2563EB;
}

.cta-inline--authority .cta-inline-btn {
    background: #2563EB;
}

.cta-inline--authority:hover {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.cta-inline--authority:hover .cta-inline-btn {
    background: #1D4ED8;
}

/* ============================================ */
/* === ТИП 2: FOMO + ДЕФИЦИТ (красный) === */
/* ============================================ */
.cta-inline--urgent {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-left-color: #DC2626;
}

.cta-inline--urgent .cta-inline-btn {
    background: #DC2626;
}

.cta-inline--urgent:hover {
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
}

.cta-inline--urgent:hover .cta-inline-btn {
    background: #B91C1C;
}

/* ============================================ */
/* === ТИП 3: БОЛЬ → РЕШЕНИЕ (оранжевый) === */
/* ============================================ */
.cta-inline--pain {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-left-color: #EA580C;
}

.cta-inline--pain .cta-inline-btn {
    background: #EA580C;
}

.cta-inline--pain:hover {
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.15);
}

.cta-inline--pain:hover .cta-inline-btn {
    background: #C2410C;
}

/* ============================================ */
/* === ТИП 4: СОЦИАЛЬНОЕ ДОКАЗАТЕЛЬСТВО (зелёный) === */
/* ============================================ */
.cta-inline--social {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-left-color: #16A34A;
}

.cta-inline--social .cta-inline-btn {
    background: #16A34A;
}

.cta-inline--social:hover {
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.15);
}

.cta-inline--social:hover .cta-inline-btn {
    background: #15803D;
}

/* ============================================ */
/* === ТИП 5: ЖЕЛАНИЕ + ТРАНСФОРМАЦИЯ (фиолетовый, как в шапке) === */
/* ============================================ */
.cta-inline--desire {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-left-color: var(--primary);
}

/* ============================================ */
/* === ТИП 6: ЛЮБОПЫТСТВО + ИНТРИГА (жёлтый) === */
/* ============================================ */
.cta-inline--curious {
    background: linear-gradient(135deg, #FEFCE8 0%, #FEF9C3 100%);
    border-left-color: #CA8A04;
}

.cta-inline--curious .cta-inline-btn {
    background: #CA8A04;
}

.cta-inline--curious:hover {
    box-shadow: 0 12px 30px rgba(202, 138, 4, 0.15);
}

.cta-inline--curious:hover .cta-inline-btn {
    background: #A16207;
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 768px) {
    .cta-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 22px;
        margin: 32px 0;
    }

    .cta-inline-icon {
        font-size: 2rem;
    }

    .cta-inline-title {
        font-size: 1.05rem;
    }

    .cta-inline-text {
        font-size: 0.92rem;
    }

    .cta-inline-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .cta-inline:hover .cta-inline-btn {
        transform: none;
    }
}

/* ============================================ */
/* === ОБЁРТКА КАРТОЧКИ ШКОЛЫ + ПРОГРАММЫ СНИЗУ === */
/* ============================================ */

.catalog-item {
    margin-bottom: 32px;
}

.catalog-item .catalog-card {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

/* ============================================ */
/* === БЛОК ПРОГРАММ (ПОД КАРТОЧКОЙ, ВО ВСЮ ШИРИНУ) === */
/* ============================================ */

.catalog-programs-inline {
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 26px 32px;
    margin: 0;
    transition: border-color 0.3s ease;
}

.catalog-item:hover .catalog-programs-inline {
    border-color: #7C3AED;
}

.catalog-programs-inline-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.catalog-programs-inline-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* === КАРТОЧКА ПРОГРАММЫ === */
.catalog-program-inline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
    position: relative;
}

.catalog-program-inline:hover {
    border-color: #7C3AED;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.12);
}

.catalog-program-inline-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 12px;
}

.catalog-program-inline-body {
    flex-grow: 1;
    min-width: 0;
    margin-bottom: 14px;
}

.catalog-program-inline-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 6px;
    line-height: 1.3;
}

.catalog-program-inline-desc {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 10px;
}

.catalog-program-inline-meta {
    font-size: 0.82rem;
    color: #7C3AED;
    font-weight: 700;
    line-height: 1.4;
}

.catalog-program-inline-meta strong {
    background: rgba(124, 58, 237, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* === КНОПКА "ПОДРОБНЕЕ" === */
.catalog-program-inline-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: #7C3AED;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.25s ease;
    margin-top: auto;
}

.catalog-program-inline:hover .catalog-program-inline-btn {
    background: #6D28D9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ============================================ */
/* === АДАПТИВ === */
/* ============================================ */
@media (max-width: 900px) {
    .catalog-programs-inline-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .catalog-programs-inline {
        padding: 20px 18px;
    }

    .catalog-programs-inline-title {
        font-size: 0.95rem;
    }

    .catalog-program-inline {
        padding: 16px 16px;
    }

    .catalog-program-inline-icon {
        font-size: 1.5rem;
    }

    .catalog-program-inline-name {
        font-size: 0.95rem;
    }

    .catalog-program-inline-desc {
        font-size: 0.82rem;
    }

    .catalog-program-inline-meta {
        font-size: 0.78rem;
    }

    .catalog-program-inline-btn {
        font-size: 0.85rem;
        padding: 11px 14px;
    }
}

/* ============================================ */
/* === НОВЫЙ ЛОГОТИП (ДВЕ СТРОКИ) === */
/* ============================================ */

/* Контейнер для текста */
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

/* Верхняя строка (главная) */
.logo-text-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* Нижняя строка (второстепенная) */
.logo-text-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--light);
    margin-top: 2px;
}

/* --- Адаптив для мобильных --- */
@media (max-width: 768px) {
    .logo-text-main {
        font-size: 1rem;
    }
    .logo-text-sub {
        font-size: 0.65rem;
    }
}

/* Для очень маленьких экранов (чтобы не ломать шапку) */
@media (max-width: 480px) {
    .logo-text-sub {
        display: none; /* Скрываем нижнюю строку на смартфонах */
    }
    .logo-text-main {
        font-size: 0.95rem;
    }
}

/* ============================================ */
/* === БЛОК: ПОПУЛЯРНЫЕ СЕРВИСЫ (ГЛАВНАЯ) === */
/* ============================================ */
.popular-section {
    padding: 60px 0;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.popular-card {
    background: var(--white);
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.popular-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.popular-card-icon {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.popular-card-content {
    flex-grow: 1;
    min-width: 0;
}

.popular-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.popular-card-desc {
    font-size: 0.88rem;
    color: var(--light);
    line-height: 1.5;
    margin-bottom: 10px;
}

.popular-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
}

/* Адаптив для этих карточек */
@media (max-width: 1024px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* === КНОПКИ В БЛОКЕ ЦЕЛЕЙ (ГЛАВНАЯ) === */
/* ============================================ */

.goal-card {
    display: flex;
    flex-direction: column;
}

/* Добавляем отступ снизу для текста и растягиваем его, 
   чтобы кнопки всегда были на одном уровне */
.goal-card p {
    margin-bottom: 24px; 
    flex-grow: 1; 
}

.goal-card-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-card-btn {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.25);
}

/* ============================================ */
/* === КНОПКИ В БЛОКАХ «ПОПУЛЯРНОЕ» === */
/* ============================================ */

/* Растягиваем контент карточки по высоте, чтобы кнопка прижалась к низу */
.popular-card {
    align-items: stretch; 
}
.popular-card-icon {
    align-self: flex-start; /* Иконка остается сверху */
}
.popular-card-content {
    display: flex;
    flex-direction: column;
}

/* Стили самой кнопки */
.popular-card-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: auto; /* Прижимает кнопку к низу */
    transition: all 0.3s ease;
}

/* Эффект при наведении на всю карточку */
.popular-card:hover .popular-card-btn {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

/* ============================================ */
/* === КАРТОЧКИ «ПОПУЛЯРНОЕ» === */
/* ============================================ */
.popular-card-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* Растягиваем контент на всю высоту карточки */
}

/* Отделяем тег от кнопки */
.popular-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    align-self: flex-start; /* Чтобы тег не растягивался на всю ширину */
    margin-bottom: 16px; /* Отступ снизу */
}

/* Сама кнопка */
.popular-card-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: auto; /* Прижимает кнопку к низу карточки */
    transition: all 0.3s ease;
}

.popular-card:hover .popular-card-btn {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

/* ============================================ */
/* === КНОПКИ В КАТЕГОРИЯХ ТРЕНАЖЁРОВ === */
/* ============================================ */

/* Делаем карточку flex-контейнером, чтобы прижать кнопку к низу */
.trener-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
}

/* Отделяем тег-плашку от кнопки */
.trener-card-meta {
    margin-bottom: 16px; 
}

/* Стили самой кнопки */
.trener-card-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: auto; /* Прижимает кнопку к низу */
    transition: all 0.3s ease;
}

/* Эффект при наведении на карточку */
.trener-card:hover .trener-card-btn {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

/* ============================================ */
/* === СЕТКА КАТЕГОРИЙ ТРЕНАЖЁРОВ (3 КОЛОНКИ) === */
/* ============================================ */
.treners-grid-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 24px;
    margin-bottom: 40px;
}

/* Карточка внутри сетки */
.trener-card {
    display: flex;
    flex-direction: column;
    align-items: center;   /* Центрируем всё содержимое */
    text-align: center;    /* Выравниваем текст по центру */
    padding: 32px 24px;    /* Чуть больше отступов для простора */
    height: 100%;          /* Растягиваем по высоте, чтобы кнопки были на одном уровне */
}

/* Текст описания */
.trener-card-desc {
    flex-grow: 1;          /* Растягиваем описание, прижимая кнопку к низу */
    margin-bottom: 16px;
}

/* Кнопка */
.trener-card-btn {
    width: 100%;           /* Кнопка на всю ширину карточки */
    box-sizing: border-box;
}


/* ============================================ */
/* === АДАПТИВ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ) === */
/* ============================================ */
@media (max-width: 1024px) {
    .treners-grid-cats {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 768px) {
    .treners-grid-cats {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
    }
}

/* === ИСПРАВЛЕНИЕ МОБИЛЬНОГО МЕНЮ (ЛЕВЫЙ КРАЙ) === */
@media (max-width: 900px) {
    /* Прижимаем саму панель к левому краю */
    .mobile-nav-panel {
        margin-right: auto !important; /* Убираем центрирование, если оно было */
        margin-left: 0 !important;
        border-radius: 0 16px 16px 0 !important; /* Скругляем только правые углы для эффекта шторки */
        height: 100vh !important;
        overflow-y: auto !important; /* Чтобы можно было скроллить, если пунктов много */
    }

    /* Выравниваем текст и отступы по левому краю */
    .mobile-nav-list {
        text-align: left !important;
        padding-left: 20px !important; /* Отступ слева для красоты */
        padding-right: 20px !important;
    }

    .mobile-link, 
    .mobile-dropdown-toggle {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* Выравниваем вложенные подменю */
    .mobile-dropdown-menu {
        padding-left: 15px !important; /* Дополнительный отступ для вложенных пунктов */
        text-align: left !important;
    }
    
    /* Закрывающий крестик прижимаем к правому краю */
    .mobile-nav-close {
        margin-left: auto !important;
    }
}

/* ============================================ */
/* === ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ СПИСКОВ === */
/* ============================================ */

ul.trener-card-list,
ul.popular-card-list {
    display: block !important;
    width: 100% !important;            /* На всю ширину */
    box-sizing: border-box !important;
    text-align: left !important;       /* Текст строго влево */
    margin: 12px 0 16px 0 !important;  /* Убираем центрирование */
    padding: 0 0 0 24px !important;    /* Отступ для галочек */
    list-style: none !important;       /* Убиваем стандартные точки браузера */
}

ul.trener-card-list li,
ul.popular-card-list li {
    display: block !important;
    position: relative !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

/* Рисуем одну-единственную галочку */
ul.trener-card-list li::before,
ul.popular-card-list li::before {
    content: '✅' !important;
    position: absolute !important;
    left: -24px !important; /* Выносим галочку в зону отступа */
    top: 0 !important;
    font-size: 0.9rem;
    line-height: 1.5;
}