/* ============================================================
    БАЗОВЫЕ СТИЛИ ДЛЯ ВСЕГО САЙТА
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Nunito', sans-serif;
    color: #0c3a9e;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 30px;
    background-color: #FFEB3B;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    
    padding-bottom: 10%;
}
.fade-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fade-scroll.show {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   ШАПКА / TOPBAR
   ========================= */


/* Общая шапка */
/* ==============================
   ШАПКА (TOPBAR)
============================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Внутренний контейнер — БЕЗ фиксированной высоты */
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0; /* чуть меньше/больше можешь подстроить */
}

/* ---------- ЛОГОТИП ---------- */

.topbar__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.topbar__logo img {
    height: 60px;   /* вот этим мы задаём визуальную высоту шапки */
    width: auto;
    display: block;
    object-fit: contain;
}

/* ---------- НАВИГАЦИЯ ---------- */

.topbar__nav {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.topbar__nav a {
    text-decoration: none;
    font-weight: 600;
    color: #0c3a9e;
    font-size: 17px;
    padding: 4px 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Нормальный hover: просто немного темнее */
.topbar__nav a:hover {
    color: #062d68;
    opacity: 0.9;
}

.topbar__nav a.is-active {
    color: #062d68;
}

/* ---------- СОЦСЕТИ ---------- */

.topbar__socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.topbar__socials ion-icon {
    font-size: 28px;
    color: #0c3a9e;
    transition: 0.25s ease;
}

.topbar__socials ion-icon:hover {
    color: #062d68;
    transform: scale(1.1);
}

/* ---------- БУРГЕР ---------- */

.topbar__burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

/* ==============================
   АДАПТИВ
============================== */

@media (max-width: 900px) {

    .topbar__nav {
        position: fixed;
        top: 70px; /* ориентировочно под твою высоту шапки */
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(16px);
        padding: 16px 20px 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);

        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
        z-index: 9998;
    }

    .topbar__nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .topbar__nav a {
        font-size: 18px;
    }

    .topbar__burger {
        display: block;
    }
}

@media (max-width: 600px) {
    .topbar__logo img {
        height: 56px; /* можно чуть уменьшить на очень маленьких экранах */
    }

    .topbar__socials ion-icon {
        font-size: 24px;
    }
}


section {
    
    overflow: hidden;
    text-align: center;
    align-self: center;
}
/* Клякса ниже всего контента */
.splash {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* ВАЖНО — ниже всего */
    opacity: 0.32;
    transform: rotate(0deg);
}

/* Чтобы z-index работал корректно */
.splash {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

section {
    position: relative;
    z-index: 1;
}


section {
    position: relative;
    z-index: 1;
}

h1, h2 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* ============================================================
    КНОПКИ
   ============================================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

/* ============================================================
    ЧЕРЕДОВАНИЕ БЛОКОВ
   ============================================================ */

.block-green {
    background: linear-gradient(
        to bottom,
        #C6FF6B 0%,      /* зелёный */
        #C6FF6B 90%,     /* 90% блока чистый цвет */
        #FFEB3B 100%     /* плавный переход в жёлтый */
    );
    color: #0c3a9e;
}
.block-yellow {
    background: linear-gradient(
        to bottom,
        #FFEB3B 0%,      /* жёлтый */
        #FFEB3B 80%,     /* 90% блока чистый цвет */
        #C6FF6B 100%     /* мягкий переход обратно в зелёный */
    );
    color: #0c3a9e;
}


.dark-text {
    color: #0c3a9e;
}

/* ============================================================
    HERO-БЛОК
   ============================================================ */

:root {
    --text-main: #0c3a9e;
    --accent-blue: #5bd81d;
    --accent-blue-hover: #99f63b;
    --accent-light: #DBEAFE;
}



/* === КРИТИЧЕСКИЕ ФИКСЫ === */

.hero_inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    padding-top: 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Левая колонка */
.hero_left {
    flex: 1;               /* Равная ширина */
    text-align: start;
    max-width: 550px;      /* Чтобы текст не растягивался */
}

/* Правая колонка */
.hero_right-column {
    flex: 1;               /* Равная ширина */
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
}

/* Фото рядом */
.hero_right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
    align-items: center;
}

/* ============================================================
    HERO — ТЕКСТ
   ============================================================ */

.hero_label {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
    color: var(--text-main);
}

.hero_title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero_text {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* ============================================================
    HERO — КАРТОЧКА “Современное искусство”
   ============================================================ */

.hero_innovation-card {
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid var(--accent-light);
    padding: 18px 22px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    max-width: 500px;

    margin-top: 26px;
    margin-bottom: 32px;
}

.hero_innovation-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--accent-blue);
}

