/* ======================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ====================================================== */
:root {
    --color-yellow: #FFD53B;
    --color-black: #1E1E20;
    --color-dark: #2A2A2E;
    --color-white: #FFFFFF;
    --color-bg: #F3F3F6;
    --color-violet: #6B5EEC;
    --color-gray: #88888F;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --transition: all 0.3s ease;
    --font-main: "Inter", Arial, sans-serif;
}
.bg{background: linear-gradient(135deg, #004e8a 0%, #000 100%); color:FFF;}
/* Основной стиль иконки */
.whatsapp-menu-icon {
    color: #25D366 !important; /* Зеленый цвет WhatsApp */
    font-size: 1.5rem !important; /* Размер покрупнее */
    vertical-align: middle;
    transition: color 0.3s ease; /* Плавное изменение цвета при наведении */
    
    /* Подключаем анимацию пульсации */
    animation: whatsapp-pulse 2s infinite ease-in-out;
}

/* Эффект при наведении курсора */
.whatsapp-menu-icon:hover {
    color: #20ba5a !important; /* Чуть темнее при наведении */
}
/* Плавное изменение цвета ссылок в футере */
.footer-link {
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #fff !important; /* Белый цвет при наведении */
}

/* Оформление иконок соцсетей */
.social-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: #0d6efd; /* Синий цвет Bootstrap, можно заменить на ваш фирменный */
    color: #fff !important;
    transform: translateY(-3px); /* Легкое поднятие иконки */
}

/* Ссылка на разработчика Altbiz.kz */
.developer-link {
    color: #aeb5bc;
    font-weight: 600;
    transition: color 0.3s ease;
}
.developer-link:hover {
    color: #fff;
    text-decoration: underline !important;
}
footer .text-muted{color: #fff!important;}
/* Определение анимации "Пульсация" */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1); /* Обычный размер */
        opacity: 1;
    }
    50% {
        transform: scale(1.2); /* Увеличена на 20% */
        opacity: 0.8; /* Немного прозрачнее */
    }
    100% {
        transform: scale(1); /* Возврат к обычному размеру */
        opacity: 1;
    }
}
.fields-container{display:none;}
  .card {/*padding: 25px 15px;*/ border: none; border-radius: 12px; transition: all 0.3s ease;  }
        .card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;    }
