:root {
  --font-family: "Montserrat", sans-serif;
  --font-size-base: 15.6px;
  --line-height-base: 1.48;

  --max-w: 1100px;
  --space-x: 1.16rem;
  --space-y: 0.98rem;
  --gap: 0.99rem;

  --radius-xl: 1.07rem;
  --radius-lg: 0.75rem;
  --radius-md: 0.37rem;
  --radius-sm: 0.22rem;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.13);
  --shadow-md: 0 7px 14px rgba(0,0,0,0.17);
  --shadow-lg: 0 14px 26px rgba(0,0,0,0.21);

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

  --brand: #2C3E50;
  --brand-contrast: #FFFFFF;
  --accent: #FFC107;
  --accent-contrast: #212121;

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

  --bg-page: #F8F9FA;
  --fg-on-page: #2C3E50;

  --bg-alt: #E8EDF5;
  --fg-on-alt: #34495E;

  --surface-1: #FFFFFF;
  --surface-2: #F0F4F8;
  --fg-on-surface: #2C3E50;
  --border-on-surface: #E1E8F0;

  --surface-light: #FFFFFF;
  --fg-on-surface-light: #4A5568;
  --border-on-surface-light: #CBD5E0;

  --bg-primary: #2C3E50;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #1A2530;
  --ring: #FFC107;

  --bg-accent: #FFF8E1;
  --fg-on-accent: #5D4037;
  --bg-accent-hover: #FFB300;

  --link: #3498DB;
  --link-hover: #2980B9;

  --gradient-hero: linear-gradient(135deg, #2C3E50 0%, #4A6572 100%);
  --gradient-accent: linear-gradient(90deg, #FFC107 0%, #FFD54F 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;}

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.intro-flag-c11 {
        padding: clamp(3.8rem, 8vw, 6.8rem) var(--space-x);
        background: linear-gradient(160deg, var(--bg-primary), var(--bg-primary-hover));
        color: var(--fg-on-primary);
    }

    .intro-flag-c11__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 1rem;
    }

    .intro-flag-c11__left, .intro-flag-c11__right {
        padding: 1.1rem;
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .intro-flag-c11__tag {
        display: inline-flex;
        padding: .4rem .75rem;
        border-radius: 999px;
        background: var(--chip-bg);
        color: var(--fg-on-surface);
        font-weight: 600;
        font-size: 0.9rem;
    }

    .intro-flag-c11__left h1 {
        margin: .8rem 0 0;
        font-size: clamp(2.5rem, 5vw, 4.6rem);
        line-height: 1;
    }

    .intro-flag-c11__left p {
        margin: .9rem 0 0;
        font-size: 1.2rem;
        line-height: 1.5;
        opacity: 0.9;
    }

    .intro-flag-c11__right {
        display: grid;
        align-content: center;
        gap: .65rem;
    }

    .intro-flag-c11__right strong {
        font-size: clamp(2.8rem, 5vw, 4rem);
        font-weight: 700;
        color: var(--accent);
    }

    .intro-flag-c11__right span {
        color: rgba(255, 255, 255, .82);
        font-size: 1.1rem;
        line-height: 1.4;
    }

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

.next-strip-l2 {
        padding: clamp(3rem, 7vw, 5.6rem) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .next-strip-l2__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        align-items: end;
        flex-wrap: wrap;
    }

    .next-strip-l2__wrap p {
        margin: 0;
        color: var(--neutral-600);
    }

    .next-strip-l2__wrap h2 {
        margin: .5rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .next-strip-l2__wrap a {
        display: inline-flex;
        min-height: 2.8rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
    }

    .next-strip-l2__actions {
        max-width: var(--max-w);
        margin: 1rem auto 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: .75rem;
    }

    .next-strip-l2__actions a {
        display: block;
        padding: .95rem;
        border-radius: var(--radius-lg);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
        text-decoration: none;
        color: var(--fg-on-page);
    }

    .next-strip-l2__actions span {
        display: block;
        margin-top: .35rem;
        color: var(--neutral-600);
    }

    /* macro-bg:next-strip-l2__wrap */
    .next-strip-l2 {
        overflow: hidden;
    }

    .next-strip-l2__wrap {
        background-image: linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)), url('https://images.pexels.com/photos/4483610/pexels-photo-4483610.jpeg?auto=compress&cs=tinysrgb&w=800');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: var(--radius-xl);
        overflow: hidden;
    }

.education-struct-v6 {
        padding: calc(var(--space-y) * 2) var(--space-x);
        background: var(--neutral-900);
        color: var(--neutral-0)
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.why-choose-light {

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

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

    .why-choose-light .why-choose-light__h {
        text-align: center;
        margin-bottom: clamp(32px, 5vw, 64px);

        transform: translateY(20px);
    }

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

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

    .why-choose-light .why-choose-light__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--gap);
    }

    .why-choose-light .why-choose-light__item {
        background: var(--surface-1);
        padding: clamp(20px, 3vw, 32px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface);
        box-shadow: var(--shadow-sm);
        transition: box-shadow var(--anim-duration) var(--anim-ease);

        transform: translateY(30px);
    }

    .why-choose-light .why-choose-light__item:hover {
        box-shadow: var(--shadow-md);
    }

    .why-choose-light .why-choose-light__icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        font-size: 24px;
    }

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

    .why-choose-light .why-choose-light__item p {
        margin: 0;
        color: var(--neutral-600);
        line-height: var(--line-height-base);
    }

