:root {
  --font-family: "Archivo", sans-serif;
  --font-size-base: 17.9px;
  --line-height-base: 1.41;

  --max-w: 1160px;
  --space-x: 1.18rem;
  --space-y: 1.5rem;
  --gap: 1.94rem;

  --radius-xl: 1.22rem;
  --radius-lg: 1rem;
  --radius-md: 0.57rem;
  --radius-sm: 0.35rem;

  --shadow-sm: 0 2px 7px rgba(0,0,0,0.14);
  --shadow-md: 0 14px 22px rgba(0,0,0,0.18);
  --shadow-lg: 0 34px 56px rgba(0,0,0,0.22);

  --overlay: rgba(0, 0, 0, 0.4);
  --anim-duration: 190ms;
  --anim-ease: cubic-bezier(0.16,1,0.3,1);
  --random-number: 1;

  --brand: #2A5C82;
  --brand-contrast: #FFFFFF;
  --accent: #D4A574;
  --accent-contrast: #1A1A1A;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F7FA;
  --neutral-300: #D1D9E6;
  --neutral-600: #7E8A9A;
  --neutral-800: #3A4556;
  --neutral-900: #1A202C;

  --bg-page: #FFFFFF;
  --fg-on-page: #1A202C;

  --bg-alt: #F8FAFC;
  --fg-on-alt: #2D3748;

  --surface-1: #FFFFFF;
  --surface-2: #F5F7FA;
  --fg-on-surface: #2D3748;
  --border-on-surface: #E2E8F0;

  --surface-light: rgba(255, 255, 255, 0.95);
  --fg-on-surface-light: #2D3748;
  --border-on-surface-light: rgba(226, 232, 240, 0.8);

  --bg-primary: #2A5C82;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #1E4563;
  --ring: rgba(42, 92, 130, 0.4);

  --bg-accent: rgba(212, 165, 116, 0.1);
  --fg-on-accent: #8B5A2B;
  --bg-accent-hover: #C8955A;

  --link: #2A5C82;
  --link-hover: #1E4563;

  --gradient-hero: linear-gradient(135deg, #2A5C82 0%, #3A7CA5 50%, #4A9CC8 100%);
  --gradient-accent: linear-gradient(90deg, #D4A574 0%, #E8C9A5 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 {
  background-color: var(--surface-1);
  color: var(--fg-on-surface);
  border-bottom: 1px solid var(--border-on-surface);
  padding: var(--space-y) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.intro-cardinal-c13 {
        padding: clamp(3.8rem, 8vw, 6.9rem) var(--space-x);
        background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, .16), transparent 30%), var(--gradient-hero);
        color: var(--fg-on-primary);
    }

    .intro-cardinal-c13__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        gap: 1rem;
        align-items: center;
    }

    .intro-cardinal-c13__copy p {
        margin: 0;
        color: rgba(255, 255, 255, .76);
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .82rem;
    }

    .intro-cardinal-c13__copy h1 {
        margin: .6rem 0 0;
        font-size: clamp(2.5rem, 5vw, 4.8rem);
        line-height: 1;
    }

    .intro-cardinal-c13__copy strong {
        display: block;
        margin-top: .7rem;
    }

    .intro-cardinal-c13__copy span {
        display: block;
        margin-top: .9rem;

        max-width: 38rem;
    }

    .intro-cardinal-c13__cards {
        display: grid;
        gap: .75rem;
    }

    .intro-cardinal-c13__cards div {
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    @media (max-width: 860px) {
        .intro-cardinal-c13__wrap {
            grid-template-columns: 1fr;
        }
    }

.values-ranks-l10 {
        padding: clamp(3.1rem, 7vw, 5.7rem) var(--space-x);
        background: linear-gradient(180deg, var(--surface-1), var(--bg-alt));
        color: var(--fg-on-page);
    }

    .values-ranks-l10__wrap {
        max-width: 58rem;
        margin: 0 auto;
    }

    .values-ranks-l10__head {
        margin-bottom: 1.1rem;
        text-align: center;
    }

    .values-ranks-l10__head p {
        margin: 0;
        color: var(--brand);
        font-size: .82rem;
        text-transform: uppercase;
        letter-spacing: .1em;
    }

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

    .values-ranks-l10__head span {
        display: block;
        margin-top: .75rem;
        color: var(--neutral-600);
    }

    .values-ranks-l10__rows {
        display: grid;
        gap: .8rem;
    }

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

    .values-ranks-l10__rows strong {
        display: grid;
        place-items: center;
        width: 3rem;
        height: 3rem;
        border-radius: 999px;
        background: var(--surface-2);
        color: var(--brand);
    }

    .values-ranks-l10__rows h3 {
        margin: 0;
    }

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

    .values-ranks-l10__rows small {
        display: block;
        margin-top: .55rem;
        color: var(--neutral-800);
    }

.social-c1 {

        padding: clamp(18px, 3vw, 44px);
        background: var(--gradient-accent);
        color: var(--accent-contrast);
        overflow: hidden;
    }

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

    .social-c1__h {
        margin-bottom: clamp(14px, 2.2vw, 22px);
    }

    .social-c1__title {
        margin: 0;
        font-size: clamp(24px, 4.6vw, 44px);
        letter-spacing: -.02em;
        line-height: 1.1;
    }

    .social-c1__sub {
        margin: 10px 0 0;
        max-width: 70ch;
        color: rgba(255, 255, 255, .9);
    }

    .social-c1__band {
        margin-top: 18px;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.10);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
        position: relative;
    }

    .social-c1__band::before,
    .social-c1__band::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 90px;
        pointer-events: none;
        z-index: 1;
    }

    .social-c1__band::before {
        left: 0;
        background: linear-gradient(90deg, rgba(212, 165, 116, 1), rgba(212, 165, 116, 0));
    }

    .social-c1__band::after {
        right: 0;
        background: linear-gradient(270deg, rgba(212, 165, 116, 1), rgba(212, 165, 116, 0));
    }

    .social-c1__track {
        display: flex;
        gap: 18px;
        padding: var(--space-y) var(--space-x);
        width: max-content;
        animation: socialC1Marquee 18s linear infinite;
    }

    @keyframes socialC1Marquee {
        0% {
            transform: translateX(0)
        }
        100% {
            transform: translateX(-50%)
        }
    }

    .social-c1__logo {
        width: 140px;
        height: 86px;
        border-radius: var(--radius-lg);
        background: rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.16);
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .social-c1__logo img {
        max-width: 78%;
        max-height: 70%;
        opacity: .92;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
    }

    .social-c1__stats {
        margin-top: 18px;
        display: grid;
        grid-template-columns:repeat(12, 1fr);
        gap: 12px;
    }

    .social-c1__stat {
        grid-column: span 4;
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: var(--shadow-md);
        padding: 14px 16px;
    }

    .social-c1__num {
        font-weight: 900;
        font-size: clamp(18px, 2.4vw, 28px);
    }

    .social-c1__lbl {
        margin-top: 6px;
        color: rgba(255, 255, 255, .9);
    }

    @media (max-width: 900px) {
        .social-c1__stat {
            grid-column: span 6;
        }
    }

    @media (max-width: 640px) {
        .social-c1__stat {
            grid-column: span 12;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .social-c1__track {
            animation: none;
            transform: none;
        }
    }

.capabilities-light {

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

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

    .capabilities-light .capabilities-light__h {
        text-align: center;
        margin-bottom: clamp(40px, 6vw, 72px);

    }

    .capabilities-light h2 {
        font-size: clamp(32px, 5vw, 48px);
        font-weight: 800;
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .capabilities-light .capabilities-light__subtitle {
        font-size: clamp(16px, 2vw, 20px);
        margin: 0;
        color: var(--neutral-600);
    }

    .capabilities-light .capabilities-light__list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: clamp(20px, 3vw, 32px);
    }

    .capabilities-light .capabilities-light__card {
        background: var(--surface-1);
        border: 2px solid var(--border-on-surface);
        border-radius: var(--radius-xl);
        padding: clamp(24px, 3vw, 36px);
        display: flex;
        gap: clamp(16px, 2vw, 24px);
        transition: all var(--anim-duration) var(--anim-ease);

        transform: scale(0.95);
    }

    .capabilities-light .capabilities-light__card:hover {
        border-color: var(--brand);
        box-shadow: var(--shadow-md);
        transform: scale(1);
    }

    .capabilities-light .capabilities-light__visual {
        flex-shrink: 0;
        position: relative;
    }

    .capabilities-light .capabilities-light__badge {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 24px;
        height: 24px;
        background: var(--accent);
        color: var(--accent-contrast);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        box-shadow: var(--shadow-sm);
    }

    .capabilities-light .capabilities-light__icon {
        width: 64px;
        height: 64px;
        background: var(--bg-accent);
        border-radius: var(--radius-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
    }

    .capabilities-light .capabilities-light__content {
        flex: 1;
    }

    .capabilities-light .capabilities-light__card h3 {
        font-size: clamp(18px, 2.2vw, 22px);
        font-weight: 700;
        margin: 0 0 0.75rem;
        color: var(--fg-on-surface);
    }

    .capabilities-light .capabilities-light__card p {
        margin: 0;
        color: var(--neutral-600);
        line-height: var(--line-height-base);
    }

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

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

.blog-list__header h2 {
    margin: 0 0 18px;
    font-size: clamp(24px,4vw,32px);
    color: var(--brand-contrast);
}

.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.blog-list__card {
    background: rgba(15,23,42,0.9);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid rgba(148,163,184,0.6);
    display: grid;
    gap: 8px;
}

.blog-list__card h3 {
    margin: 0;
    font-size: 1rem;
}

.blog-list__card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226,232,240,0.9);
}

.blog-list__tag {
    font-size: 0.8rem;
    color: rgba(191,219,254,0.95);
}

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

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

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

.blog-list__header h2 {
    margin: 0 0 18px;
    font-size: clamp(24px,4vw,32px);
    color: var(--brand-contrast);
}

.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.blog-list__card {
    background: rgba(15,23,42,0.9);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid rgba(148,163,184,0.6);
    display: grid;
    gap: 8px;
}

.blog-list__card h3 {
    margin: 0;
    font-size: 1rem;
}

.blog-list__card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226,232,240,0.9);
}