.feature-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
   
        .list-group-item { border: none; padding-left: 0; background: transparent; }
        .step-number {
            font-weight: bold;
            color: var(--google-blue);
            margin-right: 10px;
        }
        .bg-soft-blue { background: #e8f0fe; color: var(--google-blue); }
        .bg-soft-red { background: #fce8e6; color: var(--google-red); }
        .bg-soft-yellow { background: #fef7e0; color: var(--google-yellow); }
        .bg-soft-green { background: #e6f4ea; color: var(--google-green); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* Базовые стили обертки */
    .sba-wrapper {
        background-color: #f8f9fa;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        color: #000;
    }
    
    /* Главный баннер */
    .sba-hero-bg {
        background: #111 url('/images/kurs.jpg') no-repeat right center / cover;
        border-radius: 20px;
    }
    
    .sba-hero-gradient {
        background: linear-gradient(270deg, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 75%);
        border-radius: 20px;
        min-height: 500px;
    }
    
    /* Общие стили карточек */
    .sba-card {
        background-color: #ffffff;
        border-radius: 20px;
        border: none;
        box-shadow: 0 4px 24px rgba(0,0,0,0.03);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .sba-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    }
    
    /* Кастомизация Аккордеона (Программы курса) */
    .sba-accordion .accordion-item {
        background-color: #ffffff;
        border: none;
        border-radius: 20px !important;
        margin-bottom: 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.03);
        overflow: hidden;
    }
    
    .sba-accordion .accordion-button {
        background-color: #ffffff !important;
        color: #000000 !important;
        padding: 24px 30px;
        font-size: 18px;
        font-weight: 700;
        border: none;
        box-shadow: none !important;
        border-radius: 20px !important;
    }
    
    /* Коррекция скруглений при раскрытии списков */
    .sba-accordion .accordion-button:not(.collapsed) {
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }
    
    .sba-accordion .accordion-body {
        padding: 8px 30px 30px 30px;
        background-color: #ffffff;
    }

    /* Кнопки и элементы */
    .sba-btn-primary {
        background-color: #f38220;
        color: #fff;
        border-radius: 10px;
        padding: 16px 32px;
        font-weight: 700;
        border: none;
        transition: background-color 0.2s;
    }
    
    .sba-btn-primary:hover {
        background-color: #e07218;
        color: #fff;
    }
    
    .sba-info-pill {
        background-color: #ffffff;
        border-radius: 20px;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .sba-section-title {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.03em;
        margin-bottom: 0;
    }

    .sba-list-item::before {
        content: '•';
        color: #f38220;
        font-weight: bold;
        display: inline-block;
        width: 1em;
        margin-left: -1em;
    }
body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-black);
    line-height: 1.4;
}

body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ======================================================
   2. СЕТКА И КНОПКИ
   ====================================================== */


.section { padding: 80px 0; }

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.section-title span { color: var(--color-violet); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--color-yellow);
    color: var(--color-black);
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn:hover { background-color: #ffe06e; }
.btn--dark { background-color: var(--color-black); color: var(--color-white); }
.btn--dark:hover { background-color: var(--color-violet); }
.btn--outline { background: transparent; border: 1px solid var(--color-black); }
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }

/* ======================================================
   3. ШАПКА И ДЕСКТОПНОЕ МЕНЮ
   ====================================================== */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--color-bg);
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav { display: flex; gap: 20px; }
.nav ul.nav-list { display: flex; gap: 20px; list-style: none; }
.nav ul li { position: relative; }
.nav ul li a { font-weight: 700; transition: var(--transition); }
.nav ul li a:hover { color: var(--color-violet); }

.nav ul li ul.nav-child {
    position: absolute;
    top: 100%; /* Убираем +15px, прижимаем вплотную к родителю */
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    display: none;
    min-width: 336px;
    z-index: 100;
    
    /* Ограничение высоты и скролл */
    max-height: 70vh;           
    overflow-y: auto;           
    box-sizing: border-box;     

    /* Изменяем padding: делаем сверху 15px прозрачной зоны, а снизу 5px */
    padding: 15px 0 5px 0; 
    
    /* Красивое оформление */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}
/* Невидимый мостик, чтобы меню не пропадало, пока мышка идет вниз */
.nav ul li ul.nav-child::after {
    content: '';
    position: absolute;
    top: -20px; /* Перекрывает весь зазор */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent; /* Полностью прозрачный */
}
/* Треугольник сверху (опционально) */
.nav ul li ul.nav-child::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-left: 1px solid rgba(0,0,0,0.03);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.nav ul li:hover > ul.nav-child {
    display: block;
    animation: fadeInMenu 0.3s ease;
}

/* Пункты внутри выпадающего меню */
.nav ul li ul.nav-child li {
    width: 100%;
}

.nav ul li ul.nav-child li a {
    display: block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-black);
    transition: var(--transition);
}

/* Эффект при наведении на пункт списка */
.nav ul li ul.nav-child li a:hover {
    background-color: #F8F8FB;
    color: var(--color-violet) !important;
    padding-left: 28px; /* Небольшое смещение текста вправо */
}

/* Анимация появления */
@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
.nav ul li:hover > ul.nav-child { display: block; }

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

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}
.burger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition);
}

/* ======================================================
   4. HERO СЕКЦИЯ
   ====================================================== */
.hero { text-align: center; padding: 100px 0;  background: url("/images/rounds.webp") center no-repeat;
    text-align: center;  
  background-size: 1255px auto;}
