/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    --header-height: 3.5rem;

    /* Colors */
    --primary-color: #7f5af0;
    --secondary-color: #2cb67d;
    --background-color: #1a1a2e;
    --card-color: #161625;
    --text-color: #e0e0e0;
    --subtle-text-color: #8a8a8a;
    --border-color: rgba(127, 90, 240, 0.3);

    /* Fonts */
    --body-font: 'Inter', sans-serif;
    --heading-font: 'Space Grotesk', sans-serif;

    /* Font sizes */
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Font weight */
    --font-medium: 500;
    --font-bold: 700;

    /* z-index */
    --z-background: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--text-color);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(127, 90, 240, 0.2);
}

/* ==================== HEADER ==================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.4s;
    border-bottom: 1px solid transparent;
}

.header__container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.header__logo:hover {
    transform: scale(1.05);
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header__nav-link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.header__nav-link:hover {
    color: var(--primary-color);
}

.header__nav-link:hover::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
}

.hero__container {
    z-index: var(--z-normal);
    animation: fadeInContent 1.2s ease-out forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-size: var(--big-font-size);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__subtitle {
    font-size: var(--h3-font-size);
    color: var(--subtle-text-color);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--card-color);
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer__logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer__description {
    color: var(--subtle-text-color);
    font-size: var(--small-font-size);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--subtle-text-color);
    transition: color 0.3s, padding-left 0.3s;
}

.footer__link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__link--with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer__link--with-icon i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--subtle-text-color);
    font-size: var(--small-font-size);
}

/* ==================== RESPONSIVENESS ==================== */
@media screen and (max-width: 768px) {
    :root {
        --big-font-size: 2rem;
        --h1-font-size: 1.75rem;
        --h3-font-size: 1rem;
    }
    
    .header__nav {
        /* This will be handled by JS for a mobile menu later */
        display: none;
    }
    
    .button {
        padding: 0.8rem 1.5rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__column--brand, .footer__column--contact {
        align-items: center;
    }
    .footer__link--with-icon {
       justify-content: center;
    }
}

/* ... (попередні стилі без змін до .hero) ... */

/* ==================== REUSABLE CSS CLASSES ==================== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

.section__title {
    font-size: var(--h1-font-size);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: -1rem;
    transform: translateX(-50%);
    border-radius: 2px;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, color 0.3s;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(127, 90, 240, 0.2);
}

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

.button--outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* ... (стилі для .header та .hero без змін) ... */


/* ==================== COURSES SECTION ==================== */
.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.course-card__icon {
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background-color: rgba(127, 90, 240, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-card__icon i {
    width: 36px;
    height: 36px;
}

.course-card__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
}

.course-card__description {
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes button to the bottom */
}

.course-card__details {
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
    color: var(--subtle-text-color);
    font-size: var(--small-font-size);
}
.course-card__details li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.course-card__details li:not(:last-child) {
    margin-bottom: 0.5rem;
}
.course-card__details i {
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
}

.course-card__button {
    margin-top: auto; /* Pushes button to the bottom */
}


/* ==================== FOOTER ==================== */

/* ... (стилі футера без змін) ... */


/* ==================== RESPONSIVENESS ==================== */
@media screen and (max-width: 768px) {
    :root {
        --big-font-size: 2rem;
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.25rem;
        --h3-font-size: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    /* ... (інші адаптивні стилі) ... */
}

/* ==================== ABOUT US SECTION ==================== */
.about__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 5rem;
}

.about__image-wrapper {
    position: relative;
    padding: 1rem;
}

/* Декоративная рамка за изображением */
.about__image-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.3s ease;
}

.about__image-wrapper:hover::after {
    transform: translate(15px, 15px);
}

.about__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2; /* Чтобы изображение было над рамкой */
}

