/* ============================================
   Transliterra — Стили лендинга
   Палитра: White + Primary/Deep Blue + Teal accent
   ============================================ */

:root {
    /* ===== ПАЛИТРА БРЕНДА ===== */
    --primary-blue: #1F4FBF;   /* Primary Blue — кнопки, ссылки, акценты */
    --deep-blue:    #163A8F;   /* Deep Blue — шапка, футер, регистрация */
    --light-blue:   #EAF1FF;   /* Light Blue — фоны мягких элементов */
    --white:        #FFFFFF;   /* White — основной фон */
    --teal:         #19C2C8;   /* Accent Teal — логотип, highlights */
    --teal-soft:    #5fd5d9;
    --teal-bg:      #e6f9fa;

    /* Производные оттенки синего */
    --blue-hover:   #2A5FD9;   /* primary при hover */
    --blue-darker:  #0F2868;   /* самый тёмный для теней */

    /* ===== INK (тексты) ===== */
    --ink-900: #0F1B3D;        /* основной текст */
    --ink-700: #2D3A66;        /* подзаголовки */
    --ink-500: #6B7799;        /* вторичный текст */
    --ink-300: #A8B2D1;        /* подсказки */

    /* ===== ТЕНИ ===== */
    --shadow-sm:   0 2px 8px rgba(15, 27, 61, 0.06);
    --shadow-md:   0 8px 24px rgba(15, 27, 61, 0.1);
    --shadow-lg:   0 24px 48px rgba(15, 27, 61, 0.14);
    --shadow-blue: 0 12px 28px rgba(31, 79, 191, 0.28);

    /* ===== РАДИУСЫ ===== */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* ===== ТИПОГРАФИКА ===== */
    --font: 'Manrope', system-ui, -apple-system, sans-serif;

    /* ===== ПЕРЕХОДЫ ===== */
    --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ===== РАСКЛАДКА ===== */
    --container: 1280px;
    --header-h: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-900);
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Flex-колонка: header сверху, hero растягивается, footer всегда внизу экрана */
    display: flex;
    flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Скроллбар */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--light-blue); }
::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--deep-blue); }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--deep-blue) 0%, #1B45A8 60%, var(--primary-blue) 100%);
    box-shadow: 0 4px 24px rgba(22, 58, 143, 0.25);
    backdrop-filter: saturate(120%);
}
.header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ===== LOGO ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: transform var(--t-fast);
}
.logo:hover { transform: translateY(-1px); }
.logo__icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(25, 194, 200, 0.5));
}
.logo__text {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1.5px;
    color: var(--white);
}
.logo__accent {
    color: var(--teal);
    text-shadow: 0 2px 8px rgba(25, 194, 200, 0.55);
}

/* ===== HEADER ACTIONS ===== */
.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ===== BUTTONS — общий ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base), border-color var(--t-base);
    user-select: none;
    white-space: nowrap;
    text-align: center;
}

/* Кнопка логина (в шапке) */
.btn--login {
    padding: 12px 24px;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.6px;
}
.btn--login:hover {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Кнопка primary (Tellige tõlge) — главное действие */
.btn--primary {
    padding: 16px 32px;
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
    font-size: 15px;
}
.btn--primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(31, 79, 191, 0.4);
}
.btn--primary svg { transition: transform var(--t-base); }
.btn--primary:hover svg { transform: translateX(4px); }

/* Кнопка secondary (Hakka tõlgiks) — outlined */
.btn--secondary {
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-size: 15px;
}
.btn--secondary:hover {
    transform: translateY(-2px);
    background: var(--light-blue);
    box-shadow: var(--shadow-md);
    border-color: var(--deep-blue);
    color: var(--deep-blue);
}
.btn--secondary svg { transition: transform var(--t-base); }
.btn--secondary:hover svg { transform: translateX(4px); }

.btn--ghost {
    padding: 10px 18px;
    color: var(--ink-700);
    background: transparent;
    font-size: 14px;
}
.btn--ghost:hover { background: var(--light-blue); color: var(--primary-blue); }

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ============================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
   ============================================ */
.lang-switcher { position: relative; }
.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--white);
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.4px;
    transition: background var(--t-fast);
}
.lang-switcher__btn:hover { background: rgba(255, 255, 255, 0.14); }
.lang-switcher__chevron { transition: transform var(--t-base); }
.lang-switcher.is-open .lang-switcher__chevron { transform: rotate(180deg); }