.hero__title { font-size: 64px; font-weight: 800; margin-bottom: 20px;  background: linear-gradient(135deg, #5d7c39 0%, #a2c11c 100%); -webkit-background-clip: text;
    background-clip: text;    -webkit-text-fill-color: transparent;    color: transparent;   display: inline-block;}
.hero__subtitle { font-size: 24px; margin-bottom: 60px; }
.hero__stats { display: flex; justify-content: center; gap: 20px; }

.stat-card {
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: left;
}
.stat-card__num { font-size: 24px; font-weight: 700; display: block; }

/* ======================================================
   5. СЕКЦИЯ ПРЕДЛОЖЕНИЯ (PROPOSALS) — КАК НА МАКЕТЕ
   ====================================================== */
.proposals__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr; 
    grid-template-rows: 260px 260px; 
    gap: 20px;
}

.proposals__grid .card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #FFFFFF;
    background-color: #1E1E20; /* Фон-заглушка */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proposals__grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Затемнение фона для читаемости текста */
.proposals__grid .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    border-radius: 24px;
}

.proposals__grid .card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Расположение и фоны карточек */
.proposals__grid .card--small:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: #38bdf8; /* Заглушка, тут будет ваше фото */
     background-image: url('/images/kaz1.jpg'); <-- ВСТАВЬТЕ ПУТЬ К ФОТО */
}

.proposals__grid .card--small:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: #34d399; /* Заглушка, тут будет ваше фото */
    background-image: url('/images/kaz2.jpg'); <-- ВСТАВЬТЕ ПУТЬ К ФОТО */
}

.proposals__grid .card--wide {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
   background-color: #0F1626; /* Темный фон для курсов */
      background-image: url('/images/a.jpg'); <-- ВСТАВЬТЕ ПУТЬ К ФОТО */
}

.proposals__grid .card--large {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    background-color: #475569; 
  background-image: url('/images/call.jpg'); <-- ВСТАВЬТЕ ПУТЬ К ФОТО */
}

/* Внутреннее выравнивание карточек предложений */
.proposals__grid .card--small .card__content {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
}
.proposals__grid .card--small p {
    font-size: 20px; font-weight: 600; margin: 0; max-width: 80%; line-height: 1.2;
}

.proposals__grid .card--wide .card__content,
.proposals__grid .card--large .card__content {
    justify-content: space-between;
}
.proposals__grid .card--wide h3 { font-size: 28px; font-weight: 700; margin: 0; }

.proposals__grid .card--large h3 { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 300px 0 0 0; }
/* Элементы внутри карточек предложений */
.proposals__grid .arrow-btn {
    width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; transition: background 0.3s ease;
}
.proposals__grid .card:hover .arrow-btn { background: rgba(255, 255, 255, 0.2); }

.proposals__grid .badge {
    background: #FFFFFF; color: #1E1E20; padding: 8px 16px; border-radius: 50px;
    font-size: 14px; font-weight: 600; display: inline-block; width: fit-content;
}

/* Желтые кнопки для сетки */
.proposals__grid .btn {
    background-color: #FFD53B !important; color: #1E1E20 !important;
    border: none; padding: 14px 30px; border-radius: 50px; font-weight: 600;
    display: inline-flex; width: fit-content; margin-top: auto;
}

/* ======================================================
   6. КАТАЛОГ КУРСОВ И ЭКСПЕРТЫ
   ====================================================== */
.catalog-tabs {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.catalog-tab {
    padding: 10px 20px; border: 1px solid #ddd; border-radius: 50px; cursor: pointer; transition: all 0.3s ease;
}
.catalog-tab.active { background: var(--color-black); color: #fff; border-color: var(--color-black); }

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

.catalog-card {
    position: relative;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
}

.catalog-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.catalog-card:hover .card-bg {
    transform: scale(1.1);
}

/* Затемнение фона для читаемости текста */
.card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
    /* Убираем обычный бэкграунд, так как градиент теперь внутри псевдоэлемента */
    background: transparent; 
}

/* Создаем подложку с размытием */
.card-content::before {
    content: '';
    position: absolute;
    inset: 0; /* Растягиваем на весь блок */
    z-index: -1; /* Прячем под текст */
    
    /* Эффект матового стекла + твой темный градиент */
    backdrop-filter: blur(12px); 
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0, 0, 0, 0.7) 100%);
    
    /* Плавное исчезновение размытия сверху вниз */
    -webkit-mask-image: linear-gradient(to bottom, transparent 40%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 40%, black 100%);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
     
    line-height: 1.2;
    min-height:44px; /* Примерная фиксированная высота (18 * 1.2 * 2 = ~43.2px) */
    
    /* Защита от переполнения, если вдруг появится 3 строки */
    overflow: hidden; 
    text-overflow: ellipsis;
}

