
@font-face {
    font-family: 'Cakra';
    src: url('../sellers/Cakra-Normal.otf') format('opentype');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* --- ОБЩИЕ СТИЛИ --- */
:root {
        --bg-color: #121212;
        --text-color: #ffffff;
        --primary-accent: #e0c5a6;
        --card-bg: #1a1a1a;
        --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Cakra';
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: #d8a88d; /* мягкий беж */
    color: #0b0b0b;
    padding: 18px 46px;
    border-radius: 7px;
    display: inline-block;
    box-shadow: 0 14px 30px -20px rgba(0,0,0,.7), 0 6px 20px -12px rgba(0,0,0,.6) inset;
    border: 1px solid rgba(196, 204, 50, 1);
    font-weight:700;
    text-transform:none;
    letter-spacing: 2px;
}

.btn-secondary {
    background-color: var(--primary-accent);
    color: var(--bg-color);
    margin-top: 40px;
}

/* --- СЕКЦИЯ HERO --- */
.hero {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: #000; /* Простой черный фон */
    /* Для сложного фона как в макете, нужно будет добавить background-image */
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 12vw; /* Адаптивный размер шрифта */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.hero-image {
    position: absolute;
    width: 60%;
    max-width: 300px;
    height: auto;
    z-index: 2;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.info-block {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

/* --- СЕКЦИЯ "УЧАСТНИКИ" --- */
.participants {
    padding: 80px 0;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
}

.card-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}


/* --- СЕКЦИЯ "РЕЗУЛЬТАТЫ" --- */
.results {
    background-color: #000; /* Небольшое отличие фона */
}

.result-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.result-card ul {
    list-style: none;
    padding: 0;
}

.result-card li {
    position: relative;
    padding-left: 20px;
}

.result-card li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}

.highlight-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
}

/* --- АДАПТИВНОСТЬ (MEDIA QUERIES) --- */

/* Планшеты */
@media (min-width: 768px) {
    .hero-title {
        font-size: 150px; /* Фиксированный размер на больших экранах */
    }
    .hero-image {
        max-width: 400px;
    }

    .cards-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .participants .card {
        width: calc(50% - 15px); /* 2 карточки в ряд */
    }

    .results .result-card {
        width: 100%; /* Карточки пока что в столбик */
    }
}

/* Десктопы */
@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .section-title3 {
        font-size: 2rem;
    }
    
    .participants .card {
        width: calc(25% - 23px); /* 4 карточки в ряд */
    }

    .results .cards-container {
        flex-direction: row;
        align-items: stretch;
    }

    .results .result-card {
        width: calc(33.333% - 20px); /* 3 карточки в ряд */
    }
}

/* --- Анимация для JS --- */
.fade-in-section, .fade-in-section.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* --- СЕКЦИЯ "АВТОР" --- */
.author {
    padding: 100px 0;
    position: relative;
}

.author-content {
    position: relative;
    z-index: 4;
}

.author-image {
    position: absolute;
    top: -90px;
    z-index: 2;
    opacity: 0.2;
    left: 0;
    width: 100%;
}

.author-main-info {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px 40px 30px;
    text-align: center;
    background-size: inherit;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0 100%), url(/sellers/paper-texture.jpg);
    /* Убираем fixed, чтобы избежать смены режима сглаживания текста при скролле */
    background-attachment: scroll;
    -webkit-box-shadow: 0px 0px 95px 80px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 95px 80px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 95px 80px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.author-title {
    margin-bottom: 10px;
    /* Стабильный брендовый белый, без визуального "прыжка" при прокрутке */
    color: #c4cc34;
    mix-blend-mode: normal;
    /* Лёгкая тень сглаживает различия антиалиасинга на разных слоях */
    text-shadow: 0 0 1px rgba(0,0,0,0.12);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.author-subtitle {
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 31px;
}

.author-subtitle a {
    color: var(--primary-accent);
    text-decoration: none;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.author-bio ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.author-bio li {
    position: relative;
    padding-left: 35px; /* Место для иконки */
    margin-bottom: 20px;
    line-height: 1.5;
}

.author-bio li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0c5a6;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.stats-block {
    margin-bottom: -10px;
}

.stats-number {
    display: block;
    font-size: 27px;
    font-weight: 900;
    color: var(--primary-accent);
    line-height: 1.1;
    margin-bottom: 20px;
    padding-top: 20px;
}

.stats-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    line-height: 26px;
}


/* --- АДАПТИВНОСТЬ для блока "АВТОР" --- */

/* Планшеты */
@media (min-width: 768px) {
    .author-details {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .author-bio {
        flex: 1; /* Занимает 2/3 ширины */
    }

    .author-stats {
        flex: 1; /* Занимает 1/3 ширины */
    }
}


/* Десктопы */
@media (min-width: 1024px) {
    .author-content {
        display: block;
        align-items: flex-end; /* Выравнивание по низу */
        justify-content: center;
    }

    .author-title, .author-subtitle {
        text-align: center;
    }

}

.pol11 {
    font-size: 1.2rem;
    color: var(--primary-accent);
    line-height: 1.1;
    padding-top: 20px;
}
.pol12 {
    font-size: 1.2rem;
    color: var(--primary-accent);
    line-height: 1.1;
    padding-top: 20px;
    font-weight: 600;
}

/* --- 1. Выравнивание девушек по центру --- */
.hero {
    /* Убедитесь, что у родительского блока есть это свойство */
    position: relative; 
    overflow: hidden; /* Скрывает части изображения, выходящие за блок */
}

.hero-image { /* Предполагается, что у картинки с девушками этот класс */
    position: relative;
    bottom: revert-layer;
    left: 95%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    z-index: 5;
    top: -60px;
}

/* Контейнер с текстом нужно поднять над изображением */
.hero .container {
    position: relative;
    z-index: 2;
}

/* --- 3. Анимация блика на кнопке --- */
.btn-primary {
    /* Эти два свойства обязательны для работы анимации */
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%; /* путь больше для мягкого прохода */
    width: 60%;
    height: 120%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0.25) 55%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-22deg) translateY(-8%);
    filter: blur(6px);
    animation: shimmer 3.8s infinite linear;
    pointer-events:none;
}

/* Описание самой анимации */
@keyframes shimmer {
    from {
        left: -120%; /* Старт (слева за кнопкой) */
    }
    to {
        left: 160%; /* Финиш (справа за кнопкой) */
    }
}

/* --- ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ СЕКЦИИ HERO --- */

.hero {
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 100px 0 0 0;
    overflow: hidden;
    background-size: cover;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0 100%), url(/learns/servis_slider_2.jpg);
    background-attachment: fixed;
    height: auto;
}

/* Общий стиль для большого текста */
.hero-title-bg {
    font-size: 15vw; /* Адаптивный размер шрифта */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    font-family: 'Cakra';
    opacity: 0.2;
}

/* Позиционирование центрального блока */
.hero-center-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    top: -15px;
}

/* Центрируем блок .hero-center-content внутри десктопного хедера
   (только позиционирование контейнера — не меняем содержимое) */
.hero.pc-version{ position: relative; }
.hero.pc-version .hero-center-content{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1280px; /* не раскрывать текст по всей ширине */
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 5;
}

.hero-center-content .hero-image { z-index: 4; }
.hero-text-overlay { z-index: 10; }

/* Убираем абсолютное позиционирование с картинки, теперь она в потоке */
.hero-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Контейнер для текста, который будет поверх картинки */
.hero-text-overlay {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index: 10;
    text-align: center;
}

/* Убедитесь, что у текста есть тень для читаемости */
.hero-text-overlay .hero-description,
.hero-text-overlay .btn,
.hero-text-overlay .info-block {
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.85)
}


/* --- АДАПТИВНОСТЬ ДЛЯ НОВОЙ ВЕРСИИ HERO --- */
@media (min-width: 768px) {
    .hero-title-bg {
        font-size: 61px; /* Фиксируем размер на больших экранах */
    }
}

.blr {
    position: absolute;
    left: 50%;
    top: 179%;
    transform: translate(-50%, -70%);
    height: 420px;
    width: 92%;
    z-index: 7;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25));
    filter: blur(36px);
    opacity: 0.85;
}