.hero_innovation-card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-main);
}

/* ============================================================
    HERO — КНОПКИ
   ============================================================ */

.hero_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    justify-self: center;
}

.btn--primary {
    background: var(--accent-blue);
    color: white;
    border: 2px solid var(--accent-blue);
}

.btn--primary:hover {
    background: var(--accent-blue-hover);
}

.btn--outline {
    background: white;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn--outline:hover {
    background: var(--accent-light);
}

/* ============================================================
    HERO — ТЕГИ
   ============================================================ */

.hero_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tag {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
    font-size: 14px;
    color: var(--text-main);
}

.tag--digital {
    background: var(--accent-light);
    color: var(--accent-blue);
    font-weight: 600;
}

/* ============================================================
    HERO — НАПРАВЛЕНИЯ ПОД ФОТО
   ============================================================ */

.hero_directions {
    text-align: left;
}

.hero_directions-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero_directions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.chip {
    padding: 8px 16px;
    background: rgba(255,255,255,0.75);
    border-radius: 999px;
    color: var(--text-main);
    font-size: 14px;
    white-space: nowrap;
}

.chip--digital {
    background: var(--accent-blue);
    color: white;
}

/* ============================================================
    HERO — ФОТО
   ============================================================ */

.hero_photo {
    position: relative;          /* нужно для точного центрирования */
    margin: 0 auto;              /* центрует блок */
    
    padding: 6px;                /* одинаковая рамка */
    background: #DBEAFE;            /* цвет обводки */
    border-radius: 26px;         /* внешняя рамка */
    
    display: flex;               /* центрирование фото */
    justify-content: center;
    align-items: center;
    
    overflow: hidden;            /* чтобы фото не вылезало */
    width: fit-content;          /* подстраивается под реальный размер фото */
}

.hero_photo img {
    display: block;              /* убирает лишние отступы вокруг img */
    width: 100%;
    height: 100%;
    
    object-fit: cover;           /* фото не искажается */
    border-radius: 20px;         /* небольшое закругление внутри */
}

.hero_photo--big {
    width: 320px;
}

.hero_photo-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 220px;
    align-items: center;
}

/* ============================================================
   МЕРОПРИЯТИЯ СТУДИИ «ПАЛИТРА»
   ============================================================ */

.events {
    padding: 0px 0;
}

.events__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
}

.events__subtitle {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 18px;
    opacity: 0.9;
}

/* ============================================================
   КРАСИВЫЙ НОВЫЙ ДИЗАЙН БЛОКОВ "МЕРОПРИЯТИЯ"
   ============================================================ */



.event {
    display: flex;
    align-items: center;
    justify-self: flex-start;
    gap: 40px;
    
    width: 90%;
}

.event--right {
    flex-direction: row-reverse;
}

/* ТЕКСТ */
.event__text {
    
    flex: 1;
    max-width: 540px;
    text-align: center;
    background: rgba(255,255,255,0.65);
    padding: 20px 24px;
    border-radius: 18px;
    border: 2px solid #DBEAFE;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.event__text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event__text p {
    font-size: 18px;
    line-height: 1.6;
}

/* ФОТО */
.event__photo {
    flex: 1;
    max-width: 460px;           /* ширина карточки */
    height: 320px;              /* одинаковая высота для всех фото */
    overflow: hidden;
    padding: 6px;
    background: #DBEAFE;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}
stop{
    margin-bottom: 0px;
}

.event__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* красиво обрезает изображение */
    border-radius: 18px;
}

/* Горизонтальные фото */
.event_horizontal img {
    aspect-ratio: 4/3;
}

/* Вертикальные */
.event_vertical img {
    aspect-ratio: 3/4;
}




/* ============================================================
   ABOUT SECTION
   ============================================================ */



.about__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
}

.about__left {
    flex: 1;
    max-width: 540px;
    text-align: left;
    background: rgba(255,255,255,0.65);
    padding: 20px 24px;
    border-radius: 18px;
    border: 2px solid #DBEAFE;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.about__title {
    font-size: 36px;
    margin-bottom: 25px;
    color: #0c3a9e;
    font-weight: 700;
}

.about__text {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.65;
    color: #0c3a9e;
}

/* БЛОК ФОТО СЛЕВА */
.about__right {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    
}