.card-labels {
    display: flex;
    gap: 8px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.badge-pink {
      background: #FFD53B!important;
    
}.badge {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-black);
    padding: 8px 16px;
    border-radius: 20px;
    align-self: flex-start;
    font-weight: 600;
}

.experts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.expert-card { position: relative; border-radius: var(--border-radius-md); overflow: hidden; height: 350px; }
.expert-card__img { width: 100%; height: 100%; object-fit: cover; }
.expert-card__info {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff;
}
/* ======================================================
   СЕКЦИЯ ОТЗЫВОВ (КАК НА МАКЕТЕ)
   ====================================================== */
.reviews.section {
    padding: 80px 0;
    background-color: var(--color-bg); /* Светло-серый фон секции */
}


/* Сама карточка */
.review-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px; /* Фиксированная высота карточки */
    background-color: #FFFFFF;
    background-size: cover;
    background-position: center right; /* Фотография прижата к правому краю */
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Белый градиент, который плавно переходит в фотографию */
.review-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Слева чисто белый, на 55% начинает растворяться */
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.7) 70%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* Контейнер с текстом поверх градиента */
.review-card__content {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 65%; /* Ограничиваем ширину текста, чтобы не залезал на лицо */
}
.reviews-swiper {
    margin-bottom: 30px;
    padding-bottom: 10px; /* Чтобы тень от карточек не обрезалась */
}
/* Шапка отзыва */
.review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Желтая плашка с именем */
.user-name-badge {
    background-color: #FFD53B;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #1E1E20;
}

/* Информация о курсе */
.user-course-info {
    font-size: 13px;
    color: #666;
}

.user-course-info a {
    color: #6B5EEC; /* Фиолетовый цвет ссылки */
    text-decoration: underline;
    font-weight: 500;
}

/* Кавычка */
.review-quote-mark {
    font-size: 60px;
    font-family: Georgia, serif;
    line-height: 0.5;
    color: #1E1E20;
    margin-bottom: 15px;
    margin-top: 10px;
}

/* Текст отзыва */
.review-text {
    font-size: 20px;
    font-weight: 700;
    color: #1E1E20;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Подвал отзыва (мелкий текст внизу) */
.review-footer {
    margin-top: auto; /* Прижимает к низу */
    font-size: 13px;
    color: #666;
}

/* Кнопки перелистывания (Стрелки под отзывами) */
.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #f0f0f0;
}
/* ======================================================
   БЛОК: 91% СТУДЕНТОВ ДОВОЛЬНЫ (АВАТАРЫ)
   ====================================================== */
.satisfaction {
    background: url("/images/rounds.webp") center no-repeat;
    text-align: center;  
  background-size: 1255px auto;
}

.satisfaction__block {
    position: relative;
    /* Устанавливаем десктопный фон с аватарами */
    background: url("/images/avatarnew.png") center top no-repeat;
    background-size: 1078px auto;
    /* Отступы, чтобы текст был ровно по центру круга */
    padding: 148px 0 100px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.satisfaction__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Красивое оформление цифры 91% текстом */
.satisfaction__percent {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    /* Делаем градиентную заливку текста (как на оригинальной картинке) */
    background: linear-gradient(90deg, #A89BFF 0%, var(--color-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-violet); /* Запасной вариант для старых браузеров */
}

.satisfaction__text {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.3;
}
/* Основная сетка Bento */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; /* 3 колонки как в 888.jpg */
    grid-template-rows: 260px 120px 120px; /* Высота для Midjourney и нижних блоков */
    gap: 20px;
}

/* Стили карточек с изображениями-плейсхолдерами */
.bento-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
}

