:root {
  --font-family: "Rubik", sans-serif;
  --font-size-base: 15.9px;
  --line-height-base: 1.46;

  --max-w: 1180px;
  --space-x: 0.92rem;
  --space-y: 1.15rem;
  --gap: 0.89rem;

  --radius-xl: 1.03rem;
  --radius-lg: 0.61rem;
  --radius-md: 0.49rem;
  --radius-sm: 0.3rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 42px rgba(0,0,0,0.12);

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

  --brand: #2C3E50;
  --brand-contrast: #FFFFFF;
  --accent: #F39C12;
  --accent-contrast: #1A1A1A;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F5F5;
  --neutral-300: #D0D0D0;
  --neutral-600: #7F8C8D;
  --neutral-800: #34495E;
  --neutral-900: #1A1A1A;

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

  --bg-alt: #E8E8E8;
  --fg-on-alt: #2C3E50;

  --surface-1: #FFFFFF;
  --surface-2: #F9F9F9;
  --fg-on-surface: #2C3E50;
  --border-on-surface: #D0D0D0;

  --surface-light: #FAFAFA;
  --fg-on-surface-light: #2C3E50;
  --border-on-surface-light: #E0E0E0;

  --bg-primary: #E67E22;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #D35400;
  --ring: #F39C12;

  --bg-accent: #F39C12;
  --fg-on-accent: #1A1A1A;
  --bg-accent-hover: #E67E22;

  --link: #E67E22;
  --link-hover: #D35400;

  --gradient-hero: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  --gradient-accent: linear-gradient(135deg, #F39C12 0%, #E67E22 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 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

    .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__content {
        max-width: 900px;
        padding: clamp(16px, 3vw, 32px);
        z-index: 1;
    }

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

    .hero p {
        font-size: clamp(16px, 2.5vw, 20px);
        font-weight: 400;
        margin: 0 auto calc(var(--space-y) * 1.5);
        max-width: 700px;
    }

    .hero__actions {
        display: flex;
        gap: var(--gap);
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__btn {
        display: inline-block;
        padding: 12px 30px;
        border-radius: var(--radius-md);
        font-weight: 500;
        text-align: center;
        transition: all var(--anim-duration) var(--anim-ease);
        cursor: pointer;
        border: 1px solid transparent;
        font-size: 1rem;
    }

    .hero__btn--primary {
        background-color: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
    }

    .hero__btn--primary:hover {
        background-color: var(--bg-primary-hover);
        border-color: var(--bg-primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .hero__btn--outline {
        background-color: transparent;
        color: var(--fg-on-primary);
        border-color: var(--fg-on-primary);
    }

    .hero__btn--outline:hover {
        background-color: var(--btn-ghost-bg-hover);
    }

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

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

    .values-grid-l2__head {
        margin-bottom: 1.1rem;
    }

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

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

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

    .values-grid-l2__grid article {
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
    }

    .values-grid-l2__grid i {
        font-style: normal;
    }

    .values-grid-l2__grid h3 {
        margin: .75rem 0 .35rem;
    }

    .values-grid-l2__grid p {
        margin: 0;
        color: var(--neutral-600);
    }

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

.nfsocial-v11 {
        padding: clamp(48px, 8vw, 80px) 0;
        background: linear-gradient(145deg, var(--bg-primary), var(--accent));
        color: var(--fg-on-primary);
    }

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

    .nfsocial-v11__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--gap) * 2);
        align-items: center;
    }

    .nfsocial-v11__media img {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        width: 100%;
        display: block;
    }

    .nfsocial-v11__text h2 {
        margin-bottom: var(--space-y);
    }

    .nfsocial-v11__text p {
        margin-bottom: var(--space-y);
        opacity: .92;
    }

    .nfsocial-v11__text a {
        display: inline-block;
        padding: 12px 24px;
        border-radius: var(--radius-md);
        text-decoration: none;
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    @media (max-width: 840px) {
        .nfsocial-v11__grid {
            grid-template-columns: 1fr;
        }
    }

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

    .visual-column-l6__wrap {
        max-width: 62rem;
        margin: 0 auto;
    }

    .visual-column-l6__head {
        margin-bottom: 1rem;
    }

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

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

    .visual-column-l6__list {
        display: grid;
        gap: .8rem;
    }

    .visual-column-l6__list article {
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

    .visual-column-l6__meta {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        align-items: center;
        margin-bottom: .8rem;
    }

    .visual-column-l6__meta span {
        color: var(--neutral-600);
    }

    .visual-column-l6__content {
        display: grid;
        grid-template-columns: 13rem 1fr;
        gap: 1rem;
        align-items: center;
    }

    .visual-column-l6__content img {
        display: block;
        width: 100%;
        height: 10rem;
        object-fit: cover;
        border-radius: var(--radius-md);
    }

    .visual-column-l6__content small {
        color: var(--neutral-600);
    }

    .visual-column-l6__content h3 {
        margin: .45rem 0 .35rem;
    }

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

    @media (max-width: 680px) {
        .visual-column-l6__content {
            grid-template-columns: 1fr;
        }
    }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

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

    .bloglist-fresh-v1 .intro p {
        margin: .35rem 0 0;
        color: var(--fg-on-surface-light);
    }

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

    .bloglist-fresh-v1 article {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        overflow: hidden;
        background: var(--surface-1);
    }

    .bloglist-fresh-v1 img {
        width: 100%;
        aspect-ratio: 16/10;
        object-fit: cover;
        display: block;
    }

    .bloglist-fresh-v1 .txt {
        padding: .9rem;
    }

    .bloglist-fresh-v1 .meta {
        margin: 0;
        color: var(--fg-on-surface-light);
        font-size: .85rem;
    }

    .bloglist-fresh-v1 h3 {
        margin: .35rem 0 .45rem;
        font-size: 1.05rem;
    }

    .bloglist-fresh-v1 h3 a {
        text-decoration: none;
        color: var(--fg-on-surface);
    }

    .bloglist-fresh-v1 p {
        margin: 0;
        color: var(--fg-on-surface-light);
    }

    @media (max-width: 980px) {
        .bloglist-fresh-v1 .grid {
            grid-template-columns:repeat(2, minmax(0, 1fr));
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

.blogitem-fresh-v6 {
        padding: calc(var(--space-y) * 2.8) var(--space-x);
        background: var(--gradient-hero);
        color: var(--gradient-accent);
    }

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

    .blogitem-fresh-v6 h1 {
        margin: 0;
        font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    }

    .blogitem-fresh-v6 .meta {
        margin: 0;
        color: var(--fg-on-surface-light);
        font-size: .86rem;
    }

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

    .blogitem-fresh-v6 .body {
        display: grid;
        gap: .85rem;
    }

    .blogitem-fresh-v6 .body p {
        margin: 0;
        padding-bottom: .8rem;
        border-bottom: 1px solid var(--border-on-surface);
    }

    .blogitem-fresh-v6 .body p:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.articles {

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

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

    .articles .articles__title {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 clamp(40px, 6vw, 56px);
        color: var(--fg-on-surface-light);
    }

    .articles .articles__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: clamp(28px, 4.5vw, 40px);
    }

    .articles .articles__card {
        background: var(--bg-page);
        border-radius: var(--radius-xl);
        overflow: hidden;
        transition: transform 0.3s;
    }

    .articles .articles__card:hover {
        transform: translateY(-6px);
    }

    .articles .articles__link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .articles .articles__image {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .articles .articles__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .articles .articles__content {
        padding: clamp(24px, 4vw, 32px);
    }

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

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

    .articles .articles__date {
        font-size: clamp(13px, 2vw, 15px);
        color: var(--neutral-600);
    }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

.blogitem-fresh-v2 {
        padding: calc(var(--space-y) * 2.5) var(--space-x);
        background: var(--bg-alt);
        color: var(--fg-on-alt);
    }

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

    .blogitem-fresh-v2 .hero {
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: var(--gap);
    }

    .blogitem-fresh-v2 img {
        width: 100%;
        height: 100%;
        min-height: 260px;
        object-fit: cover;
        border-radius: var(--radius-lg);
    }

    .blogitem-fresh-v2 .title {
        padding: 1rem;
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface);
        display: grid;
        align-content: center;
        gap: .5rem;
    }

    .blogitem-fresh-v2 .meta {
        margin: 0;
        font-size: .85rem;
        color: var(--fg-on-surface-light);
    }

    .blogitem-fresh-v2 h1 {
        margin: 0;
        font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    }

    .blogitem-fresh-v2 .title p {
        margin: 0;
        color: var(--fg-on-surface-light);
    }

    .blogitem-fresh-v2 .body {
        max-width: 70ch;
        display: grid;
        gap: .8rem;
    }

    .blogitem-fresh-v2 .body p {
        margin: 0;
    }

    @media (max-width: 840px) {
        .blogitem-fresh-v2 .hero {
            grid-template-columns:1fr;
        }
    }

.author {

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

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

    .author .author__card {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        background: var(--surface-1);
        padding: clamp(32px, 5vw, 48px);
        border-radius: var(--radius-xl);
    }

    .author .author__image {
        width: clamp(140px, 20vw, 200px);
        height: clamp(140px, 20vw, 200px);
        margin: 0 auto clamp(24px, 4vw, 32px);
        border-radius: 50%;
        overflow: hidden;
    }

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

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

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

.blog-item {

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

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

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

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

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

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

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

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

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

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

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

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

.articles {

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

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

    .articles .articles__title {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 clamp(40px, 6vw, 56px);
        color: var(--fg-on-surface-light);
    }

    .articles .articles__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: clamp(28px, 4.5vw, 40px);
    }

    .articles .articles__card {
        background: var(--bg-page);
        border-radius: var(--radius-xl);
        overflow: hidden;
        transition: transform 0.3s;
    }

    .articles .articles__card:hover {
        transform: translateY(-6px);
    }

    .articles .articles__link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .articles .articles__image {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .articles .articles__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .articles .articles__content {
        padding: clamp(24px, 4vw, 32px);
    }

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

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

    .articles .articles__date {
        font-size: clamp(13px, 2vw, 15px);
        color: var(--neutral-600);
    }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
    *{box-sizing:border-box;}

    .support-ux8 {
        padding: clamp(54px, 7vw, 94px) clamp(16px, 4vw, 36px);
        background: var(--gradient-accent);
        color: var(--accent-contrast);
    }

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

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

    .support-ux8__head p {
        margin: 0;
        font-weight: 700;
        opacity: .9;
    }

    .support-ux8__head h2 {
        margin: 7px 0 0;
        font-size: clamp(30px, 5vw, 46px);
    }

    .support-ux8__grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .support-ux8__grid article {
        border-radius: var(--radius-lg);
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.32);
        color: var(--fg-on-page);
        padding: 13px;
        box-shadow: var(--shadow-sm);
    }

    .support-ux8__grid span {
        font-size: .82rem;
        color: var(--brand);
    }

    .support-ux8__grid h3 {
        margin: var(--space-x) 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
    *{box-sizing:border-box;}.plans-ux4{padding:clamp(50px,7vw,92px) clamp(16px,4vw,36px);background:var(--bg-primary);color:var(--fg-on-primary)}.plans-ux4__wrap{max-width:var(--max-w);margin:0 auto}.plans-ux4__head p{margin:8px 0 12px;color:rgba(255,255,255,.86)}.plans-ux4__stack{display:grid;gap:10px}.plans-ux4__stack article{border:1px solid rgba(255,255,255,.28);border-radius:var(--radius-md);background:rgba(255,255,255,.1);padding:12px}.plans-ux4__line{display:flex;justify-content:space-between;gap:8px}.plans-ux4__line span{font-size:.84rem}.plans-ux4__stack p{margin:7px 0}.plans-ux4__chips{display:flex;flex-wrap:wrap;gap:6px}.plans-ux4__chips i{font-style:normal;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:4px 8px}.plans-ux4 button{margin-top:8px;background:var(--bg-accent);color:var(--fg-on-accent);border:0;border-radius:var(--radius-sm);padding:8px 10px}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .form-layout-a .wrap {
        max-width: 820px;
        margin: 0 auto;
    }

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

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

    .form-layout-a .section-head p {
        margin: 10px auto 0;
        max-width: 66ch;
        opacity: .92;
    }

    .form-layout-a .card {
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: rgba(255, 255, 255, .1);
    }

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

    .form-layout-a input:not([type="checkbox"]), .form-layout-a textarea {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, .34);
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, .15);
        color: var(--fg-on-primary);
        padding: 9px;
        font: inherit;
    }

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

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

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

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

    .map-cards-l2__head {
        text-align: center;
        margin-bottom: 1rem;
    }

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

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

    .map-cards-l2__frame {
        overflow: hidden;
        border-radius: var(--radius-xl);
        border: 1px solid var(--border-on-surface-light);
        box-shadow: var(--shadow-sm);
    }

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

    .map-cards-l2__grid {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap);
    }

    .map-cards-l2__grid article {
        padding: .95rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
    }

    .map-cards-l2__grid p {
        margin: .35rem 0 0;
        color: var(--neutral-600);
    }

    @media (max-width: 640px) {
        .map-cards-l2__grid {
            grid-template-columns: 1fr;
        }
    }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

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

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

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

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

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

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

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

    .terms-layout-c .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

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

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

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

    .terms-layout-c details {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-md);
        background: var(--surface-1);
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .terms-layout-c summary {
        cursor: pointer;
        color: var(--brand);
        font-weight: 700;
    }

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

.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 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--space-x);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: background var(--anim-duration) var(--anim-ease);
}

.burger:hover {
  background: var(--btn-ghost-bg-hover);
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg-on-surface);
  border-radius: 2px;
  transition: all var(--anim-duration) var(--anim-ease);
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--fg-on-surface);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--btn-ghost-bg-hover);
  color: var(--brand);
}

/* Offcanvas overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1050;
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-ease);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--surface-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--anim-duration) var(--anim-ease);
    z-index: 1090;
    padding: 80px 24px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
  }

  .nav-list a:hover {
    background: var(--btn-ghost-bg-hover);
  }
}

/* Desktop */
@media (min-width: 768px) {
  .nav {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
  }
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .footer-row:last-child {
    margin-bottom: 0;
  }
  .footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f39c12;
    text-decoration: none;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
  }
  .footer-nav a:hover {
    color: #f39c12;
  }
  .footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contacts li {
    font-size: 0.95rem;
  }
  .footer-contacts a {
    color: #ecf0f1;
    text-decoration: none;
  }
  .footer-contacts a:hover {
    color: #f39c12;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }
  .footer-bottom a {
    color: #f39c12;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav ul {
      justify-content: center;
      margin-top: 1rem;
    }
    .footer-contacts ul {
      justify-content: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

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

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

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

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

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

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