  :root {
    --bg-page: #ffffff;
    --overlay: #151515;
    --white: #ffffff;
    --line: #797979;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html, body {
    background: var(--bg-page);
    font-family: 'Onest', sans-serif;
    max-width: 100%;
  }

  /* html — единственный контейнер прокрутки; body клипает горизонталь без
     создания второго скролла (clip, в отличие от hidden, не делает body scroll-контейнером) */
  html { overflow-x: hidden; }
  body { overflow-x: clip; }

  /* Lenis smooth scroll */
  html.lenis,
  html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: clip; }
  .lenis.lenis-scrolling iframe { pointer-events: none; }

  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: var(--overlay);
    display: flex;
    flex-direction: column;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.08);
    will-change: transform;
  }

  .hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 0;
  }

  .hero__bg { z-index: 1; }

  /* Header */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px clamp(20px, 3vw, 54px) 18px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .header.is-scrolled {
    background-color: #0e0e0e;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }

  .header__logo-link {
    display: block;
    line-height: 0;
    flex-shrink: 0;
  }

  .header__logo {
    height: 48px;
    display: block;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 60px);
    flex: 1;
    justify-content: center;
    margin: 0 clamp(12px, 2vw, 40px);
    min-width: 0;
  }

  .nav a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: clamp(13px, 0.95vw, 16px);
    letter-spacing: 0.16px;
    font-weight: 400;
    white-space: nowrap;
  }

  .nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__dropdown-wrap:hover .nav__dropdown a::after,
  .nav__dropdown-wrap:focus-within .nav__dropdown a::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__dropdown {
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;
  }

  .nav__dropdown svg {
    width: 9px;
    height: 6px;
    transition: transform 0.2s ease;
  }

  .nav__dropdown-wrap {
    position: relative;
  }

  .nav__dropdown-wrap::after {
    /* invisible bridge so the mouse can travel from link to panel without closing it */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 24px;
  }

  .dropdown-panel {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 353px;
    background: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.17);
    padding: 25px 29px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 30;
  }

  .dropdown-panel::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #f5f5f5;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }

  .nav__dropdown-wrap:hover .dropdown-panel,
  .nav__dropdown-wrap:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav__dropdown-wrap:hover .nav__dropdown svg,
  .nav__dropdown-wrap:focus-within .nav__dropdown svg {
    transform: rotate(180deg);
  }

  .dropdown-panel a {
    color: #0e0e0e;
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
    transition: color 0.15s ease;
  }

  .dropdown-panel a::after {
    content: none;
  }

  .dropdown-panel a:hover,
  .dropdown-panel a:focus-visible {
    color: #999999;
  }

  .header__right {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 40px);
    flex-shrink: 0;
  }

  .phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 0.85vw, 14px);
    line-height: 20px;
    white-space: nowrap;
  }

  .contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(12px, 0.85vw, 14px);
    line-height: 20px;
    white-space: nowrap;
  }

  /* Hover-подчёркивание для контактов в шапке — как у пунктов меню */
  .header__right .phone-link,
  .header__right .contact-btn {
    position: relative;
    padding-bottom: 4px;
  }

  .header__right .phone-link::after,
  .header__right .contact-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .header__right .phone-link:hover::after,
  .header__right .phone-link:focus-visible::after,
  .header__right .contact-btn:hover::after,
  .header__right .contact-btn:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* Hero content */
  .hero__content {
    position: relative;
    z-index: 2;
    padding: 0 59px;
    margin-top: auto;
    padding-bottom: 115px;
    max-width: 1200px;
  }

  .hero__title {
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: clamp(28px, 3.4vw, 45px);
    line-height: 1.33;
    text-transform: uppercase;
    max-width: 1091px;
  }

  .hero__desc {
    margin-top: 32px;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.18px;
    max-width: 874px;
  }

  .hero__cta {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 21px 41px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    line-height: 28px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .hero__cta:hover {
    background: var(--white);
    border-color: var(--white);
    color: #0e0e0e;
  }

  .hero__cta svg { flex-shrink: 0; }

  .hero__cta svg path {
    transition: stroke 0.25s ease;
  }

  .hero__cta:hover svg path {
    stroke: #0e0e0e;
  }

  /* Burger button (hidden on desktop) */
  .burger {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
  }

  .burger span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
  }

  .burger span:nth-child(1) { top: 10px; }
  .burger span:nth-child(2) { top: 16px; }
  .burger span:nth-child(3) { top: 22px; }

  .burger.is-open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

  /* Mobile menu panel */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: #151515;
    display: flex;
    flex-direction: column;
    padding: 96px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .mobile-menu.is-open { transform: translateX(0); }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-menu__nav a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: 22px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .mobile-menu__item {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .mobile-menu__dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 22px;
    font-weight: 500;
    padding: 16px 0;
    cursor: pointer;
    text-align: left;
  }

  .mobile-menu__dropdown svg {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .mobile-menu__item.is-open .mobile-menu__dropdown svg {
    transform: rotate(180deg);
  }

  .mobile-menu__submenu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .mobile-menu__item.is-open .mobile-menu__submenu {
    max-height: 500px;
  }

  .mobile-menu__submenu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 0 12px 16px;
    border-bottom: none;
  }

  .mobile-menu__footer {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu__footer .phone-link {
    font-size: 18px;
  }

  .mobile-menu__footer .contact-btn {
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 16px 24px;
    font-size: 16px;
  }

  body.menu-open { overflow: hidden; }

  @media (max-width: 1400px) {
    .nav { display: none; }
    .header { padding: 16px 24px; }
    .header__right { gap: 16px; }
    .header .phone-link span { display: none; }
    .header__right .contact-btn { display: none; }
    .burger { display: block; }
    .hero__content { padding-bottom: 80px; }

    .header .phone-link {
      width: 32px;
      height: 32px;
      justify-content: center;
      align-items: center;
      padding: 0;
      gap: 0;
    }
    .header .phone-link svg {
      width: 22px;
      height: 22px;
      display: block;
    }
  }

  @media (max-width: 640px) {
    .hero__content { padding: 0 24px 56px; }
    .header { padding: 14px 20px; }
    .header__logo { height: 36px; }
    .hero__title { font-size: 24px; line-height: 1.3; }
    .hero__desc { font-size: 15px; line-height: 24px; margin-top: 20px; }
    .hero__cta { padding: 16px 28px; font-size: 15px; margin-top: 28px; }
    .hero { min-height: 100svh; }
    .header__right { gap: 12px; }
  }

  /* Scroll reveal animation */
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  [data-reveal].delay-1 { transition-delay: 0.12s; }
  [data-reveal].delay-2 { transition-delay: 0.24s; }
  [data-reveal].delay-3 { transition-delay: 0.36s; }

  [data-reveal-scale] {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-reveal-scale].is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  [data-reveal-scale].delay-1 { transition-delay: 0.1s; }
  [data-reveal-scale].delay-2 { transition-delay: 0.2s; }

  @media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-scale] {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }
  .hangars {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  .hangars__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .hangars__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: #F4F6F9;
    border: 1px solid #EFEFEF;
    border-radius: 20px;
    padding: 7px 20px;
  }

  .badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e0e0e;
    flex-shrink: 0;
  }

  .badge span {
    font-family: 'Onest', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 25px;
    color: #535657;
  }

  .hangars__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 633px;
    margin-left: 305px;
  }

  .hangars__title span {
    color: #747474;
  }

  .hangars__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 1042px;
    margin-left: 305px;
  }

  .hangars__grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .hangar-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
  }

  .hangar-card__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 586 / 439;
    overflow: hidden;
  }

  .hangar-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .hangar-card__term {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .hangar-card__term svg { flex-shrink: 0; }

  .hangar-card__term span {
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #1e1e1e;
    white-space: nowrap;
  }

  .hangar-card__body {
    padding: 30px 30px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
  }

  .hangar-card__name {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 35px;
    text-transform: uppercase;
    color: #0e0e0e;
  }

  .hangar-card__name span {
    color: #747474;
  }

  .hangar-card__list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hangar-card__list li {
    position: relative;
    padding-left: 23px;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #797979;
  }

  .hangar-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
  }

  .hangar-card__footer {
    margin-top: auto;
    padding-top: 30px;
  }

  .hangar-card__footer-text {
    padding: 15px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    color: #0e0e0e;
  }

  .hangar-card__cta {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 60px;
    padding: 0 26px;
    border-radius: 100px;
    border: 1px solid #0e0e0e;
    background: transparent;
    color: #0e0e0e;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .hangar-card__cta:hover {
    background: #0e0e0e;
    color: #ffffff;
  }

  .hangar-card__cta svg path { transition: stroke 0.2s ease; }
  .hangar-card__cta:hover svg path { stroke: #ffffff; }

  /* Ховер по всей карточке ангара: тень, зум фото, чёрная кнопка */
  @media (hover: hover) and (pointer: fine) {
    .hangar-card:hover {
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
    .hangar-card:hover .hangar-card__photo img {
      transform: scale(1.05);
    }
    .hangar-card:hover .hangar-card__cta {
      background: #0e0e0e;
      color: #ffffff;
    }
    .hangar-card:hover .hangar-card__cta svg path {
      stroke: #ffffff;
    }
  }

  @media (max-width: 1200px) {
    .hangars__grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 1300px) {
    .hangars__title, .hangars__desc { margin-left: 0; }
    .hangars__top { padding-top: 0; gap: 24px; }
    .hangars__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .hangars { padding: 60px 24px; }
  }

  @media (max-width: 780px) {
    .hangars__grid { grid-template-columns: 1fr; margin-top: 40px; gap: 24px; }
    .hangars__title { font-size: 28px; line-height: 1.3; }
    .hangars__desc { font-size: 16px; line-height: 26px; }
    .hangars__top { gap: 18px; }
  }

  @media (max-width: 640px) {
    .hangars { padding: 48px 20px; }
    .hangar-card__body { padding: 24px 20px 28px; }
    .hangar-card__list li { font-size: 13px; line-height: 22px; }
    .hangar-card__footer-text { font-size: 14px; line-height: 22px; }
  }
  /* Section: Этапы работ */
  .stages {
    background: var(--overlay);
    padding: 90px 59px;
  }

  .stages__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .stages__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .badge--dark {
    background: transparent;
    border-color: var(--line);
  }

  .badge--dark .badge__dot { background: var(--line); }

  .badge--dark span { color: var(--line); }

  .stages__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: var(--white);
    max-width: 633px;
    margin-left: 305px;
  }

  .stages__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--line);
    max-width: 1042px;
    margin-left: 305px;
  }

  .stages__grid {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .stage-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 30px;
    background: #0e0e0e;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .stage-card__head {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .stage-card__num {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--line);
  }

  .stage-card__title {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--white);
  }

  .stage-card__desc {
    margin-top: auto;
    padding-top: 24px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--line);
  }

  @media (max-width: 1400px) {
    .stages { padding: 90px 24px; }
  }

  @media (max-width: 1300px) {
    .stages__title, .stages__desc, .stages__grid { margin-left: 0; }
    .stages__top { padding-top: 0; gap: 24px; }
    .stages__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .stages__grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 780px) {
    .stages__title { font-size: 28px; line-height: 1.3; }
    .stages__desc { font-size: 16px; line-height: 26px; }
    .stages__top { gap: 18px; }
    .stages__grid { margin-top: 40px; gap: 20px; }
    .stage-card { min-height: 220px; }
  }

  @media (max-width: 640px) {
    .stages { padding: 56px 20px; }
    .stages__grid { grid-template-columns: 1fr; }
    .stage-card { min-height: auto; }
  }

  /* Section: Реализованные проекты */
  .projects {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  /* Карта и проекты — про одно и то же, поэтому между ними отступ короче,
     чем обычный разрыв между секциями. */
  .geo + .projects {
    padding-top: 60px;
  }

  /* После тёмного блока с цифрами у карты свой отступ: у «Цифр» уже есть
     собственные поля внутри, и обычные 90px складывались с ними в провал. */
  .stats + .geo {
    padding-top: 60px;
  }

  .projects__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .projects__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .projects__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 633px;
    margin-left: 305px;
  }

  .projects__title span {
    color: #747474;
  }

  .projects__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 1042px;
    margin-left: 305px;
    margin-bottom: 50px;
  }

  /* Фильтры: по умолчанию под текстом, на широких экранах — справа-сверху */
  .projects__filters {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
  }

  @media (min-width: 1500px) {
    .projects__filters {
      position: absolute;
      right: 0;
      top: 100px;
      margin-top: 0;
      flex-wrap: nowrap;
    }
  }

  .filter-select {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 220px;
    flex: 0 0 auto;
  }

  .filter-select__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #797979;
  }

  .filter-select__control {
    position: relative;
    display: block;
    height: 47px;
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 10px;
    transition: border-color 0.2s ease;
  }

  .filter-select__control:hover,
  .filter-select__control:focus-within {
    border-color: #797979;
  }

  .filter-select__control select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 100%;
    padding: 0 40px 0 16px;
    background: transparent;
    border: 0;
    outline: none;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #0e0e0e;
    cursor: pointer;
  }

  .filter-select__chevron {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  /* Табы-фильтр по назначению (под описанием) */
  .projects__tabs {
    display: flex;
    gap: 40px;
    align-items: stretch;
    border-bottom: 1px solid #ebebeb;
    overflow-x: auto;
    overflow-y: hidden; /* листаем только по горизонтали, без вертикального дребезга на тач */
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    /* .projects__top gap:30px + .projects__desc margin-bottom:25px; компенсируем до чистых 20px */
    margin-top: -35px;
  }

  .projects__tabs::-webkit-scrollbar { display: none; }

  .projects__tab {
    flex-shrink: 0;
    padding: 0 0 18px;
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    color: #a9a9a9;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .projects__tab:hover { color: #0e0e0e; }
  }

  .projects__tab.is-active {
    color: #0e0e0e;
    font-weight: 500;
    border-bottom-color: #0e0e0e;
  }

  /* На странице проектов табы — единственный элемент в .projects__top, без отрицательного отступа */
  .page-project .projects__tabs {
    margin-top: 0;
    margin-bottom: 40px;
  }

  .projects__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 22px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
  }

  .project-card.is-hidden {
    display: none;
  }

  .project-card__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 890 / 568;
    overflow: hidden;
    /* Вертикальные жесты — прокрутка страницы, горизонтальные — листание фото */
    touch-action: pan-y;
  }

  .project-card__slider img,
  .project-card__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.45s ease, transform 0.5s ease;
    cursor: zoom-in;
    -webkit-user-drag: none;
    user-select: none;
  }

  .project-card__slide.is-active {
    opacity: 1;
    z-index: 1;
  }

  /* Стрелки перелистывания — по умолчанию видны всегда (touch/mobile) */
  .project-card__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.2s ease;
    z-index: 2;
  }

  .project-card__arrow svg {
    display: block;
    cursor: pointer;
    pointer-events: none;
  }

  .project-card__arrow--prev {
    left: 35px;
  }

  .project-card__arrow--next {
    right: 35px;
  }

  /* На устройствах с точным указателем (ПК) — зум фото и стрелки только по hover */
  @media (hover: hover) and (pointer: fine) {
    .project-card__arrow {
      opacity: 0;
    }
    .project-card__slider:hover .project-card__arrow,
    .project-card__slider:focus-within .project-card__arrow {
      opacity: 0.85;
    }
    .project-card__arrow:hover {
      opacity: 1;
    }
    .project-card__arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
    .project-card__arrow--next:hover { transform: translateY(-50%) translateX(2px); }

    .project-card__slider:hover img {
      transform: scale(1.04);
    }
  }

  /* Градиент под точками */
  .project-card__gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 1;
  }

  .project-card__dots {
    position: absolute;
    left: 35px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 11px;
    z-index: 2;
  }

  .project-card__dots span {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.3s ease, background 0.2s ease;
  }

  .project-card__dots span.is-active {
    width: 24px;
    background: #ffffff;
  }

  .project-card__body {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
  }

  .project-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .project-card__name {
    flex: 1;
    min-width: 0;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 33px;
    line-height: 1.2;
    color: #0e0e0e;
  }

  .project-card__download {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    line-height: 0;
    transition: background 0.2s ease;
  }

  .project-card__download::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 10px;
    background: #0e0e0e;
    color: #ffffff;
    border-radius: 6px;
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3;
  }

  .project-card__download::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%) translateY(4px);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #0e0e0e;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3;
  }

  @media (hover: hover) and (pointer: fine) {
    .project-card__download:hover::before,
    .project-card__download:hover::after {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .project-card__download svg {
    display: block;
  }

  .project-card__download svg path {
    transition: stroke 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .project-card__download:hover {
      background: #F0F0F0;
    }
  }

  .project-card__desc {
    margin-top: 24px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.35;
    color: #0e0e0e;
  }

  .project-card__meta {
    list-style: none;
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 33px;
  }

  .project-card__meta li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #797979;
  }

  .project-card__meta svg { flex-shrink: 0; }

  /* Комплекс работ */
  .project-card__works {
    margin-top: 20px;
    min-height: 58px;
    padding: 8px 16px;
    border: 1px solid #f5f5f5;
    border-radius: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .project-card__works:hover {
      border-color: #ebebeb;
    }
  }

  @media (hover: hover) and (pointer: fine) {
    .project-card__works:hover .project-card__works-more {
      background: #2b2b2b;
      transform: translate(1px, -1px);
    }
  }

  .project-card__works-label {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #0e0e0e;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .project-card__works-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }

  .project-card__works-tag {
    padding: 3px 8px;
    background: #f4f6f9;
    border-radius: 100px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #797979;
    white-space: nowrap;
  }

  .project-card__works-more {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0e0e0e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .project-card__works-more svg { pointer-events: none; }

  .project-card__works-more:hover {
    background: #2b2b2b;
    transform: translate(1px, -1px);
  }

  /* Кнопка «Все проекты» — во всю ширину контейнера */
  .projects__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin-top: 70px;
    padding: 56px 24px;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 24px;
    color: #a6a6a6;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .projects__more[hidden] { display: none; }

  .projects__more svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .projects__more:hover {
      background: #0e0e0e;
      border-color: #0e0e0e;
      color: #ffffff;
    }
    .projects__more:hover svg {
      transform: translateX(4px);
    }
  }

  /* Empty state */
  .projects__empty {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 24px;
    border: 1px dashed #e0e3e8;
    border-radius: 12px;
    background: #fafbfc;
  }

  .projects__empty[hidden] { display: none; }

  .projects__empty-text {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: #0e0e0e;
  }

  .projects__empty-reset {
    padding: 12px 22px;
    background: #0e0e0e;
    color: #ffffff;
    border: 1px solid #0e0e0e;
    border-radius: 20px;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .projects__empty-reset:hover {
    background: #ffffff;
    color: #0e0e0e;
  }

  @media (max-width: 1400px) {
    .projects { padding: 90px 24px; }
    .project-card__name { font-size: 28px; }
  }

  @media (max-width: 1300px) {
    .projects__title, .projects__desc { margin-left: 0; }
    .projects__top { padding-top: 0; gap: 24px; }
    .projects__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .project-card__arrow--prev { left: 20px; }
    .project-card__arrow--next { right: 20px; }
    .project-card__dots { left: 24px; bottom: 24px; }
  }

  @media (max-width: 780px) {
    .projects__more {
      padding: 36px 20px;
      font-size: 28px;
      gap: 16px;
      margin-top: 32px;
      border-radius: 20px;
    }
    .projects__more svg { width: 30px; height: 20px; }
    .projects__title { font-size: 28px; line-height: 1.3; }
    .projects__title br { display: none; }
    .projects__desc { font-size: 16px; line-height: 26px; margin-bottom: 30px; }
    .projects__desc br { display: none; }
    .projects__top { gap: 18px; }
    .projects__filters {
      flex-wrap: wrap;
      gap: 14px;
    }
    .filter-select { width: calc(50% - 7px); min-width: 160px; flex: 1 1 160px; }
    .projects__tabs { gap: 26px; margin-top: 2px; }
    .projects__tab { font-size: 15px; padding-bottom: 14px; }
    .projects__grid { grid-template-columns: 1fr; margin-top: 40px; gap: 40px; }
    .project-card__name { font-size: 22px; line-height: 1.25; }
    .project-card__body { padding-top: 20px; }
    .project-card__desc { margin-top: 16px; font-size: 14px; }
    .project-card__meta { margin-top: 18px; gap: 10px 24px; }
    .project-card__head { gap: 12px; }
    .project-card__download { width: 32px; height: 32px; }
    .project-card__works { gap: 12px; flex-wrap: wrap; }
    .project-card__works-label { flex-basis: 100%; }
  }

  @media (max-width: 640px) {
    .projects { padding: 56px 20px; }
    .project-card__meta { gap: 8px 20px; }
    .project-card__dots { left: 20px; bottom: 20px; gap: 8px; }
    .project-card__dots span:not(.is-active) { width: 6px; height: 6px; border-radius: 3px; }
    .project-card__dots span.is-active { width: 20px; height: 6px; border-radius: 3px; }
    .filter-select { width: 100%; flex: 1 1 100%; }
    .projects__tabs { gap: 22px; margin: 0 -20px; padding: 0 20px; }
    .project-card__arrow { width: 30px; height: 30px; }
    .project-card__arrow svg { width: 30px; height: 30px; }
    .project-card__arrow--prev { left: 14px; }
    .project-card__arrow--next { right: 14px; }
  }

  /* Лайтбокс галереи проектов */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .lightbox[hidden] { display: none; }

  .lightbox.is-open {
    opacity: 1;
  }

  .lightbox__stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.4s ease;
  }

  .lightbox__img.is-visible {
    opacity: 1;
    transform: scale(1);
  }

  .lightbox__close,
  .lightbox__arrow {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .lightbox__close svg,
  .lightbox__arrow svg {
    pointer-events: none;
  }

  .lightbox__close {
    top: 24px;
    right: 24px;
  }

  .lightbox__arrow--prev { left: 24px; top: 50%; transform: translateY(-50%); }
  .lightbox__arrow--next { right: 24px; top: 50%; transform: translateY(-50%); }

  @media (hover: hover) and (pointer: fine) {
    .lightbox__close:hover,
    .lightbox__arrow:hover {
      background: rgba(255, 255, 255, 0.22);
    }
    .lightbox__arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
    .lightbox__arrow--next:hover { transform: translateY(-50%) translateX(2px); }
  }

  .lightbox__arrow[hidden] { display: none; }

  .lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
  }

  .lightbox__caption {
    position: absolute;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    max-width: min(90%, 640px);
    margin: 0;
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  }

  .lightbox__caption[hidden] { display: none; }

  body.lightbox-open,
  body.modal-open {
    overflow: hidden;
  }

  @media (max-width: 780px) {
    .lightbox { padding: 20px; }
    .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox__arrow { width: 40px; height: 40px; }
    .lightbox__arrow--prev { left: 12px; }
    .lightbox__arrow--next { right: 12px; }
    .lightbox__counter { bottom: 14px; font-size: 12px; }
    .lightbox__caption { bottom: 46px; font-size: 13px; line-height: 20px; }
    .lightbox__img { max-height: calc(100vh - 100px); }
  }

  /* Section: Производственные показатели */
  .stats {
    position: relative;
    overflow: hidden;
    background: #0e0e0e;
    color: var(--white);
  }

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

  .stats__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
  }

  .stats__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 691px) 1px 1fr;
    min-height: 630px;
    padding: 90px 0;
  }

  .stats__intro {
    padding: 0 80px 0 59px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .stats__intro > .badge {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
  }

  .stats__intro > .badge .badge__dot { background: var(--white); }

  .stats__intro > .badge span { color: var(--white); font-size: 13px; }

  .stats__title {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 52px;
    color: var(--white);
    max-width: 532px;
  }

  .stats__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.7);
  }

  .stats__cta {
    align-self: flex-start;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 26px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .stats__cta:hover {
    background: var(--white);
    border-color: var(--white);
    color: #0e0e0e;
  }

  .stats__cta svg { flex-shrink: 0; transition: none; }

  .stats__cta svg path { transition: stroke 0.25s ease; }

  .stats__cta:hover svg path { stroke: #0e0e0e; }

  .stats__divider {
    background: rgba(255, 255, 255, 0.15);
    width: 1px;
    margin: 40px 0;
  }

  .stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }

  .stat-card {
    padding: 40px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-card:nth-child(2n) { border-right: 0; }
  .stat-card:nth-child(n+5) { border-bottom: 0; }

  .stat-card__value {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 72px;
    line-height: 1;
    color: var(--white);
  }

  .stat-card__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
  }

  @media (max-width: 1400px) {
    .stat-card { padding: 32px 40px; }
    .stat-card__value { font-size: 60px; }
    .stats__intro { padding: 0 40px 0 40px; }
  }

  @media (max-width: 1200px) {
    .stats__inner {
      grid-template-columns: 1fr;
      min-height: auto;
      /* Отступ снизу такой же, как сверху: в одну колонку последняя цифра
         упиралась в край тёмного блока. */
      padding: 90px 0;
    }
    .stats__divider { display: none; }
    .stats__intro { padding: 0 40px 40px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { padding: 32px 40px; }
    .stat-card:nth-child(2n) { border-right: 0; }
    .stat-card:nth-child(n+5) { border-bottom: 0; }
  }

  @media (max-width: 780px) {
    .stats__inner { padding: 72px 0; }
    .stats__intro { padding: 0 24px 32px; gap: 22px; }
    .stats__title { font-size: 28px; line-height: 1.25; }
    .stats__desc { font-size: 14px; line-height: 22px; }
    .stats__desc br { display: none; }
    .stats__cta { padding: 16px 22px; font-size: 15px; gap: 16px; }
    .stat-card { padding: 28px 24px; gap: 8px; }
    .stat-card__value { font-size: 44px; }
  }

  @media (max-width: 640px) {
    .stats__inner { padding: 56px 0; }
    .stats__intro { padding: 0 20px 24px; }
    .stats__grid { grid-template-columns: 1fr; }
    .stat-card {
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      padding: 24px 20px;
    }
    .stat-card:nth-child(n+5) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
    .stat-card:last-child { border-bottom: 0; }
    .stat-card__value { font-size: 40px; }
  }

  /* Модалка заявки */
  .modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    height: 100vh;
    height: 100dvh; /* динамический вьюпорт: панель центрируется в видимой области, не за chrome браузера */
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .modal[hidden] { display: none; }
  .modal.is-open { opacity: 1; }

  .modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow: auto;
    background: var(--bg-page);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .modal.is-open .modal__panel {
    transform: translateY(0) scale(1);
  }

  .modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0e0e0e;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
  }

  .modal__close svg { pointer-events: none; }

  .modal__close:hover { background: #F0F0F0; }

  .modal__body {
    padding: 48px 44px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .modal__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    color: #0e0e0e;
  }

  .modal__lead {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--line);
    margin-bottom: 20px;
  }

  /* Форма */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .field__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #0e0e0e;
    letter-spacing: 0.2px;
  }

  .field__hint {
    color: var(--line);
    font-size: 12px;
    font-weight: 400;
  }

  .field__input {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.35;
    color: #0e0e0e;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .field__input::placeholder {
    color: #b6bac0;
  }

  .field__input:hover { border-color: #c9ccd3; }

  .field__input:focus { border-color: #0e0e0e; }

  .field__input--area {
    min-height: 108px;
    resize: vertical;
    font-family: 'Onest', sans-serif;
  }

  .field.is-invalid .field__input {
    border-color: #d84545;
    background: #fdf5f5;
  }

  .field__error {
    display: none;
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    color: #d84545;
    margin-top: 2px;
  }

  .field.is-invalid .field__error { display: block; }

  .contact-form__submit {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 26px;
    background: #0e0e0e;
    color: #ffffff;
    border: 1px solid #0e0e0e;
    border-radius: 100px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .contact-form__submit svg { transition: transform 0.2s ease; }

  .contact-form__submit:hover {
    background: #ffffff;
    color: #0e0e0e;
  }

  .contact-form__submit:hover svg { transform: translate(2px, -2px); }

  .contact-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .contact-form__policy {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: var(--line);
    margin-top: 4px;
  }

  .contact-form__policy a {
    color: #0e0e0e;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
  }

  .contact-form__policy a:hover { color: #797979; }

  /* Модалка «Комплекс работ» */
  .modal__panel--works {
    max-width: 640px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .works-modal__header {
    display: flex;
    gap: 20px;
    padding: 28px 32px 24px;
    border-bottom: 1px solid #f2f2f2;
    flex-shrink: 0;
  }

  .works-modal__thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
    background: #f2f2f2;
  }

  .works-modal__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .works-modal__eyebrow {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #797979;
  }

  .works-modal__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.25;
    color: #0e0e0e;
  }

  .works-modal__summary {
    margin-top: 4px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #797979;
  }

  .works-modal__scroll {
    padding: 8px 32px 16px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }

  .works-section {
    padding: 20px 0;
    border-bottom: 1px solid #f2f2f2;
  }

  .works-section:last-child { border-bottom: 0; }

  .works-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .works-section__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0e0e0e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .works-section__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    color: #0e0e0e;
    flex: 1;
    min-width: 0;
  }

  .works-section__count {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: #797979;
    white-space: nowrap;
  }

  .works-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .works-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .works-item:hover { background: #f5f6f8; }
  }

  .works-item__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ebebeb;
    color: #797979;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .works-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .works-item__name {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    color: #0e0e0e;
  }

  .works-item__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #797979;
  }

  .works-modal__close-bottom {
    margin: 16px 24px 24px;
    padding: 20px 24px;
    border: 0;
    border-radius: 16px;
    background: #0e0e0e;
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease;
    flex-shrink: 0;
  }

  .works-modal__close-bottom:hover { background: #2b2b2b; }

  @media (max-width: 640px) {
    .modal__panel--works { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
    .works-modal__header { padding: 24px 20px 20px; gap: 14px; }
    .works-modal__thumb { width: 56px; height: 56px; border-radius: 12px; }
    .works-modal__title { font-size: 18px; }
    .works-modal__scroll { padding: 4px 20px 12px; }
    .works-modal__close-bottom { margin: 12px 16px calc(16px + env(safe-area-inset-bottom)); padding: 16px 20px; font-size: 15px; }
  }

  /* Модалка успеха отправки */
  .modal__panel--sm { max-width: 420px; }

  .contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 44px 32px 36px;
  }

  .contact-success__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F0F0F0;
    margin-bottom: 4px;
  }

  .contact-success__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    color: #0e0e0e;
  }

  .contact-success__text {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--line);
    max-width: 320px;
  }

  .contact-success__btn {
    margin-top: 8px;
    padding: 14px 34px;
    background: #0e0e0e;
    color: #ffffff;
    border: 1px solid #0e0e0e;
    border-radius: 100px;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .contact-success__btn:hover {
    background: transparent;
    color: #0e0e0e;
  }

  @media (max-width: 640px) {
    .modal { padding: 16px; }
    .modal__panel { border-radius: 20px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
    .modal__body { padding: 40px 24px 28px; }
    .modal__title { font-size: 22px; }
    .modal__close { top: 10px; right: 10px; }
    /* 16px, а не меньше: iOS Safari принудительно масштабирует страницу,
       когда фокус попадает в поле с более мелким шрифтом */
    .field__input { padding: 12px 14px; font-size: 16px; }
    .contact-form__submit { padding: 14px 22px; font-size: 14px; }
  }

  /* Секция «Видео производственных процессов» */
  .videos {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  .videos__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .videos__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .videos__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 800px;
    margin-left: 305px;
  }

  .videos__title span { color: #747474; }

  .videos__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 789px;
    margin-left: 305px;
  }

  /* Кнопки навигации справа-сверху */
  .videos__nav {
    position: absolute;
    right: 0;
    top: 100px;
    display: flex;
    gap: 12px;
  }

  .videos__nav-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #0e0e0e;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  }

  .videos__nav-btn svg { pointer-events: none; }

  .videos__nav-btn:hover {
    background: #0e0e0e;
    color: #ffffff;
    border-color: #0e0e0e;
  }

  .videos__nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .videos__viewport {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
  }

  .videos__viewport.is-dragging {
    cursor: grabbing;
  }

  .videos__viewport.is-dragging .video-tile { pointer-events: none; }

  .videos__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .video-tile {
    position: relative;
    aspect-ratio: 436 / 774;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
  }

  .video-tile__img,
  .video-tile__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    background: #1a1a1a;
    pointer-events: none;
  }

  .video-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.2) 45%,
      rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  .video-tile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    z-index: 2;
  }

  .video-tile__play svg { pointer-events: none; margin-left: 2px; }

  .video-tile__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 16px;
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    z-index: 2;
  }

  @media (hover: hover) and (pointer: fine) {
    .video-tile:hover .video-tile__img,
    .video-tile:hover .video-tile__media { transform: scale(1.05); }
    .video-tile:hover .video-tile__play {
      background: rgba(255, 255, 255, 0.28);
      border-color: rgba(255, 255, 255, 0.8);
      transform: translate(-50%, -50%) scale(1.08);
    }
  }

  /* Пагинация */
  .videos__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
  }

  .videos__pagination[hidden] { display: none; }

  .videos__pagination button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: width 0.3s ease, background 0.2s ease;
  }

  .videos__pagination button.is-active {
    width: 24px;
    background: #000;
  }

  @media (max-width: 1300px) {
    .videos__title, .videos__desc { margin-left: 0; }
    .videos__top { gap: 24px; margin-bottom: 32px; }
    .videos__top > .badge { position: static; }
    .videos__nav { position: static; margin-top: 8px; align-self: flex-end; }
  }

  @media (max-width: 1200px) {
    .videos__track { grid-auto-columns: calc((100% - 40px) / 3); }
  }

  @media (max-width: 900px) {
    .videos__track { grid-auto-columns: calc((100% - 20px) / 2); }
  }

  @media (max-width: 780px) {
    .videos { padding: 60px 24px; }
    .videos__title { font-size: 28px; line-height: 1.3; }
    .videos__title br { display: none; }
    .videos__desc { font-size: 16px; line-height: 26px; }
    .videos__nav-btn { width: 44px; height: 44px; }
    .video-tile__caption { padding: 16px 14px; font-size: 14px; }
    .video-tile__play { width: 48px; height: 48px; }
  }

  @media (max-width: 640px) {
    .videos { padding: 48px 20px; }
    .videos__track { grid-auto-columns: 78%; gap: 14px; }
    .videos__nav { align-self: flex-start; }
  }

  /* Модалка видео-плеера */
  .modal__panel--video {
    max-width: min(420px, 92vw);
    background: #000;
    padding: 0;
    overflow: visible;
  }

  .video-modal .modal__close {
    top: -48px;
    right: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
  }

  .video-modal .modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
  }

  .video-modal__player {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 160px);
    background: #000;
    border-radius: 16px;
    outline: none;
  }

  .video-modal__caption {
    margin: 14px 4px 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }

  @media (max-width: 640px) {
    .modal__panel--video { max-width: 100%; }
    .video-modal .modal__close { top: -44px; }
    .video-modal__player { border-radius: 12px; max-height: calc(100vh - 140px); }
  }

  /* Футер */
  .site-footer {
    background: #000;
    color: #ffffff;
  }

  /* Бегущая строка сверху */
  .footer-marquee {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 21px 0;
  }

  .footer-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 52px;
    white-space: nowrap;
    animation: footer-marquee 50s linear infinite;
    padding-left: 52px;
  }

  .footer-marquee__item {
    font-family: 'Onest', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1.56px;
    color: rgba(255, 255, 255, 0.55);
  }

  .footer-marquee__sep {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.18);
  }

  @keyframes footer-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* Основная сетка */
  .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px 340px;
    padding: 80px;
    gap: 0;
  }

  .footer-col {
    padding: 0 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
  }

  .footer-col--brand { padding-left: 0; padding-right: 80px; }
  .footer-col--contacts { border-right: 0; padding-right: 0; }

  .footer-col__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: rgba(255, 255, 255, 0.25);
  }

  .footer-col--brand .footer-col__label {
    font-size: 13px;
    letter-spacing: 2.34px;
    color: rgba(255, 255, 255, 0.35);
  }

  .footer-col__label--sub {
    margin-top: 40px;
  }

  /* Колонка бренда */
  .footer-brand__logo-link {
    display: inline-block;
    margin-top: 36px;
    line-height: 0;
  }

  .footer-brand__logo {
    display: block;
    height: 80px;
    width: auto;
  }

  .footer-brand__desc {
    margin-top: 32px;
    max-width: 400px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.4);
  }

  .footer-brand__stats {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
  }

  .footer-brand__stat-value {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
  }

  .footer-brand__stat-label {
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.96px;
    color: rgba(255, 255, 255, 0.3);
  }

  /* Навигация */
  .footer-nav {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
  }

  .footer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-nav a {
    display: block;
    padding: 14px 0;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22.5px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-nav a:hover { color: #ffffff; }

  /* Мессенджеры */
  .footer-messengers {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: nowrap;
  }

  .footer-messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: transparent;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  .footer-messenger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
  }

  .footer-messenger svg { flex-shrink: 0; }

  .footer-messenger__max {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
  }

  .footer-messenger__max-text {
    font-family: 'Inter', 'Onest', sans-serif;
    font-weight: 700;
    font-size: 7px;
    line-height: 1;
    color: #3538ff;
    letter-spacing: 0;
  }

  .footer-messenger__max-dot { display: none; }

  /* Контакты */
  .footer-contact {
    margin-top: 32px;
  }

  .footer-contact:first-of-type { margin-top: 32px; }

  .footer-contact__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1.65px;
    color: rgba(255, 255, 255, 0.22);
  }

  .footer-contact__phone {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    letter-spacing: -0.22px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }

  .footer-contact__phone:hover { opacity: 0.8; }

  .footer-contact__hint {
    margin-top: 4px;
    font-family: 'Onest', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.3);
  }

  .footer-contact__email {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-contact__email:hover { color: #ffffff; }

  .footer-contact__address {
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.5);
  }

  .footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    padding: 18px 26px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 1;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .footer-cta:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0e0e0e;
  }

  .footer-cta svg path { transition: stroke 0.25s ease; }
  .footer-cta:hover svg path { stroke: #0e0e0e; }

  /* Нижняя строка */
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 80px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-copy,
  .footer-legal__link,
  .footer-legal__credits {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.24px;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.2s ease;
  }

  .footer-copy { letter-spacing: 0.48px; }

  .footer-legal {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: auto;
  }

  .footer-legal__link {
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-legal__link:hover { color: #ffffff; }

  .footer-legal__credits {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .footer-legal__credits:hover { color: #ffffff; }

  .footer-legal__studio-logo {
    position: relative;
    display: inline-block;
    width: 91px;
    height: 20px;
    line-height: 0;
  }

  .footer-legal__studio-logo-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
  }

  .footer-legal__studio-logo-img--default {
    opacity: 0.55;
    filter: brightness(0) invert(1);
  }

  .footer-legal__studio-logo-img--hover {
    opacity: 0;
  }

  .footer-legal__credits:hover .footer-legal__studio-logo-img--default {
    opacity: 0;
  }

  .footer-legal__credits:hover .footer-legal__studio-logo-img--hover {
    opacity: 1;
  }

  .footer-top {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .footer-top svg { pointer-events: none; }

  .footer-top:hover {
    background: #ffffff;
    color: #0e0e0e;
    border-color: #ffffff;
    transform: translateY(-2px);
  }

  @media (prefers-reduced-motion: reduce) {
    .footer-marquee__track { animation: none; }
  }

  @media (max-width: 1200px) {
    .footer-main {
      grid-template-columns: 1fr 1fr;
      padding: 64px 40px;
    }
    .footer-col { padding: 0 32px; }
    .footer-col--brand {
      grid-column: 1 / -1;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 0 0 48px;
      margin-bottom: 48px;
    }
    .footer-col--nav { padding-left: 0; }
    .footer-bottom { margin: 0 40px; }
  }

  @media (max-width: 780px) {
    .footer-main {
      grid-template-columns: 1fr;
      padding: 48px 24px;
      gap: 40px;
    }
    .footer-col {
      padding: 0;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 40px;
    }
    .footer-col--brand { margin-bottom: 0; padding-bottom: 40px; }
    .footer-col--contacts {
      border-bottom: 0;
      padding-bottom: 0;
    }
    .footer-brand__logo { height: 60px; }
    .footer-brand__desc { font-size: 15px; line-height: 24px; }
    .footer-brand__stats { gap: 32px; margin-top: 36px; }
    .footer-brand__stat-value { font-size: 22px; }
    .footer-contact__phone { font-size: 20px; line-height: 28px; }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      margin: 0 24px;
      padding: 24px 0;
      gap: 16px;
    }
    .footer-legal {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-left: 0;
    }
    .footer-top { align-self: flex-end; }
    .footer-marquee__track { gap: 32px; padding-left: 32px; }
  }

  @media (max-width: 640px) {
    .footer-marquee { padding: 16px 0; }
    .footer-marquee__item, .footer-marquee__sep { font-size: 11px; letter-spacing: 1.2px; }
    .footer-main { padding: 40px 20px; }
    .footer-bottom { margin: 0 20px; }
  }

  /* ============================================================
     Страница «Контакты» (contact.html)
     ============================================================ */

  /* Подстраницы со статичным тёмным .page-hero (без hero-видео, как на главной):
     шапка тёмная сразу, не дожидаясь скролла (класс is-scrolled навешивает JS).
     Раньше override был только у contact/project — у остальных бордер оставался
     0.35 (ярче), из-за чего линия под шапкой отличалась от страницы к странице. */
  .page-contact .header,
  .page-project .header,
  .page-angar .header,
  .page-komplektatsiya .header,
  .page-model .header {
    background-color: #0e0e0e;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  /* Страница «Реализованные проекты»: у секции убран заголовочный блок,
     фильтр оформлен отдельной панелью-тулбаром, сетка идёт без верхнего отступа. */
  .page-project .projects {
    padding-top: 50px;
  }

  .page-project .projects__filters {
    position: static;
    margin-top: 0;
  }

  .page-project .projects__grid {
    margin-top: 0;
  }

  .page-project .projects__toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 28px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: #f4f6f9;
    border: 1px solid #e8eaed;
    border-radius: 16px;
  }

  .page-project .projects__toolbar-main {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
  }

  .page-project .projects__toolbar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 47px;
    padding: 0 4px 0 0;
    background: none;
    border: 0;
    cursor: default;
    white-space: nowrap;
  }

  .page-project .projects__toolbar-lead {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #0e0e0e;
  }

  .page-project .projects__toolbar-icon { flex-shrink: 0; }

  /* Стрелка сворачивания — показывается только на мобильных */
  .page-project .projects__toolbar-chevron { display: none; flex-shrink: 0; }

  .page-project .projects__toolbar-body {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
  }

  .page-project .projects__toolbar .filter-select { min-width: 240px; }

  .page-project .projects__count {
    display: inline-flex;
    align-items: center;
    height: 47px;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    color: #797979;
    white-space: nowrap;
  }

  .page-project .projects__count b {
    margin-right: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #0e0e0e;
  }

  /* Мобильные: фильтр свёрнут, раскрывается по клику на «Фильтр» */
  @media (max-width: 720px) {
    .page-project .projects__toolbar {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 4px 18px;
    }
    .page-project .projects__toolbar-main {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      gap: 0;
    }
    .page-project .projects__toolbar-toggle {
      justify-content: space-between;
      width: 100%;
      height: auto;
      padding: 16px 0;
      cursor: pointer;
    }
    .page-project .projects__toolbar-chevron {
      display: block;
      transition: transform 0.3s ease;
    }
    .page-project .projects__toolbar.is-filter-open .projects__toolbar-chevron {
      transform: rotate(180deg);
    }
    .page-project .projects__toolbar-body {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      gap: 14px;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
    }
    .page-project .projects__toolbar.is-filter-open .projects__toolbar-body {
      max-height: 280px;
      opacity: 1;
      margin-bottom: 16px;
    }
    .page-project .projects__toolbar .filter-select { min-width: 0; width: 100%; }
    .page-project .projects__count {
      height: auto;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.25s ease, padding-bottom 0.3s ease;
    }
    .page-project .projects__toolbar.is-filter-open .projects__count {
      max-height: 40px;
      opacity: 1;
      padding-bottom: 16px;
    }
  }

  .page-hero {
    position: relative;
    background: #0e0e0e;
    padding-top: 84px; /* высота фиксированной шапки */
  }

  .page-hero__inner {
    padding: 60px 59px 64px;
  }

  .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 19.5px;
  }

  .breadcrumbs a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .breadcrumbs a:hover { color: rgba(255, 255, 255, 0.7); }

  .breadcrumbs__sep { color: rgba(255, 255, 255, 0.2); }

  .breadcrumbs__current { color: rgba(255, 255, 255, 0.6); }

  .page-hero__title {
    margin-top: 44px;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--white);
  }

  .page-hero__desc {
    margin-top: 24px;
    max-width: 700px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.5);
  }

  /* Подсветка активного пункта меню (текущая страница) */
  .nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* Две колонки: контактные данные + форма */
  .contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
  }

  .contacts__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 48px 59px;
    border-right: 1px solid #e8eaed;
  }

  .contacts__block {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .contacts__label {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 16.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #797979;
  }

  .contacts__phone {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1;
    color: #0e0e0e;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .contacts__phone:hover { color: #444444; }

  .contacts__hint {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 19.5px;
    color: #797979;
  }

  /* Несколько телефонов: под каждым — по какому вопросу звонить.
     Когда номер один, размер прежний; при нескольких — чуть мельче,
     чтобы список не забирал весь первый экран. */
  .contacts__phone-row + .contacts__phone-row {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
  }

  .contacts__block--phones .contacts__phone {
    font-size: clamp(22px, 2.4vw, 27px);
  }

  .contacts__phone-note {
    margin-top: 6px;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 19.5px;
    color: #797979;
  }

  @media (max-width: 640px) {
    .contacts__phone-row + .contacts__phone-row {
      margin-top: 14px;
      padding-top: 14px;
    }

    .contacts__phone-note {
      font-size: 12.5px;
    }
  }

  .contacts__email {
    position: relative;
    align-self: flex-start;
    padding-bottom: 3px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    color: #0e0e0e;
    text-decoration: none;
  }

  /* Плавное подчёркивание, как у ссылок в шапке */
  .contacts__email::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #0e0e0e;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .contacts__email:hover::after,
  .contacts__email:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .contacts__address,
  .contacts__hours {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #0e0e0e;
  }

  .contacts__hours-off {
    font-size: 16px;
    line-height: 24px;
    color: #797979;
  }

  .contacts-msgrs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .contacts-msgr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 14px;
    border: 1px solid #e0e3e8;
    border-radius: 100px;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 19.5px;
    color: rgba(14, 14, 14, 0.6);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .contacts-msgr:hover { border-color: #0e0e0e; color: #0e0e0e; }

  .contacts-msgr svg { display: block; flex-shrink: 0; }

  .contacts-msgr__max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
  }

  .contacts-msgr__max span {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.2px;
    color: #3538ff;
  }

  /* Правая колонка — форма заявки */
  .contacts__form { padding: 72px 59px; }

  .contacts__form-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.2;
    text-transform: uppercase;
    color: #0e0e0e;
  }

  .contacts__form-lead {
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #797979;
  }

  .contacts__form .contact-form { margin-top: 24px; gap: 16px; }

  /* Поля на этой странице залитые (по макету), но классы и
     состояния валидации переиспользуем из общего компонента. */
  .contacts__form .field__label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #797979;
  }

  .contacts__form .field__hint {
    letter-spacing: 0;
    text-transform: none;
    color: #797979;
  }

  .contacts__form .field__input {
    background: #f4f6f9;
    border-radius: 10px;
    padding: 16px 18px;
  }

  .contacts__form .field__input:focus { background: #ffffff; }

  .contacts__form .field__input--area { min-height: 122px; }

  .contacts__form .contact-form__submit {
    width: 100%;
    padding: 17px 24px;
  }

  .contacts__form .contact-form__policy {
    text-align: center;
  }

  /* Карта — Яндекс.Карты (JS API), монохром */
  .contacts-map {
    position: relative;
    height: 480px;
    background: #e9e9e9;
    overflow: hidden;
  }

  .contacts-map__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /* Монохром только для тайлов карты — метка и контролы остаются как есть.
     Селектор по подстроке класса, чтобы не зависеть от версии Яндекс API. */
  .contacts-map__canvas [class*="-ground-pane"] {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
  }

  /* Нейтральная заглушка, пока не задан API-ключ */
  .contacts-map__placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: #e9e9e9;
    color: #9a9a9a;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    line-height: 1.5;
  }

  .contacts-map.is-map-ready .contacts-map__placeholder { display: none; }

  /* Кастомная метка-«пин» с логотипом (Яндекс templateLayout).
     Точка привязки — низ «хвостика», поэтому смещаем на -50%/-100%
     (Яндекс позиционирует слой через left/top, transform складывается поверх). */
  .ymap-pin {
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
  }

  .contacts-map__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #0e0e0e;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  .contacts-map__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
  }

  .contacts-map__logo {
    display: block;
    height: 18px;
    width: auto;
  }

  .contacts-map__tip {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #0e0e0e;
  }

  @media (max-width: 1100px) {
    .page-hero__inner { padding: 48px 24px 56px; }
    .contacts { grid-template-columns: 1fr; }
    .contacts__info {
      border-right: 0;
      border-bottom: 1px solid #e8eaed;
      padding: 40px 24px;
    }
    .contacts__form { padding: 40px 24px; }
  }

  @media (max-width: 640px) {
    .page-hero { padding-top: 65px; }
    .page-hero__inner { padding: 40px 20px 48px; }
    .page-hero__title { margin-top: 28px; }
    .page-hero__desc { font-size: 16px; line-height: 26px; }
    .contacts__info, .contacts__form { padding: 32px 20px; }
    .contacts-map { height: 360px; }
  }

  /* Страница «Политика конфиденциальности» / правовой контент */
  .page-legal .site-footer { margin-top: 0; }

  /* Длинное слово «КОНФИДЕНЦИАЛЬНОСТИ» вылезало за контейнер на узких экранах:
     страхуем переносом и уменьшаем размер заголовка на мобильных */
  .page-legal .page-hero__title { overflow-wrap: break-word; }

  @media (max-width: 560px) {
    .page-legal .page-hero__title { font-size: 30px; letter-spacing: 0; }
  }

  @media (max-width: 400px) {
    .page-legal .page-hero__title { font-size: 25px; }
  }

  .legal {
    background: var(--bg-page);
    padding: 80px 59px 100px;
  }

  .legal__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Двухколоночная секция: слева заголовок, справа контент */
  /* Заголовок — в левой колонке (absolute), контент течёт обычным потоком справа.
     Так высота заголовка не влияет на межстрочные отступы контента. */
  .legal__section {
    position: relative;
    padding: 40px 0 40px 356px;
    border-top: 1px solid #ebebeb;
    min-height: 132px;
  }

  .legal__section:first-child { border-top: 0; padding-top: 0; min-height: 92px; }

  .legal__h2 {
    position: absolute;
    left: 0;
    top: 40px;
    width: 300px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #0e0e0e;
  }

  .legal__section:first-child .legal__h2 { top: 0; }

  /* Единый вертикальный ритм контента (заголовок вне потока — не мешает) */
  .legal__section > * { margin-top: 14px; }
  .legal__section > .legal__h2 { margin-top: 0; }
  .legal__section > .legal__h2 + * { margin-top: 0; }
  .legal__section > .legal__h3 { margin-top: 28px; }
  .legal__section > .legal__h3 + .legal__list { margin-top: 10px; }
  .legal__section > .legal__table-wrap { margin-top: 4px; }
  .legal__section > .legal__contacts { margin-top: 4px; }

  /* Первый контент после заголовка всегда прижат к верху (перебивает типовые margin) */
  .legal__section > .legal__h2 + .legal__p,
  .legal__section > .legal__h2 + .legal__h3,
  .legal__section > .legal__h2 + .legal__list,
  .legal__section > .legal__h2 + .legal__table-wrap,
  .legal__section > .legal__h2 + .legal__contacts { margin-top: 0; }

  .legal__num {
    flex-shrink: 0;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    border-radius: 10px;
    background: #0e0e0e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
  }

  /* Ссылки в тексте политики — плавное подчёркивание */
  .legal a {
    color: #0e0e0e;
    font-weight: 500;
    text-decoration: none;
    background-image: linear-gradient(#0e0e0e, #0e0e0e);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: 1px;
    overflow-wrap: anywhere;
  }

  @media (hover: hover) and (pointer: fine) {
    .legal a { background-size: 0% 1px; }
    .legal a:hover { background-size: 100% 1px; }
  }

  .legal__h3 {
    margin-top: 8px;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.35;
    color: #0e0e0e;
  }

  .legal__p {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: #4a4a4a;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .legal__p strong { color: #0e0e0e; font-weight: 600; }

  .legal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .legal__list li {
    position: relative;
    padding-left: 24px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
  }

  .legal__list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e0e0e;
  }

  /* Таблица целей обработки */
  .legal__table-wrap {
    overflow-x: auto;
    border: 1px solid #ebebeb;
    border-radius: 14px;
  }

  .legal__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-family: 'Onest', sans-serif;
  }

  .legal__table th,
  .legal__table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    vertical-align: top;
    border-bottom: 1px solid #ebebeb;
  }

  .legal__table th {
    background: #f4f6f9;
    font-weight: 600;
    color: #0e0e0e;
    white-space: nowrap;
  }

  .legal__table td { color: #4a4a4a; }

  .legal__table tbody tr:last-child td,
  .legal__table tr:last-child td { border-bottom: 0; }

  /* Контактный блок в конце */
  .legal__contacts {
    padding: 24px 26px;
    background: #f4f6f9;
    border-radius: 16px;
  }

  .legal__contacts-name {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: #0e0e0e;
    margin-bottom: 14px;
  }

  .legal__contacts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .legal__contacts-list li {
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #0e0e0e;
  }

  .legal__contacts-list li span {
    display: inline-block;
    min-width: 210px;
    color: #797979;
  }

  @media (max-width: 980px) {
    /* Одна колонка: заголовок над контентом */
    .legal__section {
      padding: 32px 0;
      padding-left: 0;
      min-height: 0;
    }
    .legal__section:first-child { min-height: 0; }
    .legal__h2 {
      position: static;
      top: auto;
      width: auto;
      margin-bottom: 18px;
    }
    .legal__section:first-child .legal__h2 { top: auto; }
    .legal__section > .legal__h2 + * { margin-top: 0; }
  }

  @media (max-width: 780px) {
    .legal { padding: 56px 24px 72px; }
    .legal__h2 { font-size: 21px; gap: 12px; }
    .legal__num { min-width: 30px; height: 30px; font-size: 14px; }
    .legal__p, .legal__list li { font-size: 15px; }
    .legal__contacts-list li span { min-width: 0; display: block; margin-bottom: 2px; }
  }

  @media (max-width: 640px) {
    .legal { padding: 44px 20px 60px; }
    .legal__contacts { padding: 20px; }
  }

  /* Страница «О компании» */
  .hero__content .breadcrumbs {
    align-self: flex-start;
    margin-bottom: 22px;
  }

  .about-placeholder {
    background: var(--bg-page);
    min-height: 520px;
  }

  @media (max-width: 780px) {
    .hero__content .breadcrumbs { margin-bottom: 16px; }
    .about-placeholder { min-height: 360px; }
  }

  /* Секция «Преимущества» (страница О компании) */
  .advantages {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  .advantages__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .advantages__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .advantages__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 633px;
    margin-left: 305px;
  }

  .advantages__title span { color: #747474; }

  .advantages__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 1042px;
    margin-left: 305px;
  }

  .advantages__grid {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .advantage-card {
    display: flex;
    flex-direction: column;
    padding: 36px 34px 40px;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 16px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }

  .advantage-card__num {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #e3e3e3;
    transition: color 0.3s ease;
  }

  .advantage-card__title {
    margin-top: 28px;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 1.3;
    color: #0e0e0e;
  }

  .advantage-card__desc {
    margin-top: 14px;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #797979;
  }

  @media (hover: hover) and (pointer: fine) {
    .advantage-card:hover {
      border-color: #ececec;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
      transform: translateY(-2px);
    }
    .advantage-card:hover .advantage-card__num { color: #0e0e0e; }
  }

  @media (max-width: 1300px) {
    .advantages__title, .advantages__desc, .advantages__grid { margin-left: 0; }
    .advantages__top { padding-top: 0; gap: 24px; }
    .advantages__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .advantages { padding: 60px 24px; }
    .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 780px) {
    .advantages__title { font-size: 28px; line-height: 1.3; }
    .advantages__title br { display: none; }
    .advantages__desc { font-size: 16px; line-height: 26px; }
    .advantages__grid { margin-top: 40px; gap: 16px; }
    .advantage-card { padding: 28px 24px 30px; }
    .advantage-card__title { font-size: 19px; margin-top: 22px; }
  }

  @media (max-width: 560px) {
    .advantages { padding: 48px 20px; }
    .advantages__grid { grid-template-columns: 1fr; }
  }

  /* Секция «Производство» (страница О компании) — тёмная, с бегущей строкой фото */
  .production {
    background: var(--overlay);
    padding: 90px 0;
    overflow: hidden;
  }

  .production__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 59px;
  }

  .production__top > .badge {
    position: absolute;
    left: 59px;
    top: 8px;
  }

  .production__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: var(--white);
    max-width: none;
    white-space: nowrap;
    margin-left: 305px;
  }

  .production__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--line);
    max-width: 1042px;
    margin-left: 305px;
  }

  /* Бегущая строка */
  .production__marquee {
    margin-top: 60px;
    overflow: hidden;
  }

  .production__track {
    display: flex;
    align-items: flex-end;
    width: max-content;
    animation: production-marquee 70s linear infinite;
    will-change: transform;
  }

  .production__track:hover { animation-play-state: paused; }

  @keyframes production-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .production__cell {
    flex-shrink: 0;
    margin-right: 16px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0e0e0e;
    cursor: zoom-in;
    line-height: 0;
  }

  .production__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    -webkit-user-drag: none;
    user-select: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .production__cell:hover img { transform: scale(1.05); }
  }

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

  @media (max-width: 1300px) {
    .production__title, .production__desc { margin-left: 0; }
    .production__top { padding-top: 0; gap: 24px; }
    .production__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .production { padding: 60px 0; }
    .production__top { padding: 0 24px; }
    .production__marquee { margin-top: 40px; }
  }

  @media (max-width: 780px) {
    .production__title { font-size: 28px; line-height: 1.3; white-space: normal; }
    .production__desc { font-size: 16px; line-height: 26px; }
    /* Ограничиваем высоту плиток, чтобы строка не была слишком высокой */
    .production__cell { max-height: 300px; margin-right: 12px; }
  }

  /* ══ Очень узкие экраны (320px и Galaxy Fold) ══════════════════

     Длинные слова — «ПРОИЗВОДСТВЕННЫХ», «РЕАЛИЗОВАННЫЕ» — не помещались
     в строку и выходили за правый край. Тот же приём, что и для заголовка
     политики: уменьшаем кегль пропорционально ширине и страхуем переносом. */

  .videos__title,
  .production__title,
  .page-hero__title {
    overflow-wrap: break-word;
  }

  @media (max-width: 380px) {
    .videos__title,
    .production__title { font-size: clamp(21px, 7.2vw, 28px); }
    .page-hero__title { font-size: clamp(26px, 8.6vw, 34px); letter-spacing: 0; }
  }

  @media (max-width: 480px) {
    .production__cell { max-height: 240px; }
  }

  @media (max-width: 640px) {
    .production { padding: 48px 0; }
    .production__top { padding: 0 20px; }
  }

  /* Секция «Наши заказчики» (страница О компании) */
  .clients {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  .clients__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .clients__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .clients__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 633px;
    margin-left: 305px;
  }

  .clients__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 1042px;
    margin-left: 305px;
  }

  /* Матрица логотипов заказчиков */
  /* Линии между плитками рисует фон сетки, проступающий в зазорах.
     Раньше границы задавались правилами nth-child под ровно 8 логотипов —
     стоило добавить девятый, и разделители переставали сходиться. */
  .clients__grid {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #eef0f2;
    border: 1px solid #eef0f2;
    border-radius: 24px;
    overflow: hidden;
  }

  .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 172px;
    padding: 32px 28px;
    background: #ffffff;
    transition: background 0.25s ease;
  }

  /* Добор до полного ряда: пустая плитка, чтобы у неполной строки
     не оставалось серой полосы справа. */
  .client-logo--empty {
    pointer-events: none;
  }

  .client-logo__img {
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.3s ease, opacity 0.3s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .client-logo:hover { background: #f7f8fa; }
    .client-logo:hover .client-logo__img {
      filter: grayscale(0);
      opacity: 1;
    }
  }

  @media (max-width: 1300px) {
    .clients__title, .clients__desc, .clients__grid { margin-left: 0; }
    .clients__top { padding-top: 0; gap: 24px; }
    .clients__top > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .clients { padding: 60px 24px; }
    .client-logo { min-height: 150px; padding: 28px 22px; }
    .client-logo__img { max-height: 52px; }
  }

  @media (max-width: 780px) {
    .clients__title { font-size: 28px; line-height: 1.3; }
    .clients__desc { font-size: 16px; line-height: 26px; }
    .clients__grid { margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
    .client-logo { min-height: 130px; padding: 24px 18px; }
    .client-logo__img { max-height: 46px; }
    /* пересчёт границ под 2 колонки × 4 ряда */

  }

  @media (max-width: 480px) {
    .clients { padding: 48px 20px; }
    .client-logo { min-height: 110px; padding: 20px 16px; }
    .client-logo__img { max-height: 40px; }
  }

  /* Параллакс-баннер (страница О компании) */
  .parallax-band {
    position: relative;
    height: 750px;
    overflow: hidden;
    background: #0e0e0e;
  }

  .parallax-band__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -90px;
    bottom: -90px;
    background: url('../image/hero-poster-2.jpg') center / cover no-repeat;
    will-change: transform;
  }

  .parallax-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
  }

  @media (max-width: 1100px) {
    .parallax-band { height: 420px; }
  }

  @media (max-width: 780px) {
    .parallax-band { height: 320px; }
  }

  @media (max-width: 480px) {
    .parallax-band { height: 240px; }
  }

  /* Cookie-баннер */
  .cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    max-width: 440px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px 18px 22px;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
  }

  .cookie-banner__text {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
  }

  .cookie-banner__link {
    color: #0e0e0e;
    font-weight: 500;
    text-decoration: none;
    background-image: linear-gradient(#0e0e0e, #0e0e0e);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    transition: background-size 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: 1px;
  }

  @media (hover: hover) and (pointer: fine) {
    .cookie-banner__link { background-size: 0% 1px; }
    .cookie-banner__link:hover { background-size: 100% 1px; }
  }

  .cookie-banner__btn {
    flex-shrink: 0;
    padding: 12px 26px;
    border: 1px solid #0e0e0e;
    border-radius: 100px;
    background: #0e0e0e;
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .cookie-banner__btn:hover {
    background: #ffffff;
    color: #0e0e0e;
  }

  @media (max-width: 560px) {
    .cookie-banner {
      left: 16px;
      right: 16px;
      bottom: 16px;
      max-width: none;
      flex-wrap: wrap;
      gap: 14px;
      padding: 18px;
    }
    .cookie-banner__btn { width: 100%; padding: 14px 26px; }
  }

  /* ═══════════════════════════════════════════════
     Страница «Комплектация» (scoped: .page-komplektatsiya)
     ═══════════════════════════════════════════════ */

  /* — Секции — */
  .page-komplektatsiya .komplekt-section { background: var(--bg-page); padding: 90px 59px; }
  .page-komplektatsiya .komplekt-section--tint { background: #f4f6f9; }
  .page-komplektatsiya .komplekt-section--dark { background: var(--overlay); }

  /* — Шапка секции: бейдж + заголовок/описание со сдвигом 305px — */
  .page-komplektatsiya .komplekt-head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .page-komplektatsiya .komplekt-head > .badge { position: absolute; left: 0; top: 8px; }

  .page-komplektatsiya .komplekt-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 720px;
    margin-left: 305px;
  }
  .page-komplektatsiya .komplekt-title span { color: #747474; }
  .page-komplektatsiya .komplekt-title--light { color: var(--white); }

  .page-komplektatsiya .komplekt-desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 780px;
    margin-left: 305px;
  }
  .page-komplektatsiya .komplekt-desc--light { color: rgba(255, 255, 255, 0.5); }

  /* — Анатомия ангара — */
  .page-komplektatsiya .komplekt-anatomy {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .page-komplektatsiya .komplekt-anatomy__fig {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 24px;
  }
  .page-komplektatsiya .komplekt-anatomy__fig svg { width: 100%; height: auto; display: block; }
  .page-komplektatsiya .komplekt-anatomy__legend { list-style: none; }
  .page-komplektatsiya .komplekt-anatomy__legend li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #eef0f2;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    color: #0e0e0e;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .page-komplektatsiya .komplekt-anatomy__legend li:last-child a { border-bottom: none; }
  .page-komplektatsiya .komplekt-anatomy__legend li a:hover { color: #747474; }
  .page-komplektatsiya .komplekt-anatomy__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0e0e0e;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* — Таблицы характеристик — */
  .page-komplektatsiya .komplekt-table-wrap { margin-top: 20px; overflow-x: auto; }
  .page-komplektatsiya .komplekt-spec {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Onest', sans-serif;
  }
  .page-komplektatsiya .komplekt-spec td,
  .page-komplektatsiya .komplekt-spec th {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f2;
    vertical-align: top;
  }
  .page-komplektatsiya .komplekt-spec tr:last-child td { border-bottom: none; }
  .page-komplektatsiya .komplekt-spec thead th {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #535657;
    background: #f4f6f9;
    border-bottom: 1px solid #e0e4ea;
  }
  .page-komplektatsiya .komplekt-spec thead th span {
    display: block;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: #a3a3a3;
    margin-top: 2px;
  }
  .page-komplektatsiya .komplekt-spec td {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #0e0e0e;
  }
  .page-komplektatsiya .komplekt-spec td:first-child {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    color: #797979;
    width: 34%;
  }
  .page-komplektatsiya .komplekt-spec--3 td:first-child { width: 34%; }

  /* Сравнительная таблица (базовая/расширенная) */
  .page-komplektatsiya .komplekt-compare {
    margin-top: 60px;
    border: 1px solid #eef0f2;
    border-radius: 10px;
  }
  .page-komplektatsiya .komplekt-compare .komplekt-spec { min-width: 640px; }
  .page-komplektatsiya .komplekt-compare thead th { background: #ffffff; }
  .page-komplektatsiya .komplekt-compare .komplekt-spec td:first-child { color: #0e0e0e; font-weight: 500; }

  .page-komplektatsiya .komplekt-note {
    margin-top: 24px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #797979;
  }
  .page-komplektatsiya .komplekt-note a { color: #0e0e0e; text-decoration: underline; text-underline-offset: 3px; }

  /* — Узлы: аккордеон — */
  .page-komplektatsiya .komplekt-acc {
    margin-top: 60px;
    margin-left: 305px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .page-komplektatsiya .komplekt-item {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    scroll-margin-top: 100px;
  }
  .page-komplektatsiya .komplekt-item__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }
  .page-komplektatsiya .komplekt-item__num {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #747474;
    flex-shrink: 0;
    width: 22px;
  }
  .page-komplektatsiya .komplekt-item__title {
    flex: 1;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: #0e0e0e;
  }
  .page-komplektatsiya .komplekt-item__status { flex-shrink: 0; }
  .page-komplektatsiya .komplekt-item__chev { flex-shrink: 0; transition: transform 0.3s ease; }
  .page-komplektatsiya .komplekt-item.is-open .komplekt-item__chev { transform: rotate(180deg); }
  @media (hover: hover) {
    .page-komplektatsiya .komplekt-item__head:hover .komplekt-item__title { color: #747474; }
  }

  .page-komplektatsiya .komplekt-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
  }
  .page-komplektatsiya .komplekt-item.is-open .komplekt-item__panel { grid-template-rows: 1fr; }
  .page-komplektatsiya .komplekt-item__panel-inner { overflow: hidden; }
  .page-komplektatsiya .komplekt-item__panel-body {
    display: grid;
    grid-template-columns: minmax(0, 380px) 1fr;
    gap: 36px;
    align-items: start;
    padding: 24px;
    border-top: 1px solid #eef0f2;
  }
  .page-komplektatsiya .komplekt-item__desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #535657;
  }
  .page-komplektatsiya .komplekt-item__fig {
    order: -1;
    align-self: start;
    background: #f4f6f9;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 24px 26px;
  }
  .page-komplektatsiya .komplekt-item__fig svg { width: 100%; height: auto; display: block; }
  /* Таблица в панели узла — оформлена карточкой */
  .page-komplektatsiya .komplekt-item__panel .komplekt-table-wrap {
    border: 1px solid #eef0f2;
    border-radius: 10px;
  }

  /* — Пометки: базовая/опция + влияние на цену — */
  .page-komplektatsiya .komplekt-item__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
  }
  .page-komplektatsiya .komplekt-tag {
    display: inline-flex;
    align-items: center;
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    line-height: 1;
    padding: 7px 13px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .page-komplektatsiya .komplekt-tag--base { background: #0e0e0e; color: #fff; }
  .page-komplektatsiya .komplekt-tag--option { background: transparent; border: 1px solid #d9d9d9; color: #535657; }

  .page-komplektatsiya .komplekt-price { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
  .page-komplektatsiya .komplekt-price__label {
    font-family: 'Onest', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #797979;
  }
  .page-komplektatsiya .komplekt-price__arrows { display: inline-flex; gap: 3px; align-items: flex-end; }
  .page-komplektatsiya .komplekt-price__arrows i {
    display: block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #d9d9d9;
  }
  .page-komplektatsiya .komplekt-price__arrows[data-level="1"] i:nth-child(1),
  .page-komplektatsiya .komplekt-price__arrows[data-level="2"] i:nth-child(-n+2),
  .page-komplektatsiya .komplekt-price__arrows[data-level="3"] i:nth-child(-n+3) { border-bottom-color: #0e0e0e; }
  .page-komplektatsiya .komplekt-price--dark .komplekt-price__label { color: #a3a3a3; }
  .page-komplektatsiya .komplekt-price--dark .komplekt-price__arrows i { border-bottom-color: #3a3a3a; }
  .page-komplektatsiya .komplekt-price--dark .komplekt-price__arrows[data-level="1"] i:nth-child(1),
  .page-komplektatsiya .komplekt-price--dark .komplekt-price__arrows[data-level="2"] i:nth-child(-n+2),
  .page-komplektatsiya .komplekt-price--dark .komplekt-price__arrows[data-level="3"] i:nth-child(-n+3) { border-bottom-color: #fff; }

  /* — Тултип для терминов — */
  .page-komplektatsiya .komplekt-term {
    position: relative;
    border-bottom: 1px dashed #a3a3a3;
    cursor: help;
  }
  .page-komplektatsiya .komplekt-term::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    width: 250px;
    max-width: 70vw;
    background: #0e0e0e;
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
    pointer-events: none;
  }
  .page-komplektatsiya .komplekt-term:hover::after,
  .page-komplektatsiya .komplekt-term:focus::after { opacity: 1; visibility: visible; transform: translateY(0); }

  /* — Апсейл: тёмные карточки опций — */
  .page-komplektatsiya .komplekt-optgrid {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .page-komplektatsiya .komplekt-optcard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    padding: 28px;
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }
  .page-komplektatsiya .komplekt-optcard__title {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35;
    color: #fff;
  }
  .page-komplektatsiya .komplekt-optcard__desc {
    flex: 1;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.5);
  }
  .page-komplektatsiya .komplekt-optcard .komplekt-price { margin-left: 0; }

  /* — Крепёж / документы — */
  .page-komplektatsiya .komplekt-cols {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .page-komplektatsiya .komplekt-doc {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    padding: 28px 28px 14px;
  }
  .page-komplektatsiya .komplekt-doc__title {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #0e0e0e;
    margin-bottom: 6px;
  }

  /* — Финальный CTA: белая секция + шапка со сдвигом 305px — */
  .page-komplektatsiya .komplekt-cta__action { margin-top: 40px; margin-left: 305px; }
  .page-komplektatsiya .komplekt-cta .hero__cta {
    margin-top: 0;
    background: #ffffff;
    border-color: #0e0e0e;
    color: #0e0e0e;
  }
  .page-komplektatsiya .komplekt-cta .hero__cta svg path { stroke: #0e0e0e; }
  @media (hover: hover) and (pointer: fine) {
    .page-komplektatsiya .komplekt-cta .hero__cta:hover {
      background: #0e0e0e;
      border-color: #0e0e0e;
      color: #ffffff;
    }
    .page-komplektatsiya .komplekt-cta .hero__cta:hover svg path { stroke: #ffffff; }
  }

  /* — Адаптив — */
  @media (max-width: 1300px) {
    .page-komplektatsiya .komplekt-title,
    .page-komplektatsiya .komplekt-desc,
    .page-komplektatsiya .komplekt-acc,
    .page-komplektatsiya .komplekt-optgrid,
    .page-komplektatsiya .komplekt-cols,
    .page-komplektatsiya .komplekt-cta__action { margin-left: 0; }
    .page-komplektatsiya .komplekt-head { padding-top: 0; gap: 24px; }
    .page-komplektatsiya .komplekt-head > .badge { position: static; }
  }

  @media (max-width: 1100px) {
    .page-komplektatsiya .komplekt-section,
    .page-komplektatsiya .komplekt-cta { padding: 60px 24px; }
  }

  @media (max-width: 900px) {
    .page-komplektatsiya .komplekt-item__panel-body { grid-template-columns: 1fr; gap: 20px; }
    .page-komplektatsiya .komplekt-optgrid { grid-template-columns: 1fr 1fr; }
    .page-komplektatsiya .komplekt-cols { grid-template-columns: 1fr; }
  }

  @media (max-width: 780px) {
    .page-komplektatsiya .komplekt-title { font-size: 28px; line-height: 1.3; }
    .page-komplektatsiya .komplekt-desc { font-size: 16px; line-height: 26px; }
    .page-komplektatsiya .komplekt-anatomy,
    .page-komplektatsiya .komplekt-acc,
    .page-komplektatsiya .komplekt-optgrid,
    .page-komplektatsiya .komplekt-cols,
    .page-komplektatsiya .komplekt-compare { margin-top: 40px; }
  }

  @media (max-width: 640px) {
    .page-komplektatsiya .komplekt-section,
    .page-komplektatsiya .komplekt-cta { padding: 48px 20px; }
    .page-komplektatsiya .komplekt-optgrid { grid-template-columns: 1fr; }
    .page-komplektatsiya .komplekt-item__tags .komplekt-price { margin-left: 0; }
  }

  /* ═══════════════ Страница модели ангара (model-*.html) ═══════════════ */
  .page-model .model {
    background: var(--bg-page);
    padding: 90px 59px;
  }

  .page-model .model__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
  }

  /* — Медиа-колонка — */
  .page-model .model__stage {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    background: #f7f8fa;
  }

  .page-model .model__stage img {
    display: block;
    width: 100%;
    aspect-ratio: 586 / 439;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model__stage:hover img { transform: scale(1.04); }
  }

  .page-model .model__stage .hangar-card__term { pointer-events: none; }

  /* Десктоп: фото тянется на всю высоту инфо-колонки — колонки равны,
     под фото слева не остаётся белого отступа */
  @media (min-width: 861px) {
    .page-model .model__grid { align-items: stretch; }
    .page-model .model__media,
    .page-model .model__stage { height: 100%; }
    .page-model .model__stage img { height: 100%; aspect-ratio: auto; }
  }

  /* — Инфо-колонка — */
  .page-model .model__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-model .model__lead {
    margin-top: 24px;
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #797979;
  }

  .page-model .model__specs {
    width: 100%;
    margin-top: 34px;
    border-top: 1px solid #efefef;
  }

  .page-model .model__spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #efefef;
  }

  .page-model .model__spec-key {
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #797979;
  }

  .page-model .model__spec-val {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #0e0e0e;
    text-align: right;
  }

  .page-model .model__note {
    width: 100%;
    margin-top: 30px;
    padding: 18px 22px;
    border-radius: 10px;
    background: #F4F6F9;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #0e0e0e;
  }

  .page-model .model__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 32px;
    margin-top: 36px;
  }

  /* CTA «Узнать стоимость»: класс .contact-btn остаётся триггером модалки заявки,
     .model__cta переопределяет вид — тёмная пилюля на светлой секции */
  .page-model .model__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 60px;
    padding: 0 42px;
    border-radius: 100px;
    border: 1px solid #0e0e0e;
    background: #0e0e0e;
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .page-model .model__cta svg path { transition: stroke 0.2s ease; }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model__cta:hover { background: transparent; color: #0e0e0e; }
    .page-model .model__cta:hover svg path { stroke: #0e0e0e; }
  }

  .page-model .model__phone {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
  }

  .page-model .model__phone-num {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #0e0e0e;
  }

  .page-model .model__phone-hint {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #9a9a9a;
  }

  /* — Секция «Варианты размеров» (чёрно-белые схемы типоразмеров) — */
  .page-model .model-schemes {
    background: var(--bg-page);
    padding: 0 59px 90px;
  }

  .page-model .model-schemes__head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
  }

  .page-model .model-schemes__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #0e0e0e;
  }

  .page-model .model-schemes__desc {
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 760px;
  }

  /* Слайдер схем: горизонтальная лента со стрелками (nav справа-сверху) */
  .page-model .model-schemes__slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page-model .model-schemes__nav {
    display: flex;
    gap: 12px;
    align-self: flex-end;
  }

  .page-model .model-schemes__nav-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #0e0e0e;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  }

  .page-model .model-schemes__nav-btn svg { pointer-events: none; }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model-schemes__nav-btn:hover {
      background: #0e0e0e;
      color: #ffffff;
      border-color: #0e0e0e;
    }
  }

  .page-model .model-schemes__nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .page-model .model-schemes__viewport {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    cursor: grab;
    user-select: none;
  }

  .page-model .model-schemes__viewport::-webkit-scrollbar { display: none; }

  .page-model .model-schemes__viewport.is-dragging { cursor: grabbing; }

  .page-model .model-schemes__viewport.is-dragging .model-scheme,
  .page-model .model-schemes__viewport.is-dragging .model-scheme img { cursor: grabbing; }

  .page-model .model-schemes__track {
    display: flex;
    gap: 20px;
  }

  .page-model .model-scheme {
    flex: 0 0 auto;
    width: calc((100% - 60px) / 4); /* 4 карточки в ленту (gap 20px × 3) */
    scroll-snap-align: start;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #141414;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .page-model .model-scheme__pic {
    background: #ffffff;
    padding: 22px 22px 18px;
    border: 1px solid #e0e3e8;
  }

  .page-model .model-scheme img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    cursor: zoom-in;
  }

  .page-model .model-scheme__label {
    padding: 16px 14px;
    text-align: center;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.2px;
    color: #ffffff;
  }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model-scheme:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }
  }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model-scheme:hover {
      border-color: #d5d5d5;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }
  }

  /* — Кнопка «Варианты размеров» в инфо-блоке (открывает модалку со схемами) — */
  .page-model .model__variants {
    width: 100%;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #ffffff;
    color: #0e0e0e;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .page-model .model__variants-ic {
    flex-shrink: 0;
    display: inline-flex;
    color: #0e0e0e;
    transition: color 0.2s ease;
  }

  .page-model .model__variants-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .page-model .model__variants-title {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: inherit;
  }

  .page-model .model__variants-hint {
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #9a9a9a;
    transition: color 0.2s ease;
  }

  .page-model .model__variants-arrow {
    flex-shrink: 0;
    margin-left: auto;
    color: #0e0e0e;
    transition: color 0.2s ease, transform 0.25s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .page-model .model__variants:hover {
      background: #0e0e0e;
      border-color: #0e0e0e;
      color: #ffffff;
    }
    .page-model .model__variants:hover .model__variants-ic,
    .page-model .model__variants:hover .model__variants-arrow { color: #ffffff; }
    .page-model .model__variants:hover .model__variants-hint { color: rgba(255, 255, 255, 0.6); }
    .page-model .model__variants:hover .model__variants-arrow { transform: translate(2px, -2px); }
  }

  /* — Модалка «Варианты размеров» (широкая панель со слайдером схем) — */
  .modal__panel--schemes {
    max-width: 1120px;
    padding: 40px;
  }

  .schemes-modal__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
    padding-right: 48px;
  }

  .schemes-modal__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #0e0e0e;
  }

  .schemes-modal__desc {
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #797979;
    max-width: 760px;
  }

  @media (max-width: 640px) {
    .modal__panel--schemes { padding: 28px 20px; }
    .schemes-modal__head { padding-right: 40px; }
    .schemes-modal__title { font-size: 24px; }
  }

  /* — Адаптив — */
  @media (max-width: 1100px) {
    .page-model .model { padding: 60px 24px; }
    .page-model .model-schemes { padding: 0 24px 60px; }
    .page-model .model__grid { gap: 36px; }
    .page-model .model-scheme { width: calc((100% - 40px) / 3); } /* 3 в ленту */
  }

  @media (max-width: 860px) {
    .page-model .model__grid { grid-template-columns: 1fr; gap: 0px; }
    .page-model .model__media { max-width: 560px; }
    .page-model .model__lead { margin-top: 0; }
  }

  @media (max-width: 780px) {
    .page-model .model-schemes__title { font-size: 28px; }
    .page-model .model-schemes__desc { font-size: 16px; line-height: 26px; }
    .page-model .model__lead { font-size: 16px; line-height: 26px; }
    .page-model .model-scheme { width: calc((100% - 20px) / 2); } /* 2 в ленту */
  }

  @media (max-width: 640px) {
    .page-model .model { padding: 48px 20px; }
    .page-model .model-schemes { padding: 0 20px 48px; }
    .page-model .model__actions { gap: 22px; }
    .page-model .model__cta { width: 100%; }
  }

  @media (max-width: 480px) {
    .page-model .model-scheme { width: 82%; } /* 1 + подсказка следующей */
  }

  /* На странице модели у .projects нет табов — убираем нижний отступ описания */
  .page-model .projects__desc { margin-bottom: 0; }

  /* — Блок «Опции» на странице модели (портирован со страницы «Комплектация») — */
  .page-model .komplekt-section { background: var(--bg-page); padding: 90px 59px; }
  .page-model .komplekt-section--dark { background: var(--overlay); }

  .page-model .komplekt-head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .page-model .komplekt-head > .badge { position: absolute; left: 0; top: 8px; }

  .page-model .komplekt-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 720px;
    margin-left: 305px;
  }
  .page-model .komplekt-title span { color: #747474; }
  .page-model .komplekt-title--light { color: var(--white); }

  .page-model .komplekt-desc {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
    max-width: 780px;
    margin-left: 305px;
  }
  .page-model .komplekt-desc--light { color: rgba(255, 255, 255, 0.5); }

  .page-model .komplekt-optgrid {
    margin-top: 60px;
    margin-left: 305px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .page-model .komplekt-optcard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    padding: 28px;
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }
  .page-model .komplekt-optcard__title {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35;
    color: #fff;
  }
  .page-model .komplekt-optcard__desc {
    flex: 1;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.5);
  }

  @media (max-width: 1300px) {
    .page-model .komplekt-title,
    .page-model .komplekt-desc,
    .page-model .komplekt-optgrid { margin-left: 0; }
    .page-model .komplekt-head > .badge { position: static; }
  }
  @media (max-width: 1100px) {
    .page-model .komplekt-section { padding: 60px 24px; }
  }
  @media (max-width: 900px) {
    .page-model .komplekt-optgrid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 780px) {
    .page-model .komplekt-title { font-size: 28px; line-height: 1.3; }
    .page-model .komplekt-desc { font-size: 16px; line-height: 26px; }
    .page-model .komplekt-optgrid { margin-top: 40px; }
  }
  @media (max-width: 640px) {
    .page-model .komplekt-section { padding: 48px 20px; }
    .page-model .komplekt-optgrid { grid-template-columns: 1fr; }
  }

  /* ═══════════ О компании: intro-анимация фото в hero при загрузке ═══════════ */
  /* Конечный кадр (opacity .45 / scale 1.08) совпадает с базовым .hero__bg,
     чтобы после анимации не было скачка; дальше движение подхватывает параллакс. */
  @keyframes heroAboutReveal {
    from { opacity: 0; transform: scale(1.18); }
    to   { opacity: 0.45; transform: scale(1.08); }
  }

  .page-about .hero__bg {
    animation: heroAboutReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @media (prefers-reduced-motion: reduce) {
    .page-about .hero__bg { animation: none; }
  }

  /* ══ Страница 404 ══════════════════════════════════════════════ */

  .e404 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .e404__inner {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    align-items: center;
    gap: 60px;
    padding: 72px 59px 88px;
  }

  .e404__title {
    margin-top: 22px;
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.18;
    text-transform: uppercase;
  }

  .e404__desc {
    margin-top: 20px;
    max-width: 560px;
    color: #b9b9b9;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    line-height: 28px;
  }

  .e404__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 8px;
  }

  .e404__phone {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 40px;
    text-decoration: none;
  }

  .e404__phone-num {
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    line-height: 26px;
    transition: color 0.25s ease;
  }

  .e404__phone:hover .e404__phone-num {
    color: #2f6fed;
  }

  .e404__phone-hint {
    color: var(--line);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 20px;
  }

  .e404__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .e404__links a {
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    color: #d5d5d5;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  }

  .e404__links a:hover {
    border-color: var(--white);
    background: var(--white);
    color: #0e0e0e;
  }

  .e404__fig svg {
    width: 100%;
    height: auto;
    display: block;
  }

  @media (max-width: 1024px) {
    .e404__inner {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 56px 28px 64px;
    }

    .e404__fig {
      order: -1;
      max-width: 420px;
    }
  }

  @media (max-width: 600px) {
    .e404__actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }

    .e404__phone {
      margin-top: 20px;
    }

    .e404__links {
      margin-top: 36px;
    }
  }

  /* ══ Комплектация: длинный текст из админки не должен ломать вёрстку ══
     Раньше метка с длинным текстом не переносилась и распирала колонку,
     а вместе с ней и всю секцию — на телефоне за экран уезжало всё сразу. */

  /* Колонки сетки не могут стать шире контейнера, каким бы длинным
     ни было содержимое. */
  .page-komplektatsiya .komplekt-item__panel-body {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  }

  .page-komplektatsiya .komplekt-item__text,
  .page-komplektatsiya .komplekt-item__fig {
    min-width: 0;
  }

  /* Длинные слова и адреса переносятся, а не вылезают наружу */
  .page-komplektatsiya .komplekt-item__desc,
  .page-komplektatsiya .komplekt-optcard__desc,
  .page-komplektatsiya .komplekt-spec td,
  .page-komplektatsiya .komplekt-spec th {
    overflow-wrap: anywhere;
  }

  /* Таблица на три колонки на узком экране не сплющивается,
     а прокручивается вбок внутри своей рамки. */
  .page-komplektatsiya .komplekt-item__panel .komplekt-table-wrap {
    max-width: 100%;
  }

  @media (max-width: 900px) {
    .page-komplektatsiya .komplekt-item__panel-body {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  @media (max-width: 640px) {
    /* Метка переносится по словам: текст задаётся в админке и бывает длинным */
    .page-komplektatsiya .komplekt-tag {
      white-space: normal;
      line-height: 1.35;
      max-width: 100%;
      text-align: left;
    }

    .page-komplektatsiya .komplekt-spec--3 {
      min-width: 520px;
    }
  }

  /* Своя картинка узла вместо чертежа: вписываем в ту же рамку */
  .page-komplektatsiya .komplekt-item__fig--photo {
    padding: 0;
    overflow: hidden;
  }

  .page-komplektatsiya .komplekt-item__fig--photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* — Несколько фотографий узла: листаются стрелками и точками — */
  .page-komplektatsiya .komplekt-item__fig--slider {
    position: relative;
  }

  /* Кадры лежат стопкой: первый держит высоту блока, остальные поверх него */
  .page-komplektatsiya .komplekt-item__fig--slider .komplekt-item__shot {
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .page-komplektatsiya .komplekt-item__fig--slider .komplekt-item__shot.is-active {
    opacity: 1;
  }

  .page-komplektatsiya .komplekt-item__fig--slider .komplekt-item__shot:not(:first-child) {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }

  .page-komplektatsiya .komplekt-item__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eef0f2;
    border-radius: 50%;
    color: #0e0e0e;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .page-komplektatsiya .komplekt-item__nav--prev { left: 10px; }
  .page-komplektatsiya .komplekt-item__nav--next { right: 10px; }

  .page-komplektatsiya .komplekt-item__fig--slider:hover .komplekt-item__nav,
  .page-komplektatsiya .komplekt-item__nav:focus-visible {
    opacity: 1;
  }

  .page-komplektatsiya .komplekt-item__nav:hover {
    background: #ffffff;
  }

  .page-komplektatsiya .komplekt-item__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .page-komplektatsiya .komplekt-item__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
  }

  .page-komplektatsiya .komplekt-item__dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: #ffffff;
  }

  /* На телефоне стрелки не по наведению, а всегда видны */
  @media (max-width: 780px) {
    .page-komplektatsiya .komplekt-item__nav {
      opacity: 1;
      width: 32px;
      height: 32px;
    }
  }

  /* ══ География работ: интерактивная карта ══════════════════════ */

  .geo {
    padding: 90px 59px;
    background: var(--bg-page);
  }

  /* Шапка блока построена как в секции видео: метка прижата слева,
     текст сдвинут на те же 305px — иначе блоки не выравниваются между собой. */
  .geo__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .geo__top > .badge {
    position: absolute;
    left: 0;
    top: 8px;
  }

  .geo__title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 55px;
    text-transform: uppercase;
    color: #0e0e0e;
    max-width: 800px;
    margin-left: 305px;
    overflow-wrap: break-word;
  }

  .geo__title span { color: #747474; }

  .geo__desc {
    margin-left: 305px;
    max-width: 789px;
    font-family: 'Onest', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #797979;
  }

  .geo__body {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: center;
  }

  .geo__map {
    position: relative;
    min-width: 0;
  }

  .rf-map__svg {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Область по умолчанию — светлая заливка с белой разделительной линией */
  .rf-map__region {
    fill: #e9ebef;
    stroke: #ffffff;
    stroke-width: 1.2;
    transition: fill 0.18s ease;
    cursor: default;
  }

  /* Любая область подсвечивается под курсором */
  .rf-map__region:hover {
    fill: #c3c7cd;
  }

  /* Регионы, где уже стоят наши ангары */
  .rf-map__region.is-marked {
    fill: #0e0e0e;
    cursor: pointer;
  }

  .rf-map__region.is-marked:hover,
  .rf-map__region.is-highlight {
    fill: #4a4a4a;
  }

  .geo__tip {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    padding: 10px 14px;
    background: #0e0e0e;
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(-50%, -130%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  }

  .geo__tip-count {
    display: block;
    color: #b9b9b9;
    font-size: 12px;
    line-height: 17px;
  }

  .geo__side-label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 19px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #797979;
  }

  .geo__list {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .geo__item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #f4f6f9;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease, border-color 0.18s ease;
  }

  .geo__item:hover,
  .geo__item.is-highlight {
    background: #ffffff;
    border-color: #0e0e0e;
  }

  .geo__item-name {
    font-family: 'Onest', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #0e0e0e;
  }

  .geo__item-count {
    flex: none;
    min-width: 30px;
    padding: 3px 0;
    background: #0e0e0e;
    border-radius: 20px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
  }

  .geo__total {
    margin-top: 22px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #0e0e0e;
  }

  .geo__total strong {
    font-size: 22px;
    font-weight: 600;
  }

  .geo__note {
    margin-top: 10px;
    font-family: 'Onest', sans-serif;
    font-size: 13px;
    line-height: 19px;
    color: #797979;
  }

  @media (max-width: 1300px) {
    .geo__title, .geo__desc { margin-left: 0; }
    .geo__top { gap: 24px; }
    .geo__top > .badge { position: static; }
  }

  @media (max-width: 1024px) {
    .geo__body {
      grid-template-columns: minmax(0, 1fr);
      gap: 28px;
    }
  }

  @media (max-width: 780px) {
    .geo { padding: 60px 24px; }
    .geo__title { font-size: 28px; line-height: 1.3; }
    .geo__desc { font-size: 16px; line-height: 26px; }
    .geo__body { margin-top: 32px; }
    .geo__item { padding: 14px 16px; }
  }

  @media (max-width: 640px) {
    .geo { padding: 48px 20px 24px; }
    /* Считаем расстояние от края тёмного блока до метки, а не от текста:
       у «Цифр» часть отступа закрыта тёмным фоном и в него не читается. */
    .stats + .geo { padding-top: 48px; }
    .geo + .projects { padding-top: 25px; }
    /* Карту показываем целиком: боковая прокрутка на телефоне мешала
       листать страницу, а разглядывать мелкие области всё равно неудобно —
       для этого есть список регионов под картой. */
    .geo__body { gap: 22px; }
    .geo__item { padding: 13px 15px; }
    .geo__item-name { font-size: 15px; }
  }

  @media (max-width: 380px) {
    .geo__title { font-size: clamp(21px, 7.2vw, 28px); }
  }
