:root {
  --font-family: "Inter", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  --max-w: 1200px;
  --space-x: 24px;
  --space-y: 20px;
  --gap: 16px;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

  --overlay: rgba(0, 0, 0, 0.7);
  --anim-duration: 0.3s;
  --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --random-number: 1;

  --brand: #6C8CFF;
  --brand-contrast: #FFFFFF;
  --accent: #FFD166;
  --accent-contrast: #0A0A14;

  --neutral-0: #FFFFFF;
  --neutral-100: #E6E8F0;
  --neutral-300: #8A90B8;
  --neutral-600: #4A5073;
  --neutral-800: #1E2136;
  --neutral-900: #0A0A14;

  --bg-page: #0A0A14;
  --fg-on-page: #E6E8F0;

  --bg-alt: #1E2136;
  --fg-on-alt: #E6E8F0;

  --surface-1: #1E2136;
  --surface-2: #2A2E4A;
  --fg-on-surface: #E6E8F0;
  --border-on-surface: rgba(106, 140, 255, 0.2);

  --surface-light: rgba(255, 255, 255, 0.05);
  --fg-on-surface-light: #FFFFFF;
  --border-on-surface-light: rgba(255, 255, 255, 0.1);

  --bg-primary: #6C8CFF;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #8AA4FF;
  --ring: #6C8CFF;

  --bg-accent: rgba(255, 209, 102, 0.1);
  --fg-on-accent: #FFD166;
  --bg-accent-hover: #FFE4A3;

  --success: #4ECDC4;
  --success-contrast: #0A0A14;
  --warning: #FFD166;
  --warning-contrast: #0A0A14;
  --danger: #FF6B6B;
  --danger-contrast: #FFFFFF;

  --link: #6C8CFF;
  --link-hover: #8AA4FF;

  --gradient-hero: linear-gradient(135deg, #0A0A14 0%, #1E2136 50%, #2A2E4A 100%);
  --gradient-accent: linear-gradient(90deg, #6C8CFF 0%, #8AA4FF 100%);

  --btn-primary-bg: var(--bg-primary);
  --btn-primary-fg: var(--fg-on-primary);
  --btn-primary-bg-hover: var(--bg-primary-hover);

  --btn-ghost-bg: transparent;
  --btn-ghost-fg: var(--fg-on-page);
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);

  --card-bg-dark: var(--surface-1);
  --card-fg-dark: var(--fg-on-surface);
  --card-border-dark: var(--border-on-surface);

  --card-bg-light: var(--surface-light);
  --card-fg-light: var(--fg-on-surface-light);
  --card-border-light: var(--border-on-surface-light);

  --chip-bg: rgba(255,255,255,0.08);
  --chip-fg: var(--fg-on-page);

  --input-bg: var(--surface-2);
  --input-fg: var(--fg-on-surface);
  --input-border: var(--border-on-surface);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);}

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.index-hero {
        position: relative;
        font-family: var(--font-family);
        color: var(--fg-on-page);
        padding: clamp(48px, 8vw, 140px) clamp(16px, 4vw, 40px);
        overflow: hidden;
    }

    .index-hero .index-hero__bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transform: scale(1.05);
    }

    .index-hero .index-hero__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .index-hero .index-hero__c {
        position: relative;
        max-width: var(--max-w);
        margin: 0 auto;
        background: rgba(0, 0, 0, 0.6);
        border-radius: var(--radius-lg);
        padding: var(--space-x)l
    }

    .index-hero .index-hero__center {
        text-align: center;
        color: white;
    }

    .index-hero h1 {
        font-size: clamp(34px, 7vw, 84px);
        margin: .1em 0 .2em;
        color: inherit;
        background: inherit;
    }

    .index-hero p {
        max-width: 65ch;
        margin: 0 auto 1.2rem;
        color: inherit;
        background: inherit;
    }

    .index-hero .index-hero__btn {
        display: inline-block;
        padding: 1rem 1.4rem;
        border-radius: var(--radius-lg);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
        box-shadow: var(--shadow-md);
    }