.blog-list__tag {
    font-size: 0.8rem;
    color: rgba(191,219,254,0.95);
}

.education-struct-v3 {
        padding: calc(var(--space-y) * 2) var(--space-x);
        background: var(--gradient-hero);
        color: var(--brand-contrast)
    }

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

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

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

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

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

    .education-struct-v3 .grid a, .education-struct-v3 .tiers a, .education-struct-v3 .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-v3 .path {
        display: grid;
        gap: .65rem
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.blogitem-fresh-v4 {
        padding: calc(var(--space-y) * 2.6) var(--space-x);
        background: var(--gradient-hero);
        color: var(--brand-contrast);
    }

    .blogitem-fresh-v4 .shell {
        max-width: 860px;
        margin: 0 auto;
        display: grid;
        gap: var(--gap);
    }

    .blogitem-fresh-v4 .top h1 {
        margin: 0;
        font-size: clamp(2rem, 3.9vw, 2.9rem);
    }

    .blogitem-fresh-v4 .top p {
        margin: .45rem 0 0;
        opacity: .92;
    }

    .blogitem-fresh-v4 .cover {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        border-radius: var(--radius-lg);
    }

    .blogitem-fresh-v4 .body {
        display: grid;
        gap: .85rem;
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--chip-bg);
        border: 1px solid var(--btn-ghost-bg-hover);
    }

    .blogitem-fresh-v4 .body p {
        margin: 0;
        opacity: .95;
    }

    .blogitem-fresh-v4 .tags {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .blogitem-fresh-v4 .tags span {
        padding: .3rem .55rem;
        border-radius: var(--radius-sm);
        background: var(--btn-ghost-bg-hover);
        font-size: .82rem;
    }

.author {

        color: var(--fg-on-page);
        background: var(--surface-light);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

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

    .author .author__content {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: clamp(32px, 5vw, 48px);
        align-items: center;
    }

    .author .author__image {
        width: clamp(150px, 22vw, 220px);
        height: clamp(150px, 22vw, 220px);
        border-radius: var(--radius-lg);
        overflow: hidden;
        flex-shrink: 0;
    }

    .author .author__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .author .author__info h3 {
        font-size: clamp(26px, 4.5vw, 36px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-surface-light);
    }

    .author .author__role {
        font-size: clamp(16px, 2.5vw, 18px);
        color: var(--bg-accent);
        margin: 0 0 1.25rem;
        font-weight: 600;
    }

    .author .author__bio {
        font-size: clamp(15px, 2.2vw, 17px);
        line-height: 1.7;
        color: var(--neutral-600);
        margin: 0;
    }

    @media (max-width: 768px) {
        .author .author__content {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.blog-item {

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

    .blog-item .blog-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .blog-item .blog-item__c {
            grid-template-columns: 1fr 300px;
        }
    }

    .blog-item .blog-item__header {
        margin-bottom: var(--space-y);
    }

    .blog-item h1 {
        font-size: clamp(28px, 5vw, 42px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__meta {
        display: flex;
        gap: 1rem;
        color: var(--neutral-600);
        font-size: 0.875rem;
    }

    .blog-item .blog-item__content {
        line-height: 1.8;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__content p {
        margin-bottom: 1.5rem;
    }

    .blog-item .blog-item__content strong {
        color: var(--bg-primary);
    }

    .blog-item .blog-item__related {
        background: var(--surface-light);
        padding: clamp(16px, 2vw, 24px);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }

    .blog-item .blog-item__related h3 {
        margin: 0 0 1rem;
        font-size: 1.25rem;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__related-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-item .blog-item__related-item a {
        color: var(--bg-primary);
        text-decoration: none;
    }

    .blog-item .blog-item__related-item a:hover {
        text-decoration: underline;
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.blog-item {

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

    .blog-item .blog-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: var(--space-x);
    }

    @media (min-width: 1024px) {
        .blog-item .blog-item__c {
            grid-template-columns: 1fr 300px;
        }
    }

    .blog-item .blog-item__header {
        margin-bottom: var(--space-y);
    }

    .blog-item h1 {
        font-size: clamp(28px, 5vw, 42px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__meta {
        display: flex;
        gap: 1rem;
        color: var(--neutral-600);
        font-size: 0.875rem;
    }

    .blog-item .blog-item__content {
        line-height: 1.8;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__related {
        background: var(--surface-light);
        padding: clamp(16px, 2vw, 24px);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }

    .blog-item .blog-item__related h3 {
        margin: 0 0 1rem;
        font-size: 1.25rem;
        color: var(--fg-on-page);
    }

    .blog-item .blog-item__related-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-item .blog-item__related-item a {
        color: var(--link);
        text-decoration: none;
    }

    .blog-item .blog-item__related-item a:hover {
        text-decoration: underline;
        color: var(--link-hover);
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.support-lv1 {
        padding: clamp(50px, 7vw, 88px) clamp(16px, 4vw, 36px);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

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

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

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

    .support-lv1__head p {
        margin: 8px 0 0;
        color: var(--neutral-600);
    }

    .support-lv1__grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    }

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

    .support-lv1__grid h3 {
        margin: 0 0 6px;
    }

    .support-lv1__grid p {
        margin: 0 0 8px;
        color: var(--neutral-600);
    }

    .support-lv1__grid a {
        color: var(--link);
        text-decoration: none;
        font-weight: 600;
    }

    @media (max-width: 900px) {
        .support-lv1__grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 640px) {
        .support-lv1__grid {
            grid-template-columns: 1fr;
        }
    }

.education-struct-v3 {
        padding: calc(var(--space-y) * 2) var(--space-x);
        background: var(--gradient-hero);
        color: var(--brand-contrast)
    }

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

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

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

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

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

    .education-struct-v3 .grid a, .education-struct-v3 .tiers a, .education-struct-v3 .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-v3 .path {
        display: grid;
        gap: .65rem
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .faq-layout-d .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

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

    .faq-layout-d h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        color: var(--fg-on-page);
    }

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

    .faq-layout-d .cards {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }

    .faq-layout-d .card {
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface-light);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        padding: var(--space-y) var(--space-x);
        box-shadow: var(--shadow-sm);
        transition: box-shadow var(--anim-duration) var(--anim-ease);
    }

    .faq-layout-d .card:hover {
        box-shadow: var(--shadow-md);
    }

    .faq-layout-d .card h3 {
        margin: 0;
        font-size: 1.05rem;
        color: var(--neutral-900);
    }

    .faq-layout-d .card p {
        margin: 9px 0 0;
        color: var(--neutral-600);
    }

    .faq-layout-d .card a {
        color: var(--link);
        text-decoration: underline;
    }

    .faq-layout-d .card a:hover {
        color: var(--link-hover);
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.contacts-fresh-v1 {
        padding: calc(var(--space-y) * 2.8) var(--space-x);
        background: var(--bg-page);
        color: var(--fg-on-page);
    }

    .contacts-fresh-v1 .shell {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: calc(var(--gap) * 1.4);
    }

    .contacts-fresh-v1 .intro h2 {
        margin: .3rem 0;
        font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    }

    .contacts-fresh-v1 .intro p {
        max-width: 56ch;
        color: var(--fg-on-surface-light);
    }

    .contacts-fresh-v1 .cards {
        display: grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: var(--gap);
    }

    .contacts-fresh-v1 article {
        padding: 1.1rem;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        box-shadow: var(--shadow-sm);
    }

    .contacts-fresh-v1 h3 {
        margin: 0 0 .6rem;
    }

    .contacts-fresh-v1 .value {
        margin: 0;
        font-weight: 700;
    }

    .contacts-fresh-v1 .hint {
        margin: .3rem 0 .8rem;
        color: var(--fg-on-surface-light);
    }

    .contacts-fresh-v1 a {
        text-decoration: none;
        color: var(--link);
        font-weight: 700;
    }

    @media (max-width: 900px) {
        .contacts-fresh-v1 .cards {
            grid-template-columns:1fr;
        }
    }

.map-shell-c4 {
        padding: clamp(3.5rem, 8vw, 6rem) var(--space-x);
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

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

    .map-shell-c4__band {
        margin-bottom: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: end;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .map-shell-c4__band h2 {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .map-shell-c4__band p {
        margin: 0;
        color: rgba(255, 255, 255, .82);
    }

    .map-shell-c4__shell {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 1rem;
    }

    .map-shell-c4__shell iframe {
        display: block;
        width: 100%;
        min-height: 24rem;
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .map-shell-c4__cards {
        display: grid;
        gap: .75rem;
    }

    .map-shell-c4__cards article {
        padding: .95rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .map-shell-c4__cards p {
        margin: .35rem 0 0;
        color: rgba(255, 255, 255, .84);
    }

    @media (max-width: 840px) {
        .map-shell-c4__shell {
            grid-template-columns: 1fr;
        }
    }

.form-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);
    }

    .form-layout-f .wrap {
        max-width: 860px;
        margin: 0 auto;
    }

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

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

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

    .form-layout-f .boxed {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: var(--surface-1);
        box-shadow: var(--shadow-sm);
    }

    .form-layout-f .group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

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

    .form-layout-f input:not([type="checkbox"]), .form-layout-f textarea {
        width: 100%;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        padding: 9px;
        font: inherit;
    }

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

    .form-layout-f button {
        margin-top: 10px;
        border: 0;
        border-radius: var(--radius-sm);
        padding: 10px 14px;
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

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

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.policy-layout-c {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

    .policy-layout-c .wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .policy-layout-c .section-head {
        margin-bottom: 14px;
    }

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

    .policy-layout-c .section-head p {
        margin: 10px 0 0;
        opacity: .92;
    }

    .policy-layout-c .stack {
        display: grid;
        gap: 10px;
    }

    .policy-layout-c article {
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: var(--radius-md);
        padding: 12px;
        background: rgba(255, 255, 255, .1);
    }

    .policy-layout-c h3 {
        margin: 0;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .policy-layout-c h3 span {
        display: inline-grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .18);
    }

    .policy-layout-c article p {
        margin: 8px 0 0;
        opacity: .95;
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

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

    .policy-layout-b .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

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

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

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

    .policy-layout-b ol {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 10px;
    }

    .policy-layout-b li {
        background: var(--bg-alt);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-on-surface);
        padding: 12px;
    }

    .policy-layout-b h3 {
        margin: 0;
        color: var(--brand);
        font-size: 1rem;
    }

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

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.thank-mode-d {
        padding: clamp(56px, 10vw, 114px) 18px;
        background: var(--accent);
        color: var(--accent-contrast);
    }

    .thank-mode-d .core {
        max-width: 740px;
        margin: 0 auto;
        text-align: center;
        padding: clamp(28px, 4vw, 46px);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, .24);
    }

    .thank-mode-d h1 {
        margin: 0;
        font-size: clamp(32px, 5vw, 52px);
    }

    .thank-mode-d p {
        margin: 12px 0 0;
        opacity: .9;
    }

    .thank-mode-d a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: 999px;
        text-decoration: none;
        background: var(--accent);
        color: var(--accent-contrast);
    }

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

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

.header__logo {
  font-size: calc(var(--font-size-base) * 1.5);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.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: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}
.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: 2rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger__line {
  display: block;
  height: 2px;
  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);
}

/* Mobile Styles */
@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);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1000;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
  }

  .nav__link {
    font-size: calc(var(--font-size-base) * 1.2);
    padding: var(--space-y) var(--space-x);
  }

  /* Burger animation */
  .header__burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(0.65rem) 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(-0.65rem) rotate(-45deg);
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        border-top: 1px solid #dee2e6;
        padding: 2rem 1rem;
        font-family: sans-serif;
        font-size: 0.9rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
        justify-content: center;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #2c3e50;
    }
    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-nav a {
        text-decoration: none;
        color: #555;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
    }
    .footer-contacts {
        line-height: 1.6;
        color: #666;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-legal-links {
        margin-top: 0.5rem;
    }
    .footer-legal-links a {
        color: #666;
        text-decoration: none;
        margin: 0 0.5rem;
    }
    .footer-legal-links a:hover {
        text-decoration: underline;
        color: #333;
    }
    .footer-disclaimer {
        color: #777;
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 800px;
    }
    @media (max-width: 768px) {
        .footer-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        .footer-nav ul {
            justify-content: center;
        }
        .footer-contacts {
            text-align: center;
        }
    }

.cookie-lv12 {
        position: fixed;
        left: var(--space-x);
        right: var(--space-x);
        bottom: var(--space-y);
        z-index: 1200;
    }

    .cookie-lv12__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        padding: calc(var(--space-y) * 0.9) var(--space-x);
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px var(--gap);
        align-items: center;
    }

    .cookie-lv12__title {
        font-weight: 700;
        color: var(--fg-on-surface);
    }

    .cookie-lv12 p {
        margin: 0;
        grid-column: 1 / 2;
        color: var(--fg-muted);
    }

    .cookie-lv12__actions {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .cookie-lv12__actions button {
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-surface);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-lv12__actions button[data-choice='accept'] {
        background: var(--accent);
        color: var(--accent-contrast);
        border-color: transparent;
        font-weight: 700;
    }

    @media (max-width: 760px) {
        .cookie-lv12__wrap {
            grid-template-columns: 1fr;
        }

        .cookie-lv12 p,
        .cookie-lv12__actions {
            grid-column: auto;
            grid-row: auto;
        }

        .cookie-lv12__actions {
            justify-content: flex-start;
        }
    }

.err-slab-b {
    padding: clamp(56px, 10vw, 112px) 20px;
    background: var(--bg-alt);
    color: var(--fg-on-page);
}

.err-slab-b .frame {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(28px, 4vw, 46px);
    border: 2px solid var(--border-on-surface);
    border-radius: var(--radius-xl);
    background: var(--surface-1);
    box-shadow: var(--shadow-md);
}

.err-slab-b h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 56px);
    color: var(--brand);
}

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

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