/* ========== CSS-переменные ========== */
:root {
    --primary: #586893;
    --primary-dark: #3f506e;
    --secondary: #7c3aed;
    --gold: #fbbf24;
    --gold-dark: #b45309;
    --text-dark: #0f172a;
    --text-muted: #334155;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-hover: 0 20px 30px -10px rgba(88,104,147,0.15);
    --radius-md: 1rem;
    --radius-sm: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #ffffff;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Фоновые классы */
.bg-light {
    background-color: var(--light-bg);
}

.bg-gradient {
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    color: white;
}

.bg-light-yellow {
    background-color: #fef3c7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

/* Сетки */
.grid-2, .grid-3 {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Карточки */
.card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-light);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px -8px var(--gold);
}
.btn:hover {
    background-color: var(--gold-dark);
    color: white;
    transform: scale(1.02);
}
.btn-outline {
    background-color: transparent;
    color: var(--gold);
    box-shadow: inset 0 0 0 2px var(--gold);
}
.btn-outline:hover {
    background-color: var(--gold);
    color: var(--text-dark);
}

/* Иконки преимуществ (общий стиль) */
.icon-list {
    list-style: none;
    margin: 2rem 0;
}
.icon-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}
.icon-list li i {
    font-size: 2rem;
    min-width: 2.5rem;
    color: var(--gold);
}

/* Шапка */
.header {
    background: white;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-weight: 700;
    font-size: 1.4rem;
}
.logo a {
    text-decoration: none;
    color: inherit;
}
.nav-menu ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    flex-wrap: wrap;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-menu a:hover {
    color: var(--gold);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.social-icons a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: color 0.2s;
}
.social-icons a:hover {
    color: var(--gold);
}
.btn-signup {
    background-color: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}
