
    :root {
      /* Единая цветовая система: меняется в одном месте */
      --navy: #19143B;
      --navy-2: #302064;
      --blue: #5362D9;
      --accent: #D92CA7;
      --accent-dark: #B51F87;
      --bg: #ffffff;
      --bg-soft: #F6F4FB;
      --text: #28243D;
      --muted: #716B86;
      --line: #E8E4F0;
      --radius: 16px;
      --shadow: 0 10px 30px rgba(25, 20, 59, .08);
      --shadow-lg: 0 20px 50px rgba(25, 20, 59, .16);
      --header-h: 76px;
      --container: 1200px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
    body {
      margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
      color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    h1, h2, h3, h4 { line-height: 1.2; margin: 0; color: var(--navy); letter-spacing: -.01em; }
    p { margin: 0; }
    ul { margin: 0; padding: 0; list-style: none; }
    button { font: inherit; cursor: pointer; }
    :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

    .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .skip-link { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
    .skip-link:focus { top: 12px; }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 1rem; border: 2px solid transparent;
      transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; line-height: 1.2; text-align: center;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn--primary { background: linear-gradient(115deg, var(--accent), #7652E8); color: #fff; box-shadow: 0 8px 20px rgba(217,44,167,.24); }
    .btn--primary:hover { background: linear-gradient(115deg, var(--accent-dark), #5940C7); }
    .btn--secondary { border-color: rgba(255,255,255,.55); color: #fff; }
    .btn--secondary:hover { background: #fff; color: var(--navy); border-color: #fff; }

    /* ---------- Header ---------- */
    .header {
      position: sticky; top: 0; z-index: 100; height: var(--header-h);
      background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
      border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
    }
    .header.is-scrolled { box-shadow: 0 6px 24px rgba(25,20,59,.08); border-color: var(--line); }
    .header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
    .brand__logo { width: 48px; height: 48px; border-radius: 0; object-fit: contain; }
    .brand__name { font-weight: 800; font-size: 1.3rem; color: var(--navy); white-space: nowrap; }
    .nav { display: flex; align-items: center; gap: 4px; }
    .nav a { padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; color: var(--text); transition: background .2s, color .2s; }
    .nav a:hover { background: var(--bg-soft); }
    .nav a[aria-current="true"] { color: var(--blue); background: #EFECFC; }
    .header__actions { display: flex; align-items: center; gap: 10px; }
    .header__phone {
      display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy);
      padding: 10px 16px; border-radius: 12px; background: var(--bg-soft); white-space: nowrap; transition: background .2s;
    }
    .header__phone:hover { background: #EFECFC; }
    .header__phone svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
    .burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-soft); position: relative; }
    .burger span, .burger::before, .burger::after {
      content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s;
    }
    .burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
    .burger[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
    .burger[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
    .burger[aria-expanded="true"] span { opacity: 0; }

    /* ---------- Hero ---------- */
    .hero {
      position: relative; overflow: hidden; color: #fff;
      background: radial-gradient(1000px 500px at 85% 10%, rgba(104,82,224,.42), transparent 60%),
                  linear-gradient(135deg, #19143B 0%, #34216E 65%, #4A2B83 100%);
      padding: 72px 0 96px;
    }
    .hero::after {
      content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
      background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent);
    }
    .hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
    .hero__eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(145deg, var(--blue), #7652E8 55%, var(--accent)); margin-bottom: 18px; }
    .hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
    .hero__subtitle { margin-top: 20px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #DDD8F0; max-width: 560px; }
    .hero__buttons { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
    .hero__media { position: relative; }
    .hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(217,44,167,.58); border-radius: 24px; }
    .hero__media img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }

    /* ---------- Sections ---------- */
    .section { padding: 96px 0; }
    .section--soft { background: var(--bg-soft); }
    .section__head { max-width: 720px; margin-bottom: 48px; }
    .section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
    .section__eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
    .section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
    .section__subtitle { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

    /* About */
    .about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    .about__text { display: grid; gap: 16px; color: var(--muted); font-size: 1.05rem; }
    .about__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
    .facts { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
    .fact { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--accent); }
    .fact__value { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
    .fact__label { margin-top: 6px; font-size: .9rem; color: var(--muted); }

    /* Общая сетка */
    .grid {
            display: grid;
            gap: 24px;
        }


    /* Advantages */
    .grid--adv { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .adv { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s; }
    .adv:hover { transform: translateY(-4px); }
    .adv__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; background: linear-gradient(145deg, var(--blue), #7652E8 55%, var(--accent)); margin-bottom: 18px; }
    .adv__icon svg { width: 26px; height: 26px; }
    .adv h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
    .adv p { color: var(--muted); font-size: .98rem; }

    /* Materials */
    .subhead { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
    .block + .block { margin-top: 56px; }
    .grid--docs { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .doc { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
    a.doc:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
    .doc__icon { flex: 0 0 48px; height: 56px; border-radius: 10px; background: #EFECFC; color: var(--blue); display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
    .doc__title { font-weight: 600; font-size: 1rem; line-height: 1.35; }
    .doc__text { color: var(--muted); font-size: .88rem; margin-top: 4px; }
    .doc--empty { opacity: .8; }
    .grid--photos { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .photo { position: relative; border: 0; padding: 0; background: none; border-radius: var(--radius); overflow: hidden; display: block; width: 100%; }
    .photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
    .photo:hover img { transform: scale(1.06); }
    .photo__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .9rem; text-align: left; background: linear-gradient(transparent, rgba(11,31,58,.85)); }

    /* Contacts */
    .contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
    .contacts__list { display: grid; gap: 14px; align-content: start; }
    .contact { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
    a.contact { transition: background .2s, transform .2s; }
    a.contact:hover { background: #EFECFC; transform: translateX(4px); }
    .contact__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--accent); display: grid; place-items: center; }
    .contact__icon svg { width: 22px; height: 22px; }
    .contact__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
    .contact__value { font-weight: 600; font-size: 1.05rem; color: var(--navy); overflow-wrap: anywhere; }
    .hours { display: grid; gap: 2px; }
    .hours div { display: flex; justify-content: space-between; gap: 16px; font-size: 1rem; }
    .hours dt { color: var(--muted); font-weight: 500; } .hours dd { margin: 0; font-weight: 600; color: var(--navy); }
    .socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
    .social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
    .social:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
    .social__ab { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), #7652E8); color: #fff; font-size: .68rem; font-weight: 800; }
    .map { min-height: 420px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); position: relative; box-shadow: var(--shadow); }
    .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    .map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted);
      background: repeating-linear-gradient(45deg, #F3F0F9, #F3F0F9 14px, #EAE6F3 14px, #EAE6F3 28px); }
    .map__placeholder svg { width: 44px; height: 44px; color: var(--blue); }
    .map__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
    .map__link:hover { text-decoration: underline; }

    /* Footer */
    .footer { background: var(--navy); color: #CBC5DF; padding: 64px 0 28px; }
    .footer a:hover { color: #fff; }
    .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
    .footer .brand__name { color: #fff; }
    .footer__about { margin-top: 16px; font-size: .95rem; max-width: 360px; }
    .footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
    .footer ul { display: grid; gap: 10px; font-size: .95rem; }
    .footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; }
    .footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

    /* To top */
    .to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--accent), #7652E8); color: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 90; }
    .to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
    .to-top svg { width: 22px; height: 22px; }

    /* Lightbox */
    .lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,24,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
    .lightbox.is-open { display: flex; }
    .lightbox__fig { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
    .lightbox__fig img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
    .lightbox__fig figcaption { margin-top: 14px; color: #DCD7EC; }
    .lightbox button { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
    .lightbox button:hover { background: rgba(255,255,255,.3); }
    .lightbox__close { top: 16px; right: 16px; } .lightbox__prev { left: 16px; top: 50%; } .lightbox__next { right: 16px; top: 50%; }

    /* Reveal animation */
    .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
    .js .reveal.is-visible { opacity: 1; transform: none; }

    /* ---------- Responsive ---------- */
    @media (max-width: 1100px) {
      .header__phone-text { display: none; }
      .header__phone { padding: 12px; }
    }
    @media (max-width: 960px) {
      :root { --header-h: 68px; }
      .burger { display: block; }
      .nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(25,20,59,.12);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
      }
      .nav.is-open { transform: none; opacity: 1; visibility: visible; }
      .nav a { padding: 14px; font-size: 1.05rem; }
      .hero { padding: 48px 0 72px; }
      .hero__inner, .about, .contacts { grid-template-columns: 1fr; gap: 40px; }
      .hero__media { order: -1; }
      .hero__media::before { inset: 12px -8px -12px 8px; }
      .section { padding: 72px 0; }
      .footer__grid { grid-template-columns: 1fr 1fr; }
      .footer__grid > :first-child { grid-column: 1 / -1; }
      .map { min-height: 340px; }
    }
    @media (max-width: 560px) {
      .container { padding: 0 16px; }
      .brand__name { font-size: 1.15rem; }
      .hero__buttons .btn { width: 100%; }
      .grid--services { grid-template-columns: 1fr; }
      .footer__grid { grid-template-columns: 1fr; }
      .section { padding: 56px 0; }
      .section__head { margin-bottom: 32px; }
      .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; animation: none !important; }
      .js .reveal { opacity: 1; transform: none; }
    }
    .advantages-section {
    padding-top: 40px;
}
  