:root {
  --font-family: "DM Sans", sans-serif;
  --font-size-base: 15.2px;
  --line-height-base: 1.83;

  --max-w: 980px;
  --space-x: 1.63rem;
  --space-y: 1.5rem;
  --gap: 0.94rem;

  --radius-xl: 1.36rem;
  --radius-lg: 1rem;
  --radius-md: 0.66rem;
  --radius-sm: 0.36rem;

  --shadow-sm: 0 1px 5px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 34px rgba(0,0,0,0.04);

  --overlay: rgba(0, 0, 0, 0.5);
  --anim-duration: 640ms;
  --anim-ease: cubic-bezier(0.2,0.8,0.2,1);
  --random-number: 1;

  --brand: #6B21A8;
  --brand-contrast: #FFFFFF;
  --accent: #10B981;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F3FF;
  --neutral-300: #DDD6FE;
  --neutral-600: #7C3AED;
  --neutral-800: #5B21B6;
  --neutral-900: #4C1D95;

  --bg-page: #FAF9FF;
  --fg-on-page: #1F2937;

  --bg-alt: #F3F4F6;
  --fg-on-alt: #111827;

  --surface-1: #FFFFFF;
  --surface-2: #F8F7FF;
  --fg-on-surface: #1F2937;
  --border-on-surface: #E5E7EB;

  --surface-light: rgba(255, 255, 255, 0.85);
  --fg-on-surface-light: #1F2937;
  --border-on-surface-light: rgba(229, 231, 235, 0.7);

  --bg-primary: #6B21A8;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #7C3AED;
  --ring: #A78BFA;

  --bg-accent: #D1FAE5;
  --fg-on-accent: #065F46;
  --bg-accent-hover: #34D399;

  --link: #7C3AED;
  --link-hover: #5B21B6;

  --gradient-hero: linear-gradient(135deg, #FAF9FF 0%, #F5F3FF 50%, #EDE9FE 100%);
  --gradient-accent: linear-gradient(90deg, #6B21A8 0%, #7C3AED 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.wp-lang-switcher-v11 {
        position: fixed;
        right: clamp(14px, 2vw, 24px);
        bottom: clamp(14px, 2vw, 24px);
        z-index: 99999;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
        padding: 8px;
        min-width: 120px;
    }

    .wp-lang-switcher-v11__head {
        width: 100%;
        border: 0;
        border-radius: var(--radius-md);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        padding: 8px 10px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        font-weight: 700;
    }

    .wp-lang-switcher-v11__head-text {
        opacity: 0.75;
    }

    .wp-lang-switcher-v11__head-value {
        border-radius: 999px;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        padding: 3px 8px;
        min-width: 36px;
        text-align: center;
    }

    .wp-lang-switcher-v11__items {
        margin-top: 8px;
        display: grid;
        gap: 6px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--anim-duration) var(--anim-ease);
    }

    .wp-lang-switcher-v11__items.open {
        opacity: 1;
        pointer-events: auto;
    }

    .wp-lang-switcher-v11__items button,
    .wp-lang-switcher-v11__items a {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-1);
        border-radius: var(--radius-sm);
        color: var(--fg-on-surface);
        text-decoration: none;
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wp-lang-switcher-v11__items button:hover,
    .wp-lang-switcher-v11__items a:hover {
        background: var(--accent);
        border-color: transparent;
        color: var(--accent-contrast);
    }

.hero-arc-v1 {
        padding: calc(var(--space-y) * 3) var(--space-x);
        background: var(--gradient-hero);
        color: var(--fg-on-page);
    }

    .hero-arc-v1 .shell {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        grid-template-columns:1.1fr .9fr;
        gap: calc(var(--gap) * 2);
        align-items: center;
    }

    .hero-arc-v1 .copy h1 {
        margin: .4rem 0;
        font-size: clamp(2rem, 5vw, 3.8rem);
        line-height: 1.1;
        color: var(--neutral-900);
    }

    .hero-arc-v1 .kicker {
        color: var(--brand);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.9rem;
    }

    .hero-arc-v1 .subtitle {
        font-size: 1.05rem;
        opacity: .95;
        max-width: 48ch;
        color: var(--neutral-800);
    }

    .hero-arc-v1 .desc {
        opacity: .84;
        max-width: 54ch;
        color: var(--neutral-600);
    }

    .hero-arc-v1 .actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--gap);
        margin-top: calc(var(--space-y) * 1.1);
    }

    .hero-arc-v1 .actions a {
        padding: .7rem 1.1rem;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
        font-weight: 700;
        box-shadow: var(--shadow-md);
        transition: transform var(--anim-duration) var(--anim-ease), background-color var(--anim-duration) var(--anim-ease);
    }

    .hero-arc-v1 .actions a:hover {
        transform: translateY(-2px);
        background-color: var(--bg-primary-hover);
    }

    .hero-arc-v1 .actions a:first-child {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
    }

    .hero-arc-v1 .actions a:last-child {
        background: var(--btn-ghost-bg);
        color: var(--brand);
        border: 1px solid var(--border-on-surface-light);
    }

    .hero-arc-v1 .actions a:last-child:hover {
        background: var(--btn-ghost-bg-hover);
    }

    .hero-arc-v1 .media {
        order: 1;
        display: grid;
        gap: var(--gap);
    }

    .hero-arc-v1 img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-lg);
    }

    .hero-arc-v1 .stats {
        display: grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: var(--gap);
    }

    .hero-arc-v1 .stats div {
        background: var(--surface-light);
        border: 1px solid var(--border-on-surface-light);
        padding: .8rem;
        border-radius: var(--radius-md);
        backdrop-filter: blur(2px);
        text-align: center;
    }

    .hero-arc-v1 strong {
        display: block;
        font-size: 1.2rem;
        color: var(--brand);
    }

    .hero-arc-v1 span {
        font-size: .88rem;
        opacity: .9;
        color: var(--neutral-800);
    }

    @media (max-width: 900px) {
        .hero-arc-v1 .shell {
            grid-template-columns:1fr;
        }

        .hero-arc-v1 .media {
            order: 2;
        }
    }