/* utility class removed (was empty) */

/* Специальный (зелёный) градиент только для кнопки в hero (класс zz-5) */
.btn-primary.zz-5 {
    background: linear-gradient(153deg, #c4cc34 0%, #c4cc34 40%, #4a4528 100%);
    color: #fff;
    box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .6), 0 6px 18px -8px rgba(0, 0, 0, .6) inset;
    border: 0px solid rgba(0, 0, 0, 0.12);
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.85);
}

.btn-primary.zz-5::before { /* сохраним блик, но чуть мягче */
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.36) 40%,
        rgba(255,255,255,0.18) 55%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(5px);
}

/* ---- Стилевые правила для структурированного текста в hero ---- */
.hero-text-overlay .hero-lead{
    font-size:16px;
    color: rgba(255,255,255,0.95);
    margin-bottom:10px;
    font-weight:500;
    letter-spacing:0.6px;
}
.hero-text-overlay .hero-main{
    font-family: 'Cakra', 'Montserrat', sans-serif;
    font-size:42px;
    font-weight:800;
    color: #c4cc34;
    margin-bottom: 21px;
    line-height:1.02;
}
.hero-text-overlay .hero-subtle{
    font-size:15px;
    color: rgba(255,255,255,0.86);
    font-weight:300;
    max-width:820px;
    margin:0 auto 18px auto;
    line-height:1.48;
}

@media (min-width:768px){
    .hero-text-overlay .hero-lead{font-size:18px}
    .hero-text-overlay .hero-main{font-size:56px}
    .hero-text-overlay .hero-subtle{font-size:16px}
}
@media (min-width:1200px){
    .hero-text-overlay .hero-main{font-size: 51px;}
    .hero-text-overlay .hero-subtle{font-size:18px}
}