/* Затемнение (Overlay) для читаемости текста поверх фото */
.bento-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.bento-content {
    position: relative;
    z-index: 2;
}

/* Установка изображений-заглушек вместо цветов */
.item-chatgpt {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    background-image: url('/images/gg.jpg');
}

.item-midjourney {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    background-image: url('/images/8.png');
}

.item-claude {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    background-image: url('/images/cl.jpg');
}

.item-dalle {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    background-image: url('/images/ddd.jpg');
    justify-content: center;
}

.item-ajelix {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    background-image: url('/images/ge.jpg');
    justify-content: center;
}

/* Текстовое оформление */
.bento-content h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.bento-content h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 5px; }
.bento-content h5 { font-size: 1.1rem; font-weight: 600; margin: 0; }
.bento-content p { font-size: 0.9rem; opacity: 0.9; margin: 0; line-height: 1.2; }
/* Фоновая секция сайта */
.new-promo-layout {
     background: url("/images/rounds.webp") center no-repeat;
    text-align: center;  
  background-size: 1255px auto;
    padding: 60px 0 100px;
    display: flex;
    justify-content: center;
}

.promo-wrapper {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 1. Стиль картинки */
.promo-image-box {
    margin-bottom: -30px; /* Немного заходит под белый блок для объема, или уберите минус, если нужен зазор */
    z-index: 1;
}

.promo-image-box img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Белый блок (Пилюля) */
.white-content-pill {
    background: #ffffff;
    padding: 40px 60px 60px; /* Большой нижний отступ, чтобы текст не перекрывался кнопкой */
    border-radius: 0 0 50px 50px;    /* Форма пилюли */
    position: relative;     /* Важно для позиционирования кнопки */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    z-index: 2;
    width: 100%;
     
}

.pill-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

.pill-text {
    font-size: 1.2rem;
    color: #555;
    margin: 0;
}

/* 3. Кнопка между блоком и фоном */
.hanging-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); /* Сдвиг на 50% вниз от края блока */
    
    background-color: #FFD53B;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(255, 213, 59, 0.3);
    transition: all 0.3s ease;
}

.hanging-button:hover {
    background-color: #000;
    color: #fff;
    transform: translate(-50%, 45%); /* Легкий эффект нажатия */
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .white-content-pill {
        padding: 30px 20px 50px;
        border-radius: 40px;
    }
    .pill-title {
        font-size: 1.8rem;
    }
    .hanging-button {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
}
/* ======================================================
   АДАПТИВНОСТЬ ДЛЯ БЛОКА 91%
   ====================================================== */
@media (max-width: 991px) {
.satisfaction {
  background: url("/images/rounds.webp") center no-repeat;
    background-size: auto;
  text-align: center;
  background-size: 600px auto;
}
    .satisfaction__block {
        /* Меняем фон на мобильный */
        background: url("/images/avatars-mob.png") center no-repeat;
    text-align: center;  
  background-size: 1255px auto;
        background-size: 360px auto;
        padding: 180px 0 130px;
    }
    
    .satisfaction__percent {
        font-size: 80px;
    }
    
    .satisfaction__text {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .satisfaction__block {
        padding: 150px 0 100px;
        background-position: center 50px;
        background-size: 320px auto;
    }

    .satisfaction__percent {
        font-size: 64px;
    }

    .satisfaction__text {
        font-size: 16px;
    }
}
/* ======================================================
   АДАПТИВНОСТЬ ОТЗЫВОВ (Планшеты и мобильные)
   ====================================================== */
@media (max-width: 991px) {
  
    
    .review-card__content {
        width: 80%; /* Расширяем текст на мобилках */
    }
    
    .review-card__overlay {
        background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0.4) 100%);
    }
}