.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity var(--t-base), transform var(--t-base);
    z-index: 10;
}
.lang-switcher.is-open .lang-switcher__menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.lang-switcher__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    color: var(--ink-900);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: background var(--t-fast), color var(--t-fast);
}
.lang-switcher__menu a:hover { background: var(--light-blue); color: var(--primary-blue); }

/* ===== ИКОНКА ГЛОБУСА И КОД ЯЗЫКА ===== */
.lang-switcher__globe {
    flex-shrink: 0;
    opacity: 0.9;
}
.lang-switcher__code {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mobile-menu__lang .lang-switcher__code {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}
.mobile-menu__lang.is-active .lang-switcher__code {
    background: var(--teal);
    color: var(--white);
}

/* ===== SKIP LINK для доступности и SEO ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 10px 18px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 14px;
    transition: top var(--t-base);
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ============================================ */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: var(--r-sm);
    transition: background var(--t-fast);
}
.burger:hover { background: rgba(255,255,255,0.14); }
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-fast);
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    background: var(--deep-blue);
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu.is-open { display: block; animation: slideDown var(--t-base); }
.mobile-menu__login {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--white);
    color: var(--deep-blue);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.mobile-menu__langs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu__lang {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--white);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 15px;
    transition: background var(--t-fast);
}
.mobile-menu__lang:hover,
.mobile-menu__lang.is-active {
    background: rgba(255, 255, 255, 0.15);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO — белый фон с мягкими орбами
   ============================================ */
.hero {
    position: relative;
    flex: 1 0 auto;            /* растягивается на весь доступный остаток высоты */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px 64px;
    background:
        radial-gradient(ellipse at top right, var(--light-blue) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, var(--teal-bg) 0%, transparent 55%),
        var(--white);
    overflow: hidden;
    isolation: isolate;
}

/* Декоративные орбы */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 18s ease-in-out infinite;
}
.orb--1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 65%);
    top: -120px; left: -120px;
    animation-delay: 0s;
}
.orb--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, var(--teal) 0%, transparent 65%);
    bottom: -80px; right: -80px;
    opacity: 0.25;
    animation-delay: -6s;
}
.orb--3 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--light-blue) 0%, transparent 65%);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 30px) scale(0.95); }
}
.orb--3 { animation-name: floatCenter; }
@keyframes floatCenter {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -50%) scale(1.08); }
}

/* ===== HERO CONTENT ===== */
.hero__content {
    max-width: 920px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero__eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    box-shadow: 0 0 0 1px rgba(31, 79, 191, 0.08);
    animation: fadeInUp 600ms cubic-bezier(0.4,0,0.2,1) both;
}
.hero__title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--deep-blue);
    margin-bottom: 16px;
    animation: fadeInUp 700ms cubic-bezier(0.4,0,0.2,1) both;
    animation-delay: 80ms;
}
.hero__subtitle {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--ink-500);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
    animation: fadeInUp 800ms cubic-bezier(0.4,0,0.2,1) both;
    animation-delay: 160ms;
}

/* ===== CTA блок ===== */
.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: fadeInUp 900ms cubic-bezier(0.4,0,0.2,1) both;
    animation-delay: 240ms;
}

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