/* Хаотичные карточки */
.overflow-visible { overflow: visible; }
.chaos-cards{ position:relative; display:flex; gap:28px; justify-content:space-between; align-items:stretch; margin:60px 0; padding:0 20px;}
.chaos-card{ width:48%; min-height:220px; border-radius:18px; background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(255,255,255,0.01)); box-shadow:0 10px 30px -18px rgba(0,0,0,.7); overflow:visible; transform-origin:center; position:relative;}
.chaos-card .card-inner{ padding:28px 30px;}
.chaos-title{ font-size:22px; color:#fff; margin-bottom:8px; font-weight:800;}
.chaos-sub{ color:rgba(255,255,255,0.85); font-size:15px; line-height:1.45;}

.chaos-img{ display:block; width:calc(100% - 20px); margin:0 10px 12px 10px; height:180px; border-radius:10px; object-fit:cover;}

/* Размещение хаотично с помощью трансформ */
.chaos-card.c-1{ transform: translate(-8%, -6%) rotate(-2deg); z-index:3; }
.chaos-card.c-2{ transform: translate(6%, 0%) rotate(1.4deg); z-index:2; }
.chaos-card.c-3{ transform: translate(18%, 6%) rotate(-1deg); z-index:1; }

/* Лёгкая дрейф-анимация */
@keyframes drift1{ 0%{transform:translate(-8%,-6%) rotate(-2deg)} 50%{transform:translate(-10%,-4%) rotate(-1deg)} 100%{transform:translate(-8%,-6%) rotate(-2deg)} }
@keyframes drift2{ 0%{transform:translate(6%,0%) rotate(1.4deg)} 50%{transform:translate(8%,2%) rotate(2.2deg)} 100%{transform:translate(6%,0%) rotate(1.4deg)} }
@keyframes drift3{ 0%{transform:translate(18%,6%) rotate(-1deg)} 50%{transform:translate(20%,8%) rotate(-0.2deg)} 100%{transform:translate(18%,6%) rotate(-1deg)} }
.chaos-card.c-1{ animation:drift1 6s ease-in-out infinite; }
.chaos-card.c-2{ animation:drift2 7s ease-in-out infinite; }
.chaos-card.c-3{ animation:drift3 5.6s ease-in-out infinite; }

/* На мобильных — карточки стеком */
@media (max-width:920px){
    .chaos-cards{flex-direction:column; gap:18px; padding:0}
    .chaos-card{ width: 80%; transform:none; animation:none;}
}

/* ================= FINAL CONTACT SECTION ================= */
.final-contact {position:relative; padding:30px 0 140px; background:radial-gradient(circle at 70% 40%, rgba(255,255,255,0.03), rgba(0,0,0,0.92) 60%); overflow:hidden;}
.final-container {max-width:1380px; margin:0 auto; padding:0 42px;}
.final-grid {    display: grid;
    gap: 40px;
    align-items: revert-layer;
    justify-items: center;}
.final-left {position:relative; z-index:5; width: 80%;}
.final-title {font-family:'Cakra','Montserrat',sans-serif; font-size: clamp(48px,8vw,122px); line-height:0.9; font-weight:800; letter-spacing:2px; color:#4dd9c1; margin:0 0 70px; text-transform:uppercase; text-wrap:balance;}
.final-panel {border:1px solid rgba(255,255,255,0.08); box-shadow:0 14px 50px -18px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,0.04) inset; border-radius:34px; padding:48px 48px 54px; backdrop-filter:blur(10px); max-width:100%; text-align:start; height:100%; display:flex; flex-direction:column;}
.panel-heading {font-family: 'Cakra', 'Montserrat', sans-serif; font-size:42px; line-height:0.95; margin:0 0 30px; color:#ffffff; text-transform:uppercase; letter-spacing:1.5px;}
.panel-intro {margin:0 0 30px; font-size:16px; line-height:1.5; color:#d6d6d6;}
.panel-list {list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:22px; font-size:15px; color:#d2d2d2;}
.panel-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    line-height: 1.4;
    align-content: center;

}
.panel-list li .small {font-size:13px; font-weight:400; letter-spacing:.3px; color:#a8a8a8;}
.chk {
    /* static/flex item instead of absolute positioned */
    position: relative;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 4px; /* slight nudge to align visually with first text line */
    border-radius:50%;
    background:linear-gradient(145deg,#ffd7c0,#eeb99d);
    box-shadow:0 4px 10px -2px rgba(0,0,0,.45);
    display:flex; align-items:center; justify-content:center;
}
.chk:before {content:''; width:11px; height:6px; border:2px solid #3b2e1e; border-top:none; border-right:none; transform:translateY(-1px) rotate(-45deg);}

.final-right {position:relative; z-index:4; display:flex; flex-direction:column; align-items:flex-end; gap:34px;}
.final-photo-wrap {position:relative; width:100%; max-width:640px; aspect-ratio: 4/3; border-radius:36px; overflow:hidden;}
.final-photo {width:100%; height:100%; object-fit:cover; mix-blend-mode:normal; display:block;}

.final-links-banner {display:flex; align-items:center; gap:34px; background:linear-gradient(145deg,#e8c9b2,#d6a986); padding:22px 50px 24px 34px; border-radius:16px 16px 16px 40px; position:relative; box-shadow:0 16px 40px -18px rgba(0,0,0,.65); color:#1f1610; font-weight:600; letter-spacing:1px; min-width:420px;}
.final-links-banner:before {content:''; position:absolute; left:92px; top:12px; bottom:12px; width:2px; background:repeating-linear-gradient(to bottom,#2e2219 0 6px, transparent 6px 12px); opacity:.5;}
.banner-icon {flex:0 0 70px; height:70px; border-radius:14px 14px 14px 30px; background:#1f2322; display:flex; align-items:center; justify-content:center; color:#d6a986; box-shadow:0 6px 16px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,0.05) inset;}
.banner-icon svg {display:block;}
.banner-text {display:flex; flex-direction:column; gap:6px;}
.bt-main {font-size:15px;}
.bt-sub {font-size:12px; letter-spacing:2px;}

/* Hover / motion */
.final-links-banner:hover {transform:translateY(-4px); transition:transform .45s, box-shadow .45s; box-shadow:0 22px 54px -20px rgba(0,0,0,.72);} 
.banner-icon:hover {background:#252b2a;}
.panel-list li:hover .chk {filter:brightness(1.08);} 

/* Панели с фото (адаптивные карточки) */
.final-panel.has-photo {display:flex; gap:40px; align-items:stretch; height:100%; background-color: #120c10;}
.final-panel.has-photo .panel-info.elena_grid {flex: 1 1 55%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 50%;}
.final-panel.has-photo .panel-info.anastasia_grid {    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;}
.final-panel.has-photo .panel-photo {flex:1 1 45%; position:relative; border-radius:26px; overflow:hidden; box-shadow:0 10px 34px -16px rgba(0,0,0,.6) inset, 0 4px 14px -6px rgba(0,0,0,.5);} 
.final-panel.has-photo .panel-photo img {width:100%; height:100%; object-fit:cover; display:block; filter:saturate(1.05) contrast(1.05);} 
.final-panel.has-photo.mirror {flex-direction:row-reverse;} 

/* ====== Переключение версий HERO: ПК vs Мобайл ====== */
/* По умолчанию показываем мобильную версию, прячем десктопную */
.hero.pc-version { display: none; }
.hero.mobile-version { display: block; background-size: cover; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.91) 0 100%), url(/learns/servis_slider_2.jpg); background-attachment: fixed; height: auto; }

/* На экранах >= 1024px — наоборот */
@media (min-width: 1024px) {
    .hero.pc-version { display: block; }
    .hero.mobile-version { display: none; }
}

/* ====== Фиксированная стеклянная навигация ====== */
.site-nav{position:sticky; top:0; z-index:900; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background:rgba(10,10,10,0.45); border-bottom:1px solid rgba(255,255,255,0.06);} 
.site-nav.scrolled{background:rgba(10,10,10,0.62); box-shadow:0 10px 30px -20px rgba(0,0,0,.7);} 
.nav-container{max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px;} 
.nav-brand{display:flex; align-items:center; gap:10px;} 
.nav-logo{font-family:'Cakra','Montserrat',sans-serif; color:#fff; text-decoration:none; font-weight:800; letter-spacing:1px; font-size:20px; padding:8px 10px; border-radius:10px;}
.nav-links{list-style:none; margin:0; padding:0; display:none; gap:8px; align-items:center;}
.nav-link{display:inline-block; color:#f1f1f1; text-decoration:none; padding:10px 14px; border-radius:10px; font-weight:600; letter-spacing:.5px; background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.06);} 
.nav-link:hover{background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(255,255,255,0.04));}
.nav-toggle{display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:10px; background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.06); color:#fff; cursor:pointer;}
.nav-burger{position:relative; width:20px; height:2px; background:#fff; border-radius:2px; display:block;}
.nav-burger:before,.nav-burger:after{content:''; position:absolute; left:0; width:20px; height:2px; background:#fff; border-radius:2px;}
.nav-burger:before{top:-6px;} .nav-burger:after{top:6px;}
.nav-toggle[aria-expanded="true"] .nav-burger{background:transparent;}
.nav-toggle[aria-expanded="true"] .nav-burger:before{transform:translateY(6px) rotate(45deg);} 
.nav-toggle[aria-expanded="true"] .nav-burger:after{transform:translateY(-6px) rotate(-45deg);} 

/* Выпадающее меню для мобайла */
.nav-menu{position:fixed; top:54px; left:0; right:0; z-index:890; /* не задаём display здесь, чтобы hidden работал */ flex-direction:column; gap:10px; padding:14px 16px 18px; background:rgba(10,10,10, 1); border-bottom:1px solid rgba(255,255,255,0.06); backdrop-filter: blur(10px);} 
.nav-menu:not([hidden]){ display:flex; }
.nav-menu .nav-link{display:block; text-align:center; font-size:16px;}

/* Десктопная раскладка */
@media (min-width:1024px){
    .nav-links{display:flex;}
    .nav-toggle{display:none;}
    .nav-menu{display:none !important;}
}

/* ====== Кнопка «наверх» с прогресс-кольцом ====== */
.scroll-top{position:fixed; right:18px; bottom:18px; width:58px; height:58px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border:1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow:0 14px 36px -18px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,0.04) inset; color:#e0c5a6; cursor:pointer; z-index:800; transition: transform .25s ease, opacity .25s ease; opacity:0; pointer-events:none;}
.scroll-top.show{opacity:1; pointer-events:auto; transform:translateY(0);} 
.scroll-top:active{transform:translateY(1px) scale(0.98);} 
.st-arrow{width:0; height:0; border-left:8px solid transparent; border-right:8px solid transparent; border-bottom:12px solid #e0c5a6; transform: translateY(-2px);} 
.st-ring{position:absolute; width:48px; height:48px;}
.st-track{fill:transparent; stroke:rgba(255,255,255,0.12); stroke-width:4;}
.st-progress{fill:transparent; stroke:#e0c5a6; stroke-width:4; stroke-linecap:round; transform:rotate(-90deg); transform-origin:50% 50%; stroke-dasharray:126; stroke-dashoffset:126; transition: stroke-dashoffset .12s linear;}

@media (min-width:1024px){ .scroll-top{right:24px; bottom:24px;} }

/* ====== Fixed lead widget (ОСТАВИТЬ ЗАЯВКУ) ====== */
/* ====== Секция кейсов (3 адаптивных блока с фоном) ====== */
.cases{position:relative;padding:36px 0 36px}
.cases-title{text-align:center;margin:0 0 16px}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.case-card{position:relative; border:5px solid rgba(196,204,52,0.7); border-radius: 61px; overflow:hidden; min-height:220px; background: #0e0e0e;}
.case-card::before{content:''; position:absolute; inset:0; background: var(--bg, url('learns/case-default.jpg')) center/cover no-repeat; filter:saturate(1.05) contrast(1.05);}
.case-card::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.65) 60%);}
.case-inner{position:relative; z-index:2; padding:22px 18px; color:#f1f1f1; display:flex; flex-direction:column; gap:8px; margin-top: 155px;}
.case-title{font-weight:700; color:#c4cc34; font-size:18px;}
.case-text{line-height:1.5; color:#e7e7e7;}

@media (max-width:1024px){
    .cases-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
    .cases{padding:28px 0 8px}
    .cases-grid{grid-template-columns:1fr}
    .case-card{min-height:200px; border-radius:16px}
}
/* AI Flow (стрелки + карточки) */
.ai-flow{padding:40px 0 8px;overflow: hidden; background-size: cover; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0 100%), url(/learns/f6f1da66-d988-4262-86bf-8d44782b18e4.jpg); background-attachment: fixed; height: auto;}
.ai-flow-title{text-align:center;margin:0 0 6px 0}
.ai-flow-canvas{position:relative;height:120px;margin:0}
.ai-flow-svg{width:100%;height:100%;display:block}
.ai-flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:10px}
.ai-card{border:1px solid #c4cc34;border-radius:16px;padding:18px 16px;background:rgba(6,19,12,0.6);color:#e0c5a6}
.ai-card-title{font-weight:700;margin-bottom:8px;color:#c4cc34}
.ai-card-text{line-height:1.45}

@media (max-width:1024px){
    .ai-flow-canvas{height:110px}
    .ai-flow-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
    .ai-flow{padding:28px 0 6px}
    .ai-flow-canvas{height:100px}
    .ai-flow-grid{grid-template-columns:1fr;margin-top:8px}
}
.lead-widget{ text-decoration: none; position: fixed; right: 18px; bottom: 106px; z-index: 820; display: inline-flex; align-items: center; justify-content: center; padding: 18px 26px; gap: 10px; min-width: 180px; border-radius: 48px; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; cursor: pointer; border: 3px solid rgba(196, 204, 52, 1); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(6, 19, 12, 0.12) inset; transition: transform .22s ease, box-shadow .22s ease; background: linear-gradient(153deg, #c4cc34 0%, #c4cc34 40%, #4a4528 100%); text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.85); }
.lead-widget:active{ transform: translateY(1px) scale(.995); }
.lead-widget:focus{ outline: none; box-shadow: 0 0 0 4px rgba(196,204,52,0.12); }

/* Pulsing accent behind the widget using pseudo-element */
.lead-widget::before{
    content: '';
    position: absolute;
    inset: -6px; /* slightly bigger for pulse */
    border-radius: 22px;
    background: radial-gradient(circle at 50% 40%, rgba(224,197,166,0.18) 0%, rgba(224,197,166,0.07) 25%, rgba(224,197,166,0.02) 40%, transparent 60%);
    z-index: 811;
    filter: blur(8px);
    opacity: 0.95;
    transform: scale(1);
    animation: leadWidgetPulse 2.6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes leadWidgetPulse{
    0%{ transform: scale(.96); opacity: .9; }
    50%{ transform: scale(1.08); opacity: .55; }
    100%{ transform: scale(.96); opacity: .9; }
}

/* Adjust size on small screens */
@media (max-width:600px){
    .lead-widget{ right:14px; bottom:100px; padding:12px 18px; font-size:14px; min-width:140px; }
}

@media (max-width:1100px){
    .final-panel.has-photo {flex-direction:column;}
    .final-panel.has-photo.mirror {flex-direction:column;} 
    .final-panel.has-photo .panel-photo {height:340px;}
}
@media (max-width:560px){
    .final-panel.has-photo {gap:26px;}
    .final-panel.has-photo .panel-photo {height:260px; border-radius:22px;}
    .hero-image {
        left: 50%;
    }
}

/* Scroll animation seed */
[data-animate]{opacity:0; transform:translateY(40px); transition:opacity .9s cubic-bezier(.16,.68,.43,.99), transform .9s cubic-bezier(.16,.68,.43,.99);} 
.in-view {opacity:1 !important; transform:translateY(0) !important;}

/* Responsive */
@media (max-width:1200px){
    .final-grid {grid-template-columns: 1fr; gap:70px;}
    .final-right {align-items:flex-start;}
    .final-title {margin-bottom:50px;}
    .final-panel {max-width:540px;}
    .final-links-banner {margin-left:0;}
}
@media (max-width:800px){
    .final-contact {padding: 90px 0 30px;}
    .panel-heading {font-size:36px;}
    .final-links-banner {min-width:0; width:100%; padding:20px 30px 22px 28px; gap:22px;}
    .banner-icon {flex:0 0 60px; height:60px;}
    .final-photo-wrap {aspect-ratio:3/4;}
}
@media (max-width:560px){
    .final-container {padding:0 22px;}
    .final-title {font-size: clamp(40px,14vw,90px);} 
    .final-panel {padding:40px 34px 46px; border-radius:30px;}
    .panel-heading {font-size:32px;}
    .panel-list li {padding-left: 0;}
    .chk {
        width: 24px;
        height: 24px;
        display: none;
    }
    .final-links-banner {border-radius:14px 14px 14px 34px; padding:18px 26px 20px 24px;}
    .bt-main {font-size:14px;}
    .bt-sub {font-size:11px; letter-spacing:1.4px;}
    .final-left {
        position: relative;
        z-index: 5;
        width: 100%;
    }
}

.chaos-sub2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 30px;
    line-height: 1.45;
}
.chaos-sub3 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 26px;
    line-height: 1.45;
    margin-bottom: 40px;
}
.course-program {padding: 120px 0 110px; background: linear-gradient(153deg, #c4cc34 0%, #c4cc34 40%, #4a4528 100%);} 
.program-container {max-width:1440px; margin:0 auto; padding:0 54px;} 
.program-title {font-size: clamp(43px, 5vw, 33px); font-family:'Cakra','Montserrat',sans-serif; letter-spacing:1px; font-weight:800; text-align:center; margin:0 0 82px; color:#fff;} 
.program-grid {display:grid; grid-template-columns:repeat(4,1fr); gap:40px;} 
.program-card {background:rgba(0,0,0,1); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 42px; padding: 36px 30px 54px; display: flex ; flex-direction: column; position: relative; overflow: hidden; backdrop-filter: blur(10px);} 
.program-card:before {content:""; position:absolute; inset:0; border-radius:inherit; box-shadow:0 24px 60px -30px rgba(0,0,0,.8); pointer-events:none;} 
.program-card:hover {background: rgba(0, 0, 0, 0.83); border-color:rgba(255,255,255,0.12);} 
.pc-head {font-size:13px; font-weight:700; letter-spacing:2.4px; color:#d7d7d7; margin-bottom:18px; text-transform:uppercase;} 
.pc-title {font-size:20px; font-weight:800; line-height:1.25; margin:0 0 20px; color:#c4cc34;} 
.pc-sub {font-size:14px; font-weight:600; margin:0 0 10px; color:#e0c5a6; letter-spacing:.5px;} 
.pc-list {list-style: none; padding: 0; margin: 10px 0 8px; display: flex ; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; color: #d0d0d0; text-align: left;} 
.pc-list.extra {gap:10px; font-size:13px;} 
.pc-list li {position:relative; padding-left:18px;} 
.pc-list li:before {content:""; position:absolute; left:0; top:7px; width:6px; height:6px; background:#b5a200; border-radius:50%; box-shadow:0 0 0 3px rgba(181,162,0,0.22);} 
.pc-task {margin-top:14px; margin-bottom: 20px; background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.06); padding:18px 18px 20px; border-radius:22px; position:relative;} 
.pc-task:before {content: "";
    position: absolute;
    left: -30px;
    right: -30px;
    top: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0));
    border-radius: 4px;
    pointer-events: none;} 
.pt-heading { margin-top: auto;
    border-radius: 22px;
    position: relative;
    margin-bottom: 10px;} 
.pc-task p {margin:0; font-size:13px; line-height:1.5; color:#bfbfbf;} 
.program-cta {margin-top:80px; text-align:center;} 
.program-cta .btn {min-width:220px;} 
@media (max-width:1400px){ .program-grid {grid-template-columns:repeat(3,1fr);} }
@media (max-width:1100px){ .program-grid {grid-template-columns:repeat(2,1fr);} }
@media (max-width:680px){ .program-container {padding:0 26px;} .program-grid {grid-template-columns:1fr; gap:26px;} .program-card {padding:40px 32px 46px; border-radius:34px;} }
@media (max-width:460px){ .program-title {font-size: clamp(40px,13vw,72px);} }

/* ====== Program slider (без изменения внешнего вида карточек) ====== */
.program-slider{ position: relative; overflow: hidden; }
.program-track{ display:flex; gap:40px; transition: transform .45s cubic-bezier(.16,.68,.43,.99); will-change: transform; }
.program-track .program-card{ flex: 0 0 100%; }
/* Центровка карточки на широких экранах, без изменения её стилей */
@media (min-width:900px){
    .program-track{ gap:50px; }
}

/* 3 карточки в ряд на ПК, 1 карта на мобиле (визуально, без изменения внутреннего оформления) */
@media (min-width:1100px){
    .program-slider{ overflow:hidden; }
    .program-track .program-card{ flex: 0 0 calc((100% - 2 * 50px) / 3); }
}
@media (max-width:1099.98px){
    .program-track .program-card{ flex: 0 0 100%; }
}

/* Фиксированные стрелки навигации */
.prog-nav{ inset: 0; pointer-events: none; z-index: 950; opacity: 0; transform: scale(.98); transition: opacity .28s ease, transform .28s ease; }
.prog-nav.is-visible{ opacity: 1; transform: none; /* don't let the full-screen nav container block underlying clicks; buttons remain interactive */ pointer-events: none; }
.prog-nav.is-visible .prog-btn { pointer-events: auto; }
.prog-btn{ pointer-events: auto; position: fixed; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 18px 40px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,0.04) inset; color:#fff; cursor: pointer; }
.prog-btn:active{ transform: translateY(-50%) scale(.98); }
.prog-prev{ left: 18px; }
.prog-next{ right: 18px; }
.prog-btn:before{ content: ""; display:block; width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; pointer-events: none; }
.prog-prev:before{ border-right: 16px solid #4e5116; margin-left: -2px; }
.prog-next:before{ border-left: 16px solid #4e5116; margin-right: -2px; }
.prog-btn[disabled]{ opacity: .5; cursor: default; filter: grayscale(.2); }
@media (min-width:1024px){ .prog-btn{ width:72px; height:72px; } .prog-prev{ left:24px; } .prog-next{ right:24px; } }
@media (max-width:560px){ .prog-btn{ width:56px; height:56px; } }
.section-title2 {
    font-size: 80px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Cakra';
}
.how-course {padding:90px 0 120px; background:radial-gradient(1000px 800px at 20% -10%, rgba(255,255,255,0.02), rgba(0,0,0,0.95) 60%);} 
.how-container {max-width:1320px; margin:0 auto; padding:0 38px;} 
.how-panel {position:relative; border-radius:28px; padding:36px 34px 40px; background:rgba(20,20,20,0.9); border:1px solid rgba(255,255,255,0.06); backdrop-filter: blur(10px); box-shadow: 0 18px 46px -22px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,0.04) inset; overflow:hidden;} 
.how-panel:after {content:""; position:absolute; inset:0; border-radius:inherit; background: radial-gradient(600px 400px at 90% 30%, rgba(255,255,255,0.06), transparent 60%); mix-blend-mode:screen; pointer-events:none;} 
.how-title {    font-family: 'Cakra', 'Montserrat', sans-serif;
    font-size: clamp(24px, 3.4vw, 57px);
    font-weight: 800;
    line-height: 1.2;
    color: #c4cc34;
    margin: 0 0 88px;
    text-align: start;
    transform: uppercase;} 
.how-subtitle {color:#e7e2d6; opacity:.85; margin:0 0 26px; font-size:16px;} 
.how-grid {display:flex; flex-direction:column; gap:26px;} 
.how-row {display:grid; grid-template-columns:1fr auto 1fr auto; align-items:start; gap:28px;} 
.how-item {display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
} 
.how-num {font-family:'Cakra','Montserrat',sans-serif; font-size: clamp(42px,6vw,68px); line-height:1; color:#d7b86a;} 
.how-text {    color: #e9e4d9;
    opacity: .9;
    font-size: 16px;
    text-align: left;
    line-height: 1.55;} 
.how-sep {width:1px; height:100%; background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, rgba(255,255,255,0)); align-self:stretch;} 
/* Глитч-эффект цифр при наведении на пункт */
.how-item {position:relative;}
.how-num {position:relative; display:inline-block;}
.how-item:hover .how-num{ animation: glitchShift 600ms ease-in-out 1; }
.how-item:hover .how-num::before,
.how-item:hover .how-num::after{ content: attr(data-num); position:absolute; left:0; top:0; mix-blend-mode:screen; opacity:.35; }
.how-item:hover .how-num::before{ color:#ffc27a; transform: translate(1px, -1px); filter: blur(.4px); }
.how-item:hover .how-num::after{ color:#9ad7ff; transform: translate(-1px, 1px); filter: blur(.4px); }
@keyframes glitchShift{ 0%{transform:translate(0,0)} 15%{transform:translate(-1px,0)} 30%{transform:translate(1px,-1px)} 45%{transform:translate(-1px,1px)} 60%{transform:translate(1px,0)} 75%{transform:translate(0,1px)} 100%{transform:translate(0,0)} }
@media (max-width:1024px){ .how-row {grid-template-columns:1fr; gap:18px;} .how-sep{display:none;} .how-item{padding:14px 0; border-top:1px solid rgba(255,255,255,0.06);} .how-row .how-item:first-child{border-top:none;} } 
.mono {
    font-family: 'Roboto Mono', monospace;
    justify-content: center;
    align-items: center;
    display: flex;
}

.elena {
        background-size: contain;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0 100%), url(/learns/elena4.png);
    background-attachment: scroll;
    background-position-x: 100%;
    background-repeat: no-repeat;
    background-position-y: bottom;
}

.anastasia {
    background-size: contain;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0 100%), url(/learns/anastasia.png);
    background-attachment: scroll;
    background-position-x: 310px;
    background-repeat: no-repeat;
    background-position-y: bottom;
}
.pricing {padding:110px 0 120px; background:radial-gradient(1200px 900px at 60% -10%, rgba(255,255,255,0.03), rgba(0,0,0,0.95) 60%);} 
.pricing-container {max-width:1300px; margin:0 auto; padding:0 42px;} 
.pricing-title {font-size: clamp(46px,6vw,92px); font-family: 'Cakra', 'Montserrat', sans-serif; font-weight:800; text-align:center; margin:0 0 70px; color:#fff; letter-spacing:1px;} 
.pricing-grid {display: grid; grid-template-columns: repeat(1, 1fr); gap: 36px; align-items: stretch; justify-content: center; align-content: center; justify-items: center;} 
.price-card {    position: relative;
    border-radius: 30px;
    padding: 38px 34px 28px;
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.6), -10px -10px 30px rgba(255, 255, 255, 0.02) inset, 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(14px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0 100%), url(/sellers/image.jpg);
    background-attachment: inherit;}
.pricing .pc-features li {transition: color .2s ease, font-weight .2s ease;} 
.pricing .pc-features li:hover {color:#e0c5a6; font-weight:600; cursor: pointer;} 
.price-card:after {content:""; position:absolute; inset:-1px; border-radius:inherit; pointer-events:none; background:
    radial-gradient(120px 120px at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.07), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 30%);
    mix-blend-mode:screen; opacity:.9; transition:opacity .2s ease;} 
.price-card:hover:after {opacity:1;} 
.pc-header {text-align:center; margin-bottom:22px;} 
.pc-badge {font-size:12px; letter-spacing:2px; color:#c9c9c9; text-transform:uppercase;} 
.pc-name {font-size:32px; letter-spacing:1.2px; margin:6px 0 0; color:#c4cc34; font-weight:900;} 
.pc-features {list-style:none; padding:0; margin:18px 0 24px; display:flex; flex-direction:column; gap:12px; color:#d8d8d8; font-size:15px; line-height:1.5;} 
.pc-features li {position:relative; padding-left:18px;} 
.pc-footer {margin-top:auto; display:flex; flex-direction:column; align-items:center; gap:10px; position:relative;} 
.pc-footer:before {content:""; position:absolute; left:-30px; right:-30px; top:-10px; height:1px; background:linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0)); border-radius:4px; pointer-events:none;} 
.pc-price {font-size:40px; font-weight:900; color:#c4cc34; letter-spacing:1px; text-shadow:0 2px 14px rgba(0,0,0,.7);} 
.pc-curr {font-size:.6em; opacity:.85; margin-right:6px;} 
.pc-sub {font-size:14px; color:#c8c8c8;} 
.pc-btn {margin-top:6px; min-width:220px;} 
.price-card.pro {border-color:rgba(255,255,255,0.08);} 
@media (max-width:1000px){ .pricing-grid {grid-template-columns:1fr;} }
.lead-form-section{padding: 100px 0 120px;
    background: radial-gradient(900px 700px at 80% -10%, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.95) 60%);
    background-size: cover;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0 100%), url(/sellers/header.jpg);
    background-attachment: inherit;} 

.lead-container{max-width:1180px; margin:0 auto; padding:0 38px;} 
.lead-panel{display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: rgba(16, 16, 16, 0.2); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 26px; padding: 40px 40px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px -22px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; justify-items: center; align-items: center;} 
.lf-title{font-family: 'Cakra', 'Montserrat', sans-serif; text-align: left;    font-size: clamp(28px, 4.2vw, 40px);    font-weight: 800;    color: #f2e9da;    margin: 0 0 12px;    text-transform: uppercase;} 
.lf-sub{color:#e8e2d6; opacity:.9; margin:0 0 16px; font-size:16px; line-height:1.6; text-align: left;} 
.lf-bullets{list-style:none; padding:0; margin:16px 0 0; display:flex; flex-direction:column; gap:10px; color:#dedad0; opacity:.95;} 
.lf-form form{display:flex; flex-direction:column; gap:16px;} 
.lf-fields{display:grid; grid-template-columns:1fr 1fr; gap:16px;} 
.lf-field{display:flex; flex-direction:column; gap:6px;} 
.lf-label{font-size:12px; letter-spacing:1px; color:#dcd7ca; text-transform:uppercase;} 
.lf-field input{background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:14px; padding:14px 14px; color:#fff; outline:none; transition: border-color .2s, background .2s;} 
.lf-field input::placeholder{color:rgba(255,255,255,0.55);} 
.lf-field input:focus{ border-color:#b5a200; background:rgba(255,255,255,0.07); } 
.lf-check{    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #dcd7ca;
    line-height: 1.4;
    justify-content: flex-start;
    text-align: start;} 
.lf-check input{margin-top:3px; accent-color:#b5a200;} 
.lf-check a{color:#d7b86a; text-decoration:underline; text-decoration-color:rgba(215,184,106,.3);} 
.lf-btn{align-self:flex-start; min-width:220px; margin-top:6px;} 
.lf-status{display:none; min-height:20px; font-size:13px; color:#e0c5a6; background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.06); padding:10px 12px; border-radius:10px; box-shadow:0 1px 0 0 rgba(255,255,255,0.05) inset;} 
.lf-status.is-visible{display:block;} 
input.is-disabled, button.is-disabled, select.is-disabled, textarea.is-disabled,
input:disabled, button:disabled, select:disabled, textarea:disabled{opacity:.6; cursor:not-allowed; filter:grayscale(0.1);} 
@media (max-width:980px){ .lead-panel{grid-template-columns:1fr; gap:26px; padding:32px 0;} .lf-fields{grid-template-columns:1fr;} }

/* Modals */
.modal{position:fixed; inset:0; display:none; align-items:flex-start; justify-content:center; z-index:1000; padding:6vh 16px;}
.modal[aria-hidden="false"]{display:flex;}
.modal-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(2px);} 
.modal-dialog{position:relative; width:min(720px, 92vw); max-height:86vh; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; background:#0f0f0f; color:#fff; border:1px solid rgba(255,255,255,0.08); border-radius:20px; padding:26px 26px 22px; box-shadow:0 20px 60px -20px rgba(0,0,0,.9); text-align: start;} 
.modal-title{margin:0 0 12px; font-weight:800; font-size:20px; letter-spacing:.4px;}
.modal-content{font-size:15px; line-height:1.6; color:#eaeaea;}
.modal-close{position:absolute; right:10px; top:10px; background:transparent; border:none; color:#fff; font-size:22px; line-height:1; cursor:pointer; opacity:.8;}
.modal-close:hover{opacity:1;}
/* Блокировка прокрутки страницы, когда открыта модалка */
body.modal-open{overflow:hidden; position:fixed; width:100%;}

/* ---------- Кастомный скроллбар для модалок ---------- */
/* Цвета: трек — очень тёмный зелёный близкий к чёрному; ползунок и стрелки — #c4cc34 */
.modal-dialog{
    /* Firefox */
    scrollbar-width: thin; /* auto | thin | none */
    scrollbar-color: #c4cc34 #06130c; /* thumb, track */
}

/* WebKit-based browsers (Chrome, Edge, Safari) */
.modal-dialog::-webkit-scrollbar{
    width:12px;
    height:12px;
}
.modal-dialog::-webkit-scrollbar-track{
    background: #06130c; /* очень тёмный зелёный близкий к черному */
    border-radius: 10px;
    margin: 6px 0;
}
.modal-dialog::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg, #aeb22e, #c4cc34);
    border-radius: 10px;
    border: 2px solid rgba(6,19,12,0.4); /* добавим тонкую границу, чтобы отделить от трека */
}
.modal-dialog::-webkit-scrollbar-thumb:hover{
    background: #c4cc34;
    box-shadow: 0 0 0 3px rgba(196,204,52,0.06);
}
/* Псевдокнопки-стрелки (поддерживается не во всех браузерах) */
.modal-dialog::-webkit-scrollbar-button{
    display:block;
    height:12px;
    background: transparent;
}
.modal-dialog::-webkit-scrollbar-button:single-button{
    background: transparent;
}
.modal-dialog::-webkit-scrollbar-button:vertical:decrement{
    /* верхняя кнопка (стрелка вверх) — стилизуем фоном и маленькой градиентной подсветкой */
    background: linear-gradient(180deg, rgba(196,204,52,0.12), transparent);
}
.modal-dialog::-webkit-scrollbar-button:vertical:increment{
    /* нижняя кнопка (стрелка вниз) */
    background: linear-gradient(180deg, transparent, rgba(196,204,52,0.12));
}

/* Дополнительная мелкая стилизация: небольшая линия у края, чтобы визуально выделить область скролла */
.modal-dialog::after{
    content:'';
    pointer-events:none;
    position:absolute;
    top:0; right:0; bottom:0;
    width:1px;
    background: linear-gradient(180deg, rgba(196,204,52,0.06), rgba(196,204,52,0.02));
    border-top-right-radius:20px; border-bottom-right-radius:20px;
}

/* Небольшая адаптация для review-modal (если диалог внутри review-modal имеет собственный scrollbar) */
.review-modal .modal-dialog{
    scrollbar-width: thin;
    scrollbar-color: #c4cc34 #06130c;
}

/* Конец кастомного скроллбара */

/* ================= FAQ ================= */
.faq-section{padding:110px 0 110px; background:radial-gradient(1200px 900px at 30% -10%, rgba(255,255,255,0.03), rgba(0,0,0,0.95) 65%);} 
.faq-container{max-width:1200px; margin:0 auto; padding:0 38px;} 
.faq-title{font-family:'Cakra','Montserrat',sans-serif; font-size: clamp(26px,4vw,48px); font-weight:800; color:#fff; text-align:center; margin:0 0 34px;} 
.faq-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px 22px; align-items:start;} 
.faq-item{background: rgba(12,12,12,0.85); border:1px solid rgba(255,255,255,0.06); border-radius:999px; overflow:hidden; position:relative; box-shadow: 8px 8px 26px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,0.04) inset; backdrop-filter: blur(10px); transition: transform .25s ease, box-shadow .25s ease; transform-origin:center; will-change: transform; border-radius: 24px;}
.faq-item:hover, .faq-item:focus-within{ transform: scale(1.02); box-shadow: 12px 12px 34px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,0.05) inset; }
.faq-toggle {width: 100%; text-align: left; padding: 16px 24px; font-size: 16px; cursor: pointer; position: relative; line-height: 1.35; transition: color .2s ease; background: linear-gradient(153deg, #4a4528 0%, #c4cc34 40%, #4a4528 100%); color: #fff; box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .6), 0 6px 18px -8px rgba(0, 0, 0, .6) inset; border: 1px solid rgba(0, 0, 0, 0.12); text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.85); }
.faq-item:hover .faq-toggle{color:#000;} 
.faq-answer{padding:0 24px 0; color:#d7d2c6; font-size:14px; line-height:1.55; text-align:left; max-height:0; overflow:hidden; transition:max-height .35s ease, padding .25s ease;}
.faq-item.open{border-radius:24px;} 
.faq-item.open .faq-answer{margin: 10px 0px;} 
.faq-item.open .faq-answer{max-height:800px; padding:10px 24px 12px;}
.faq-item.open .faq-toggle{border-bottom:1px solid rgba(255,255,255,0.08);} 
.faq-item:after{content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 28%);} 

/* Review modal (simple rectangular black dialog) */
.review-modal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:1200; pointer-events:none; }
.review-modal[aria-hidden="true"]{ visibility:hidden; opacity:0; }
.review-modal[aria-hidden="false"]{ visibility:visible; opacity:1; pointer-events:auto; }
.review-modal .modal-backdrop{ position:fixed; inset:0; background: rgba(0,0,0,0.6); }
.review-modal .modal-dialog{ position:relative; background:#000; color:#fff; width: min(92%, 880px); max-width:92%; border-radius:12px; padding:28px 34px; box-shadow:0 30px 80px rgba(78, 81, 22, 0.68); z-index:1201; }
.review-modal .modal-close{ position:absolute; top:12px; right:12px; background:transparent; border:0; color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.review-modal .rvw-modal-name{ margin:0 0 8px; font-size:20px; font-weight:700; }
.review-modal .rvw-modal-role{ margin:0 0 12px; color:rgba(255,255,255,0.75); font-size:14px; }
.review-modal .rvw-modal-text{ color:#d7d2c6; font-size:15px; line-height:1.6; }

/* Зелёный блик внутри модального окна */
.review-modal .rvw-modal-blick{ position:absolute; right:-56px; top:-56px; width:240px; height:240px; border-radius:50%; pointer-events:none; z-index:1200; background: radial-gradient(circle at 30% 30%, rgba(196, 204, 52, 0.28) 0%, rgba(76, 217, 163, 0.12) 25%, rgba(0, 0, 0, 0) 60%); filter: blur(18px); }

/* make modal content scrollable on small screens */
.review-modal .modal-dialog{ max-height: calc(100vh - 80px); overflow: auto; overflow-x: hidden; }

/* Сетка на мобильных */
@media (max-width:900px){ .faq-grid{grid-template-columns:1fr;} }

/* ================= FOOTER ================= */
.site-footer{position:relative; padding:46px 0 60px; background: rgba(10,10,10,0.96);} 
.site-footer:before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.12) 40%, rgba(255,255,255,0.12) 60%, rgba(255,255,255,0));}
.sf-container{max-width:1200px; margin:0 auto; padding:0 38px;}
.sf-top{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:22px; align-items:center; margin-bottom:26px;}
.sf-col{background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.06); border-radius:18px; padding:18px 22px; text-align:center; box-shadow:0 16px 40px -24px rgba(0,0,0,.7);}
.sf-title{font-weight:800; letter-spacing:.2px; color:#fff; font-size:18px;}
.sf-sub{opacity:.85; color:#e0e0e0; font-size:14px; margin-top:4px;}
.sf-label{color:#d0c7b8; font-size:12px; letter-spacing:1px; text-transform:uppercase; margin-bottom:6px;}
.sf-link{color:#e8e1d3; text-decoration:underline; text-decoration-color:rgba(232,225,211,.3);} 
.sf-link:hover{color:#d7b86a;}
.sf-legal{display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:center; margin:22px 0 18px;}
.sf-legal-link{color:#e8e1d3; opacity:.95; text-decoration:underline; text-decoration-color:rgba(232,225,211,.3);} 
.sf-legal-link:hover{color:#d7b86a;}
.sf-copy{color:#bfbfbf; opacity:.7; font-size:12px; line-height:1.6; text-align:center; max-width:980px; margin:0 auto;}
@media (max-width:980px){ .sf-top{grid-template-columns:1fr; gap:14px;} .sf-col{text-align:center;} }
.modal-content p {
    padding-bottom: 15px;
}

/* ================= REVIEWS SLIDER ================= */
.reviews-section{padding:110px 0 120px; background:radial-gradient(1100px 800px at 70% -10%, rgba(255,255,255,0.03), rgba(0,0,0,0.95) 65%);} 
.reviews-container{max-width:1300px; margin:0 auto; padding:0 42px;}
.reviews-title{font-size: clamp(28px,4.6vw,64px); font-family:'Cakra','Montserrat',sans-serif; font-weight:800; text-align:center; color:#fff; letter-spacing:.8px; margin:0 0 40px;}
.reviews-slider{position:relative; overflow:hidden;}
.reviews-slider > .reviews-track{display:flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch; gap:40px; transition: transform .45s cubic-bezier(.16,.68,.43,.99); will-change: transform;}
.reviews-slider > .reviews-track > * { flex-shrink: 0; }
.review-card{flex:0 0 100%; max-width:100%; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:28px; padding:22px 22px 26px; text-align:left; cursor:pointer; user-select:none; box-shadow:0 18px 40px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,0.04) inset; background-size: inherit; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0 100%), url(/sellers/paper-texture.jpg); background-attachment: scroll;}
.review-card:hover{background:rgba(255,255,255,0.055); border-color:rgba(255,255,255,0.12);} 
.rvw-inner{display:flex; flex-direction:column; gap:14px; height:100%;}
.rvw-head{display: flex; gap: 12px; align-items: flex-start; flex-direction: column;}
.rvw-avatar{width:56px; height:56px; border-radius:50%; object-fit:cover; border:1px solid rgba(255,255,255,0.08);} 
.rvw-meta{display:flex; flex-direction:column;}
.rvw-name{font-weight:800; color:#fff; margin-bottom: 13px; color: #c4cc34;}
.rvw-role{font-size:12px; letter-spacing:.5px; color:#cfcfcf; opacity:.9;}
.rvw-excerpt{color:#ddd8cd; opacity:.95; font-size:14px; line-height:1.55;}

/* 3 карточки на ПК */
@media (min-width:1100px){
    .reviews-slider > .reviews-track{ gap:50px; }
    .reviews-slider > .reviews-track .review-card{ flex: 0 0 calc((100% - 2 * 50px) / 2); max-width: calc((100% - 2 * 50px) / 2); }
}

/* Модалка отзыва */
.review-modal .modal-dialog{width:min(720px,92vw);} 
.review-modal .rvw-modal-head{display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; flex-direction: column;}
.review-modal .rvw-modal-avatar{width:64px; height:64px; border-radius:50%; object-fit:cover; border:1px solid rgba(255,255,255,0.08);} 
.review-modal .rvw-modal-name{font-weight:800; color:#fff;}
.review-modal .rvw-modal-role{font-size:12px; letter-spacing:.5px; color:#cfcfcf; opacity:.9;}
.review-modal .rvw-modal-text{color:#eaeaea; font-size:15px; line-height:1.6;}


.intr {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.6px;
    margin-bottom: 40px;
}

.zag {
    font-family: 'Cakra', 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.02;
    margin-bottom: 40px;
}

.subs {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 300;
    max-width: 820px;
    margin: 0 auto 18px auto;
    line-height: 1.48;
    margin-bottom: 40px;
}

@media (max-width:560px){
    .chaos-sub2 {
        color: rgba(255, 255, 255, 0.85);
        font-size: 19px;
        line-height: 1;
        margin-bottom: 40px;
    }
    .section-title2 {
        font-size: 33px;
        font-weight: 900;
        text-transform: uppercase;
        font-family: 'Cakra';
        margin-bottom: 20px;
    }
    .chaos-sub3 {
        color: rgba(255, 255, 255, 0.85);
        font-size: 24px;
        line-height: 1;
        margin-bottom: 40px;
    }
    .elena {
        background-size: auto;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0 100%), url(/learns/elena4-m.png);
        background-attachment: scroll;
        background-position-x: 99px;
        background-repeat: no-repeat;
        background-position-y: bottom;
        text-shadow: 209 0 black;
        text-shadow: 0px 0px 10px #000000;
    }
    .anastasia {
        background-size: contain;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0 100%), url(/sellers/anastasia.png);
        background-attachment: scroll;
        background-position-x: -70px;
        background-repeat: no-repeat;
        background-position-y: bottom;
    }
    .panel-heading {
        text-align: end;
    }
    .anastasia .panel-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 22px;
        font-size: 15px;
        color: #d2d2d2;
        text-align: end;
        align-content: flex-end;
        align-items: flex-end;
    }
    .elena_grid .panel-heading {
        text-align: start;
    }
    .participants {
        padding: 40px 0;
    }
    .author-image {
        display: none;
    }
    .author {
        padding: 30px 0;
    }
    .author-subtitle {
        font-size: 1.2rem;
    }
    .course-program {
        padding: 50px 0 40px;
    }
    .program-title {
        margin: 0 0 52px;
    }
    .program-cta {
        margin-top: 40px;
    }
    .pricing {
        padding: 60px 0 120px;
    }
    .pc-features li {
        position: relative;
        padding-left: 0;
    }
    .how-title {
        font-size: clamp(36px, 3.4vw, 57px);
    }
    .how-course {
        padding: 90px 0 70px;
    }
    .lead-form-section {
        padding: 70px 0 70px;
    }
    .faq-section {
        padding: 70px 0 70px;
    }
    .hero {
        position: relative;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 40px 0 0 0;
        overflow: hidden;
        background-size: 100vh;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0 100%), url(/learns/servis_slider_1.jpg);
        height: auto;
        background-attachment: scroll;
        background-position-x: -791px;
        background-position-y: bottom;
        background-repeat: no-repeat;
    }
    .final-panel.has-photo .panel-info.anastasia_grid {
        align-items: flex-end;
    }
    .final-panel.has-photo .panel-info.elena_grid {
        width: 66%;
    }
}
.marki {
    position: relative;
    display: inline-block;
    border-radius: 1.8rem;
    padding: .3rem 1.2rem;
    background-color: var(--primary-accent);
    color: #000;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    transition: color .28s ease, transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    border: 1px solid transparent;
    will-change: transform, box-shadow;
    vertical-align: middle; /* keep inline-block centered with surrounding text */
    transform-origin: center center;
    z-index: 1; /* ensure content (text) stays above the gradient pseudo-element */
    margin-bottom: 0px;
}

.marki::before {
    /* gradient overlay that fades in on hover */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(153deg, #c5cc34 0%, #c5cc34 40%, #494428 100%);
    opacity: 0;
    transition: opacity .28s ease;
    z-index: -1; /* place gradient under the text */
    pointer-events: none;
}

.marki:hover,
.marki:focus-visible {
    color: #fff !important;
    transform: scale(1.02);
    box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .6), 0 6px 18px -8px rgba(0, 0, 0, .6) inset;
    border-color: rgba(0, 0, 0, 0.12);
    background-color: transparent; /* let gradient show through */
}

.marki:hover::before,
.marki:focus-visible::before {
    opacity: 1;
}

.marki:active {
    transform: translateY(0) scale(0.996);
}

/* Accessibility: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .marki,
    .marki::before {
        transition: none !important;
    }
}
.mb-20 {
    padding-bottom: 20px;
}
.mb-90 {
    margin-bottom: 90px;
}
.mb-120 {
    margin-bottom: 120px;
}

/* ================= NEED COURSE (инфографика) ================= */
.need-course { 
    position: relative; padding: 100px 0 90px; background: radial-gradient(1000px 800px at 20% -10%, rgba(78, 81, 22, 02), rgba(0, 0, 0, 0.96) 60%); overflow: hidden;
}
.nc-container { max-width: 1200px; margin: 0 auto; padding: 0 38px; }
.nc-title { 
    font-family: 'Cakra','Montserrat',sans-serif; 
    font-size: clamp(30px, 4.8vw, 64px); 
    font-weight: 800; 
    color: #c4cc34; 
    text-align: center; 
    margin: 0 0 26px; 
    text-transform: uppercase; 
    letter-spacing: .5px;
}

/* Верхние капсулы (чипсы) */
.nc-caps { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
    margin: 0 0 16px; 
}
.nc-cap { 
    text-align: center; 
    padding: 10px 14px; 
    border-radius: 999px; 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.06); 
    color: #dedad0; 
    font-size: 13px; 
    letter-spacing: .3px; 
    box-shadow: 0 12px 30px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,0.03) inset;
    cursor: pointer;
    user-select: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
/* Активное состояние выбранной капсы (мобайл-фильтр) */
.nc-cap.is-active{
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 14px 34px -18px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,0.05) inset;
    background: linear-gradient(153deg, #c4cc34 0%, #c4cc34 40%, #4a4528 100%);
    color: #fff;
}

/* Серые линии и стрелки */
.nc-lines { 
    display: block; 
    width: 100%; 
    height: 170px; 
    margin: 12px 0; 
    pointer-events: none; 
}
.nc-lines-top { margin-top: 6px; }
.nc-lines-bottom { margin-top: 6px; }
.nc-line, .nc-stem { 
    fill: none; 
    stroke: rgba(200,200,200,0.38); 
    stroke-width: 1.6; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
}
.nc-stem { stroke: rgba(200,200,200,0.48); }

/* Сетка карточек */
.nc-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 22px; 
    align-items: stretch; 
}
.nc-card { 
    position: relative; 
    border-radius: 26px; 
    padding: 26px 26px 30px; 
    background: rgba(16,16,16,0.85); 
    border: 1px solid rgba(255,255,255,0.06); 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset; 
    backdrop-filter: blur(10px); 
}
.nc-card:hover { 
    background: rgba(20,20,20,0.9); 
    border-color: rgba(255,255,255,0.08); 
}
.nc-head { 
    font-size: 14px; 
    font-weight: 800; 
    letter-spacing: 2px; 
    color: #c4cc34; 
    text-transform: uppercase; 
    margin: 0 0 12px; 
}
.nc-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    color: #d0d0d0; 
    font-size: 14px; 
    line-height: 1.55; 
    text-align: left; 
}
.nc-list li { position: relative; padding-left: 16px; }
.nc-list li:before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    top: 10px; 
    width: 6px; 
    height: 6px; 
    background: rgba(196,204,52, 0.7); 
    border-radius: 50%; 
    box-shadow: 0 0 0 3px rgba(196,204,52, 0.18); 
}

.nc-cta { text-align: center; margin: 22px 0 30px; }
.nc-btn { min-width: 260px; }

/* Адаптив */
@media (max-width: 1100px) {
    .nc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nc-caps { grid-template-columns: 1fr; }
    .nc-lines { display: none; }
}
@media (max-width: 680px) {
    .nc-container { padding: 0 26px; }
    .need-course { padding: 70px 0 60px; }
    .nc-title { font-size: clamp(26px, 8vw, 40px); margin-bottom: 16px; }
    .nc-grid { grid-template-columns: 1fr; gap: 16px; }
    .nc-card { border-radius: 22px; padding: 22px 22px 26px; }
    /* Скрывать карточки по выбору */
    .nc-card.is-hidden{ display: none !important; }
    .marki {
        margin-bottom: 10px;
    }
}

.author .pc-fea li:hover {
    color: #c4cc34;
    font-weight: 400;
    cursor: pointer;
}
.final-contact .panel-list li:hover {
    color: #c4cc34;
    font-weight: 400;
    cursor: pointer;
}
.nc-grid .nc-list li:hover {
    color: #c4cc34;
    font-weight: 400;
    cursor: pointer;
}

.botts {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;

}

.linki {
    text-align: center;
    margin: 0 0 12px;
    background: linear-gradient(153deg, #4a4528 0%, #c4cc34 40%, #4a4528 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 29px;
}
.hero-bgs {
    top: -130px;
    position: absolute;
    left: 0;
    width: 720px;
    height: auto;
}

.img-fluid {
    width: 100%;
    height: auto;
}

.cookie-widget {
  font-family: "Etude-Reg", sans-serif;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999999999;
  max-width: 600px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.cookie-widget p {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.cookie-widget a {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.cookie-widget a:hover {
    font-size: 13px;
    color: #c4cc34;
}

.cookie-widget button {
    background-color: #c4cc34;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color:#000;
}

@media (max-width: 768px) {
    .cookie-widget {
        left: 0;
        right: 0;
        transform: none;
        border-radius: 0;
        bottom: 0;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        z-index: 9999999999;
    }

    .cookie-widget button {
        width: 90%;
    }
}

.pc-version2 {
    display: block;
}

.hidden {
  display: none;
}

/* ===== AI Flow (зелёные линии + карточки) ===== */
.ai-flow{padding: 40px 0; overflow: hidden; background-size: cover; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0 100%), url(/learns/f6f1da66-d988-4262-86bf-8d44782b18e4.jpg); background-attachment: fixed; height: auto;}
.ai-flow-title{margin:0 0 18px 0;text-align:center}
.ai-flow-canvas{position:relative;height:160px; margin: 8px 0 34px;}
.ai-flow-svg{width:100%;height:100%;display:block}
.ai-flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:-30px}
.ai-card{border:1px solid #c4cc34;border-radius:16px;padding:18px 16px;background:rgba(6,19,12,0.6);backdrop-filter:saturate(120%) blur(2px);color:#e0c5a6}
.ai-card-title{font-weight:600;margin-bottom:8px;color:#c4cc34}
.ai-card-text{line-height:1.45}

@media (max-width:1024px){
    .ai-flow-canvas{height:140px}
    .ai-flow-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
    .ai-flow{padding:40px 0 16px}
    .ai-flow-canvas{height:120px}
    .ai-flow-grid{grid-template-columns:1fr;margin-top:-20px}
    .ai-card{border-radius:14px;padding:16px}
    .pc-version2 {
        display: none;
    }
    .hero-image {
        top: 0px;
    }
}

.uppercase {
    text-transform: uppercase;
}
.pr-elem {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
}

.pr-elememt {
    font-size: 14px;
    line-height: 1.45;
    color: #d0d0d0;
    text-align: left;
}
.pc-meta-k {
    color: #c4cc34;
}
.pt-16 {
    padding-top: 16px;
}
.pc-meta-k2 {
    font-size: 12px;
    padding-top: 60px;
}