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

  --max-w: 1360px;
  --space-x: 1.99rem;
  --space-y: 1.5rem;
  --gap: 1.65rem;

  --radius-xl: 1.14rem;
  --radius-lg: 1rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.32rem;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.14);
  --shadow-md: 0 12px 22px rgba(0,0,0,0.18);
  --shadow-lg: 0 24px 40px rgba(0,0,0,0.22);

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

  --brand: #2E7D32;
  --brand-contrast: #FFFFFF;
  --accent: #0288D1;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F5F5;
  --neutral-300: #E0E0E0;
  --neutral-600: #757575;
  --neutral-800: #424242;
  --neutral-900: #212121;

  --bg-page: #FAFDFA;
  --fg-on-page: #1B5E20;

  --bg-alt: #F1F8E9;
  --fg-on-alt: #33691E;

  --surface-1: #FFFFFF;
  --surface-2: #F9F9F9;
  --fg-on-surface: #2E7D32;
  --border-on-surface: #C8E6C9;

  --surface-light: rgba(46, 125, 50, 0.05);
  --fg-on-surface-light: #1B5E20;
  --border-on-surface-light: rgba(46, 125, 50, 0.2);

  --bg-primary: #2E7D32;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #1B5E20;
  --ring: rgba(46, 125, 50, 0.4);

  --bg-accent: #E3F2FD;
  --fg-on-accent: #01579B;
  --bg-accent-hover: #0277BD;

  --link: #1B5E20;
  --link-hover: #0D5302;

  --gradient-hero: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
  --gradient-accent: linear-gradient(90deg, #0288D1 0%, #26C6DA 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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.hero {
        position: relative;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--fg-on-page);
        overflow: hidden;
    }

    .hero--compact {
        min-height: 400px;
    }

    .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
    }

    .hero__overlay {
        position: absolute;
        inset: 0;
        background: var(--gradient-hero);
        opacity: 0.7;
        z-index: -1;
    }

    .hero--tint .hero__overlay {
        opacity: 0.55;
    }

    .hero__content {
        max-width: 900px;
        padding: clamp(16px, 3vw, 32px);
        z-index: 1;
    }

    .hero--tint .hero__content {
        background: var(--chip-bg);
        border-radius: var(--radius-lg);
        border: 1px solid var(--btn-ghost-bg-hover);
    }

    .hero h1 {
        font-size: clamp(28px, 5vw, 48px);
        font-weight: 700;
        margin-bottom: var(--space-y);
        text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        color: var(--fg-on-page);
    }

    .hero p {
        font-size: clamp(16px, 2.5vw, 20px);
        font-weight: 400;
        margin: 0 auto 0;
        max-width: 700px;
        color: var(--fg-on-page);
    }

.gallery--colored-v5 {

    padding: 60px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

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

.gallery__header {
    text-align: center;
    margin-bottom: 24px;
}

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

.gallery__header p {
    margin: 0;
    color: var(--neutral-300);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.6);
}

.gallery__item--featured {
    border-color: var(--accent);
}

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

.gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    font-size: 0.85rem;
}