/* КАРТОЧКА ФОТО — ровный прямоугольник */
.about__photo {
    background: #DBEAFE;
    padding: 5px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    overflow: hidden;

    width: 100%;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: none;  /* убрали наклон */
}

/* ФОТО ВНУТРИ */
.about__photo img {
    width: 100%;
    height: 100%;
    
    object-fit: cover;
    border-radius: 12px;
}

/* БОЛЬШАЯ КАРТОЧКА */
.about__photo--big {
    height: 370px;
    width: auto;
}

/* КОЛОНКА МАЛЕНЬКИХ ФОТО */
.about__photo-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 270px;
}



/* ============================================================
   КУРСЫ — в стиле EVENT блоков
   ============================================================ */

.courses {
    padding: 80px 0;
}

.courses__title {
    font-size: 36px;
    text-align: center;
    color: #0c3a9e;
    margin-bottom: 14px;
}

.courses__subtitle {
    font-size: 18px;
    color: #0c3a9e;
    opacity: 0.9;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ===== СЕТКА FLEX — работает лучше grid для центрирования ===== */
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* центрирует последнюю строку */
    gap: 35px;
}

/* ===== КАРТОЧКА ===== */
.course-item {
    flex: 0 1 calc(25% - 35px);     /* 4 в ряд */
    max-width: calc(25% - 35px);

    background: rgba(255,255,255,0.7);
    border: 2px solid #dfeaff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-radius: 22px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.course-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

/* ===== ФОТО ===== */
.course-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

/* ===== ТЕКСТ ===== */
.course-item h3 {
    font-size: 20px;
    color: #0c3a9e;
    margin-bottom: 10px;
}

.course-item p {
    font-size: 16px;
    line-height: 1.45;
    color: #0c3a9e;
}








/* ============================================================
   ГАЛЕРЕЯ — ровные красивые карточки без наклонов
   ============================================================ */
.gallery__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0c3a9e;
}

.gallery__subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    opacity: 0.9;
    color: #0c3a9e;
}
.gallerycont{
    padding-bottom: 0%;
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    padding: 20px 0 60px;
}

/* Фото — чистые, ровные, с мягкими тенями */
.gallery__grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 10/11;               /* делает все фото одинаковыми по высоте */
    object-fit: cover;

    border-radius: 20px;
    padding: 4px;
    background: #DBEAFE;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Анимация при наведении */
.gallery__grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 30px rgba(0,0,0,0.25);
}


.giftcards {
    padding: 80px 0;
}

.giftcards__title {
    font-size: 36px;
    text-align: center;
    font-weight: 700;
    color: #0c3a9e;
    margin-bottom: 14px;
}

.giftcards__subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #0c3a9e;
    opacity: 0.9;
}

/* сетка */
.giftcards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* карточка */
.giftcard-item {
    background: rgba(255,255,255,0.75);
    border: 2px solid #DBEAFE;
    border-radius: 22px;
    padding: 20px;
    text-align: center;
    width: 300px;

    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    transition: 0.3s;
}

.giftcard-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* фото сертификата */
.giftcard-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

/* текст */
.giftcard-item h3 {
    font-size: 20px;
    color: #0c3a9e;
    margin-bottom: 8px;
}

.giftcard-item p {
    font-size: 15px;
    line-height: 1.45;
    color: #0c3a9e;
    margin-bottom: 18px;
}

/* кнопка */
.giftcard-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #5bd81d;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.giftcard-btn:hover {
    background: #89f842;
}


/* ============================================================
    ОТЗЫВЫ
   ============================================================ */



.reviews__title {
    font-size: 38px;
    margin-bottom: 12px;
    text-align: center;
    color: #0c3a9e;
}

.reviews__subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    opacity: 0.9;
    text-align: center;
    color: #0c3a9e;
}

/* Сетка */
.reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Карточка */
.review {
    background: rgba(255,255,255,0.65);
    padding: 20px 24px;
    border-radius: 18px;
    border: 2px solid #DBEAFE;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);

    /* убираем наклон */
    transform: none;
}

/* Текст */
.review__text {
    font-size: 17px;
    margin-bottom: 12px;
    color: #0c3a9e;
    line-height: 1.55;
}

/* Автор */
.review__author {
    font-size: 15px;
    opacity: 0.8;
    text-align: right;
    color: #0c3a9e;
}


/* ============================================================
    КОНТАКТЫ
   ============================================================ */

.contacts {
    padding: 120px 0 140px;
}

.contacts__title {
    font-size: 38px;
    margin-bottom: 12px;
}