.section__tagline {
    display: block;
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: var(--font-bold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__title {
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
}

.about__description {
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about__features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about__features-list i {
    flex-shrink: 0;
    color: var(--secondary-color);
    margin-top: 3px;
    width: 24px;
    height: 24px;
}

/* Адаптивность для секции "О нас" */
@media screen and (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about__image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    .about__content {
        text-align: center;
    }
    .about__features-list li {
       justify-content: center;
       text-align: left; /* To keep text in li left-aligned */
    }
}

/* ==================== BENEFITS SECTION ==================== */
.benefits {
    background-color: var(--card-color); /* Отделяем секцию цветом */
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--background-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(127, 90, 240, 0.25);
}

.benefit-card__icon {
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.benefit-card__icon i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5; /* Делаем иконки чуть тоньше и изящнее */
}

.benefit-card__title {
    font-size: var(--h3-font-size);
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.benefit-card__description {
    color: var(--subtle-text-color);
    font-size: var(--small-font-size);
    line-height: 1.7;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews__slider {
    padding: 1rem 0 3rem; /* Добавляем отступ снизу для пагинации */
}

.testimonial-card {
    background-color: var(--card-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%; /* Для выравнивания высоты слайдов */
    display: flex;
    flex-direction: column;
}

.testimonial-card__icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-card__text {
    color: var(--subtle-text-color);
    line-height: 1.7;
    flex-grow: 1; /* Чтобы текст занимал доступное место */
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-card__photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-card__author-info h4 {
    font-size: var(--normal-font-size);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.testimonial-card__author-info span {
    font-size: var(--small-font-size);
    color: var(--subtle-text-color);
}

/* Swiper custom styles */
.reviews__slider-pagination.swiper-pagination-horizontal {
    bottom: 0; /* Располагаем пагинацию внизу */
}

.reviews__slider-pagination .swiper-pagination-bullet {
    background-color: var(--border-color);
    opacity: 0.7;
}

.reviews__slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

.reviews__slider-navigation {
    position: relative;
    width: 150px;
    margin: 1rem auto 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.reviews__slider-button {
    position: static; /* Убираем абсолютное позиционирование */
    width: 50px;
    height: 50px;
    margin: 0;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}
.reviews__slider-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.reviews__slider-button::after {
    font-size: 1rem;
    color: var(--primary-color);
    transition: color 0.3s;
}
.reviews__slider-button:hover::after {
    color: #fff;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding-bottom: 6rem;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Левая колонка чуть уже */
    gap: 3rem;
    background-color: var(--card-color);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact__title {
    font-size: var(--h1-font-size);
    margin-bottom: 1rem;
}

.contact__description {
    color: var(--subtle-text-color);
    margin-bottom: 2.5rem;
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.contact__list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    transition: color 0.3s;
}
.contact__list-item:hover {
    color: var(--primary-color);
}
.contact__list-item i {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
}

.contact__socials {
    display: flex;
    gap: 1rem;
}
.contact__social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--subtle-text-color);
    transition: all 0.3s;
}
.contact__social-link:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Form Styles */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    position: relative;
}

.form__input {
    width: 100%;
    padding: 1rem;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s;
}
.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
}
textarea.form__input {
    resize: vertical;
    min-height: 120px;
}

.form__label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--subtle-text-color);
    background-color: var(--background-color);
    padding: 0 0.25rem;
    transition: all 0.2s ease-out;
    pointer-events: none;
}

/* Floating label effect */
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
    top: 0;
    left: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--primary-color);
    transform: translateY(-50%) scale(0.9);
}

.form__recaptcha-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: var(--subtle-text-color);
    font-size: var(--small-font-size);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.form__recaptcha-placeholder i {
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
}

.contact__form-button {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}
.form__messages {
    text-align: center;
    font-size: var(--small-font-size);
}
.form__messages.success { color: var(--secondary-color); }
.form__messages.error { color: #f7685b; }

/* Responsive */
@media screen and (max-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    .contact__info {
        text-align: center;
    }
    .contact__list-item, .contact__socials {
        justify-content: center;
    }
}

/* ==================== CAPTCHA SIMULATION ==================== */
.captcha {
    background-color: #2e2e48; /* Слегка другой фон для выделения */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.captcha__checkbox-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha__checkbox {
    width: 28px;
    height: 28px;
    background-color: var(--background-color);
    border: 1px solid var(--subtle-text-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}
.captcha__checkbox:hover {
    border-color: var(--text-color);
}

.captcha__label {
    color: var(--text-color);
    font-size: var(--normal-font-size);
}

/* Spinner Animation */
.captcha__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none; /* Скрыт по умолчанию */
}
.captcha.loading .captcha__spinner {
    display: block; /* Показываем при загрузке */
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Checkmark */
.captcha__checkmark {
    width: 20px;
    height: 20px;
    color: #fff;
    display: none; /* Скрыт по умолчанию */
}
.captcha.verified .captcha__checkbox {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.captcha.verified .captcha__checkmark {
    display: block; /* Показываем после "проверки" */
}

/* Logo Area */
.captcha__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.captcha__logo i {
    width: 28px;
    height: 28px;
    color: var(--subtle-text-color);
}
.captcha__logo-text {
    display: none; /* Скрываем текст на мобильных для экономии места */
}
.captcha__logo-text span {
    font-size: 0.8rem;
    color: var(--subtle-text-color);
}
.captcha__logo-text small {
    font-size: 0.6rem;
    color: #6a6a7a;
}

/* Показываем текст лого на больших экранах */
@media screen and (min-width: 480px) {
    .captcha__logo {
        flex-direction: row;
        gap: 0.75rem;
    }
    .captcha__logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.2;
    }
}

/* ==================== POLICY PAGES ==================== */
.pages {
    padding-top: calc(var(--header-height) + 4rem); /* Отступ от фиксированного хедера */
    padding-bottom: 6rem;
}

.pages .container {
    max-width: 800px; /* Ограничиваем ширину для лучшей читаемости */
}

.pages h1, .pages h2 {
    font-family: var(--heading-font);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pages h1 {
    font-size: var(--big-font-size);
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.pages h2 {
    font-size: var(--h1-font-size);
    margin-top: 3rem;
}

.pages p, .pages li {
    font-family: var(--body-font);
    color: var(--subtle-text-color);
    font-size: var(--normal-font-size);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pages ul {
    list-style-type: none;
    padding-left: 0;
}

.pages ul li {
    position: relative;
    padding-left: 2rem;
}

/* Кастомный маркер списка */
.pages ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.pages a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s;
}

.pages a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.pages strong {
    color: var(--text-color);
    font-weight: var(--font-bold);
}

/* ==================== COOKIE CONSENT ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-color);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    z-index: 2000;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    
    transform: translateY(120%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent__text {
    color: var(--subtle-text-color);
    margin: 0;
    text-align: center;
}

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

.cookie-consent__button {
    flex-shrink: 0; /* Чтобы кнопка не сжималась */
    padding: 0.75rem 1.5rem;
}

/* Адаптивность для cookie попапа */
@media screen and (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }
}