.visual-board-l4 {
        padding: clamp(3.1rem, 7vw, 5.7rem) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

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

    .visual-board-l4__head {
        margin-bottom: 1rem;
        text-align: center;
    }

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

    .visual-board-l4__head p {
        margin: .6rem 0 0;
        color: var(--neutral-600);
    }

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

    .visual-board-l4__grid figure {
        margin: 0;
        padding: .9rem;
        border-radius: var(--radius-xl);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
    }

    .visual-board-l4__grid figcaption strong {
        color: var(--brand);
    }

    .visual-board-l4__grid h3 {
        margin: .45rem 0 .35rem;
    }

    .visual-board-l4__grid p {
        margin: 0;
        color: var(--neutral-600);
    }

    .visual-board-l4__grid img {
        display: block;
        width: 100%;
        height: 12rem;
        object-fit: cover;
        border-radius: var(--radius-md);
        margin-top: .85rem;
    }

.social-c2 {

        padding: clamp(18px, 3vw, 44px);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        position: relative;
        overflow: hidden;
    }

    .social-c2::before {
        content: '';
        position: absolute;
        inset: -30%;
        background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.14), transparent 55%),
        radial-gradient(circle at 80% 55%, rgba(255, 107, 53, 0.18), transparent 55%);
        filter: blur(18px);
        animation: socialC2Bg 7s var(--anim-ease) infinite;
        pointer-events: none;
    }

    @keyframes socialC2Bg {
        0%, 100% {
            transform: translate3d(-1%, 0, 0) scale(1)
        }
        50% {
            transform: translate3d(1.5%, -1%, 0) scale(1.04)
        }
    }

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

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

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

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

    .social-c2__grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 14px;
        align-items: stretch;
    }

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

    .social-c2__quote {
        display: none;
        padding: 18px 18px 16px;
    }

    .social-c2__quote.is-on {
        display: block;
    }

    .social-c2__qText {
        font-size: clamp(16px, 2.2vw, 20px);
        line-height: 1.7;
        color: rgba(255, 255, 255, .92);
    }

    .social-c2__qMeta {
        margin-top: 14px;
        display: flex;
        gap: 10px;
        align-items: baseline;
        flex-wrap: wrap;

    }

    .social-c2__qName {
        font-weight: 900;
    }

    .social-c2__qRole {
        opacity: .85;
    }

    .social-c2__metrics {
        display: grid;
        gap: 12px;
    }

    .social-c2__metric {
        border-radius: var(--radius-xl);
        background: rgba(0, 0, 0, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: var(--shadow-md);
        padding: 16px;
    }

    .social-c2__mVal {
        font-weight: 900;
        font-size: clamp(22px, 3vw, 32px);
        letter-spacing: -.01em;
    }

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

    @media (max-width: 980px) {
        .social-c2__grid {
            grid-template-columns:1fr;
        }
    }

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

.why-choose {

        padding: clamp(16px, 3vw, 44px);
    }

    .why-choose--light.why-choose--v2 {
        background: var(--fg-on-primary);
        color: var(--bg-primary);
    }

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

    .why-choose__wrap {
        border-radius: var(--radius-xl);
        padding: clamp(16px, 2.6vw, 26px);
        background: var(--bg-alt);
        border: 1px solid var(--neutral-300);
        box-shadow: var(--shadow-md);
    }

    .why-choose__h {
        margin-bottom: clamp(14px, 2vw, 22px);
    }

    .why-choose__pill {
        display: inline-flex;
        padding: 7px 12px;
        border-radius: 999px;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        box-shadow: var(--shadow-sm);
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .why-choose__title {
        margin: 0;
        font-size: clamp(24px, 4.2vw, 40px);
        line-height: 1.1;
        color: var(--bg-primary);
        letter-spacing: -0.02em;
    }

    .why-choose__subtitle {
        margin: 10px 0 0;
        color: var(--neutral-600);
        max-width: 70ch;
    }

    .why-choose__cards {
        display: grid;
        grid-template-columns:repeat(12, 1fr);
        gap: 14px;
    }

    .why-choose__card {
        grid-column: span 6;
        border-radius: var(--radius-xl);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transform: perspective(900px) rotateX(0) rotateY(0) translateY(0);
        transition: transform 180ms var(--anim-ease),
        box-shadow 180ms var(--anim-ease),
        border-color 180ms var(--anim-ease);
        will-change: transform;
        position: relative;
    }

    /* dinamnic glow prin CSS variabile */
    .why-choose__card::after {
        content: '';
        position: absolute;
        inset: -1px;
        background: radial-gradient(220px 220px at var(--gx, 50%) var(--gy, 50%),
        rgba(0, 85, 183, 0.20), transparent 60%);

        transition: opacity 180ms var(--anim-ease);
        pointer-events: none;
    }

    .why-choose__card.is-hover {
        box-shadow: var(--shadow-lg);
        border-color: rgba(0, 85, 183, 0.28);
    }

    .why-choose__card.is-hover::after {
        opacity: 1;
    }

    .why-choose__cardHead {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: rgba(0, 0, 0, 0.03);
        border-bottom: 1px solid var(--border-on-surface);
    }

    .why-choose__num {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        font-weight: 700;
    }

    .why-choose__mini {
        color: var(--neutral-600);
        font-size: 0.9rem;
    }

    .why-choose__cardBody {
        padding: 14px 16px;
    }

    .why-choose__cardTitle {
        margin: 0 0 8px;
        color: var(--bg-primary);
        font-size: clamp(18px, 2.2vw, 20px);
    }

    .why-choose__cardText {
        margin: 0;
        color: var(--neutral-600);
        line-height: var(--line-height-base);
    }

    @media (max-width: 860px) {
        .why-choose__card {
            grid-column: span 12;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .why-choose__card {
            transition: none;
            transform: none;
        }

        .why-choose__card::after {
            display: none;
        }
    }

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.project-list {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .project-list p {
            color: var(--neutral-600);
        margin: 0.5rem 0 1rem;
    }

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

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

.index-recommendations-steps {
        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
    }

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

    .index-recommendations-steps__h {
        text-align: center;
        margin-bottom: clamp(24px, 6vw, 52px);

        transform: translateY(-18px);
    }

    .index-recommendations-steps__h h2 {
        margin: 0 0 10px;
        font-size: clamp(28px, 4.6vw, 48px);
        letter-spacing: -0.02em;
    }

    .index-recommendations-steps__h p {
        margin: 0;
        color: var(--neutral-600);
    }

    .index-recommendations-steps__steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(16px, 3vw, 26px);
    }

    .index-recommendations-steps__step {
        position: relative;

        transform: translateY(26px);
    }

    .index-recommendations-steps__num {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: var(--bg-primary);
        border: 1px solid var(--ring);
        color: var(--fg-on-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        position: absolute;
        top: 18px;
        left: 50px;
        font-size: 12px;
        box-shadow: var(--shadow-md);
    }

    .index-recommendations-steps__box {
        border-radius: var(--radius-xl);
        background: var(--surface-light);
        border: 1px solid var(--border-on-surface-light);
        box-shadow: var(--shadow-md);
        padding: 26px 18px 18px;
        height: 100%;
    }

    .index-recommendations-steps__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .index-recommendations-steps__icon {
        width: 44px;
        height: 44px;
        border-radius: 16px;
        background: var(--bg-accent);
        border: 1px solid var(--border-on-surface);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: var(--fg-on-accent);
        flex: 0 0 auto;
    }

    .index-recommendations-steps__tag {
        padding: 6px 10px;
        border-radius: 999px;
        background: var(--fg-on-surface);
        border: 1px solid var(--border-on-surface);
        color: var(--surface-1);
        font-size: 10px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .index-recommendations-steps__box h3 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: -0.01em;
        color: var(--fg-on-surface-light);
    }

    .index-recommendations-steps__why {
        margin: 0 0 10px;
        font-size: 12px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--fg-on-surface-light);
        opacity: 0.75;
    }

    .index-recommendations-steps__desc {
        margin: 0 0 14px;
        color: var(--fg-on-surface-light);
        font-size: 14px;
        line-height: 1.65;
    }

    .index-recommendations-steps__cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        padding: 10px 14px;
        border-radius: 999px;
        background: var(--bg-primary);
        border: 1px solid var(--ring);
        color: var(--fg-on-primary);
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        font-size: 11px;
        transition: transform var(--anim-duration) var(--anim-ease), background var(--anim-duration) var(--anim-ease);
    }

    .index-recommendations-steps__cta::after {
        content: '->';
    }

    .index-recommendations-steps__cta:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
    }

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

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.project-item {

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

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

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

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

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

    }

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

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

        /* Dacă randomNumber este par (2) - primul copil primește order: 2 */
        .project-item .project-item__gallery > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

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

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

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

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

    }