@media (max-width: 576px) {
    .review-card__content {
        width: 100%;
        padding: 25px;
    }
    .review-text {
        font-size: 16px;
    }
    /* Делаем градиент почти сплошным на узких экранах, чтобы текст читался поверх фото */
    .review-card__overlay {
        background: linear-gradient(90deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0.8) 100%);
    }
}
/* ======================================================
   7. ФОРМА И ФУТЕР
   ====================================================== */
.form-wrapper { background-color: var(--color-white); padding: 60px; border-radius: var(--border-radius-lg); text-align: center; }
.lead-form { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 30px; }
.form-control { height: 60px; border: 1px solid #ccc; border-radius: 15px; padding: 0 20px; width: 100%; }

.footer { background-color: var(--color-white); padding: 60px 0 20px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__bottom { border-top: 1px solid #eee; padding-top: 20px; margin-top: 40px; display: flex; justify-content: space-between; font-size: 14px; color: var(--color-gray); }
/* ======================================================
   9. АДАПТИВНОСТЬ (новый стиль )
   ====================================================== */
/* Растягиваем обертку категории на всю ширину родительской сетки */
.category-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    grid-column: 1 / -1; /* Занимает все колонки родительского .courses-grid */
    width: 100%;
}

/* На мобильных устройствах */
@media (max-width: 991px) {
    .category-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .category-wrapper {
        grid-template-columns: 1fr;
    }
}
/* ======================================================
   8. АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ)
   ====================================================== */
@media (max-width: 991px) {
	.nav ul li ul.nav-child {
        position: static !important;
        
        /* ДОБАВИТЬ ЭТО: сбрасываем центрирование от компьютерной версии */
        transform: none !important; 
        left: 0 !important;
        /* ============================================================== */
        
        background: rgba(255, 255, 255, 0.05) !important;
        display: none !important;
        width: 100% !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
        border-radius: 0 !important;
    }
    /* Мобильное меню */
    .nav {
        position: fixed !important; top: 0 !important; right: -100% !important;
        width: 100% !important; height: 100vh !important; background: #0F1626 !important;
        z-index: 1000 !important; display: flex !important; flex-direction: column !important;
        align-items: center !important; justify-content: center !important;
        transition: right 0.4s ease-in-out !important; visibility: hidden;
    }
.nav ul li {
        width: 100%;
        text-align: center;
    }

    /* Добавляем стили для индикатора раскрытия (стрелочки) */
    .nav ul li.parent.has-child > a::after {
        content: ' ▼';
        font-size: 14px;
        vertical-align: middle;
        transition: transform 0.3s ease;
        display: inline-block;
        margin-left: 10px;
        color: var(--color-yellow);
    }

    /* Поворачиваем стрелочку при открытии */
    .nav ul li.open > a::after {
        transform: rotate(180deg);
    }

    /* Стили для выпадающего списка в мобилке */
    .nav ul li ul.nav-child {
        position: static !important; /* Отменяем абсолютное позиционирование */
        background: rgba(255, 255, 255, 0.05) !important;
        display: none !important; /* Скрыто по умолчанию */
        width: 100% !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
        border-radius: 0 !important;
    }

    /* Показываем список только когда у родителя есть класс .open */
    .nav ul li.open > ul.nav-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .nav ul li ul.nav-child li {
        padding: 10px 0;
    }

    .nav ul li ul.nav-child li a {
        font-size: 20px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 500 !important;
    }
    .nav.active { right: 0 !important; visibility: visible; }
    
    .nav ul.nav-list { flex-direction: column !important; gap: 20px !important; display: flex !important; width: 100%; }
    .nav ul li a { color: #FFFFFF !important; font-size: 28px !important; font-weight: 700 !important; display: block; text-align: center; }
    
    .nav ul li ul.nav-child { position: static; background: rgba(255, 255, 255, 0.05); display: none; width: 100%; box-shadow: none; }
    .nav ul li.open > ul.nav-child { display: flex; flex-direction: column; align-items: center; }
    .nav ul li ul.nav-child li a { font-size: 20px !important; color: rgba(255, 255, 255, 0.7) !important; }

    /* Бургер */
    .burger { display: flex; }
    .burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: #fff; }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: #fff; }

    /* Сетка предложений (Proposals) для планшетов и мобилок */
    .proposals__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .proposals__grid .card--small:nth-child(1),
    .proposals__grid .card--small:nth-child(2),
    .proposals__grid .card--wide,
    .proposals__grid .card--large {
        grid-column: 1 / -1; grid-row: auto; min-height: 280px;
    }
    .proposals__grid .card--large h3 { font-size: 24px; margin: 30px 0; }

    /* Остальные сетки */
    .courses-grid, .experts__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hero__title { font-size: 25px; }
    .hero__stats { flex-direction: column; }
    .courses-grid, .experts__grid { grid-template-columns: 1fr; }
    .section-title { font-size: 32px; }
    .form-wrapper { padding: 30px 15px; }
    .footer__bottom { flex-direction: column; text-align: center; gap: 15px; }
}/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "chat mid"
            "chat claude"
            "dalle ajelix";
    }
}

/* Адаптивность для мобильных (в одну колонку) */
@media (max-width: 767px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .bento-item {
        min-height: 200px !important;
    }
}
@media (max-width: 500px) {
    /* 1. Разрешаем контенту выходить за пределы блоков аккордеона */
    .accordion, 
    .accordion-item {
        overflow: visible !important; 
    }

    /* 2. Добавляем отступ сверху между блоками, чтобы верхний блок не перекрывал плашку нижнего */
    .accordion-item {
        margin-top: 25px !important; 
    }

    /* Ваша текущая стилизация плашки (добавил селектор класса для точности) */
    .accordion-item button span.badge {
        position: absolute !important;
        top: -15px; 
        left: 50% !important;
        transform: translateX(-50%) !important; 
        z-index: 2 !important; /* Поднимаем слой еще выше */
    }
 .sba-hero-gradient {
        background: linear-gradient(00deg, rgba(0,0,0,0) 1%, rgb(67, 67, 67)100%);
        border-radius: 20px;
        min-height: 500px;
    }.text-white {font-size: 22px!important;}
  /*меню*/.nav ul.nav-list { flex-direction: column !important; gap: 20px !important; display: flex !important; width: 100%; position: fixed; /* или absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* меню занимает всю высоту экрана */
    
    /* ВОТ ЭТИ СТРОКИ ИСПРАВЛЯЮТ ПРОБЛЕМУ: */
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; /* для плавной прокрутки на iOS (iPhone) */}
  .header__container {
        display: grid;
        /* Создаем 3 колонки: боковые подстраиваются под контент, центральная занимает всё свободное место */
        grid-template-columns: 1fr auto 1fr; 
        align-items: center;
        width: 100%;
    }

    /* Принудительно отправляем ссылку с логотипом во вторую (центральную) колонку */
    .header__container a {
        grid-column: 2;
        justify-self: center; /* Центрируем сам логотип внутри его колонки */
        display: block;
    }
/* Кастомная кнопка WhatsApp */
.btn-custom-wa {
    background-color: #00a554 !important;
    color: #fff !important;
    border: 5px solid #fff !important;
    /* Добавим скругление, чтобы толстая рамка смотрелась аккуратнее */
    border-radius: 12px; 
}
.btn-custom-wa:hover, .btn-custom-wa:focus {
    background-color: #008f48 !important; /* Чуть темнее при нажатии */
    color: #fff !important;
}

/* Кастомная кнопка Звонка */
.btn-custom-call {
    background-color: #1783de !important;
    color: #fff !important;
    border: 5px solid #fff !important;
    border-radius: 12px;
}
.btn-custom-call:hover, .btn-custom-call:focus {
    background-color: #1472c2 !important;
    color: #fff !important;
}

     body {
        padding-bottom: 75px; 
    }
 
}
 