.gallery--light-v6 {
    padding: 40px 20px;
    background: var(--bg-page);
    color: var(--fg-on-page);
}

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

.gallery__title {
    margin: 0 0 12px;
    font-size: clamp(22px,3.5vw,28px);
}

.gallery__strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(120px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery__thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-light);
    border: 1px solid var(--border-on-surface-light);
    min-width: 120px;
}

.gallery__thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.two-column-section {
    padding: clamp(48px, 8vw, 80px) 0;
}

.two-column-section__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
}

.two-column-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--gap) * 2);
    align-items: start;
}

.two-column-section--split .two-column-section__text {
    padding: 0 0 0 0;
    border-left: 2px solid var(--border-on-surface);
    padding-left: var(--space-x);
}

.two-column-section--split .two-column-section__text:first-child {
    border-left: 0;
    padding-left: 0;
}

.two-column-section__text h2 {
    margin-bottom: var(--space-y);
    color: var(--fg-on-page);
}

.two-column-section__text p {
    margin-bottom: var(--space-y);
    color: var(--neutral-600);
}

.values-ladder-l4 {
        padding: clamp(3.1rem, 7vw, 5.7rem) var(--space-x);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .values-ladder-l4__wrap {
        max-width: 56rem;
        margin: 0 auto;
    }

    .values-ladder-l4__head {
        text-align: center;
        margin-bottom: 1.1rem;
    }

    .values-ladder-l4__head h2 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .values-ladder-l4__head p {
        margin: .65rem auto 0;
        max-width: 40rem;
        color: var(--neutral-600);
    }

    .values-ladder-l4__rows {
        display: grid;
        gap: .8rem;
    }

    .values-ladder-l4__rows article {
        display: grid;
        grid-template-columns: 3rem 1fr;
        gap: .85rem;
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

    .values-ladder-l4__step {
        display: grid;
        place-items: center;
        width: 3rem;
        height: 3rem;
        border-radius: var(--radius-md);
        background: var(--surface-2);
        color: var(--brand);
    }

    .values-ladder-l4__rows h3 {
        margin: 0;
    }

    .values-ladder-l4__rows p {
        margin: .35rem 0 0;
        color: var(--neutral-600);
    }

    .values-ladder-l4__rows span {
        display: block;
        margin-top: .55rem;
        color: var(--neutral-800);
    }

.visual-wave-c5 {
        padding: clamp(3.5rem, 8vw, 6rem) var(--space-x);
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

    .visual-wave-c5__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .visual-wave-c5__head {
        text-align: center;
        margin-bottom: 1rem;
    }

    .visual-wave-c5__head p {
        margin: 0;
        color: rgba(255, 255, 255, .76);
    }

    .visual-wave-c5__head h2 {
        margin: .5rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .visual-wave-c5__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
        gap: var(--gap);
    }

    .visual-wave-c5__grid figure {
        margin: 0;
        overflow: hidden;
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .visual-wave-c5__image {
        overflow: hidden;
    }

    .visual-wave-c5__image img {
        display: block;
        width: 100%;
        height: 14rem;
        object-fit: cover;
        transition: transform var(--anim-duration) var(--anim-ease);
    }

    .visual-wave-c5__grid figure:hover img {
        transform: scale(1.05);
    }

    .visual-wave-c5__grid figcaption {
        padding: 1rem;
    }

    .visual-wave-c5__grid small {
        color: rgba(255, 255, 255, .76);
    }

    .visual-wave-c5__grid h3 {
        margin: .45rem 0 .35rem;
    }

    .visual-wave-c5__grid p {
        margin: 0;
        color: rgba(255, 255, 255, .84);
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.project-list {

        color: var(--fg-on-primary);
        background: var(--gradient-hero);
        padding: clamp(16px, 3vw, 40px);
    }

    .project-list .project-list__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .project-list .project-list__h {
        text-align: center;
        margin-bottom: var(--space-y);
    }

    .project-list h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-primary);
    }

    .project-list .project-list__filters {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: var(--space-y);
        justify-content: center;
    }

    .project-list .project-list__filter {
        padding: 0.5rem 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .project-list .project-list__filter:hover {
        background: var(--bg-primary);
        color: var(--fg-on-primary) fff;
        border-color: var(--bg-primary);
    }

    .project-list .project-list__grid {
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 768px) {
        .project-list .project-list__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 1024px) {
        .project-list .project-list__grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    .project-list .project-list__card {
        background: var(--surface-light);
        border: 1px solid var(--ring);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }

    .project-list .project-list__card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .project-list .project-list__image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .project-list .project-list__content {
        padding: clamp(16px, 2vw, 24px);
    }

    .project-list h3 {
        margin: 0 0 0.5rem;
        font-size: clamp(18px, 2.2vw, 22px);
    }

    .project-list h3 a {
        color: var(--fg-on-surface-light);
        text-decoration: none;
    }

    .project-list h3 a:hover {
        color: var(--bg-primary);
    }

    .project-list p {
        margin: 0.5rem 0 1rem;
        color: var(--fg-on-page);
    }

    .project-list .project-list__tags {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .project-list .project-list__tag {
        padding: 0.25rem 0.75rem;
        border-radius: var(--radius-sm);
        background: var(--fg-on-page);
        color: var(--bg-page);
        font-size: 0.875rem;
    }

.education-struct-v1 {
        padding: calc(var(--space-y) * 2) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-surface)
    }

    .education-struct-v1 .shell {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--gap)
    }

    .education-struct-v1 h2, .education-struct-v1 h3, .education-struct-v1 p {
        margin: 0
    }

    .education-struct-v1 a {
        text-decoration: none
    }

    .education-struct-v1 article, .education-struct-v1 .row, .education-struct-v1 details, .education-struct-v1 .program {
        background: var(--surface-2);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        padding: .85rem
    }

    .education-struct-v1 .grid, .education-struct-v1 .tiers {
        display: grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: var(--gap)
    }

    .education-struct-v1 .grid a, .education-struct-v1 .tiers a, .education-struct-v1 .cta a {
        display: inline-flex;
        min-height: 2.3rem;
        padding: 0 .8rem;
        align-items: center;
        border-radius: var(--radius-sm);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border: 1px solid var(--ring)
    }

    .education-struct-v1 .path {
        display: grid;
        gap: .65rem
    }

    .education-struct-v1 .path article {
        position: relative;
        padding-left: 1.25rem
    }

    .education-struct-v1 .path article::before {
        content: "";
        position: absolute;
        left: 0;
        top: .55rem;
        width: .5rem;
        height: .5rem;
        background: var(--bg-accent);
        border-radius: 50%
    }

    .education-struct-v1 .table {
        display: grid;
        gap: .45rem
    }

    .education-struct-v1 .row {
        display: grid;
        grid-template-columns:1fr 1fr 1fr;
        gap: .6rem
    }

    .education-struct-v1 .combo {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: var(--gap)
    }

    .education-struct-v1 .mentors {
        display: grid;
        gap: .6rem
    }

    .education-struct-v1 .mentors article {
        display: grid;
        grid-template-columns:3rem 1fr;
        gap: .6rem;
        align-items: center
    }

    .education-struct-v1 .mentors img {
        display: block;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        object-fit: cover
    }

    .education-struct-v1 .program {
        display: grid;
        gap: .45rem
    }

    .education-struct-v1 .modules {
        display: grid;
        gap: .6rem
    }

    .education-struct-v1 .cta {
        display: flex
    }

    @media (max-width: 900px) {
        .education-struct-v1 .grid, .education-struct-v1 .tiers, .education-struct-v1 .combo {
            grid-template-columns:1fr 1fr
        }
    }

    @media (max-width: 680px) {
        .education-struct-v1 .grid, .education-struct-v1 .tiers, .education-struct-v1 .combo, .education-struct-v1 .row {
            grid-template-columns:1fr
        }
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.project-item {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .project-item .project-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .project-item .project-item__header {
        text-align: center;
        margin-bottom: var(--space-y);
        color: var(--fg-on-page);
    }

    .project-item h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 1rem;
    }

    .project-item .project-item__subtitle {
        font-size: clamp(16px, 2.4vw, 20px);

    }

    .project-item .project-item__gallery {
        display: grid;
        gap: 1rem;
        margin-bottom: var(--space-y);
    }

    @media (min-width: 768px) {
        .project-item .project-item__gallery {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        /* Si randomNumber es par (2) - el primer hijo obtiene order: 2 */
        .project-item .project-item__gallery > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

    .project-item .project-item__image img {
        width: 100%;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }

    .project-item .project-item__description,
    .project-item .project-item__results {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: clamp(24px, 3vw, 40px);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: var(--space-y);
    }

    .project-item h2 {
        font-size: clamp(24px, 4vw, 32px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .project-item .project-item__description,
    .project-item .project-item__results {
        line-height: 1.8;

    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.project-item--colored-v5 {
    padding: 56px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

.project-item__inner {
    max-width: 720px;
    margin: 0 auto;
}

.project-item__card {
    border-radius: var(--radius-xl);
    padding: 20px 22px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.75);
}

.project-item__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.project-item__header h1 {
    margin: 0;
    font-size: clamp(24px,4vw,32px);
    color: var(--brand-contrast);
}

.project-item__tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-primary);
    color: var(--fg-on-primary);
    font-size: 0.8rem;
}

.project-item__meta {
    margin: 8px 0 8px;
    font-size: 0.9rem;
    color: var(--neutral-300);
}

.project-item__desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--neutral-300);
    line-height: 1.7;
}

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.project-item--colored-v5 {
    padding: 56px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

.project-item__inner {
    max-width: 720px;
    margin: 0 auto;
}

.project-item__card {
    border-radius: var(--radius-xl);
    padding: 20px 22px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(148,163,184,0.75);
}

.project-item__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.project-item__header h1 {
    margin: 0;
    font-size: clamp(24px,4vw,32px);
    color: var(--brand-contrast);
}

.project-item__tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-primary);
    color: var(--fg-on-primary);
    font-size: 0.8rem;
}

.project-item__meta {
    margin: 8px 0 8px;
    font-size: 0.9rem;
    color: var(--neutral-300);
}

.project-item__desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--neutral-200);
    line-height: 1.7;
}

.story-edge-c5 {
        padding: clamp(3.6rem, 8vw, 6rem) var(--space-x);
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

    .story-edge-c5__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        gap: 1.4rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .story-edge-c5__image {
        flex: 1 1 18rem;
        order: var(--random-number);
    }

    .story-edge-c5__content {
        flex: 1 1 22rem;
        order: calc(3 - var(--random-number));
    }

    .story-edge-c5__image img {
        display: block;
        width: 100%;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .story-edge-c5__content p:first-child {
        margin: 0;
        color: rgba(255, 255, 255, .76);
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .82rem;
    }

    .story-edge-c5__content h2 {
        margin: .55rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .story-edge-c5__content span {
        display: block;
        margin-top: .8rem;
        font-size: 1.1rem;
        opacity: 0.9;
    }

    .story-edge-c5__content p {
        margin-top: 1rem;
        line-height: var(--line-height-base);
        opacity: 0.95;
    }

    .story-edge-c5__content a {
        display: inline-flex;
        min-height: 2.85rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-page);
        text-decoration: none;
        font-weight: 600;
        margin-top: 1.5rem;
        transition: background-color var(--anim-duration) var(--anim-ease);
    }
    .story-edge-c5__content a:hover {
        background-color: var(--bg-primary-hover);
        color: var(--fg-on-primary);
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.faq-layout-f {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
        color: var(--fg-on-page);
    }

    .faq-layout-f .wrap {
        max-width: 980px;
        margin: 0 auto;
    }

    .faq-layout-f .section-head {
        margin-bottom: 16px;
        text-align: center;
    }

    .faq-layout-f h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .faq-layout-f .section-head p {
        margin: 10px auto 0;
        color: var(--neutral-600);
        max-width: 68ch;
    }

    .faq-layout-f .table {
        display: grid;
        gap: 10px;
    }

    .faq-layout-f .line {
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        gap: 12px;
        padding: 12px;
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-md);
        background: var(--surface-1);
    }

    .faq-layout-f .q {
        font-weight: 600;
        color: var(--brand);
    }

    .faq-layout-f .a {
        color: var(--neutral-600);
    }

    @media (max-width: 780px) {
        .faq-layout-f .line {
            grid-template-columns: 1fr;
        }
    }

.story-edge-c5 {
        padding: clamp(3.6rem, 8vw, 6rem) var(--space-x);
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

    .story-edge-c5__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        gap: 1.4rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .story-edge-c5__image {
        flex: 1 1 18rem;
        order: var(--random-number);
    }

    .story-edge-c5__content {
        flex: 1 1 22rem;
        order: calc(3 - var(--random-number));
    }

    .story-edge-c5__image img {
        display: block;
        width: 100%;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .story-edge-c5__content p:first-child {
        margin: 0;
        color: rgba(255, 255, 255, .76);
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .82rem;
    }

    .story-edge-c5__content h2 {
        margin: .55rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .story-edge-c5__content span {
        display: block;
        margin-top: .8rem;
        font-size: 1.1rem;
        opacity: 0.9;
    }

    .story-edge-c5__content p {
        margin-top: 1rem;
        line-height: var(--line-height-base);
        opacity: 0.95;
    }

    .story-edge-c5__content a {
        display: inline-flex;
        min-height: 2.85rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-page);
        text-decoration: none;
        font-weight: 600;
        margin-top: 1.5rem;
        transition: background-color var(--anim-duration) var(--anim-ease);
    }
    .story-edge-c5__content a:hover {
        background-color: var(--bg-primary-hover);
        color: var(--fg-on-primary);
    }

.identity-lv4 {
        padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 36px);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .identity-lv4__wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .identity-lv4__head {
        margin-bottom: 15px;
    }

    .identity-lv4__head p {
        margin: 0;
        color: var(--neutral-600);
    }

    .identity-lv4__head h2 {
        margin: 7px 0;
        font-size: clamp(28px, 4vw, 42px);
    }

    .identity-lv4__head span {
        color: var(--neutral-600);
    }

    .identity-lv4__stack {
        display: grid;
        gap: 10px;
    }

    .identity-lv4__stack article {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-md);
        background: var(--surface-light);
        padding: 12px;
    }

    .identity-lv4__line {
        display: flex;
        align-items: baseline;
        gap: 8px;
        flex-wrap: wrap;
    }

    .identity-lv4__line i {
        font-style: normal;
        color: var(--link);
    }

    .identity-lv4__line h3 {
        margin: 0;
    }

    .identity-lv4__stack p {
        margin: 7px 0 6px;
        color: var(--neutral-600);
    }

    .identity-lv4__stack small {
        color: var(--neutral-800);
        font-weight: 600;
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.connect {
        color: var(--accent-contrast);
        background: var(--accent);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

    .connect .connect__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .connect .connect__header {
        text-align: center;
        margin-bottom: clamp(40px, 6vw, 56px);
    }

    .connect .connect__header h2 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
    }

    .connect .connect__header p {
        font-size: clamp(16px, 2vw, 18px);
        margin: 0;
    }

    .connect .connect__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: clamp(20px, 3vw, 28px);
    }

    .connect .connect__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 2vw, 16px);
        padding: clamp(24px, 4vw, 32px);
        background: var(--bg-page);
        border-radius: var(--radius-lg);
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .connect .connect__item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .connect .connect__icon {
        font-size: clamp(40px, 7vw, 64px);
        width: clamp(80px, 12vw, 120px);
        height: clamp(80px, 12vw, 120px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-accent);
        border-radius: 50%;
    }

    .connect .connect__name {
        font-size: clamp(16px, 2.5vw, 18px);
        font-weight: 600;
        color: var(--fg-on-page);
    }

.form-layout-b {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .form-layout-b .wrap {
        max-width: 980px;
        margin: 0 auto;
    }

    .form-layout-b .section-head {
        margin-bottom: 16px;
    }

    .form-layout-b h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .form-layout-b .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .form-layout-b .split {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 16px;
    }

    .form-layout-b aside {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-radius: var(--radius-lg);
        padding: 16px;
    }

    .form-layout-b aside h3 {
        margin: 0;
    }

    .form-layout-b aside p {
        margin: 10px 0 0;
        opacity: .92;
    }

    .form-layout-b form {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: var(--surface-1);
    }

    .form-layout-b label {
        display: grid;
        gap: 6px;
        margin-bottom: 10px;
    }

    .form-layout-b input, .form-layout-b textarea {
        width: 100%;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        padding: 9px;
        font: inherit;
    }

    .form-layout-b button {
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--gradient-accent);
        color: var(--accent-contrast);
        padding: 10px 14px;
    }

    @media (max-width: 760px) {
        .form-layout-b .split {
            grid-template-columns: 1fr;
        }
    }

.support-cv3 {
        padding: clamp(54px, 7vw, 94px) clamp(16px, 4vw, 36px);
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

    .support-cv3__wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .support-cv3__head {
        margin-bottom: 14px;
    }

    .support-cv3__head h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
    }

    .support-cv3__head p {
        margin: 8px 0 0;
        opacity: .92;
    }

    .support-cv3__list {
        display: grid;
        gap: 10px;
    }

    .support-cv3__item {
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.12);
        overflow: hidden;
    }

    .support-cv3__item button {
        width: 100%;
        border: 0;
        background: transparent;
        color: inherit;
        text-align: left;
        font: inherit;
        font-weight: 700;
        padding: 11px 12px;
        cursor: pointer;
    }

    .support-cv3__item p {
        margin: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 12px;
        transition: max-height var(--anim-duration) var(--anim-ease), padding var(--anim-duration) var(--anim-ease);
        opacity: .95;
    }

    .support-cv3__item.is-open p {
        max-height: 220px;
        padding: 0 12px 12px;
    }

.contact-layout-f {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(140deg, var(--bg-page), var(--surface-2));
        color: var(--fg-on-page);
    }

    .contact-layout-f .wrap {
        max-width: 980px;
        margin: 0 auto;
    }

    .contact-layout-f .section-head {
        margin-bottom: 16px;
        text-align: center;
    }

    .contact-layout-f h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .contact-layout-f .section-head p {
        margin: 10px auto 0;
        max-width: 74ch;
        color: var(--neutral-600);
    }

    .contact-layout-f .capsule {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .contact-layout-f .capsule article {
        border-radius: 12px;
        border: 1px solid var(--border-on-surface-light);
        padding: 14px 16px;
        background: var(--surface-1);
    }

    .contact-layout-f .capsule h3 {
        margin: 0;
        font-size: .96rem;
        color: var(--brand);
    }

    .contact-layout-f .capsule p {
        margin: 5px 0 0;
    }

    .contact-layout-f .social-strip {
        margin-top: 18px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .contact-layout-f .social-strip a {
        text-decoration: none;
        color: var(--fg-on-primary);
        background: var(--gradient-hero);
        padding: 7px 11px;
        border-radius: var(--radius-sm);
    }

    .social-follow {
        text-align: center;
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.policy-layout-f {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
        color: var(--fg-on-page);
    }

    .policy-layout-f .wrap {
        max-width: 980px;
        margin: 0 auto;
    }

    .policy-layout-f .section-head {
        margin-bottom: 16px;
    }

    .policy-layout-f h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .policy-layout-f .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .policy-layout-f .rows {
        display: grid;
        gap: 10px;
    }

    .policy-layout-f article {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-md);
        padding: 12px;
        background: var(--surface-1);
    }

    .policy-layout-f .head {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .policy-layout-f .head span {
        min-width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: 700;
    }

    .policy-layout-f .head h3 {
        margin: 0;
    }

    .policy-layout-f article p {
        margin: 8px 0 0;
        color: var(--neutral-600);
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.terms-layout-d {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--accent);
        color: var(--neutral-0);
    }

    .terms-layout-d .wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .terms-layout-d .section-head {
        margin-bottom: 16px;
    }

    .terms-layout-d h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .terms-layout-d .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-100);
    }

    .terms-layout-d ol {
        margin: 0;
        padding-left: 20px;
        display: grid;
        gap: 10px;
    }

    .terms-layout-d li {
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .05);
        padding: 12px;
    }

    .terms-layout-d h3, .terms-layout-d h4 {
        margin: 0 0 8px;
    }

    .terms-layout-d p, .terms-layout-d li li {
        color: var(--neutral-100);
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.thank-mode-b {
        padding: clamp(58px, 10vw, 114px) 18px;
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .thank-mode-b .card {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        border-radius: var(--radius-xl);
        padding: clamp(30px, 4vw, 46px);
        background: var(--surface-1);
        box-shadow: var(--shadow-lg);
    }

    .thank-mode-b h1 {
        margin: 0;
        font-size: clamp(32px, 5vw, 54px);
        color: var(--brand);
    }

    .thank-mode-b p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .thank-mode-b a {
        display: inline-block;
        margin-top: 18px;
        padding: 11px 18px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--overlay);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }
    .header.scrolled {
        background-color: var(--surface-1);
        box-shadow: var(--shadow-md);
    }
    .header__container {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: var(--space-y) var(--space-x);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .header__logo {
        font-size: calc(var(--font-size-base) * 1.5);
        font-weight: 700;
        color: var(--fg-on-surface);
        text-decoration: none;
        transition: color var(--anim-duration) var(--anim-ease);
        z-index: 1001;
    }
    .header__logo:hover {
        color: var(--link-hover);
    }
    .header__nav {
        display: flex;
    }
    .nav__list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: calc(var(--gap) * 2);
    }
    .nav__link {
        color: var(--fg-on-surface);
        text-decoration: none;
        font-weight: 500;
        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);
    }
    .nav__link:hover {
        background-color: var(--btn-ghost-bg-hover);
        color: var(--link-hover);
    }
    .header__burger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        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);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }
    .header__burger[aria-expanded="true"] .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 767px) {
        .header__burger {
            display: flex;
        }
        .header__nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--surface-1);
            transform: translateX(100%);
            transition: transform var(--anim-duration) var(--anim-ease);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header__nav.active {
            transform: translateX(0);
        }
        .nav__list {
            flex-direction: column;
            align-items: center;
            gap: calc(var(--gap) * 3);
        }
        .nav__link {
            font-size: calc(var(--font-size-base) * 1.2);
            padding: var(--space-y) var(--space-x);
        }
        .header.scrolled .header__nav {
            background-color: var(--surface-1);
        }
    }

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 0 1.5rem;
        border-top: 1px solid #eaeaea;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .top-row {
        align-items: flex-start;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }
    .middle-row {
        justify-content: flex-start;
    }
    .bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid #ddd;
        font-size: 0.9rem;
        color: #666;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .footer-nav a {
        color: #555;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover {
        color: #000;
    }
    .footer-contacts ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-contacts li {
        color: #555;
        font-size: 0.95rem;
    }
    .footer-legal {
        width: 100%;
    }
    .legal-links {
        margin: 0.5rem 0;
    }
    .legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.25rem;
    }
    .legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .disclaimer {
        max-width: 800px;
        margin: 0.75rem auto 0;
        line-height: 1.4;
        font-size: 0.85rem;
        color: #888;
    }
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
        }
        .top-row, .middle-row, .bottom-row {
            align-items: flex-start;
            text-align: left;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 1rem;
        }
        .footer-contacts ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .legal-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .disclaimer {
            text-align: left;
        }
    }

.cookie-lv4 {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border-on-surface-light);
        color: var(--fg-on-page);
    }

    .cookie-lv4__inner {
        max-width: var(--max-w);
        margin: 0 auto;
        padding: 10px var(--space-x);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap);
        flex-wrap: wrap;
    }

    .cookie-lv4__inner span {
        color: var(--neutral-600);
        margin-left: 6px;
    }

    .cookie-lv4__actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-lv4__actions a {
        text-decoration: none;
        border: 1px solid var(--border-on-surface-light);
        border-radius: 999px;
        background: var(--surface-1);
        color: var(--link);
        padding: 6px 10px;
    }

    .cookie-lv4__actions a[data-choice='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.err-slab-a {
    padding: clamp(56px, 10vw, 110px) 20px;
    background: var(--gradient-hero);
    color: var(--fg-on-primary);
}

.err-slab-a .box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.err-slab-a h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 58px);
}

.err-slab-a p {
    margin: 12px 0 0;
    opacity: .92;
}

.err-slab-a a {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: var(--radius-md);
    background: var(--surface-1);
    color: var(--fg-on-page);
    text-decoration: none;
}