.hiw-orbit-c7 {
        padding: clamp(3.6rem, 8vw, 6.2rem) var(--space-x);
        background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, .18), transparent 30%), var(--gradient-hero);
        color: var(--fg-on-primary);
    }

    .hiw-orbit-c7__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .hiw-orbit-c7__head {
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .hiw-orbit-c7__head p {
        margin: 0;
        color: rgba(255, 255, 255, .78);
    }

    .hiw-orbit-c7__head h2 {
        margin: .5rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hiw-orbit-c7__ring {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: var(--gap);
    }

    .hiw-orbit-c7__ring article {
        padding: 1rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .2);
        text-align: center;
    }

    .hiw-orbit-c7__ring span {
        display: inline-flex;
        min-width: 2.6rem;
        height: 2.6rem;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: var(--chip-bg);
    }

    .hiw-orbit-c7__ring h3 {
        margin: .75rem 0 .35rem;
    }

    .hiw-orbit-c7__ring p {
        margin: 0;
        color: rgba(255, 255, 255, .84);
    }

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.project-item {

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

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

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

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

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

    }

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

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

        /* Dacă randomNumber este par (2) - primul copil primește order: 2 */
        .project-item .project-item__gallery > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

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

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

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

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

    }

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

    .team-fresh-v4 .shell {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        gap: 1rem;
    }

    .team-fresh-v4 h2 {
        margin: 0;
        font-size: clamp(1.8rem, 3.3vw, 2.5rem);
        color: var(--fg-on-page);
    }

    .team-fresh-v4 .strip {
        display: flex;
        gap: var(--gap);
        overflow: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: .2rem;
    }

    .team-fresh-v4 article {
        min-width: 280px;
        scroll-snap-align: start;
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        padding: 1.2rem;
        border-radius: var(--radius-lg);
        color: var(--fg-on-surface);
    }

    .team-fresh-v4 img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: var(--radius-md);
    }

    .team-fresh-v4 h3 {
        margin: .7rem 0 .2rem;
        color: var(--brand);
    }

    .team-fresh-v4 .role {
        margin: 0;
        opacity: .9;
        font-weight: 600;
        color: var(--accent-fg);
    }

    .team-fresh-v4 article p:last-of-type {
        margin-top: 0.7rem;
        font-size: 0.95rem;
        line-height: 1.5;
        color: var(--neutral-800);
    }

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.project-item {

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

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

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

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

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

    }

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

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

        /* Dacă randomNumber este par (2) - primul copil primește order: 2 */
        .project-item .project-item__gallery > *:first-child {
            order: calc((var(--random-number) % 2) * 2);
        }
    }

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

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

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

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

    }