/* ===== ФИЧИ (полоса доверия) ===== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
    animation: fadeInUp 1000ms cubic-bezier(0.4,0,0.2,1) both;
    animation-delay: 360ms;
}
.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--r-md);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    border: 1px solid var(--light-blue);
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(31, 79, 191, 0.18);
}
.feature__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(31, 79, 191, 0.3);
}
.feature strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.2;
    margin-bottom: 2px;
}
.feature span {
    font-size: 13px;
    color: var(--ink-500);
    line-height: 1.4;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--blue-darker) 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 28px 32px 24px;
    flex-shrink: 0;
}
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}
.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.5px;
}
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}
.footer__nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color var(--t-fast);
}
.footer__nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 2px;
    width: 0; height: 1px;
    background: var(--teal);
    transition: width var(--t-base);
}
.footer__nav a:hover { color: var(--white); }
.footer__nav a:hover::after { width: 100%; }
.footer__copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

/* ============================================
   МОДАЛЬНЫЕ ОКНА
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.is-open {
    display: flex;
    animation: modalFade var(--t-base);
}
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 61, 0.55);
    backdrop-filter: blur(6px);
}
.modal__dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--r-lg);
    max-width: 640px;
    width: 100%;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalSlide 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px 16px;
    border-bottom: 1px solid var(--light-blue);
}
.modal__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--deep-blue);
    line-height: 1.25;
    letter-spacing: -0.3px;
}
.modal__close {
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--ink-500);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}
.modal__body {
    padding: 24px 32px 32px;
    overflow-y: auto;
    color: var(--ink-700);
    font-size: 15px;
    line-height: 1.65;
}
.modal__body h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--deep-blue);
    margin: 22px 0 8px;
    letter-spacing: -0.2px;
}
.modal__body h3:first-child { margin-top: 0; }
.modal__body p { margin-bottom: 14px; }
.modal__body ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
}
.modal__body ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}
.modal__body ul li::before {
    content: '';
    position: absolute;
    left: 6px; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
}
.modal__body strong { color: var(--ink-900); font-weight: 700; }
.modal__body .modal-note {
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: var(--r-sm);
    font-size: 13px;
    border-left: 3px solid var(--primary-blue);
}

@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 27, 61, 0.06);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity var(--t-base);
    pointer-events: none;
}
.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}
.cookie-banner__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.cookie-banner__text {
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.5;
}
.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-banner__link {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background var(--t-fast);
}
.cookie-banner__link:hover {
    background: var(--light-blue);
    text-decoration: underline;
}

/* ============================================
   БЛОКИРОВКА СКРОЛЛА
   ============================================ */
body.is-locked { overflow: hidden; }

/* ============================================
   АДАПТИВ
   ============================================ */
@media (max-width: 960px) {
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .footer__brand { justify-content: center; }
    .footer__copy { text-align: center; }

    .cookie-banner__inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }
    .cookie-banner__icon { margin: 0 auto; }
    .cookie-banner__actions { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    .header__inner { padding: 0 20px; }
    .logo__text { font-size: 18px; letter-spacing: 1px; }
    .logo__icon { width: 28px; height: 28px; }

    .header__actions .btn--login,
    .header__actions .lang-switcher { display: none; }
    .burger { display: flex; }

    .hero { padding: 40px 20px 56px; flex: 0 0 auto; }
    .hero__title { letter-spacing: -1px; }
    .hero__cta { gap: 12px; flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; }
    .btn--primary, .btn--secondary { padding: 16px 28px; font-size: 15px; }

    .features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature { padding: 16px 18px; }

    .footer { padding: 36px 20px 28px; }
    .footer__nav { gap: 6px 18px; }
    .footer__nav a { font-size: 13px; }

    .modal { padding: 12px; }
    .modal__dialog { max-height: 92vh; border-radius: var(--r-md); }
    .modal__header { padding: 22px 22px 14px; }
    .modal__title { font-size: 19px; }
    .modal__body { padding: 20px 22px 26px; font-size: 14px; }

    .cookie-banner { left: 12px; right: 12px; bottom: 12px; border-radius: var(--r-md); }
    .cookie-banner__inner { padding: 16px 18px; }
    .cookie-banner__text { font-size: 13px; }
    .cookie-banner__actions .btn { flex: 1; }
}

@media (max-width: 420px) {
    .hero__eyebrow { font-size: 11px; padding: 6px 14px; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 15px; margin-bottom: 32px; }
}

/* ===== Короткие десктоп-экраны (ноутбуки 1366×768 и подобные) ===== */
@media (min-width: 769px) and (max-height: 800px) {
    .hero { padding: 28px 32px 40px; }
    .hero__eyebrow { margin-bottom: 14px; padding: 6px 14px; font-size: 11px; }
    .hero__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
    .hero__subtitle { font-size: 15px; margin-bottom: 24px; }
    .hero__cta { margin-bottom: 28px; }
    .btn--primary, .btn--secondary { padding: 13px 26px; font-size: 14px; }
    .feature { padding: 12px 16px; }
    .feature__icon { width: 36px; height: 36px; }
    .footer { padding: 20px 32px 18px; }
}

@media (min-width: 769px) and (max-height: 680px) {
    /* Совсем низкие экраны — скрываем декоративную полосу фич */
    .features { display: none; }
    .hero__cta { margin-bottom: 0; }
}

/* ============================================
   ДОСТУПНОСТЬ
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .orb { animation: none; }
}
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn--login:focus-visible,
.lang-switcher__btn:focus-visible,
.burger:focus-visible {
    outline-color: var(--white);
}
