/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Убираем стандартный alt-текст у изображений */
img {
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
}

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --color-dark: #18070E;
    --color-gold: #D4AF37;
    --color-light: #F5F5F5;
    --color-white: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-inverse: #FFFFFF;

    --font-body: 'Montserrat';
    --container-width: 1150px;
    --gap: 1.5rem;
}

/* ===== ОБЩИЕ СТИЛИ ===== */
body {
    font-family: var(--font-body), system-ui, sans-serif;
    background-color: var(--color-light);
    color: var(--color-text-inverse);
    font-weight: 400;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 2rem;
    margin: 0 auto;
}

.section {
    padding: 40px 0 10px;
}

/* Заголовки секций и карточек — общие стили */
.section__title,
.card__title,
.about__title {
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: var(--color-text);
}

/* Стиль-подпись для мобильных (Элегантный / Активный) */
.section__style {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-gold);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Скрытие блоков, предназначенных только для мобильных/планшетов, на десктопе */
.mobile-only,
.mobile-tablet-only,
.mobile-only-extra {
    display: none;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    min-width: 100%;
    margin: 0 auto;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 40px;
    width: 1150px;
}

.logo {
    color: var(--color-gold);
    width: 100px;
    height: 77px;
}

.slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.header__slogan_frsLine {
    font-weight: 400;
    font-size: 27px;
    line-height: 45px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-text-inverse);
    vertical-align: bottom;
}

.header__slogan_secLine {
    font-style: normal;
    font-weight: 300;
    font-size: 27px;
    line-height: 33px;
    text-align: center;
    text-transform: lowercase;
    color: var(--color-text-inverse);
    vertical-align: top;
}

.header__contacts {
    width: 120px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    isolation: isolate;
}

/* ===== КНОПКИ ===== */
.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    gap: 10px;
    isolation: isolate;
    width: 150px;
    height: 40px;
    transition: background-color 0.7s, color 0.7s;
    will-change: transform;
    background: var(--color-gold);
    color: var(--color-text-inverse);
}

.btn:hover {
    background-color: #c5a028;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ===== HERO (ДЕСКТОП) ===== */
.hero,
.events,
.cards__grid,
.card,
.steps,
.partner,
.about,
.referral,
.footer,
.legal-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    gap: 10px;
    padding: 80px 0 40px;
    justify-content: center;
}

.hero__container {
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero__title,
.hero__subtitle {
    font-family: var(--font-body), system-ui, sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 59px;
    text-align: center;
    color: var(--color-text);
    font-style: italic;
}

.hero__subtitle {
    color: transparent;
    background: linear-gradient(90deg, var(--color-gold), #B49531, var(--color-text));
    background-clip: text;
    -webkit-background-clip: text;
    display: inline-block;
    width: 520px;
}

/* ===== КАРТОЧКИ (ДЕСКТОП) ===== */
.events {
    padding: 0;
}

.cards__grid {
    align-items: flex-start;
    padding: 0;
    width: 100%;
}

.card {
    padding: 60px;
    gap: 20px;
    width: 100%;
}

.card__title {
    max-width: 750px;
}

/* Слайдер */
.card__slider {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 20px;
    height: 500px;
    position: relative;
    touch-action: pan-y;
}

/* Контейнер изображений  */
.slider-images {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    height: 500px;
    overflow: hidden;               /* обрезаем фото по краям */
}

.card__slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.6s ease-in-out;
    background: #2C2C2C;
    opacity: 0.4;
    text-indent: -9999px;
}

/* Пагинация */
.tui-pager {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    flex-shrink: 0;
}

.badge {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 6px;
    position: absolute;
    left: 15px;
    top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    color: var(--color-text);
    opacity: 0.7;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card__slider:hover .badge {
    opacity: 1;
    transform: scale(1.02);
}

.active {
    background: #ED9E5F;
}

.elegant {
    background: #B995CD;
}

.location {
    background: #B6CDAB;
}

.food {
    background: #E7D387;
}

/* Сетка контента внутри карточки */
.card__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 750px;
    width: 100%;
    margin: 40px auto 0;
    padding: 0;
    box-sizing: border-box;
}

.card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 16px 12px;
    border-left: 1px solid var(--color-gold);
}

.card__subtitle {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: var(--color-text);
}

.card__desc {
    font-size: 16px;
    line-height: 20px;
    font-style: normal;
    font-weight: 400;
    color: var(--color-text);
}

/* ===== ШАГИ ===== */
.steps {
    padding: 60px;
    gap: 40px;
}