.story-column-l4 {
        padding: clamp(3.2rem, 7vw, 5.7rem) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

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

    .story-column-l4__copy p:first-child {
        margin: 0;
        color: var(--brand);
        font-size: .82rem;
        text-transform: uppercase;
        letter-spacing: .1em;
    }

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

    .story-column-l4__copy strong {
        display: block;
        margin-top: .8rem;
    }

    .story-column-l4__copy p {
        color: var(--neutral-600);
    }

    .story-column-l4__stats {
        display: grid;
        gap: .75rem;
    }

    .story-column-l4__stats div {
        padding: .9rem;
        border-radius: var(--radius-lg);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
    }

    .story-column-l4__stats span {
        display: block;
        margin-top: .25rem;
        color: var(--neutral-600);
    }

    @media (max-width: 820px) {
        .story-column-l4__wrap {
            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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

.story-column-l4 {
        padding: clamp(3.2rem, 7vw, 5.7rem) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

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

    .story-column-l4__copy p:first-child {
        margin: 0;
        color: var(--brand);
        font-size: .82rem;
        text-transform: uppercase;
        letter-spacing: .1em;
    }

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

    .story-column-l4__copy strong {
        display: block;
        margin-top: .8rem;
    }

    .story-column-l4__copy p {
        color: var(--neutral-600);
    }

    .story-column-l4__stats {
        display: grid;
        gap: .75rem;
    }

    .story-column-l4__stats div {
        padding: .9rem;
        border-radius: var(--radius-lg);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
    }

    .story-column-l4__stats span {
        display: block;
        margin-top: .25rem;
        color: var(--neutral-600);
    }

    @media (max-width: 820px) {
        .story-column-l4__wrap {
            grid-template-columns: 1fr;
        }
    }

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

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

.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-lv6 {
        padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
        color: var(--fg-on-page);
    }

    .support-lv6__wrap {
        max-width: 920px;
        margin: 0 auto;
    }

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

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

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

    .support-lv6__table {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .support-lv6__table article {
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 12px;
        padding: 12px;
        border-bottom: 1px solid var(--border-on-surface-light);
        background: var(--surface-1);
    }

    .support-lv6__table article:last-child {
        border-bottom: 0;
    }

    .support-lv6__table h3 {
        margin: 0;
        color: var(--brand);
        font-size: 1rem;
    }

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

    @media (max-width: 700px) {
        .support-lv6__table article {
            grid-template-columns: 1fr;
        }
    }

.connect {
        color: var(--fg-on-surface);
        background: var(--gradient-hero);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

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

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

    .connect .connect__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: clamp(24px, 4vw, 32px);
    }

    .connect .connect__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--gap);
        padding: var(--space-x);
        background: var(--surface-1);
        border-radius: var(--radius-xl);
        border: 1px solid var(--border-on-surface);
        text-decoration: none;
        color: var(--fg-on-surface);
        transition: transform var(--anim-duration) var(--anim-ease), border-color var(--anim-duration) var(--anim-ease), background-color var(--anim-duration) var(--anim-ease);
    }

    .connect .connect__item {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        animation: section-pulse-border 3s var(--anim-ease) infinite;
    }

    @keyframes section-pulse-border {
        0%, 100% {
            border-color: var(--border-on-surface);
            box-shadow: none;
        }
        50% {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px var(--ring);
        }
    }

    .connect .connect__item:hover {
        transform: translateY(-6px);
        border-color: var(--bg-accent);
        background-color: var(--surface-light);
    }

    .connect .connect__item span {
        font-size: clamp(17px, 2.8vw, 20px);
        font-weight: 600;
    }

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

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

    .contact-layout-e .section-head {
        margin-bottom: 16px;
    }

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

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

    .contact-layout-e .rail {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 16px;
    }

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

    .contact-layout-e aside h3 {
        margin: 0 0 10px;
    }

    .contact-layout-e aside p {
        margin: 0 0 10px;
        opacity: .9;
    }

    .contact-layout-e .social {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-layout-e .social a {
        text-decoration: none;
        color: var(--fg-on-primary);
        background: rgba(255, 255, 255, .16);
        padding: 6px 10px;
        border-radius: var(--radius-sm);
    }

    .contact-layout-e .content {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        display: grid;
        gap: 10px;
    }

    .contact-layout-e .row {
        display: grid;
        gap: 3px;
        padding-bottom: 10px;
        border-bottom: 1px dashed var(--neutral-300);
    }

    .contact-layout-e .row:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .contact-layout-e .row a {
        color: var(--link);
        text-decoration: none;
    }

    .contact-layout-e .row a:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }

    @media (max-width: 760px) {
        .contact-layout-e .rail {
            grid-template-columns: 1fr;
        }
    }

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

    .form-layout-e .wrap {
        max-width: 820px;
        margin: 0 auto;
        background: white;
        color: black;
        border-radius: var(--radius-xl);
        padding: var(--space-x);
        box-shadow: var(--shadow-md);
    }

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

    .form-layout-e h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        color: var(--neutral-900);
    }

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

    .form-layout-e .dark-card {
        border: 1px solid var(--neutral-300);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: var(--surface-1);
    }

    .form-layout-e label {
        display: grid;
        gap: 6px;
        margin-bottom: 10px;
        color: var(--neutral-800);
        font-weight: 500;
    }

    .form-layout-e input:not([type="checkbox"]), .form-layout-e textarea {
        width: 100%;
        border: 1px solid var(--neutral-300);
        border-radius: var(--radius-sm);
        background: var(--neutral-0);
        color: var(--neutral-900);
        padding: 9px;
        font: inherit;
        transition: border-color var(--anim-duration) var(--anim-ease);
    }

    .form-layout-e input:not([type="checkbox"]):focus, .form-layout-e textarea:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--ring);
    }

    .form-layout-e .end {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .form-layout-e .agree {
        display: flex;
        gap: 8px;
        align-items: center;
        color: var(--neutral-600);
        font-size: 0.9em;
    }

    .form-layout-e button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 10px 14px;
        background: var(--gradient-accent);
        color: var(--accent-contrast);
        font-weight: bold;
        cursor: pointer;
        transition: opacity var(--anim-duration) var(--anim-ease);
    }

    .form-layout-e button:hover {
        opacity: 0.9;
    }

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

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

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

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

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

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

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

    .terms-layout-f .list {
        display: grid;
        gap: 14px;
    }

    .terms-layout-f article {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
        padding: var(--space-y) var(--space-x);
    }

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

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

    .terms-layout-f p, .terms-layout-f li {
        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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

.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-a {
        padding: clamp(56px, 10vw, 110px) 18px;
        background: var(--gradient-accent);
        color: var(--accent-contrast);
    }

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

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

    .thank-mode-a p {
        margin: 12px 0 0;
        opacity: .92;
    }

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

.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: relative;
}