.btn-signup:hover {
    background-color: var(--gold-dark);
    color: white;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(145deg, #1e1a3a, #312e6b);
    color: white;
    padding: 2rem 1.5rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
    z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}
.hero-content p {
    color: #cbd5e1 !important;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}
.hero-badges .badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}
.hero-badges .badge:nth-child(1) { animation-delay: 0.3s; }
.hero-badges .badge:nth-child(2) { animation-delay: 0.4s; }
.hero-badges .badge:nth-child(3) { animation-delay: 0.5s; }
.hero-badges .badge:nth-child(4) { animation-delay: 0.6s; }
.hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease 0.7s forwards;
}
.hero-image {
    max-width: 468px;
    width: 100%;
    justify-self: end;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 0.7s ease 0.2s forwards;
}
.hero-image img {
    width: 100%;
    height: auto;
    max-height: 624px;
    border-radius: var(--radius-md);
    display: block;
    background: rgba(255,255,255,0.05);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.hero-highlight {
    background: linear-gradient(145deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.hero-content p .author-name {
    background: linear-gradient(145deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.badge .badge-icon {
    font-size: 1.2rem;
    color: var(--gold);
}

/* ===== Проблема/решение ===== */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.problem-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.solution-card {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.05);
    border-top: 8px solid var(--gold);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.solution-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.solution-header i {
    font-size: 2.5rem;
    color: var(--gold);
    filter: drop-shadow(0 4px 6px rgba(251,191,36,0.3));
}
.solution-header span {
    font-size: 2rem;
    font-weight: 700;
}
.solution-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.solution-text .highlight {
    font-size: 1.3rem;
    background: #fef3c7;
    color: var(--gold-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    border-left: 4px solid var(--gold);
}
.note {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* ===== Блок "Почему качественное наставничество" ===== */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    min-height: 60px;
}
.card-header i {
    font-size: 2rem;
    min-width: 2.2rem;
    color: var(--gold);
}
.card-header h3 {
    font-size: 1.3rem;
    line-height: 1.3;
}
.card.highlight {
    position: relative;
    overflow: visible;
    border: 3px solid var(--gold);
}
.discount-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gold);
    color: var(--text-dark);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.card p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--text-muted);
}
.card ul li {
    margin-bottom: 0.5rem;
}
.final-quote {
    background-color: #fef3c7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin: 2.5rem auto 0;
    width: 100%;
}

/* ===== Блок "Ключевые результаты" ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.benefits-grid .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}
.benefits-grid .card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.benefits-grid .card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-dark);
}
.benefits-grid .card:nth-child(4) {
    grid-column: 2 / 3;
}
.lead-text {
    font-size: 1.2rem;
    margin-top: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fef3c7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Таблица сравнения ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 2rem;
}
.comparison-item {
    background-color: white;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.comparison-item.header {
    background-color: #e2e8f0;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}
.comparison-item:first-child,
.comparison-item:nth-child(4n+1) {
    background-color: #e2e8f0;
    font-weight: 600;
}
.comparison-item:not(.header) {
    border-top: 1px solid #cbd5e1;
}
.comparison-item.header.my-intensive {
    background-color: var(--gold);
    color: var(--text-dark);
}
.comparison-item.highlight-col {
    background-color: #fef3c7;
    font-weight: 600;
    border-left: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
}

/* ===== Горизонтальные карточки (flex‑ряд) ===== */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.flex-card {
    flex: 1 1 180px;
    min-width: 180px;
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    color: var(--text-dark);
}
.flex-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.flex-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.flex-card p {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===== Блок "Как проходит обучение" ===== */
.process-grid .card {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.process-grid .card i {
    font-size: 2.5rem;
    color: var(--gold);
}

/* Аккордеон */
.accordion {
    margin-top: 2rem;
}
.accordion .accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: white;
}
.accordion .accordion-item summary {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: black;
    transition: background-color 0.3s ease;
    border-radius: var(--radius-sm);
}
.accordion .accordion-item summary:hover {
    background-color: var(--gold);
}
.accordion .accordion-item summary::-webkit-details-marker {
    display: none;
}
.accordion .accordion-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s;
}
.accordion .accordion-item[open] summary::after {
    transform: rotate(180deg);
}
.accordion .accordion-content {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-dark);
    background-color: white;
    font-size: 1.05rem;
    line-height: 1.6;
}
.accordion .program-description p {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}
.accordion .program-description p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Отзывы */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.review-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.stars {
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.review-author {
    font-weight: 700;
    margin-top: 1rem;
}
.review-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Футер */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 1.5rem;
    font-size: 0.95rem;
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    width: 100%;
}
.footer-links a {
    display: block;
    margin-bottom: 8px;
}
.footer-bottom {
    margin-top: 0px;
    padding-top: 24px;
    border-top: 1px solid #334155;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    width: 100%;
}

/* Плавающая кнопка связи */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.chat-button a {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--gold);
    color: var(--text-dark);
    padding: 14px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
}
.chat-button a:hover {
    background-color: var(--gold-dark);
    color: white;
    transform: scale(1.05);
}
.chat-icon { font-size: 24px; }
.chat-text { font-size: 16px; }

.price-hero {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1rem 0;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: linear-gradient(145deg, #fff, #fef3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.price-hero small {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Стили для формы */
.form-group {
    margin-bottom: 1.2rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: white;
}
.form-group textarea {
    resize: vertical;
}
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.form-checkbox input {
    width: auto;
    margin: 0;
}
.form-checkbox a {
    color: var(--gold);
    text-decoration: underline;
}
.form-btn {
    width: 100%;
    background-color: var(--gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem;
    border-radius: 9999px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.form-btn:hover {
    background-color: var(--gold-dark);
    color: white;
}

/* Скрытие таблицы сравнения на мобильных */
@media (max-width: 768px) {
    .comparison-section {
        display: none;
    }
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-consent.show {
    transform: translateY(0);
}
.cookie-consent .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-consent p {
    margin: 0;
    color: var(--text-dark);
    flex: 1;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
}
.cookie-buttons button {
    background: var(--gold);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.cookie-buttons button.decline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.cookie-buttons button:hover {
    transform: scale(1.02);
    background: var(--gold-dark);
    color: white;
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ ЦВЕТОВ И ВЫРАВНИВАНИЯ ========== */
.nav-menu a, .social-icons a, .btn-signup, .btn, .btn-outline, .footer-links a, .footer-contacts a, .footer .logo, .price-hero, .hero-content .btn {
    color: inherit !important;
}
.nav-menu a { color: var(--text-dark) !important; }
.social-icons a { color: var(--text-muted) !important; }
.social-icons a:hover { color: var(--gold) !important; }
.btn-signup, .btn {
    background-color: var(--gold) !important;
    color: var(--text-dark) !important;
}
.btn-signup:hover, .btn:hover {
    background-color: var(--gold-dark) !important;
    color: white !important;
}
.btn-outline {
    background: transparent !important;
    color: var(--gold) !important;
    border: 2px solid var(--gold) !important;
}
.btn-outline:hover {
    background: var(--gold) !important;
    color: var(--text-dark) !important;
}
.footer-links a, .footer-contacts a { color: #cbd5e1 !important; }
.footer-links a:hover, .footer-contacts a:hover { color: white !important; }
.footer .logo { color: white !important; }
.hero-content .btn, .hero .btn, section .btn, a.btn, .btn {
    color: #0f172a !important;
    background-color: #fbbf24 !important;
}
.hero-content .btn:hover, .hero .btn:hover, section .btn:hover, a.btn:hover, .btn:hover {
    background-color: #b45309 !important;
    color: #ffffff !important;
}
.hero-content .btn span, .hero-content .btn i, .hero-content .btn * { color: #0f172a !important; }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-menu li { display: flex; align-items: center; }
.nav-menu a {
    display: inline-block;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    text-decoration: none;
}
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.social-icons { display: flex; align-items: center; gap: 1rem; }
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--text-muted);
}
.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}
.problem-list { padding-left: 0 !important; margin-left: 0 !important; }
.icon-list { padding-left: 0 !important; margin-left: 0 !important; }
.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.icon-list li i { margin-top: 0.2rem; }
.header .social-icons a, .header-actions .social-icons a, .header-actions a[href^="tel"], .header-actions a[href^="mailto"] {
    text-decoration: none !important;
}
.header .social-icons a:hover, .header-actions a[href^="tel"]:hover, .header-actions a[href^="mailto"]:hover {
    text-decoration: none !important;
}
.nav-menu a:hover, .nav-menu ul li a:hover { color: #fbbf24 !important; transition: color 0.2s ease; }

/* ========== МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТАЦИИ ПОД РАЗНЫЕ ЭКРАНЫ ========== */
@media (max-width: 900px) {
    .header .container { flex-direction: column; align-items: stretch; }
    .nav-menu ul { justify-content: center; gap: 1rem; }
    .header-actions { justify-content: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-image { order: 0; justify-self: center; max-width: 320px; margin-top: 1rem; animation: fadeInUp 0.7s ease 0.2s forwards; transform: translateY(30px); }
    .hero-image img { max-height: 426px; }
    @keyframes fadeInRight { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .section { padding: 3rem 1rem; }
    .problem-solution { grid-template-columns: 1fr; }
    .benefits-grid .card:nth-child(4) { grid-column: auto; }
    .benefits-grid, .reviews-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 500px) { .header-actions { flex-wrap: wrap; justify-content: center; } }
@media (max-width: 600px) {
    .chat-button { bottom: 20px; right: 20px; }
    .chat-button a { padding: 10px 18px; }
    .chat-text { font-size: 14px; }
    .cookie-consent .container { flex-direction: column; text-align: center; }
}
@media screen and (max-height: 850px) {
    .section { padding: 3rem 1.5rem !important; }
    .hero { padding: 1rem 1.5rem !important; }
    .hero-content h1 { font-size: 2.5rem !important; margin-bottom: 1rem !important; }
    .hero-content p { font-size: 1.1rem !important; margin-bottom: 1rem !important; }
    .hero-badges { margin: 1rem 0 !important; }
    .badge { padding: 0.3rem 0.8rem !important; font-size: 0.85rem !important; }
    .hero-image { max-width: 380px !important; }
    .hero-image img { max-height: 480px !important; }
    .btn { padding: 0.7rem 1.8rem !important; }
    .price-hero { font-size: 3.5rem !important; }
}
@media screen and (max-height: 700px) {
    .section { padding: 2rem 1.5rem !important; }
    .hero-content h1 { font-size: 2rem !important; }
    .hero-content p { font-size: 1rem !important; }
    .hero-badges { margin: 0.75rem 0 !important; }
    .hero-image { max-width: 320px !important; }
    .hero-image img { max-height: 400px !important; }
    .price-hero { font-size: 3rem !important; }
}

/* ========== БУРГЕР-МЕНЮ И МОБИЛЬНЫЕ СТИЛИ (шрифты, карточки, отступы) ========== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}
.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 768px) {
    .price-explanation {
    display: none !important;
    }
    .burger { display: flex; }
    .logo { display: none !important; }
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: white !important;
    }
    body {
        padding-top: 0 !important;
    }
    .hero {
        margin-top: 50px; /* отступ под фиксированную шапку */
        min-height: calc(100vh - 70px);
        display: flex;
        align-items: center;
        padding: 1rem 1.5rem;
    }
    .hero .container {
        width: 100%;
    }
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .hero-badges {
        margin: 1rem 0 !important;
    }
    .hero-image {
        max-width: 280px;
        margin-top: 0.5rem;
    }
    .header .container { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; gap: 0.5rem !important; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100% - 70px);
        background: white;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding: 2rem 1.5rem;
    }
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 1.5rem !important; align-items: flex-start !important; }
    .nav-menu ul li { width: 100%; }
    .nav-menu a { font-size: 1.2rem !important; display: block; padding: 0.5rem 0; }
    .header-actions { display: flex !important; flex-direction: row !important; gap: 1rem !important; margin-left: auto; }
    .btn-signup { font-size: 0.9rem !important; padding: 0.4rem 1rem !important; }
    .chat-button .chat-text { display: none; }
    .chat-button a { padding: 12px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
    .chat-button .chat-icon { margin: 0; font-size: 24px; }

    /* Унифицированные размеры шрифтов */
    :not(.hero) h2 { font-size: 1.6rem !important; margin-bottom: 0.75rem !important; }
    :not(.hero) .card h3, :not(.hero) .flex-card h3 { font-size: 1.3rem !important; }
    :not(.hero) p, :not(.hero) li, :not(.hero) .note, :not(.hero) .lead-text,
    :not(.hero) .final-quote, :not(.hero) .accordion-content, :not(.hero) .card p,
    :not(.hero) .flex-card p, :not(.hero) .solution-text, :not(.hero) .icon-list li {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    :not(.hero) .price-hero { font-size: 2.5rem !important; }
    .badge, .review-role, .footer p, .footer a, .cookie-consent p, .cookie-consent button {
        font-size: 0.85rem !important;
    }
    :not(.hero) .final-quote { font-size: 1rem !important; padding: 1rem !important; }

    /* Сетки и карточки */
    .process-grid { gap: 0.75rem !important; }
    .process-grid .card { font-size: 0.9rem !important; padding: 0.8rem 1rem !important; margin-bottom: 0 !important; }
    .process-grid .card i { font-size: 1.8rem !important; }

    /* Горизонтальные карточки для "Кому подойдёт", "Чему научитесь", "Ключевые результаты" */
    .flex-card, .benefits-grid .card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 0.75rem !important;
        padding: 0.8rem 1rem !important;
    }
    .flex-card i, .benefits-grid .card i {
        font-size: 2rem !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }
    .flex-card p, .benefits-grid .card p {
        margin: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }

    /* Вертикальные центрированные карточки для блока вебинара */
    .webinar-block .benefits-grid .card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .webinar-block .benefits-grid .card i {
        margin-bottom: 0.5rem !important;
    }
    .webinar-block .benefits-grid .card h3 {
        margin-bottom: 0.5rem !important;
        font-size: 1.2rem !important;
    }
    .webinar-block .benefits-grid .card p {
        text-align: center !important;
    }

    .section { padding: 3rem 1rem !important; }
    .accordion .accordion-item summary { font-size: 1.1rem !important; padding: 1rem !important; }
    .accordion .accordion-content { font-size: 0.9rem !important; padding: 1rem !important; }
    .solution-text .highlight { font-size: 1rem !important; padding: 0.3rem 0.8rem !important; }
    .solution-header span { font-size: 1.5rem !important; }

    /* Блок возврата 10% – фиолетовый фон */
    #discount-block {
        background: linear-gradient(145deg, var(--primary), var(--secondary)) !important;
    }
    #discount-block > div {
        padding: 1rem !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    #discount-block .percent-circle,
    #discount-block div[style*="background: var(--gold)"] {
        background: var(--gold) !important;
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        width: 80px !important;
        height: 80px !important;
        font-size: 36px !important;
        margin: 0 auto 20px auto !important;
        color: black !important;
    }
    #discount-block h3 {
        font-size: 1.4rem !important;
        margin-bottom: 0.75rem !important;
        color: white !important;
    }
    #discount-block p {
        font-size: 0.9rem !important;
        color: white !important;
    }
    #discount-block .price-highlight {
        font-size: 1.2rem !important;
        padding: 0 !important;
        margin: 0.5rem 0 1rem 0 !important;
        background: transparent !important;
        border: none !important;
        color: white !important;
        font-weight: 700;
        white-space: normal;
    }
    #discount-block .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
        background: var(--gold) !important;
        color: var(--text-dark) !important;
        display: inline-block;
        margin-top: 0.5rem;
    }
    #discount-block .btn:hover {
        background: var(--gold-dark) !important;
        color: white !important;
    }
}