.contacts__subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    opacity: 0.9;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info {
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
}

.contacts__info a {
    color: #0c3a9e;
    font-weight: 700;
    text-decoration: none;
}

.contacts__map iframe {
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}



@media (max-width: 500px) {

    /* -------------------- GLOBAL -------------------- */

    body {
        padding-top: 70px;
        overflow-x: hidden;
    }

    .container {
        width: 92%;
        padding-bottom: 15%;
    }
    .topbar__inner{
        padding-bottom: 0%;
    }

    h1, h2 {
        font-size: 26px;
    }

    p {
        font-size: 16px;
    }


    /* ================= TOPBAR ================= */

    .topbar__logo img {
        height: 52px;
    }
    .topbar__nav {
        top: 100%;          /* ставим меню сразу под тулбаром */
        margin-top: 0;      /* на всякий случай */
    }
    .topbar__burger {
        order: 1;
        display: block;
    }

    .topbar__logo {
        order: 2;
        margin: auto;
    }

    .topbar__socials {
        order: 3;
        margin-left: auto; /* соцсети вправо */
    }


    /* ============================================================
       HERO — полный адаптив
       ============================================================ */

    .hero_inner {
        flex-direction: column;
        gap: 25px;
        padding-top: 20px;
        text-align: center;
    }

    .hero_left {
        max-width: 100%;
        text-align: center !important;
    }

    .hero_title {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .hero_text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero_innovation-card {
        margin: 20px auto 0;
        max-width: 92%;
        text-align: center;
    }

    .hero_actions {
        justify-content: center;
        gap: 12px;
    }

    .hero_right-column {
        max-width: 100%;
        align-items: center;
        gap: 1px;
    }
    .hero_right{
        gap: 1px;
    }
    .hero_photo--big {
        width: 340px;
        
        margin: 0 auto;
    }

    .hero_photo-column {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        justify-content: center;
        gap: 5px;
    }

    .hero_photo-column .hero_photo {
        width: 80%;
        height: 140px;
    }

    .hero_directions {
        text-align: center;
    }

    .hero_directions-list {
        justify-content: center;
        gap: 8px;
    }

    .chip {
        padding: 6px 12px;
        font-size: 13px;
    }


    /* ============================================================
       EVENTS
       ============================================================ */

    .event {
        flex-direction: column !important;
        gap: 18px;
        margin-bottom: 40px;
        width: 100%;
    }

    .event__text {
        max-width: 100%;
        padding: 18px;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .event__photo {
        width: 100%;
        aspect-ratio: 4 / 3; /* горизонтальная ориентация */
        height: auto;        /* сбрасываем фиксированную высоту */
        padding: 6px;
        background: #DBEAFE;
        border-radius: 20px;
        overflow: hidden;
    }

    .event__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;    /* фото красиво обрежется в горизонтальный формат */
        object-position: center;
        border-radius: 16px;
    }
    .event__photo {
        margin-bottom: 20px !important; /* вместо 80px */
    }

    /* Чуть уменьшим общий отступ */
    .event {
        margin-bottom: 25px !important;
        gap: 12px !important;
    }

    /* ============================================================
       ABOUT SECTION
       ============================================================ */

    .about__inner {
        flex-direction: column;
        gap: 30px;
    }

    .about__left {
        max-width: 100%;
        text-align: center;
    }

    .about__right {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .about__photo,
    .about__photo--big {
        width: 100%;
        height: 220px;
    }

    .about__photo-column {
        width: 100%;
        flex-direction: row;
        gap: 12px;
    }


    /* ============================================================
       COURSES
       ============================================================ */

    .courses-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .course-item {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 18px;
    }

    .course-img {
        height: 160px !important;
    }

    .course-item h3 {
        font-size: 20px;
    }

    .course-item p {
        font-size: 15px;
    }


    /* ============================================================
       GALLERY
       ============================================================ */

    .gallery__grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .gallery__grid img {
        aspect-ratio: 10/13;
        border-radius: 14px;
    }


    /* ============================================================
       GIFTCARDS
       ============================================================ */

    .giftcards-grid {
        gap: 20px;
    }

    .giftcard-item {
        width: 100%;
        max-width: 340px;
    }

    .giftcard-img {
        height: 150px;
    }


    /* ============================================================
       REVIEWS
       ============================================================ */

    .reviews__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* ============================================================
       CONTACTS
       ============================================================ */

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts__map iframe {
        width: 100%;
        height: 300px;
    }
}