.touch-panorama {
        padding: clamp(56px, 8vw, 96px) 16px;
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
    }

    .touch-panorama .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

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

    .touch-panorama .lead {
        margin: 10px 0 14px;
    }

    .touch-panorama .lane {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    .touch-panorama article {
        min-width: 250px;
        border: 1px solid var(--chip-bg);
        border-radius: 14px;
        background: var(--chip-bg);
        padding: 12px;
        scroll-snap-align: start;
    }

    .touch-panorama article h3 {
        margin: 0 0 8px;
    }

    .touch-panorama article p {
        margin: 0 0 8px;
    }

    .touch-panorama article a {
        color: var(--fg-on-primary);
        text-decoration: underline;
    }

    .touch-panorama .main {
        display: inline-block;
        margin-top: 12px;
        text-decoration: none;
        padding: 10px 14px;
        border-radius: 10px;
        background: var(--fg-on-primary);
        color: var(--fg-on-accent);
    }

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.identity-cv5 {
        padding: clamp(52px, 8vw, 96px) clamp(16px, 4vw, 40px);
        background: linear-gradient(145deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

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

    .identity-cv5__hero {
        position: relative;
        border-radius: var(--radius-xl);
        overflow: hidden;
        min-height: 220px;
    }

    .identity-cv5__hero img {
        width: 100%;
        height: 100%;
        min-height: 220px;
        object-fit: cover;
        display: block;
    }

    .identity-cv5__overlay {
        position: absolute;
        inset: auto 0 0 0;
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0), var(--overlay));
    }

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

    .identity-cv5__overlay span {
        opacity: .92;
    }

    .identity-cv5__grid {
        margin-top: 14px;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: var(--gap);
    }

    .identity-cv5__grid p {
        margin: 0 0 10px;
    }

    .identity-cv5__grid ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 8px;
    }

    .identity-cv5__grid li {
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: var(--radius-md);
        padding: 10px 12px;
    }

    @media (max-width: 800px) {
        .identity-cv5__grid {
            grid-template-columns: 1fr;
        }
    }

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

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

    .testimonials-struct-v5 h2, .testimonials-struct-v5 h3, .testimonials-struct-v5 p {
        margin: 0
    }

    .testimonials-struct-v5 article, .testimonials-struct-v5 blockquote, .testimonials-struct-v5 figure, .testimonials-struct-v5 .spotlight, .testimonials-struct-v5 .row {
        background: var(--chip-bg);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        padding: .85rem
    }

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

    .testimonials-struct-v5 .rail {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: .6rem
    }

    .testimonials-struct-v5 .stack {
        display: grid;
        gap: .65rem
    }

    .testimonials-struct-v5 .stack article {
        display: grid;
        grid-template-columns:3rem 1fr;
        gap: .6rem;
        align-items: center
    }

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

    .testimonials-struct-v5 .table {
        display: grid;
        gap: .45rem
    }

    .testimonials-struct-v5 .row {
        display: grid;
        grid-template-columns:12rem 1fr;
        gap: .6rem
    }

    .testimonials-struct-v5 .wall {
        columns: 3;
        column-gap: var(--gap)
    }

    .testimonials-struct-v5 blockquote {
        break-inside: avoid;
        margin: 0 0 var(--gap) 0;
        display: grid;
        gap: .4rem
    }

    .testimonials-struct-v5 .slider {
        display: grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: var(--gap)
    }

    .testimonials-struct-v5 .dots {
        display: flex;
        justify-content: center;
        gap: .4rem
    }

    .testimonials-struct-v5 .dots span {
        padding: .25rem .45rem;
        border-radius: var(--radius-sm);
        background: var(--chip-bg);
        border: 1px solid var(--border-on-surface)
    }

    @media (max-width: 900px) {
        .testimonials-struct-v5 .grid, .testimonials-struct-v5 .rail, .testimonials-struct-v5 .slider {
            grid-template-columns:1fr 1fr
        }

        .testimonials-struct-v5 .wall {
            columns: 2
        }
    }

    @media (max-width: 680px) {
        .testimonials-struct-v5 .grid, .testimonials-struct-v5 .rail, .testimonials-struct-v5 .slider, .testimonials-struct-v5 .row {
            grid-template-columns:1fr
        }

        .testimonials-struct-v5 .wall {
            columns: 1
        }
    }