@media (max-width: 480px) {
    :not(.hero) h2 { font-size: 1.4rem !important; }
    :not(.hero) .card h3, :not(.hero) .flex-card h3 { font-size: 1.2rem !important; }
    :not(.hero) p, :not(.hero) li, :not(.hero) .note, :not(.hero) .lead-text,
    :not(.hero) .final-quote, :not(.hero) .accordion-content, :not(.hero) .card p,
    :not(.hero) .flex-card p, :not(.hero) .solution-text, :not(.hero) .icon-list li {
        font-size: 0.9rem !important;
    }
    :not(.hero) .price-hero { font-size: 2rem !important; }
    .badge, .review-role, .footer p, .footer a, .cookie-consent p, .cookie-consent button {
        font-size: 0.75rem !important;
    }
    .flex-card i, .benefits-grid .card i { font-size: 1.8rem !important; }
    .section { padding: 2rem 1rem !important; }
    #discount-block h3 { font-size: 1.2rem !important; }
    #discount-block .price-highlight { font-size: 1rem !important; white-space: normal; }
    #discount-block .percent-circle,
    #discount-block div[style*="background: var(--gold)"] {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
    }
}
/* Жирный шрифт для карточек "Как проходит обучение" */
.process-grid .card {
    font-weight: 700 !important;
}

/* Жирный шрифт для карточек "Ключевые результаты после интенсива" */
.benefits-grid .card {
    font-weight: 700 !important;
}