.index-cta {
        font-family: var(--font-family);
        color: white;
        background: var(--bg-primary);
        padding: clamp(28px, 5vw, 72px) clamp(16px, 3vw, 40px);
    }

    .index-cta .index-cta__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .index-cta .index-cta__row {
        text-align: center;
    }

    .index-cta h2 {
        font-size: clamp(22px, 4.5vw, 40px);
        margin: 0 0 .3rem;
        color: var(--fg-on-primary);
    }

    .index-cta p {
        color: var(--fg-on-primary);
        margin: 2rem 0;
        opacity: 0.9;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .index-cta .index-cta__actions {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .index-cta .index-cta__btn {
        display: inline-block;
        text-decoration: none;
        padding: .85rem 1.2rem;
        border-radius: var(--radius-lg);
        transition: transform .2s, background-color var(--anim-duration) var(--anim-ease);
        background: var(--bg-accent);
        font-weight: 500;
    }

    .index-cta .index-cta__btn.index-cta__primary {
        background: var(--fg-on-primary);
        color: var(--bg-primary);
        box-shadow: var(--shadow-md);
    }

    .index-cta .index-cta__btn.index-cta__primary:hover {
        background: var(--bg-primary-hover);
        color: var(--fg-on-primary);
    }

    .index-cta .index-cta__btn.index-cta__ghost {
        border: 1px solid var(--surface-light-border);
        color: var(--fg-on-primary);
        background: transparent;
    }

    .index-cta .index-cta__btn.index-cta__ghost:hover {
        background: var(--surface-light-bg);
        border-color: var(--fg-on-primary);
    }

    .index-cta .index-cta__btn:hover {
        transform: translateY(-2px);
    }

    @media (max-width: 767px) {
        .index-cta .index-cta__actions {
            flex-direction: column;
        }
        
        .index-cta .index-cta__btn {
            width: 100%;
            text-align: center;
        }
    }

.subscribe {
        font-family: var(--font-family);
        color: var(--fg-on-page);
        background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-page) 100%);
        padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px);
    }

    .subscribe .subscribe__c {
        max-width: 600px;
        margin: 0 auto;
    }

    .subscribe .subscribe__card {
        background: var(--card-bg-light);
        border: 2px solid var(--border-on-surface-light);
        border-radius: var(--radius-xl);
        padding: clamp(40px, 6vw, 64px) clamp(32px, 5vw, 48px);
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .subscribe .subscribe__header {
        margin-bottom: clamp(32px, 5vw, 48px);
    }

    .subscribe .subscribe__icon-wrapper {
        margin-bottom: clamp(20px, 3vw, 28px);
    }

    .subscribe .subscribe__icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        margin: 0 auto;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .subscribe h1 {
        font-size: clamp(28px, 5vw, 44px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-page);
        font-weight: 700;
    }

    .subscribe .subscribe__header p {
        font-size: clamp(15px, 2.2vw, 18px);
        color: var(--neutral-600);
        margin: 0;
        line-height: 1.6;
    }

    .subscribe .subscribe__form {
        margin-bottom: clamp(24px, 4vw, 32px);
    }

    .subscribe .subscribe__input-group {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .subscribe .subscribe__input-group > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    @media (max-width: 767px) {
        .subscribe .subscribe__input-group {
            flex-direction: column;
        }
    }

    .subscribe .subscribe__input-group input {
        flex: 1;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-lg);
        border: 2px solid var(--ring);
        background: var(--bg-page);
        color: var(--fg-on-page);
        font-size: 1rem;
        outline: none;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .subscribe .subscribe__input-group input:focus {
        border-color: var(--bg-primary);
        box-shadow: 0 0 0 3px var(--ring);
    }

    .subscribe .subscribe__input-group input::placeholder {
        color: var(--neutral-600);
    }

    .subscribe .subscribe__input-group button {
        padding: 1rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: 700;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: var(--shadow-md);
    }

    @media (max-width: 767px) {
        .subscribe .subscribe__input-group button {
            width: 100%;
            justify-content: center;
        }
    }

    .subscribe .subscribe__input-group button:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .subscribe .subscribe__arrow {
        font-size: 1.25rem;
        transition: transform var(--anim-duration) var(--anim-ease);
    }

    .subscribe .subscribe__input-group button:hover .subscribe__arrow {
        transform: translateX(4px);
    }

    .subscribe .subscribe__privacy {
        font-size: 0.75rem;
        color: var(--neutral-600);
        margin: 0;
        line-height: 1.5;
    }

    .subscribe .subscribe__social {
        padding-top: clamp(24px, 4vw, 32px);
        border-top: 1px solid var(--border-on-surface-light);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .subscribe .subscribe__social > span {
        font-size: 0.875rem;
        color: var(--neutral-600);
    }

    .subscribe .subscribe__social-links {
        display: flex;
        gap: 1rem;
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .subscribe .subscribe__social-links > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .subscribe .subscribe__social-link {
        padding: 0.5rem 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
        color: var(--fg-on-page);
        text-decoration: none;
        font-size: 0.875rem;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .subscribe .subscribe__social-link:hover {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
        transform: translateY(-2px);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.about-team {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .about-team .about-team__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .about-team .about-team__grid {
        display: grid;
        gap: var(--space-x);
    }

    .about-team .about-team__card {
        background: var(--surface-1);
        border: 1px solid var(--surface-border);
        border-radius: var(--radius-lg);
        padding: clamp(12px, 2vw, 20px);
        text-align: center;
        box-shadow: var(--shadow-md);
        transition: transform var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }

    .about-team .about-team__card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--brand);
    }

    .about-team img {
        height: 120px;
        width: 120px;
        object-fit: cover;
        border-radius: 50%;
        margin: 0 auto 16px;
        border: 2px solid var(--brand);
    }

    .about-team h2 {
        color: var(--neutral-0);
        font-size: 2.5rem;
        margin-bottom: var(--space-y);
        text-align: center;
    }

    .about-team .about-team__h p {
        color: var(--neutral-300);
        font-size: 1.125rem;
        text-align: center;
        max-width: 600px;
        margin: 0 auto var(--space-y);
    }

    .about-team__card h3 {
        color: var(--fg-on-surface);
        margin-bottom: 8px;
        font-size: 1.25rem;
    }

    .about-team__role {
        color: var(--brand);
        font-weight: 600;
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .about-team__card p {
        color: var(--neutral-300);
        line-height: var(--line-height-base);
        font-size: var(--font-size-base);
    }

    @media (max-width: 767px) {
        .about-team .about-team__grid {
            grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        }
    }

.about-timeline {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .about-timeline__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .about-timeline .about-timeline__zig {
        display: grid;
        gap: 16px;
    }

    .about-timeline .about-timeline__zig .item {
        list-style: none;
        background: var(--surface-1);
        color: var(--fg-on-surface);
        border-radius: var(--radius-lg);
        padding: clamp(12px, 2vw, 20px);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-on-surface);
        position: relative;
        transition: transform var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }

    .about-timeline .about-timeline__zig .item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--brand);
    }

    .about-timeline .about-timeline__zig .item h4 {
        color: var(--brand);
        margin-top: 0;
        margin-bottom: 8px;
        font-size: 1.25rem;
    }

    .about-timeline .about-timeline__zig .item time {
        display: inline-block;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        padding: 4px 12px;
        border-radius: var(--radius-sm);
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .about-timeline .about-timeline__zig .item p {
        margin-bottom: 0;
        line-height: var(--line-height-base);
        color: var(--neutral-100);
    }

    @media (min-width: 768px) {
        .about-timeline .about-timeline__zig {
            grid-template-columns: 1fr;
            position: relative;
        }
        .about-timeline .about-timeline__zig::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, transparent, var(--brand), transparent);
            transform: translateX(-50%);
        }
        .about-timeline .about-timeline__zig .item {
            width: calc(50% - 20px);
        }
        .about-timeline .about-timeline__zig .item:nth-child(odd) {
            margin-right: auto;
        }
        .about-timeline .about-timeline__zig .item:nth-child(even) {
            margin-left: auto;
        }
    }

.about-mission {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .about-mission .about-mission__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .about-mission .about-mission__grid {
        display: grid;
        gap: var(--space-x);
        grid-template-columns: 1fr 1fr;
    }

    .about-mission p {
        color: var(--neutral-300);
        line-height: var(--line-height-base);
    }

    .about-mission h3 {
        color: var(--neutral-0);
        margin-bottom: var(--gap);
    }

    @media (max-width: 767px) {
        .about-mission .about-mission__grid {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.advantages {
        font-family: var(--font-family);
        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

    .advantages .advantages__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .advantages .advantages__title {
        font-size: clamp(28px, 5vw, 48px);
        text-align: center;
        margin: 0 0 clamp(48px, 7vw, 72px);
        color: var(--fg-on-page);
    }

    .advantages .advantages__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: clamp(24px, 4vw, 40px);
    }

    .advantages .advantages__card {
        text-align: center;
        padding: clamp(28px, 4.5vw, 40px) clamp(20px, 3vw, 28px);
        background: var(--surface-1);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface);
        transition: transform var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }

    .advantages .advantages__card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--brand);
    }

    .advantages .advantages__icon {
        font-size: clamp(52px, 8.5vw, 88px);
        margin: 0 auto clamp(20px, 3vw, 28px);
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(90px, 13vw, 130px);
        height: clamp(90px, 13vw, 130px);
        background: var(--surface-2);
        border-radius: 50%;
        border: 2px solid var(--border-on-surface);
        transition: border-color var(--anim-duration) var(--anim-ease), background-color var(--anim-duration) var(--anim-ease);
    }

    .advantages .advantages__card:hover .advantages__icon {
        border-color: var(--brand);
        background-color: rgba(108, 140, 255, 0.05);
    }

    .advantages .advantages__card h3 {
        font-size: clamp(20px, 3vw, 24px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-page);
    }

    .advantages .advantages__card p {
        font-size: clamp(15px, 2.2vw, 17px);
        line-height: 1.6;
        color: var(--neutral-600);
        margin: 0;
    }

.index-features {
        font-family: var(--font-family);
        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .index-features .index-features__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .index-features .index-features__h h2 {
        font-size: clamp(24px, 4vw, 44px);
        margin: 0 .35em;
    }

    .index-features .index-features__h p {
        color: var(--neutral-300);
        margin: 0 0 1.2rem;
    }

    .index-features .index-features__grid {
        display: grid;
        gap: var(--space-x);
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .index-features .index-features__grid > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .index-features .index-features__card {
        background: var(--card-bg-dark);
        border: 1px solid var(--ring);
        border-radius: var(--radius-lg);
        padding: clamp(14px, 2.2vw, 24px);
        box-shadow: var(--shadow-sm);
        transition: transform var(--anim-duration) var(--anim-ease);
    }

    .index-features .index-features__card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .index-features .index-features__icon img {
        width: 40px;
        height: 40px;
    }

    .index-features h3 {
        margin: 1.5rem 0 .35rem;
        font-size: clamp(18px, 2.8vw, 22px);
    }

    @media (max-width: 767px) {
        .index-features .index-features__grid {
            grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.contact-form {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .contact-form .c {
        max-width: min(720px, var(--max-w));
        margin: 0 auto;
    }

    .contact-form .h h2 {
        margin: 0 0 .25rem;
        font-size: clamp(22px, 4vw, 36px);
        color: var(--fg-on-page)
    }

    .contact-form .h p {
        margin: 1rem 0;
        color: var(--neutral-300);
    }

    .contact-form .f {
        display: grid;
        gap: 12px;
        background: var(--surface-1);
        border: 1px solid var(--surface-border);
        border-radius: var(--radius-xl);
        padding: clamp(14px, 2.5vw, 26px);
        box-shadow: var(--shadow-md);
    }

    .contact-form .row {
        display: grid;
        gap: 6px;
    }

    .contact-form label {
        font-size: .9rem;
        opacity: .85;
        color: var(--fg-on-surface);
    }

    .contact-form input:not([type="checkbox"]), .contact-form textarea {
        width: 100%;
        padding: .85rem 1rem;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        background: var(--input-bg);
        color: var(--input-fg);
        transition: box-shadow var(--anim-duration) var(--anim-ease), border-color var(--anim-duration) var(--anim-ease);
        box-sizing: border-box;
    }

    .contact-form input:focus, .contact-form textarea:focus {
        box-shadow: 0 0 0 3px var(--ring);
        border-color: var(--brand);
        outline: none;
    }

    .contact-form .agree {
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: .9rem;
        color: var(--neutral-300);
    }

    .contact-form button {
        padding: .9rem 1.2rem;
        border-radius: var(--radius-lg);
        background: var(--btn-primary-bg);
        color: var(--btn-primary-fg);
        border: 0;
        cursor: pointer;
        font-weight: 500;
        transition: background-color var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
    }

    .contact-form button:hover {
        background: var(--btn-primary-bg-hover);
        transform: translateY(-2px);
    }

.contact-map {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .contact-map .c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .contact-map .h {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .contact-map .h h2 {
        margin: 0 0 .5rem;
        font-size: clamp(24px, 4vw, 40px);
        color: var(--fg-on-page);
    }

    .contact-map .h p {
        margin: 0;
        color: var(--neutral-600);
    }

    .contact-map .content {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }

    .contact-map .map-container {
        width: 100%;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }

    .contact-map .map-container iframe {
        display: block;
        width: 100%;
        height: 420px;
        border: 0;
    }

    .contact-map .info-card {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-radius: var(--radius-xl);
        padding: clamp(16px, 2.5vw, 28px);
        box-shadow: var(--shadow-lg);
    }

    .contact-map .info-card h3 {
        margin: 0 0 1.5rem;
        font-size: clamp(20px, 3vw, 26px);
        color: var(--fg-on-accent);
    }

    .contact-map .items {
        display: grid;
        gap: 1.5rem;
    }

    .contact-map .item {
        display: grid;
        gap: .5rem;
    }

    .contact-map .item strong {
        display: block;
        font-size: .9rem;
        opacity: .9;
    }

    .contact-map .item span {
        display: block;
        font-size: 1.05rem;
        color: var(--fg-on-accent);
    }

    @media (max-width: 1023px) {
        .contact-map .content {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.policy-items {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .policy-items__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .policy-items h1 {
        margin: 0 0 2.5rem;
        font-size: clamp(28px, 5vw, 48px);
        color: var(--fg-on-page);
        text-align: center;
    }

    .policy-items__wrapper {
        display: grid;
        gap: 1.25rem;
    }

    .policy-items__item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        padding: 1.75rem;
        background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
        color: var(--fg-on-primary);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
        align-items: start;
    }

    .policy-items__icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .policy-items__content h3 {
        margin: 0 0 .75rem;
        font-size: clamp(20px, 3vw, 24px);
        color: var(--fg-on-primary);
    }

    .policy-items__content p {
        margin: 0;
        font-size: 1rem;
        color: var(--fg-on-primary);
        opacity: .95;
        line-height: 1.7;
    }

    @media (max-width: 767px) {
        .policy-items__item {
            grid-template-columns: 1fr;
            gap: 1rem;
            padding: 1.5rem;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.terms-items {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .terms-items__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .terms-items h1 {
        margin: 0 0 2.5rem;
        font-size: clamp(28px, 5vw, 48px);
        color: var(--fg-on-page);
        text-align: center;
    }

    .terms-items__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .terms-items__card {
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        transition: box-shadow var(--anim-duration) var(--anim-ease);
    }

    .terms-items__card:hover {
        box-shadow: var(--shadow-md);
    }

    .terms-items__card h3 {
        margin: 0 0 1rem;
        font-size: clamp(18px, 2.5vw, 22px);
        color: var(--accent-fg);
    }

    .terms-items__text {
        font-size: .95rem;
        color: var(--neutral-300);
        line-height: var(--line-height-base);
    }

    .terms-items__text a {
        color: var(--link);
        text-decoration: none;
    }

    .terms-items__text a:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }

    @media (max-width: 1023px) {
        .terms-items__grid {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.thanks-light {
        font-family: var(--font-family);
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 56px);
    }

    .thanks-light__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .thanks-light__card {
        background: var(--surface-light);
        color: var(--fg-on-surface-light);
        border-radius: var(--radius-xl);
        padding: clamp(24px, 4vw, 40px);
        box-shadow: var(--shadow-md);
        text-align: center;
        border: 1px solid var(--border-on-surface-light);
    }

    .thanks-light__mark {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        margin: 0 auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        font-size: 1.6rem;
    }

    .thanks-light h1 {
        font-size: clamp(26px, 4.5vw, 38px);
        margin: 0 0 0.75rem;
    }

    .thanks-light p {
        margin: 0 0 0.75rem;
        opacity: 0.9;
    }

    .thanks-light__note {
        font-size: 0.9rem;
        opacity: 0.8;
        margin-bottom: 2rem;
    }

    .thanks-light__actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .thanks-light__btn {
        display: inline-block;
        text-decoration: none;
        padding: 0.85rem 1.3rem;
        border-radius: var(--radius-lg);
        font-weight: 500;
        transition: background var(--anim-duration) var(--anim-ease),
        color var(--anim-duration) var(--anim-ease),
        transform var(--anim-duration) var(--anim-ease),
        box-shadow var(--anim-duration) var(--anim-ease);
    }

    .thanks-light__btn--primary {
        background: var(--btn-primary-bg);
        color: var(--btn-primary-fg);
        box-shadow: var(--shadow-sm);
    }

    .thanks-light__btn--primary:hover {
        background: var(--btn-primary-bg-hover);
        transform: translateY(-2px);
    }

    .thanks-light__btn--ghost {
        background: var(--btn-ghost-bg);
        color: var(--btn-ghost-fg);
        border: 1px solid var(--input-border);
    }

    .thanks-light__btn--ghost:hover {
        background: var(--btn-ghost-bg-hover);
        transform: translateY(-2px);
    }

    @media (max-width: 767px) {
        .thanks-light__card {
            padding: 20px;
        }

        .thanks-light__actions {
            flex-direction: column;
        }

        .thanks-light__btn {
            width: 100%;
            text-align: center;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-size: calc(var(--font-size-base) * 1.5);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
}

.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}

.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--link-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: calc(var(--gap) / 2);
    }

    .nav-link {
        display: block;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

.site-footer {
        background-color: #2c3e50;
        color: #ecf0f1;
        padding: 3rem 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: auto;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 2.2rem;
        font-weight: 700;
        color: #3498db;
        margin: 0 0 1rem 0;
        line-height: 1;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        color: #bdc3c7;
        line-height: 1.5;
        margin-top: auto;
    }

    .footer-section h3 {
        color: #3498db;
        margin-top: 0;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #4a6278;
        padding-bottom: 0.5rem;
    }

    .footer-nav,
    .footer-social,
    .footer-contacts {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav li,
    .footer-social li {
        margin-bottom: 0.7rem;
    }

    .footer-nav a,
    .footer-social a,
    .footer-contacts a,
    .footer-legal a {
        color: #ecf0f1;
        text-decoration: none;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .footer-nav a:hover,
    .footer-social a:hover,
    .footer-contacts a:hover,
    .footer-legal a:hover {
        color: #3498db;
        padding-left: 5px;
    }

    .footer-contacts p {
        margin: 0.7rem 0;
        line-height: 1.5;
    }

    .footer-contacts span {
        color: #bdc3c7;
    }

    .footer-social {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-legal {
        font-size: 0.8rem;
        color: #95a5a6;
        margin-top: auto;
    }

    .footer-legal a {
        color: #95a5a6;
    }

    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-section h3 {
            border-bottom: none;
        }
    }

    @media (max-width: 480px) {
        .site-footer {
            padding: 2rem 1rem;
        }

        .footer-social {
            flex-direction: column;
            gap: 0.7rem;
        }
    }

.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        box-shadow: 0 -8px 24px rgba(0,0,0,.15);
        padding: clamp(14px, 2.5vw, 22px);
    }

    .cookie-banner__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .cookie-banner__icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        line-height: 1;
    }

    .cookie-banner__text {
        flex: 1;
    }

    .cookie-banner__text strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--fg-on-accent);
        font-weight: 600;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--fg-on-accent);
        opacity: 0.9;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: flex;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .cookie-banner__btn {
        padding: 0.75rem 1.3rem;
        border: 2px solid var(--fg-on-accent);
        border-radius: var(--radius-lg);
        font-size: 0.95rem;
        cursor: pointer;
        transition: all .25s;
        font-weight: 500;
    }

    .cookie-banner__accept {
        background: var(--fg-on-accent);
        color: var(--bg-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }

    .cookie-banner__reject {
        background: transparent;
        color: var(--fg-on-accent);
        border-color: var(--fg-on-accent);
    }

    .cookie-banner__reject:hover {
        background: rgba(255,255,255,.1);
    }

    @media (max-width: 767px) {
        .cookie-banner__c {
            flex-wrap: wrap;
        }

        .cookie-banner__icon {
            font-size: 2rem;
        }

        .cookie-banner__actions {
            width: 100%;
        }

        .cookie-banner__btn {
            flex: 1;
        }
    }

.error-404-light {
        font-family: var(--font-family);
        background: var(--bg-alt);
        color: var(--fg-on-alt);
        padding: clamp(32px, 7vw, 80px) clamp(16px, 4vw, 56px);
    }

    .error-404-light__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .error-404-light__layout {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: clamp(20px, 4vw, 40px);
        align-items: center;
    }

    .error-404-light__illustration {
        display: flex;
        justify-content: center;
    }

    .error-404-light__bubble {
        width: 210px;
        height: 210px;
        border-radius: 50%;
        background: var(--surface-1);
        color: var(--fg-on-surface);
        border: 1px solid var(--border-on-surface);
        box-shadow: var(--shadow-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .error-404-light__code {
        font-size: 2.4rem;
        font-weight: 700;
        letter-spacing: 0.16em;
    }

    .error-404-light__text {
        margin-top: 0.4rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        opacity: 0.7;
    }

    .error-404-light__content h1 {
        font-size: clamp(26px, 4.5vw, 40px);
        margin: 0 0 0.75rem;
    }

    .error-404-light__content p {
        margin: 0 0 1.75rem;
        color: var(--fg-on-alt);
        opacity: 0.9;
    }

    .error-404-light__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .error-404-light__btn {
        display: inline-block;
        text-decoration: none;
        padding: 0.85rem 1.3rem;
        border-radius: var(--radius-lg);
        font-weight: 500;
        transition: background var(--anim-duration) var(--anim-ease),
        color var(--anim-duration) var(--anim-ease),
        transform var(--anim-duration) var(--anim-ease),
        box-shadow var(--anim-duration) var(--anim-ease);
    }

    .error-404-light__btn--primary {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-sm);
    }

    .error-404-light__btn--primary:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
    }

    .error-404-light__btn--ghost {
        background: var(--btn-ghost-bg);
        color: var(--btn-ghost-fg);
        border: 1px solid var(--input-border);
    }

    .error-404-light__btn--ghost:hover {
        background: var(--btn-ghost-bg-hover);
        transform: translateY(-2px);
    }

    @media (max-width: 767px) {
        .error-404-light__layout {
            grid-template-columns: minmax(0, 1fr);
        }

        .error-404-light__illustration {
            order: -1;
        }

        .error-404-light__actions {
            flex-direction: column;
        }

        .error-404-light__btn {
            width: 100%;
            text-align: center;
        }
    }