.steps__list {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
}

.step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 15px;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    position: relative;
    max-width: 370px;
}

.step__act {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
    width: 330px;
    max-width: 330px;
    height: 87px;
}

.step__number {
    font-weight: 700;
    font-size: 48px;
    line-height: 59px;
    color: var(--color-gold);
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.step:hover .step__number {
    transform: scale(1.1);
    opacity: 0.8;
}

.step__arrow {
    font-weight: 700;
    font-size: 36px;
    line-height: 59px;
    color: var(--color-gold);
    opacity: 0.5;
    position: absolute;
    top: 50px;
    right: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.step:hover .step__arrow {
    animation: gentleShake 0.4s ease;
}

.step__title {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-text);
}

.step__desc {
    height: 65px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-text);
}

/* ===== БЛОК ПАРТНЁРЫ ===== */
.partner {
    padding: 60px 0;
    gap: 80px;
    margin-bottom: 50px;
}

.logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
}

.logos__line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    background: var(--color-white);
    flex-wrap: nowrap;
    overflow-x: hidden;
    width: 100%;
    height: 90px;
    box-sizing: border-box;
    position: relative;
    justify-content: flex-start;
    padding: 0 !important;
}

.logos__line img {
    flex-shrink: 0;
    height: 60px;
    width: auto;
}

.logos__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: inherit;
    width: max-content;
}

/* ===== БЛОК О КОМПАНИИ ===== */
.about {
    gap: 40px;
}

.about__main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 40px;
}

.about__logo {
    width: 175px;
    height: 134px;
}

.about__title-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 8px;
}

.about__subtitle {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: var(--color-gold);
}

.about__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 915px;
}

.about__grid-left {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 40px;
}

.about__grid-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-sizing: border-box;
}

.about__grid-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    background: var(--color-white);
    border-radius: 12px;
    color: var(--color-text);
    font-family: var(--font-body), system-ui, sans-serif;
    height: 174px;
    width: 340px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about__grid-card-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
}

.about__grid-card-content {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    height: auto;
}

.photo__person {
    box-sizing: border-box;
    background: #D9D9D9;
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.about__mission {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 8px;
}

.about__mission-title {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    line-height: 29px;
    text-align: right;
    color: var(--color-text);
    margin: 20px auto 40px;
}

.about__mission-content {
    font-family: var(--font-body), system-ui, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: right;
    color: var(--color-text);
}

/* ===== БЛОК НАГРАДЫ ===== */
.awards {
    background-color: var(--color-light);
}

.awards__grid {
    gap: 30px;
}

.award-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 900px;
    color: var(--color-text);
}

.award-cards:hover,
.about__grid-card:hover,
.about__grid-right:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.award-mainTitle {
    text-align: start;
    padding-left: 80px;
}

.award-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-firstLine {
    display: flex;
    gap: 15px;
    align-items: center;
}

.award-year {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.award-future-icon {
    color: var(--color-gold);
}

.award-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--color-text);
}

.award-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
    opacity: 0.85;
}

/* ===== КЕШБЕК ЗА РЕКОМЕНДАЦИЮ ===== */
.referral {
    justify-content: center;
    gap: 20px;
    padding: 20px 0 40px;
    margin: 0;
}

.referral__icon {
    height: 65px;
    width: auto;
    display: block;
}

.referral__text {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: var(--color-gold);
    max-width: 600px;
    padding: 0 20px;
}

/* ===== ФУТЕР ===== */
.footer {
    padding: 40px 20px;
    gap: 12px;
    margin-top: 20px;
    background: var(--color-dark);
}

.footer__main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 200px;
    width: 100%;
    max-width: 1150px;
}

.footer__main-sotial {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 12px;
}

.footer__main-sotial a svg {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.footer__main-sotial a:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 4px var(--color-gold));
}

.footer__main-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.footer__phone {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: justify;
    color: #F5F5F5;
}

.footer__phone:hover {
    color: var(--color-gold);
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 12px;
    max-width: 1150px;
    margin-right: 50px;
}

.footer__legal a {
    color: var(--color-light);
    text-decoration: underline;
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: var(--color-gold);
}

.footer__legal-copy {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #828181;
}

.footer__legal-links {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 32px;
}

.footer__legal-link,
.footer__legal-link:link,
.footer__legal-link:visited,
.footer__legal-link:hover,
.footer__legal-link:active {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #828181;
}

.footer__legal-dev,
.footer__legal-dev:link,
.footer__legal-dev:visited,
.footer__legal-dev:hover,
.footer__legal-dev:active {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    text-align: justify;
    color: #828181;
    text-decoration: none;
}