.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__left {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 2);
  flex: 1;
}

.header__logo {
  font-size: 1.75rem;
  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: var(--gap);
}

.nav__link {
  color: var(--fg-on-surface);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  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__right {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.contact-block {
  padding: 0.5rem 0.75rem;
  background-color: var(--chip-bg);
  border-radius: var(--radius-md);
}

.contact-link {
  color: var(--fg-on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--anim-duration) var(--anim-ease);
}
.contact-link:hover {
  color: var(--link-hover);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.btn--action {
  background-color: var(--bg-primary);
  color: var(--fg-on-primary);
}
.btn--action:hover {
  background-color: var(--bg-primary-hover);
  box-shadow: var(--shadow-md);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-ghost-bg);
}

.burger-icon {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  position: relative;
  transition: background-color var(--anim-duration) var(--anim-ease);
}
.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--fg-on-surface);
  border-radius: 1px;
  left: 0;
  transition: transform var(--anim-duration) var(--anim-ease);
}
.burger-icon::before {
  top: -8px;
}
.burger-icon::after {
  bottom: -8px;
}

.burger-btn[aria-expanded="true"] .burger-icon {
  background-color: transparent;
}
.burger-btn[aria-expanded="true"] .burger-icon::before {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.burger-btn[aria-expanded="true"] .burger-icon::after {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

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

  .header__left {
    flex: 1 1 auto;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-1);
    border-top: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-lg);
    padding: var(--space-y) var(--space-x);
    z-index: 1000;
    display: none;
    flex-direction: column;
  }

  .header__nav[data-visible="true"] {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .header__right {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: var(--space-y);
    border-top: 1px solid var(--border-on-surface-light);
    margin-top: var(--space-y);
  }

  .header__right[data-visible="true"] {
    display: flex;
  }

  .contact-block {
    text-align: center;
    background-color: transparent;
    padding: 0;
  }

  .burger-btn {
    display: flex;
    order: 2;
  }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: sans-serif;
        font-size: 0.95rem;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
    .footer-left {
        flex: 1;
        min-width: 250px;
    }
    .footer-right {
        flex: 2;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }
    .brand {
        font-size: 1.8rem;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }
    .copyright {
        color: #6c757d;
        margin-top: 0.5rem;
    }
    .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: #495057;
        font-weight: 500;
        transition: color 0.2s;
    }
    .footer-nav a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-legal {
        color: #6c757d;
    }
    .footer-legal a {
        color: #6c757d;
        text-decoration: none;
    }
    .footer-legal a:hover {
        text-decoration: underline;
        color: #0056b3;
    }
    .footer-contacts {
        line-height: 1.6;
    }
    .footer-contacts p {
        margin: 0.3rem 0;
    }
    .footer-contacts a {
        color: #0066cc;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin-top: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid #e9ecef;
    }
    .disclaimer a {
        color: #6c757d;
        text-decoration: underline;
    }
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        .footer-nav ul {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

.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-f {
        padding: clamp(56px, 10vw, 112px) 20px;
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .err-slab-f .chip {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        padding: clamp(28px, 4vw, 46px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface-light);
        box-shadow: var(--shadow-sm);
        position: relative;
    }

    .err-slab-f .chip::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        background: var(--gradient-accent);
    }

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

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

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