.partners {

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

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

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

    .partners .partners__header h2 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-alt);
    }

    .partners .partners__header p {
        font-size: clamp(16px, 2vw, 18px);
        color: var(--neutral-600);
        margin: 0;
    }

    .partners .partners__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(388px, 1fr));
        gap: clamp(32px, 5vw, 48px);
    }

    .partners .partners__item {
        text-align: center;
        padding: clamp(24px, 4vw, 32px);
        background: var(--bg-page);
        border-radius: var(--radius-lg);
    }

    .partners .partners__logo {
        width: 100%;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: clamp(16px, 3vw, 24px);
    }

    .partners .partners__logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .partners .partners__item h3 {
        font-size: clamp(18px, 3vw, 22px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-page);
    }

    .partners .partners__item p {
        font-size: clamp(14px, 2vw, 16px);
        line-height: 1.6;
        color: var(--neutral-600);
        margin: 0;
    }

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.hiw-canvas-l8 {
        padding: clamp(3.2rem, 7vw, 5.8rem) var(--space-x);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .hiw-canvas-l8__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        gap: 1.4rem;
        align-items: start;
        flex-wrap: wrap;
    }

    .hiw-canvas-l8__media {
        flex: 1 1 18rem;
        order: calc(3 - var(--random-number));
    }

    .hiw-canvas-l8__content {
        flex: 1 1 22rem;
        order: var(--random-number);
    }

    .hiw-canvas-l8__media img {
        display: block;
        width: 100%;
        border-radius: var(--radius-xl);
        border: 1px solid var(--border-on-surface-light);
    }

    .hiw-canvas-l8__content p:first-child {
        margin: 0;
        color: var(--neutral-600);
    }

    .hiw-canvas-l8__content h2 {
        margin: .55rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hiw-canvas-l8__stack p {
        margin: .8rem 0 0;
        color: var(--neutral-600);
    }

    .hiw-canvas-l8__notes {
        margin-top: 1rem;
        display: flex;
        gap: .65rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .hiw-canvas-l8__notes strong {
        color: var(--brand);
        margin-right: .25rem;
    }

    .hiw-canvas-l8__notes span {
        display: inline-flex;
        padding: .55rem .8rem;
        border-radius: 999px;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

.values-beads-c3 {
        padding: clamp(3.5rem, 8vw, 6.1rem) var(--space-x);
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
    }

    .values-beads-c3__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .values-beads-c3__head {
        margin-bottom: 1.1rem;
    }

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

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

    .values-beads-c3__head span {
        display: block;
        margin-top: .8rem;

    }

    .values-beads-c3__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: var(--gap);
    }

    .values-beads-c3__grid article {
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, .14);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .values-beads-c3__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .values-beads-c3__top i {
        font-style: normal;
    }

    .values-beads-c3__top strong {
        color: var(--bg-accent);
    }

    .values-beads-c3__grid h3 {
        margin: .75rem 0 .35rem;
    }

    .values-beads-c3__grid p {
        margin: 0;

    }

    .values-beads-c3__grid small {
        display: block;
        margin-top: .55rem;
        color: rgba(255, 255, 255, .76);
    }

.features {
    padding: clamp(48px, 8vw, 80px) 0;
    color: var(--fg-on-page);
}

.features--alt {
    background-color: var(--bg-alt);
    color: var(--fg-on-alt);
}

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

.features__title {
    text-align: center;
    margin-bottom: calc(var(--space-y) * 2);
    font-size: clamp(28px, 4vw, 40px);
    color: inherit;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: calc(var(--gap) * 1.5);
}

.features__card {
    background-color: var(--surface-1);
    padding: clamp(16px, 3vw, 32px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--anim-duration) var(--anim-ease);
    text-align: center;
    border: 1px solid var(--border-on-surface);
}

.features__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.features__icon {
    font-size: 2.5rem;
    color: var(--brand);
    margin-bottom: var(--space-y);
}

.features__card h3 {
    margin-bottom: var(--space-y);
    color: var(--fg-on-surface);
}

.features__card p {
    color: var(--fg-on-surface-light);
    margin: 0 auto;
}

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.map-panel-l5 {
        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);
    }

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

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

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

    .map-panel-l5__top p {
        margin: .55rem 0 0;
        color: var(--neutral-600);
    }

    .map-panel-l5__tags {
        color: var(--brand);
    }

    .map-panel-l5__grid {
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        gap: 1rem;
    }

    .map-panel-l5__embed {
        overflow: hidden;
        border-radius: var(--radius-xl);
        border: 1px solid var(--border-on-surface-light);
    }

    .map-panel-l5__embed iframe {
        display: block;
        width: 100%;
        height: 24rem;
    }

    .map-panel-l5__list {
        display: grid;
        gap: .75rem;
    }

    .map-panel-l5__list div {
        padding: .95rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

    .map-panel-l5__list span {
        display: block;
        margin-top: .35rem;
        color: var(--neutral-600);
    }

    .map-panel-l5__list a {
        color: var(--link);
        text-decoration: none;
    }
    .map-panel-l5__list a:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }

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

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

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

    .form-fresh-v4 h2 {
        margin: 0;
        font-size: clamp(1.8rem, 3.3vw, 2.5rem);
    }

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

    .form-fresh-v4 .steps {
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

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

    .form-fresh-v4 .fields {
        display: grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: .7rem;
    }

    .form-fresh-v4 label {
        display: grid;
        gap: .3rem;
        font-size: .88rem;
    }

    .form-fresh-v4 input {
        padding: .62rem .72rem;
        border: 1px solid var(--btn-ghost-bg-hover);
        border-radius: var(--radius-sm);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        font: inherit;
    }

    .form-fresh-v4 button {
        padding: .72rem 1rem;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        font-weight: 700;
        cursor: pointer;
    }

    @media (max-width: 700px) {
        .form-fresh-v4 .fields {
            grid-template-columns:1fr;
        }
    }

.touch-panorama {
        padding: clamp(56px, 8vw, 96px) 16px;
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
    }

    .touch-panorama .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

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

    .touch-panorama .lead {
        margin: 10px 0 14px;
    }

    .touch-panorama .lane {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    .touch-panorama article {
        min-width: 250px;
        border: 1px solid var(--chip-bg);
        border-radius: 14px;
        background: var(--chip-bg);
        padding: 12px;
        scroll-snap-align: start;
    }

    .touch-panorama article h3 {
        margin: 0 0 8px;
    }

    .touch-panorama article p {
        margin: 0 0 8px;
    }

    .touch-panorama article a {
        color: var(--fg-on-primary);
        text-decoration: underline;
    }

    .touch-panorama .main {
        display: inline-block;
        margin-top: 12px;
        text-decoration: none;
        padding: 10px 14px;
        border-radius: 10px;
        background: var(--fg-on-primary);
        color: var(--fg-on-accent);
    }

.contacts-fresh-v5 {
        padding: calc(var(--space-y) * 2.4) var(--space-x);
        background: var(--neutral-900);
        color: var(--neutral-0);
    }

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

    .contacts-fresh-v5 h2 {
        margin: 0;
        font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    }

    .contacts-fresh-v5 .head p {
        margin: .35rem 0 0;
        opacity: .85;
    }

    .contacts-fresh-v5 .stack {
        display: grid;
        gap: .7rem;
    }

    .contacts-fresh-v5 details {
        background: var(--chip-bg);
        border-radius: var(--radius-md);
        padding: .8rem 1rem;
    }

    .contacts-fresh-v5 summary {
        cursor: pointer;
        font-weight: 700;
    }

    .contacts-fresh-v5 .inside {
        display: grid;
        gap: .4rem;
        padding-top: .6rem;
    }

    .contacts-fresh-v5 .inside p {
        margin: 0;
    }

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

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

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

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

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

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

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

    .terms-layout-b .grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

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

    .terms-layout-b h3 {
        margin: 0 0 8px;
        color: var(--brand);
    }

    .terms-layout-b h4 {
        margin: 10px 0 6px;
    }

    .terms-layout-b p, .terms-layout-b li {
        color: var(--neutral-600);
        margin-top: 0;
    }

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.thank-mode-f {
        padding: clamp(56px, 10vw, 112px) 18px;
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .thank-mode-f .shell {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        border-radius: var(--radius-xl);
        padding: clamp(30px, 4vw, 46px);
        background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
        border: 1px solid var(--border-on-surface-light);
    }

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

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

    .thank-mode-f a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: var(--radius-md);
        text-decoration: none;
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

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

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

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

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--fg-on-surface);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}
.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
        font-family: sans-serif;
        color: #333;
        border-top: 1px solid #eee;
    }

    .footer-section {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #2c5282;
    }

    .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav a {
        text-decoration: none;
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer-nav a:hover {
        color: #2c5282;
        text-decoration: underline;
    }

    .footer-contacts {
        line-height: 1.6;
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .footer-contacts address {
        display: inline-block;
        font-style: normal;
        margin-right: 1rem;
    }

    .footer-contacts a {
        color: #2c5282;
        text-decoration: none;
    }

    .footer-contacts a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.9rem;
        color: #718096;
    }

    .footer-legal {
        margin-bottom: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-legal a {
        color: #4a5568;
        text-decoration: none;
    }

    .footer-legal a:hover {
        text-decoration: underline;
    }

    .footer-disclaimer {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 800px;
        margin: 0 auto;
        color: #a0aec0;
    }

    @media (max-width: 768px) {
        .footer-nav ul {
            flex-direction: column;
            gap: 0.75rem;
        }
        .footer-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-contacts address {
            margin-right: 0;
        }
        .footer-legal {
            flex-direction: column;
            gap: 0.5rem;
        }
    }

.cookie-cv9 {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: end;
    }

    .cookie-cv9__overlay {
        position: absolute;
        inset: 0;
        background: var(--overlay);
    }

    .cookie-cv9__dialog {
        position: relative;
        width: min(520px, calc(100vw - (var(--space-x) * 2)));
        border-radius: var(--radius-xl);
        padding: 18px;
        background: linear-gradient(135deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv9__dialog h3 {
        margin: 0 0 8px;
    }

    .cookie-cv9__dialog p {
        margin: 0;
        opacity: .94;
    }

    .cookie-cv9__actions {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-cv9__actions button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.18);
        color: inherit;
        cursor: pointer;
    }

    .cookie-cv9__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
    }

.err-slab-d {
        padding: clamp(56px, 10vw, 114px) 20px;
        background: var(--accent);
        color: var(--neutral-0);
    }

    .err-slab-d .plate {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        padding: clamp(30px, 4vw, 50px);
        border-radius: var(--radius-xl);
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

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

    .err-slab-d p {
        margin: 12px 0 0;
        color: var(--neutral-100);
    }

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