/* ===== СТРАНИЦЫ ПОЛИТИКИ / СОГЛАШЕНИЯ ===== */
.legal-page {
    justify-content: center;
    padding: 60px 10px 40px;
    gap: 16px;
    width: 700px;
    margin: 0 auto;
}

.legal-page h1 {
    text-align: center;
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    color: var(--color-dark);
}

.divider {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    width: 580px;
}

.legal__content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.legal-date {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-gold);
}

.legal-page h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 700px;
    color: var(--color-text);
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
}

.legal-page p,
.legal-page li {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: justify;
    color: var(--color-text);
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal__block {
    border-left: 1px solid var(--color-gold);
    padding: 8px 0 8px 12px;
}

.confirm {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    gap: 50px;
    width: 700px;
    background: var(--color-white);
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.confirm__message {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: var(--color-text);
}

.confirm__accept {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 10px;
}

.btn__accept {
    text-transform: lowercase;
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    width: fit-content;
}

.btn.btn__accept {
    width: auto !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-questions {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #2C2C2C;
}

.privacy-questions:hover {
    color: var(--color-gold);
}

/* ===== АДАПТИВ: ПЛАНШЕТ (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 728px;
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .section {
        padding: 56px 0;
        margin: 0;
    }

    .header {
        padding: 10px 0;
    }

    .header__inner {
        width: 650px;
        padding: 20px;
        gap: 16px;
        margin: 0 auto;
    }

    .logo {
        width: 52px;
        height: 40px;
    }

    .header__slogan_frsLine {
        font-size: 20px;
        line-height: 24px;
    }

    .header__slogan_secLine {
        font-size: 14px;
        line-height: 17px;
    }

    .btn {
        width: 120px;
        height: 40px;
        padding: 8px 16px;
        font-size: 14px;
        line-height: 17px;
    }

    .hero {
        padding: 40px 0 20px;
        gap: 10px;
        margin-top: 50px;
    }

    .hero__title, .hero__subtitle {
        font-size: 28px;
        line-height: 34px;
    }

    .hero__subtitle {
        width: 335px;
    }

    .card {
        padding: 60px 0;
        gap: 20px;
    }

    .section__title, .card__title, .about__title {
        font-size: 28px;
        line-height: 34px;
    }

    .card__slider {
        padding: 20px;
    }

    .tui-pager {
        gap: 8px;
        margin-bottom: 16px;
    }

    .badge {
        left: 30px;
        top: 30px;
        padding: 8px 12px;
        font-size: 10px;
        line-height: 12px;
    }

    .card__grid {
        padding: 0 20px;
        gap: 15px;
    }

    .card__content {
        padding: 16px 0 16px 12px;
        gap: 6px;
    }

    .card__subtitle {
        font-size: 18px;
        line-height: 22px;
    }

    .card:nth-child(3) .card__subtitle,
    .card:nth-child(4) .card__subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    .card__desc {
        font-size: 14px;
        line-height: 17px;
    }

    .steps {
        padding: 60px 0;
        gap: 40px;
    }

    .steps__list {
        gap: 20px;
    }

    .step {
        width: 220px;
        height: 300px;
        padding: 20px;
        gap: 15px;
    }

    .step__act {
        width: 100%;
        gap: 15px;
        flex-direction: column;
        height: 120px;
    }

    .step__number {
        font-size: 36px;
        line-height: 44px;
    }

    .step__arrow {
        top: 30px;
        right: 15px;
    }

    .step__title {
        font-size: 16px;
        line-height: 20px;
        height: 60px;
    }

    .step__desc {
        font-size: 16px;
        line-height: 20px;
        height: 100px;
    }

    .step:last-child .step__title {
        font-size: 20px;
        line-height: 24px;
    }

    .partner {
        padding: 60px 0;
        gap: 40px;
        margin-bottom: 50px;
    }

    .logos {
        gap: 20px;
    }

    .logos__line {
        gap: 40px;
        height: 80px;
    }

    .logos__line img {
        height: 40px;
    }

    .logos__track img {
        height: 40px;
    }

    .about {
        padding: 0;
        gap: 40px;
    }

    .about__main {
        gap: 20px;
    }

    .about__logo {
        width: 100px;
        height: 77px;
    }

    .about__subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    .about__grid {
        gap: 20px;
        justify-content: space-evenly;
        max-width: 768px;
        padding: 10px;
    }

    .about__grid-left {
        width: 340px;
        gap: 37px;
    }

    .about__grid-card {
        width: 340px;
        padding: 20px;
        gap: 20px;
        height: 109px;
    }

    .about__grid-card:first-child p {
        width: 230px;
        margin: 0 auto;
    }

    .about__grid-card-title {
        font-size: 20px;
        line-height: 24px;
    }

    .about__grid-card-content {
        font-size: 14px;
        line-height: 17px;
    }

    .about__grid svg {
        display: block;
        width: 1px;
        height: 300px;
        margin: 0;
    }

    .photo__person {
        width: 100%;
        height: 402px;
        object-fit: scale-down;
    }

    .about__mission {
        align-items: flex-end;
        gap: 8px;
    }

    .about__mission-title {
        font-size: 18px;
        line-height: 24px;
        max-width: 490px;
    }

    .about__mission-content {
        font-size: 14px;
        line-height: 21px;
        text-align: right;
    }

    .awards__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .award-cards {
        padding: 40px;
        max-width: 720px;
    }

    .award-title {
        font-size: 18px;
        line-height: 24px;
    }

    .award-desc {
        font-size: 13px;
        line-height: 18px;
    }

    .referral {
        padding: 20px 0 40px;
        gap: 16px;
    }

    .referral__icon {
        height: 55px;
    }

    .referral__text {
        font-size: 24px;
        line-height: 29px;
    }

    .footer {
        padding: 40px 80px;
        gap: 20px;
    }

    .footer__main {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: auto;
        max-width: none;
    }

    .footer__main-sotial {
        gap: 12px;
        order: 2;
    }

    .footer__main-phones {
        align-items: center;
        order: 1;
    }

    .footer__phone {
        font-size: 12px;
        line-height: 15px;
    }

    .footer__main .btn {
        order: 0;
    }

    .footer__legal {
        margin-right: 0;
        max-width: 100%;
    }

    .footer__legal-links {
        flex-direction: row;
        gap: 24px;
    }

    .footer__legal-copy,
    .footer__legal-link,
    .footer__legal-dev {
        font-size: 10px;
        line-height: 12px;
    }

    .legal-page {
        width: 90%;
        max-width: 700px;
        padding: 40px 20px;
    }

    .divider {
        width: 100%;
        max-width: 500px;
        align-items: center;
    }

    .legal-page h2 {
        width: 100%;
        font-size: 22px;
        line-height: 28px;
    }

    .confirm {
        width: 100%;
        padding: 40px 20px;
    }
}

/* ===== АДАПТИВ: БОЛЬШИЕ МОБИЛЬНЫЕ (max-width: 767px) ===== */
@media (max-width: 767px) {
    .container {
        max-width: 350px;
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .section {
        padding: 30px 0;
        margin: 0;
    }

    .header {
        padding: 10px 0;
        height: 60px;
    }

    .header__inner {
        width: 350px;
        padding: 20px 0;
        gap: 16px;
        margin: 0 auto;
    }

    .logo {
        width: 39px;
        height: 30px;
    }

    .header__slogan_frsLine {
        font-size: 12px;
        line-height: 15px;
    }

    .header__slogan_secLine {
        font-size: 8px;
        line-height: 10px;
    }

    .btn {
        width: 90px;
        height: 27px;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 15px;
    }

    .hero {
        padding: 24px 0 16px;
        gap: 10px;
    }

    .hero__title {
        font-size: 24px;
        line-height: 30px;
    }

    .hero__subtitle {
        width: 320px;
    }

    .card {
        padding: 30px 0;
        gap: 12px;
        width: 300px;
    }

    .card__title,
    .section__title {
        font-size: 22px;
        line-height: 24px;
    }

    .card__slider {
        padding: 0 20px 20px;
    }

    .card__slider-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tui-pager {
        gap: 5px;
        margin: 16px 0 12px;
    }

    .badge {
        left: 10px;
        top: 10px;
        padding: 8px 12px;
        font-size: 8px;
        line-height: 10px;
    }

    .card__grid {
        padding: 0;
        gap: 12px;
        width: 100%;
        margin-left: 0;
    }

    .card__content {
        padding: 12px 0 12px 10px;
        gap: 6px;
    }

    .card__subtitle {
        font-size: 16px;
        line-height: 20px;
    }

    .card__desc {
        font-size: 12px;
        line-height: 15px;
    }

    .steps {
        padding: 30px 0;
        gap: 12px;
    }

    .steps__list {
        flex-direction: column;
        align-items: center;
        padding: 18px 0 0;
        gap: 12px;
    }

    .step {
        width: 320px;
        height: 220px;
        padding: 20px 20px 50px;
        justify-content: space-evenly;
        position: relative;
    }

    .step__act {
        width: 280px;
        gap: 20px;
        justify-content: space-between;
        height: auto;
        flex-direction: row;
    }

    .step__arrow {
        transform: rotate(90deg);
        top: 160px;
        right: 140px;
    }

    .step__number:first-child {
        font-size: 28px;
        line-height: 34px;
    }

    .step__act .step__title {
        font-size: 16px;
        line-height: 22px;
        padding: 0;
    }

    .step:last-child .step__title {
        font-size: 18px;
        line-height: 24px;
    }

    .step__act .step__number:last-child {
        font-size: 28px;
        line-height: 34px;
        opacity: 0.5;
    }

    .step:last-child .step__act {
        justify-content: flex-start;
    }

    .step:last-child .step__act .step__title {
        font-size: 22px;
        line-height: 22px;
    }

    .step__desc {
        font-size: 13px;
        line-height: 16px;
        height: auto;
    }

    .partner {
        padding: 30px 0;
        gap: 30px;
    }

    .logos {
        gap: 20px;
    }

    .logos__line {
        gap: 30px;
        height: 60px;
    }

    .logos__line img {
        height: 30px;
    }

    .logos__track img {
        height: 30px;
    }

    .about {
        gap: 20px;
    }

    .about__main {
        width: 100%;
        max-width: 354px;
        padding: 0 20px;
        gap: 20px;
        flex-direction: row;
    }

    .about__logo {
        width: 104px;
        height: 80px;
    }

    .about__title {
        font-size: 20px;
        line-height: 24px;
    }

    .about__subtitle {
        font-size: 16px;
        line-height: 20px;
        max-width: 190px;
    }

    .about__grid {
        flex-direction: column;
        gap: 20px;
    }

    .about__grid-left {
        width: 100%;
        max-width: 320px;
        gap: 16px;
        align-items: center;
    }

    .about__grid-card {
        width: 100%;
        max-width: 320px;
        padding: 30px 20px;
        gap: 20px;
        min-height: auto;
        height: 150px;
        align-items: stretch;
    }

    .about__grid-card:first-child {
        height: 150px;
    }

    .about__grid-card:first-child p {
        width: 260px;
    }

    .about__grid-card:nth-child(2) {
        height: 150px;
        justify-content: space-between;
    }

    .about__grid-card:nth-child(3),
    .about__grid-card:nth-child(4) {
        height: 150px;
        justify-content: space-between;
        gap: 45px;
    }

    .about__grid-card-title {
        font-size: 18px;
        line-height: 22px;
    }

    .about__grid-card-content {
        font-size: 13px;
        line-height: 16px;
    }

    .about__grid svg {
        display: none;
    }

    .photo__person {
        width: 250px;
        height: 306px;
        object-fit: cover;
    }

    .about__mission {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 320px;
        gap: 8px;
    }

    .about__mission-title {
        font-size: 12px;
        line-height: 20px;
        max-width: 500px;
    }

    .about__mission-content {
        font-size: 10px;
        line-height: 15px;
        text-align: center;
    }

    .referral {
        padding: 0;
        gap: 12px;
    }

    .referral__icon {
        height: 48px;
    }

    .referral__text {
        font-size: 20px;
        line-height: 26px;
    }

    .footer {
        padding: 40px 20px;
        gap: 12px;
    }

    .footer__main {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 115px;
        margin: 0 auto;
    }

    .footer__main .btn {
        width: 90px;
        height: 27px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .footer__main-phones {
        align-items: flex-start;
        width: 95px;
    }

    .footer__phone {
        font-size: 10px;
        line-height: 12px;
    }

    .footer__main-sotial {
        gap: 12px;
        width: 95px;
    }

    .footer__main-sotial svg {
        width: 20px;
        height: 20px;
    }

    .footer__legal {
        margin-right: 0;
        text-align: center;
        gap: 4px;
    }

    .footer__legal-copy {
        font-size: 8px;
        line-height: 10px;
    }

    .footer__legal-links {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__legal-link,
    .footer__legal-dev {
        font-size: 8px;
        line-height: 10px;
    }

    .legal-page {
        width: 100%;
        padding: 30px 16px;
        gap: 12px;
    }

    .legal-page h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .divider {
        width: 100%;
        max-width: none;
    }

    .legal-date {
        font-size: 14px;
    }

    .legal-page h2 {
        font-size: 20px;
        line-height: 26px;
        gap: 4px;
    }

    .legal-page p,
    .legal-page li {
        font-size: 13px;
        line-height: 18px;
    }

    .legal__block {
        padding: 6px 0 6px 10px;
    }

    .confirm {
        padding: 30px 16px;
        gap: 30px;
    }

    .confirm__message {
        font-size: 14px;
        line-height: 18px;
    }

    .btn__accept {
        font-size: 11px;
        padding: 6px 12px;
    }

    .btn__accept span {
        width: 100%;
    }

    .privacy-questions {
        font-size: 12px;
    }
}

/* ===== АДАПТИВ: МОБИЛЬНЫЕ УЗКИЕ ЭКРАНЫ (max-width: 430px) ===== */
@media (max-width: 431px) {
    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 24px 0;
        margin: 0;
    }

    .section__title {
        font-size: 28px;
        line-height: 30px;
        margin-bottom: 8px;
        width: 100%;
        max-width: 350px;
    }

    .header {
        padding: 8px 0;
        height: auto;
        min-height: 56px;
    }

    .header__inner {
        width: 100%;
        padding: 0 16px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo img {
        width: 100%;
        height: auto;
    }

    .header__slogan_frsLine {
        font-size: 14px;
        line-height: 15px;
    }

    .header__slogan_secLine {
        font-size: 13px;
        line-height: 10px;
    }

    .header__contacts {
        width: auto;
        padding: 0;
    }

    .btn {
        width: 80px;
        height: 32px;
        font-size: 10px;
        line-height: 12px;
        padding: 4px 8px;
    }

    .hero {
        padding: 20px 0 16px;
    }

    .hero__title, .hero__subtitle {
        font-size: 26px;
        line-height: 28px;
        width: 100%;
        max-width: 350px;
    }

    .card {
        padding: 20px 0;
        width: 100%;
    }

    .card__title {
        font-size: 24px;
        line-height: 26px;
        padding: 0 8px;
        width: 100%;
        max-width: 350px;
    }

    .cards__grid {
        align-items: center;
        margin-left: 0;
    }


    .card__slider {
        padding: 0;
        width: 100%;
        height: auto;
        margin-bottom: 0;
        border-radius: 0;
    }

    .slider-images {
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 4;
        overflow: hidden;
    }

    .card__slider-img {
        border-radius: 0;
    }

    .tui-pager {
        gap: 6px;
        margin: 12px 0 10px;
    }

    .badge {
        left: 12px;
        top: 12px;
        padding: 4px 10px;
        font-size: 12px;
        line-height: 10px;
    }

    .card__grid {
        padding: 0;
        gap: 12px;
        width: 100%;
        margin-left: 2px;
        margin-top: 15px;
    }

    .card__content {
        padding: 12px 0 12px 12px;
        margin-left: 5px;
    }

    .card__subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    .card__desc {
        font-size: 17px;
        line-height: 18px;
        width: 100%;
        max-width: 400px;
    }

    .steps {
        padding: 24px 0;
        gap: 20px;
    }

    .steps__list {
        gap: 16px;
    }

    .step {
        width: 100%;
        max-width: 370px;
        height: 180px;
        padding: 16px 20px 20px;
        gap: 20px;
    }

    .step:last-child > .step__act h3 {
        height: 35px;
        width: 250px;
    }

    .step__act {
        width: 100%;
        gap: 12px;
        flex-direction: row;
        height: auto;
        align-items: center;
    }

    .step__number:first-child {
        font-size: 32px;
        line-height: 34px;
    }

    .step__act .step__title {
        font-size: 20px;
        line-height: 20px;
        margin-left: 15px;
    }

    .step__arrow {
        left: 15px;
        top: 60px;
        transform: rotate(90deg);
        font-size: 24px;
        width: 40px;
    }

    .step__title:last-child {
        padding: 5px;
        width: 260px;
    }

    .step:last-child .step__arrow {
        display: none;
    }

    .step__desc {
        font-size: 18px;
        line-height: 17px;
        height: auto;
        margin-top: 8px;
        text-align: center;
        width: 100%;
        max-width: 340px;
    }

    .partner {
        padding: 40px 0;
        gap: 24px;
    }

    .logos__line {
        gap: 20px;
        height: 50px;
    }

    .logos__line img, .logos__track img {
        height: 24px;
    }

    .about {
        padding: 0;
        gap: 24px;
    }

    .about__main {
        width: 100%;
        padding: 20px 16px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    .about__logo {
        width: 80px;
        height: 62px;
    }

    .about__title {
        font-size: 30px;
        line-height: 30px;
    }

    .about__subtitle {
        font-size: 22px;
        line-height: 22px;
        max-width: 350px;
    }

    .about__grid {
        gap: 24px;
        width: 100%;
    }

    .about__grid-left {
        width: 100%;
        max-width: 370px;
        padding: 0;
        gap: 24px;
    }

    .about__grid-card {
        width: 100%;
        max-width: 370px;
        padding: 20px;
        justify-content: center;
        align-items: center;
        gap: 20px;
        height: 220px;
    }

    .about__grid-card-title {
        font-size: 22px;
        line-height: 24px;
    }

    .about__grid-card-content {
        font-size: 20px;
        line-height: 18px;
        height: 60px;
        width: 310px;
        text-align: center;
    }

    .photo__person {
        width: 100%;
        max-width: 370px;
        height: auto;
    }

    .about__mission {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-right: 10px;
    }

    .about__mission-title {
        font-size: 18px;
        line-height: 18px;
        text-align: right;
        width: 100%;
        max-width: 380px;
    }

    .about__mission-content {
        font-size: 12px;
        line-height: 18px;
        text-align: center;
    }

    .awards__grid {
        gap: 16px;
        margin-top: 24px;
        grid-template-columns: repeat(1, 1fr);
    }

    .award-cards {
        padding: 16px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 370px;
    }

    .award-card {
        gap: 10px;
    }

    .award-mainTitle {
        padding-left: 0;
        text-align: center;
    }

    .award-firstLine {
        flex-direction: column;
        gap: 0;
    }

    .award-year {
        font-size: 18px;
    }

    .award-title {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 6px;
        text-align: center;
    }

    .award-desc {
        font-size: 18px;
        line-height: 16px;
        text-align: center;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .award-future-icon {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .referral {
        padding: 0;
        gap: 10px;
    }

    .referral__icon {
        height: 40px;
    }

    .referral__text {
        font-size: 18px;
        line-height: 22px;
        max-width: 350px;
    }

    .footer {
        padding: 30px 16px;
        gap: 16px;
    }

    .footer__main {
        width: 100%;
        gap: 20px;
    }

    .footer__main-phones {
        align-items: center;
        width: auto;
    }

    .footer__phone {
        font-size: 14px;
        line-height: 16px;
    }

    .footer__main-sotial {
        gap: 16px;
    }

    .footer__main-sotial svg {
        width: 24px;
        height: 24px;
    }

    .footer__legal {
        margin-right: 0;
        padding: 8px 0;
        gap: 8px;
    }

    .footer__legal-copy {
        font-size: 12px;
        line-height: 14px;
    }

    .footer__legal-links {
        flex-direction: column;
        gap: 6px;
    }

    .footer__legal-link,
    .footer__legal-dev {
        font-size: 12px;
        line-height: 14px;
    }

    .legal-page {
        padding: 20px;
        gap: 10px;
    }

    .legal-page h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .legal-date {
        font-size: 12px;
    }

    .legal-page h2 {
        font-size: 18px;
        line-height: 24px;
    }

    .legal-page p,
    .legal-page li {
        font-size: 12px;
        line-height: 16px;
    }

    .legal__block {
        padding: 4px 0 4px 8px;
    }

    .confirm {
        padding: 20px 12px;
        gap: 20px;
    }

    .confirm__message {
        font-size: 13px;
        line-height: 17px;
    }

    .btn__accept {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* ===== АДАПТИВ: МОБИЛЬНЫЕ ОЧЕНЬ УЗКИЕ ЭКРАНЫ (max-width: 375px) ===== */
@media (max-width: 391px) {
    main {
        margin-left: 3px;
        margin-right: 3px;
    }
    .card__desc {
        width: 100%;
        max-width: 350px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes gentleShake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Декоративные элементы заголовков */
.section__title::before,
.section__title::after {
    font-size: 24px;
    color: var(--color-gold);
    display: inline-block;
    margin: 0 12px;
    opacity: 0.5;
    animation: softPulse 2s infinite ease-in-out;
}

@media (max-width: 767px) {
    .section__title::before,
    .section__title::after {
        display: none;
    }
}

/* Состояние кнопки согласия */
.btn__accept.confirmed {
    background-color: #a07f2a;
    transform: scale(0.98);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn__accept.confirmed:hover {
    background-color: #8b6b20;
    transform: scale(0.96);
}

/* ===== НАВИГАЦИОННАЯ ПАНЕЛЬ (главная страница) ===== */
.nav-icons {
    position: fixed;
    right: 20px;
    top: 320px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(24, 7, 14, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--color-gold, #D4AF37);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: softPulseNav 2s infinite ease-in-out;
}

.nav-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@keyframes softPulseNav {
    0% {
        opacity: 0.85;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.008);
    }
    100% {
        opacity: 0.85;
        transform: scale(1);
    }
}

.nav-icon:hover {
    transform: scale(1.05);
    background: rgba(24, 7, 14, 0.95);
    color: #fff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@media (max-width: 767px) {
    .nav-icons {
        right: auto;
        top: auto;
        transform: none;
        bottom: 20%;
        gap: 10px;
        --icon-size: 40px;
        left: calc(100% - var(--icon-size) - 9vw);
    }

    .nav-icon {
        width: var(--icon-size);
        height: var(--icon-size);
    }

    .nav-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 430px) {
    .nav-icons {
        --icon-size: 36px;
        left: calc(100% - var(--icon-size) - 10vw);
    }

    .nav-icon {
        width: var(--icon-size);
        height: var(--icon-size);
    }

    .nav-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 376px) {
    .nav-icons {
        --icon-size: 36px;
        left: calc(100% - var(--icon-size) - 7vw);
        bottom: 7%;
    }

    /* ===== ИКОНКА «НА ГЛАВНУЮ» (страницы политики/соглашения) ===== */
    .back-to-home-icon {
        position: fixed;
        top: 120px;
        right: 20px;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(24, 7, 14, 0.8);
        backdrop-filter: blur(4px);
        border-radius: 50%;
        color: var(--color-gold, #D4AF37);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        animation: softPulseBack 2s infinite ease-in-out;
    }

    .back-to-home-icon:hover {
        transform: scale(1.05);
        background: rgba(24, 7, 14, 0.95);
        color: #fff;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

    @keyframes softPulseBack {
        0% {
            opacity: 0.7;
            transform: scale(1);
        }
        50% {
            opacity: 1;
            transform: scale(1.02);
        }
        100% {
            opacity: 0.7;
            transform: scale(1);
        }
    }

    @media (max-width: 767px) {
        .back-to-home-icon {
            top: 70px;
            right: 12px;
            width: 40px;
            height: 40px;
        }

        .back-to-home-icon svg {
            width: 24px;
            height: 24px;
        }
    }
}

/* ===== ЛОАДЕР ДЛЯ СЛАЙДЕРОВ ===== */
.card__slider {
    position: relative;               /* контекст для абсолютного лоадера */
    min-height: 500px;               /* базовая высота для десктопа и планшетов */
}

/* Лоадер – накладывается поверх области слайдера */
.slider-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 7, 14, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 12px;
    gap: 20px;
    transition: opacity 0.3s ease;
}

/* Логотип в лоадере с мягкой пульсацией */
.loader-logo {
    width: 70px;
    height: auto;
    animation: gentlePulse 1.5s infinite ease-in-out;
}

/* Спиннер загрузки */
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Текст лоадера */
.loader-text {
    font-family: var(--font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--color-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Контейнер для изображений с сохранением пропорций */
.slider-images {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4; 
    overflow: hidden;
}

/* Сами изображения (слои для кроссфейда) */
.card__slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.6s ease-in-out;
    background: #2C2C2C;
    opacity: 0.4;
}

/* Анимации */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gentlePulse {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* ===== АДАПТИВНАЯ ВЫСОТА ДЛЯ РАЗНЫХ УСТРОЙСТВ ===== */
/* Планшеты (ширина до 1024px) – высота слайдера 500px */
@media (max-width: 1024px) {
    .card__slider {
        min-height: 500px;
    }
}

/* Мобильные телефоны (ширина до 767px) – высота слайдера 344px */
@media (max-width: 767px) {
    .card__slider {
        min-height: 344px;
    }
    .loader-logo {
        width: 50px;
    }
    .loader-spinner {
        width: 36px;
        height: 36px;
        border-width: 3px;
    }
    .loader-text {
        font-size: 14px;
    }
}

/* Очень узкие мобильные (ширина до 431px) – дополнительная коррекция отступов */
@media (max-width: 431px) {
    .slider-loader {
        gap: 12px;
    }
    .loader-logo {
        width: 40px;
    }
    .loader-spinner {
        width: 30px;
        height: 30px;
    }
    .loader-text {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    .card__grid {
        margin-top: 150px;
    }
}